100 lines
2.4 KiB
CSS
100 lines
2.4 KiB
CSS
/**
|
|
* VS theme by Andrew Lock (https://andrewlock.net)
|
|
* Inspired by Visual Studio syntax coloring
|
|
* Copied from https://github.com/PrismJS/prism-themes/blob/master/themes/prism-vs.css
|
|
*/
|
|
[data-theme=light] {
|
|
--code-c-text: #393a34;
|
|
--code-c-bg: #fff;
|
|
--code-c-highlight-bg: #f4f1f1;
|
|
--code-c-line-number: rgba(57, 58, 52, 0.67);
|
|
}
|
|
[data-theme=light] div[class*=language-] pre ::selection {
|
|
background: #c1def1;
|
|
}
|
|
[data-theme=light] .token.comment,
|
|
[data-theme=light] .token.prolog,
|
|
[data-theme=light] .token.doctype,
|
|
[data-theme=light] .token.cdata {
|
|
color: #008000;
|
|
font-style: italic;
|
|
}
|
|
[data-theme=light] .token.namespace {
|
|
opacity: 0.7;
|
|
}
|
|
[data-theme=light] .token.string {
|
|
color: #a31515;
|
|
}
|
|
[data-theme=light] .token.punctuation,
|
|
[data-theme=light] .token.operator {
|
|
color: #393a34; /* no highlight */
|
|
}
|
|
[data-theme=light] .token.url,
|
|
[data-theme=light] .token.symbol,
|
|
[data-theme=light] .token.number,
|
|
[data-theme=light] .token.boolean,
|
|
[data-theme=light] .token.variable,
|
|
[data-theme=light] .token.constant,
|
|
[data-theme=light] .token.inserted {
|
|
color: #36acaa;
|
|
}
|
|
[data-theme=light] .token.atrule,
|
|
[data-theme=light] .token.keyword,
|
|
[data-theme=light] .token.attr-value {
|
|
color: #00f;
|
|
}
|
|
[data-theme=light] .token.function {
|
|
color: #393a34;
|
|
}
|
|
[data-theme=light] .token.deleted {
|
|
color: #9a050f;
|
|
}
|
|
[data-theme=light] .token.selector {
|
|
color: #00009f;
|
|
}
|
|
[data-theme=light] .token.important {
|
|
color: #e90;
|
|
}
|
|
[data-theme=light] .token.important,
|
|
[data-theme=light] .token.bold {
|
|
font-weight: bold;
|
|
}
|
|
[data-theme=light] .token.italic {
|
|
font-style: italic;
|
|
}
|
|
[data-theme=light] .token.class-name {
|
|
color: #2b91af;
|
|
}
|
|
[data-theme=light] .token.tag,
|
|
[data-theme=light] .token.selector {
|
|
color: #800000;
|
|
}
|
|
[data-theme=light] .token.attr-name,
|
|
[data-theme=light] .token.property,
|
|
[data-theme=light] .token.regex,
|
|
[data-theme=light] .token.entity {
|
|
color: #f00;
|
|
}
|
|
[data-theme=light] .token.directive.tag .tag {
|
|
background: #ff0;
|
|
color: #393a34;
|
|
}
|
|
[data-theme=light] code[class*=language-css] {
|
|
color: #00f;
|
|
}
|
|
[data-theme=light] .language-autohotkey .token.tag {
|
|
color: #9a050f;
|
|
}
|
|
[data-theme=light] .language-autohotkey .token.keyword {
|
|
color: #00009f;
|
|
}
|
|
[data-theme=light] .language-autohotkey .token.selector {
|
|
color: #00f;
|
|
}
|
|
[data-theme=light] .language-json .token.boolean,
|
|
[data-theme=light] .language-json .token.number {
|
|
color: #00f;
|
|
}
|
|
[data-theme=light] .language-json .token.property {
|
|
color: #2b91af;
|
|
} |