133 lines
3.7 KiB
CSS
133 lines
3.7 KiB
CSS
/**
|
|
* Coldark Theme for Prism.js
|
|
* Theme variation: Dark
|
|
* 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-dark.css
|
|
*/
|
|
[data-theme=light] {
|
|
--code-c-text: #e3eaf2;
|
|
--code-c-bg: #111b27;
|
|
--code-c-highlight-bg: #172638;
|
|
--code-c-line-number: rgba(227, 234, 242, 0.67);
|
|
}
|
|
[data-theme=light] div[class*=language-] pre ::selection {
|
|
background: #3c526d;
|
|
}
|
|
[data-theme=light] .token.comment,
|
|
[data-theme=light] .token.prolog,
|
|
[data-theme=light] .token.doctype,
|
|
[data-theme=light] .token.cdata {
|
|
color: #8da1b9;
|
|
}
|
|
[data-theme=light] .token.punctuation {
|
|
color: #e3eaf2;
|
|
}
|
|
[data-theme=light] .token.delimiter.important,
|
|
[data-theme=light] .token.selector .parent,
|
|
[data-theme=light] .token.tag,
|
|
[data-theme=light] .token.tag .token.punctuation {
|
|
color: #6cc;
|
|
}
|
|
[data-theme=light] .token.attr-name,
|
|
[data-theme=light] .token.boolean,
|
|
[data-theme=light] .token.boolean.important,
|
|
[data-theme=light] .token.number,
|
|
[data-theme=light] .token.constant,
|
|
[data-theme=light] .token.selector .token.attribute {
|
|
color: #e6d37a;
|
|
}
|
|
[data-theme=light] .token.class-name,
|
|
[data-theme=light] .token.key,
|
|
[data-theme=light] .token.parameter,
|
|
[data-theme=light] .token.property,
|
|
[data-theme=light] .token.property-access,
|
|
[data-theme=light] .token.variable {
|
|
color: #6cb8e6;
|
|
}
|
|
[data-theme=light] .token.attr-value,
|
|
[data-theme=light] .token.inserted,
|
|
[data-theme=light] .token.color,
|
|
[data-theme=light] .token.selector .token.value,
|
|
[data-theme=light] .token.string,
|
|
[data-theme=light] .token.string .token.url-link {
|
|
color: #91d076;
|
|
}
|
|
[data-theme=light] .token.builtin,
|
|
[data-theme=light] .token.keyword-array,
|
|
[data-theme=light] .token.package,
|
|
[data-theme=light] .token.regex {
|
|
color: #f4adf4;
|
|
}
|
|
[data-theme=light] .token.function,
|
|
[data-theme=light] .token.selector .token.class,
|
|
[data-theme=light] .token.selector .token.id {
|
|
color: #c699e3;
|
|
}
|
|
[data-theme=light] .token.atrule .token.rule,
|
|
[data-theme=light] .token.combinator,
|
|
[data-theme=light] .token.keyword,
|
|
[data-theme=light] .token.operator,
|
|
[data-theme=light] .token.pseudo-class,
|
|
[data-theme=light] .token.pseudo-element,
|
|
[data-theme=light] .token.selector,
|
|
[data-theme=light] .token.unit {
|
|
color: #e9ae7e;
|
|
}
|
|
[data-theme=light] .token.deleted,
|
|
[data-theme=light] .token.important {
|
|
color: #cd6660;
|
|
}
|
|
[data-theme=light] .token.keyword-this,
|
|
[data-theme=light] .token.this {
|
|
color: #6cb8e6;
|
|
}
|
|
[data-theme=light] .token.important,
|
|
[data-theme=light] .token.keyword-this,
|
|
[data-theme=light] .token.this,
|
|
[data-theme=light] .token.bold {
|
|
font-weight: bold;
|
|
}
|
|
[data-theme=light] .token.delimiter.important {
|
|
font-weight: inherit;
|
|
}
|
|
[data-theme=light] .token.italic {
|
|
font-style: italic;
|
|
}
|
|
[data-theme=light] .token.entity {
|
|
cursor: help;
|
|
}
|
|
[data-theme=light] .language-markdown .token.title,
|
|
[data-theme=light] .language-markdown .token.title .token.punctuation {
|
|
color: #6cb8e6;
|
|
font-weight: bold;
|
|
}
|
|
[data-theme=light] .language-markdown .token.code {
|
|
color: #6cc;
|
|
}
|
|
[data-theme=light] .language-markdown .token.url-link {
|
|
color: #e6d37a;
|
|
}
|
|
[data-theme=light] .language-markdown .token.table-header {
|
|
color: #e3eaf2;
|
|
}
|
|
[data-theme=light] .language-markdown .token.blockquote.punctuation {
|
|
color: #f4adf4;
|
|
}
|
|
[data-theme=light] .language-markdown .token.hr.punctuation {
|
|
color: #6cb8e6;
|
|
}
|
|
[data-theme=light] .language-markdown .token.list.punctuation {
|
|
color: #f4adf4;
|
|
}
|
|
[data-theme=light] .language-markdown .token.url .token.content {
|
|
color: #91d076;
|
|
}
|
|
[data-theme=light] .language-json .token.operator {
|
|
color: #e3eaf2;
|
|
}
|
|
[data-theme=light] .language-scss .token.variable {
|
|
color: #6cc;
|
|
} |