svelte-highlight
Version:
Svelte component library for highlighting code using highlight.js
32 lines (29 loc) • 1.05 kB
JavaScript
const anOldHope = `<style>pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}
/*!
Theme: An Old Hope – Star Wars Syntax
Author: (c) Gustavo Costa <gusbemacbe@gmail.com>
Maintainer: @gusbemacbe
Original theme - Ocean Dark Theme – by https://github.com/gavsiu
Based on Jesse Leite's Atom syntax theme 'An Old Hope'
https://github.com/JesseLeite/an-old-hope-syntax-atom
*/.hljs{background:#1C1D21;color:#c0c5ce}.hljs-comment,
.hljs-quote{color:#B6B18B}.hljs-variable,
.hljs-template-variable,
.hljs-tag,
.hljs-name,
.hljs-selector-id,
.hljs-selector-class,
.hljs-regexp,
.hljs-deletion{color:#EB3C54}.hljs-number,
.hljs-built_in,
.hljs-literal,
.hljs-type,
.hljs-params,
.hljs-meta,
.hljs-link{color:#E7CE56}.hljs-attribute{color:#EE7C2B}.hljs-string,
.hljs-symbol,
.hljs-bullet,
.hljs-addition{color:#4FB4D7}.hljs-title,
.hljs-section{color:#78BB65}.hljs-keyword,
.hljs-selector-tag{color:#B45EA4}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:bold}</style>`;
export default anOldHope;