svelte-highlight
Version:
Svelte component library for highlighting code using highlight.js
103 lines (102 loc) • 1.66 kB
CSS
/*!
Theme: Circus
Author: Stephan Boyer (https://github.com/stepchowfun) and Esther Wang (https://github.com/ewang12)
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: #a7a7a7;
background: #191919;
}
.hljs::selection,
.hljs ::selection {
background-color: #303030;
color: #a7a7a7;
}
.hljs-comment {
color: #5f5a60;
}
.hljs-tag {
color: #505050;
}
.hljs-subst,
.hljs-punctuation,
.hljs-operator {
color: #a7a7a7;
}
.hljs-operator {
opacity: 0.7;
}
.hljs-bullet,
.hljs-variable,
.hljs-template-variable,
.hljs-selector-tag,
.hljs-name,
.hljs-deletion {
color: #dc657d;
}
.hljs-symbol,
.hljs-number,
.hljs-link,
.hljs-attr,
.hljs-variable.constant_,
.hljs-literal {
color: #4bb1a7;
}
.hljs-title,
.hljs-class .hljs-title,
.hljs-title.class_,
.hljs-strong {
color: #c3ba63;
}
.hljs-strong {
font-weight: bold;
}
.hljs-code,
.hljs-addition,
.hljs-title.class_.inherited__,
.hljs-string {
color: #84b97c;
}
.hljs-built_in,
.hljs-doctag,
.hljs-quote,
.hljs-keyword.hljs-atrule,
.hljs-regexp {
color: #4bb1a7;
}
.hljs-function .hljs-title,
.hljs-attribute,
.ruby .hljs-property,
.hljs-title.function_,
.hljs-section {
color: #639ee4;
}
.hljs-type,
.hljs-template-tag,
.diff .hljs-meta,
.hljs-keyword,
.hljs-emphasis {
color: #b888e2;
}
.hljs-emphasis {
font-style: italic;
}
.hljs-meta,
.hljs-meta .hljs-keyword,
.hljs-meta .hljs-string {
color: #b888e2;
}
.hljs-meta .hljs-keyword,
.hljs-meta-keyword {
font-weight: bold;
}