svelte-highlight
Version:
Svelte component library for highlighting code using highlight.js
101 lines (100 loc) • 1.55 kB
CSS
/*!
Theme: Github
Author: Defman21
License: ~ MIT (or more permissive) [via base16-schemes-source]
Maintainer: @highlightjs/core-team
Version: 2021.09.0
*/
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em;
}
code.hljs {
padding: 3px 5px;
}
.hljs {
color: #333333;
background: #ffffff;
}
.hljs::selection,
.hljs ::selection {
background-color: #c8c8fa;
color: #333333;
}
.hljs-comment {
color: #969896;
}
.hljs-tag {
color: #e8e8e8;
}
.hljs-subst,
.hljs-punctuation,
.hljs-operator {
color: #333333;
}
.hljs-operator {
opacity: 0.7;
}
.hljs-bullet,
.hljs-variable,
.hljs-template-variable,
.hljs-selector-tag,
.hljs-name,
.hljs-deletion {
color: #ed6a43;
}
.hljs-symbol,
.hljs-number,
.hljs-link,
.hljs-attr,
.hljs-variable.constant_,
.hljs-literal {
color: #0086b3;
}
.hljs-title,
.hljs-class .hljs-title,
.hljs-title.class_,
.hljs-strong {
color: #795da3;
}
.hljs-strong {
font-weight: bold;
}
.hljs-code,
.hljs-addition,
.hljs-title.class_.inherited__,
.hljs-string,
.hljs-built_in,
.hljs-doctag,
.hljs-quote,
.hljs-keyword.hljs-atrule,
.hljs-regexp {
color: #183691;
}
.hljs-function .hljs-title,
.hljs-attribute,
.ruby .hljs-property,
.hljs-title.function_,
.hljs-section {
color: #795da3;
}
.hljs-type,
.hljs-template-tag,
.diff .hljs-meta,
.hljs-keyword,
.hljs-emphasis {
color: #a71d5d;
}
.hljs-emphasis {
font-style: italic;
}
.hljs-meta,
.hljs-meta .hljs-keyword,
.hljs-meta .hljs-string {
color: #333333;
}
.hljs-meta .hljs-keyword,
.hljs-meta-keyword {
font-weight: bold;
}