svelte-highlight
Version:
Svelte component library for highlighting code using highlight.js
94 lines (93 loc) • 1.46 kB
CSS
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em;
}
code.hljs {
padding: 3px 5px;
}
/*!
Theme: Tokyo-night-light
origin: https://github.com/enkia/tokyo-night-vscode-theme
Description: Original highlight.js style
Author: (c) Henri Vandersleyen <hvandersleyen@gmail.com>
License: see project LICENSE
Touched: 2022
*/
.hljs-meta,
.hljs-comment {
color: #9699a3;
}
.hljs-tag,
.hljs-doctag,
.hljs-selector-id,
.hljs-selector-class,
.hljs-regexp,
.hljs-template-tag,
.hljs-selector-pseudo,
.hljs-selector-attr,
.hljs-variable.language_,
.hljs-deletion {
color: #8c4351;
}
.hljs-variable,
.hljs-template-variable,
.hljs-number,
.hljs-literal,
.hljs-type,
.hljs-params,
.hljs-link {
color: #965027;
}
.hljs-built_in,
.hljs-attribute {
color: #8f5e15;
}
.hljs-selector-tag {
color: #166775;
}
.hljs-keyword,
.hljs-title.function_,
.hljs-title,
.hljs-title.class_,
.hljs-title.class_.inherited__,
.hljs-subst,
.hljs-property {
color: #0f4b6e;
}
.hljs-selector-tag {
color: #33635c;
}
.hljs-quote,
.hljs-string,
.hljs-symbol,
.hljs-bullet,
.hljs-addition {
color: #485e30;
}
.hljs-code,
.hljs-formula,
.hljs-section {
color: #34548a;
}
.hljs-name,
.hljs-keyword,
.hljs-operator,
.hljs-keyword,
.hljs-char.escape_,
.hljs-attr {
color: #5a4a78;
}
.hljs-punctuation {
color: #343b58;
}
.hljs {
background: #d5d6db;
color: #565a6e;
}
.hljs-emphasis {
font-style: italic;
}
.hljs-strong {
font-weight: bold;
}