133 lines
3.7 KiB
CSS
133 lines
3.7 KiB
CSS
/**
|
|
* Coldark Theme for Prism.js
|
|
* Theme variation: Cold
|
|
* Tested with HTML, CSS, JS, JSON, PHP, YAML, Bash script
|
|
* @author Armand Philippot <contact@armandphilippot.com>
|
|
* @homepage https://github.com/ArmandPhilippot/coldark-prism
|
|
* @license MIT
|
|
* Copied from https://github.com/PrismJS/prism-themes/blob/master/themes/prism-coldark-cold.css
|
|
*/
|
|
[data-theme=dark] {
|
|
--code-c-text: #111b27;
|
|
--code-c-bg: #e3eaf2;
|
|
--code-c-highlight-bg: #d1deed;
|
|
--code-c-line-number: rgba(17, 27, 39, 0.67);
|
|
}
|
|
[data-theme=dark] div[class*=language-] pre ::selection {
|
|
background: #8da1b9;
|
|
}
|
|
[data-theme=dark] .token.comment,
|
|
[data-theme=dark] .token.prolog,
|
|
[data-theme=dark] .token.doctype,
|
|
[data-theme=dark] .token.cdata {
|
|
color: #3c526d;
|
|
}
|
|
[data-theme=dark] .token.punctuation {
|
|
color: #111b27;
|
|
}
|
|
[data-theme=dark] .token.delimiter.important,
|
|
[data-theme=dark] .token.selector .parent,
|
|
[data-theme=dark] .token.tag,
|
|
[data-theme=dark] .token.tag .token.punctuation {
|
|
color: #006d6d;
|
|
}
|
|
[data-theme=dark] .token.attr-name,
|
|
[data-theme=dark] .token.boolean,
|
|
[data-theme=dark] .token.boolean.important,
|
|
[data-theme=dark] .token.number,
|
|
[data-theme=dark] .token.constant,
|
|
[data-theme=dark] .token.selector .token.attribute {
|
|
color: #755f00;
|
|
}
|
|
[data-theme=dark] .token.class-name,
|
|
[data-theme=dark] .token.key,
|
|
[data-theme=dark] .token.parameter,
|
|
[data-theme=dark] .token.property,
|
|
[data-theme=dark] .token.property-access,
|
|
[data-theme=dark] .token.variable {
|
|
color: #005a8e;
|
|
}
|
|
[data-theme=dark] .token.attr-value,
|
|
[data-theme=dark] .token.inserted,
|
|
[data-theme=dark] .token.color,
|
|
[data-theme=dark] .token.selector .token.value,
|
|
[data-theme=dark] .token.string,
|
|
[data-theme=dark] .token.string .token.url-link {
|
|
color: #116b00;
|
|
}
|
|
[data-theme=dark] .token.builtin,
|
|
[data-theme=dark] .token.keyword-array,
|
|
[data-theme=dark] .token.package,
|
|
[data-theme=dark] .token.regex {
|
|
color: #af00af;
|
|
}
|
|
[data-theme=dark] .token.function,
|
|
[data-theme=dark] .token.selector .token.class,
|
|
[data-theme=dark] .token.selector .token.id {
|
|
color: #7c00aa;
|
|
}
|
|
[data-theme=dark] .token.atrule .token.rule,
|
|
[data-theme=dark] .token.combinator,
|
|
[data-theme=dark] .token.keyword,
|
|
[data-theme=dark] .token.operator,
|
|
[data-theme=dark] .token.pseudo-class,
|
|
[data-theme=dark] .token.pseudo-element,
|
|
[data-theme=dark] .token.selector,
|
|
[data-theme=dark] .token.unit {
|
|
color: #a04900;
|
|
}
|
|
[data-theme=dark] .token.deleted,
|
|
[data-theme=dark] .token.important {
|
|
color: #c22f2e;
|
|
}
|
|
[data-theme=dark] .token.keyword-this,
|
|
[data-theme=dark] .token.this {
|
|
color: #005a8e;
|
|
}
|
|
[data-theme=dark] .token.important,
|
|
[data-theme=dark] .token.keyword-this,
|
|
[data-theme=dark] .token.this,
|
|
[data-theme=dark] .token.bold {
|
|
font-weight: bold;
|
|
}
|
|
[data-theme=dark] .token.delimiter.important {
|
|
font-weight: inherit;
|
|
}
|
|
[data-theme=dark] .token.italic {
|
|
font-style: italic;
|
|
}
|
|
[data-theme=dark] .token.entity {
|
|
cursor: help;
|
|
}
|
|
[data-theme=dark] .language-markdown .token.title,
|
|
[data-theme=dark] .language-markdown .token.title .token.punctuation {
|
|
color: #005a8e;
|
|
font-weight: bold;
|
|
}
|
|
[data-theme=dark] .language-markdown .token.blockquote.punctuation {
|
|
color: #af00af;
|
|
}
|
|
[data-theme=dark] .language-markdown .token.code {
|
|
color: #006d6d;
|
|
}
|
|
[data-theme=dark] .language-markdown .token.hr.punctuation {
|
|
color: #005a8e;
|
|
}
|
|
[data-theme=dark] .language-markdown .token.url > .token.content {
|
|
color: #116b00;
|
|
}
|
|
[data-theme=dark] .language-markdown .token.url-link {
|
|
color: #755f00;
|
|
}
|
|
[data-theme=dark] .language-markdown .token.list.punctuation {
|
|
color: #af00af;
|
|
}
|
|
[data-theme=dark] .language-markdown .token.table-header {
|
|
color: #111b27;
|
|
}
|
|
[data-theme=dark] .language-json .token.operator {
|
|
color: #111b27;
|
|
}
|
|
[data-theme=dark] .language-scss .token.variable {
|
|
color: #006d6d;
|
|
} |