89 lines
2.1 KiB
CSS
89 lines
2.1 KiB
CSS
/**
|
|
* atom-dark theme for `prism.js`
|
|
* Based on Atom's `atom-dark` theme: https://github.com/atom/atom-dark-syntax
|
|
* @author Joe Gibson (@gibsjose)
|
|
* Copied from https://github.com/PrismJS/prism-themes/blob/master/themes/prism-atom-dark.css
|
|
*/
|
|
[data-theme=light] {
|
|
--code-c-text: #c5c8c6;
|
|
--code-c-bg: #1d1f21;
|
|
--code-c-highlight-bg: #262a2f;
|
|
--code-c-line-number: rgba(197, 200, 198, 0.67);
|
|
}
|
|
[data-theme=light] .token.comment,
|
|
[data-theme=light] .token.prolog,
|
|
[data-theme=light] .token.doctype,
|
|
[data-theme=light] .token.cdata {
|
|
color: #7c7c7c;
|
|
}
|
|
[data-theme=light] .token.punctuation {
|
|
color: #c5c8c6;
|
|
}
|
|
[data-theme=light] .namespace {
|
|
opacity: 0.7;
|
|
}
|
|
[data-theme=light] .token.property,
|
|
[data-theme=light] .token.keyword,
|
|
[data-theme=light] .token.tag {
|
|
color: #96cbfe;
|
|
}
|
|
[data-theme=light] .token.class-name {
|
|
color: #ffffb6;
|
|
text-decoration: underline;
|
|
}
|
|
[data-theme=light] .token.boolean,
|
|
[data-theme=light] .token.constant {
|
|
color: #9c9;
|
|
}
|
|
[data-theme=light] .token.symbol,
|
|
[data-theme=light] .token.deleted {
|
|
color: #f92672;
|
|
}
|
|
[data-theme=light] .token.number {
|
|
color: #ff73fd;
|
|
}
|
|
[data-theme=light] .token.selector,
|
|
[data-theme=light] .token.attr-name,
|
|
[data-theme=light] .token.string,
|
|
[data-theme=light] .token.char,
|
|
[data-theme=light] .token.builtin,
|
|
[data-theme=light] .token.inserted {
|
|
color: #a8ff60;
|
|
}
|
|
[data-theme=light] .token.variable {
|
|
color: #c6c5fe;
|
|
}
|
|
[data-theme=light] .token.operator {
|
|
color: #ededed;
|
|
}
|
|
[data-theme=light] .token.entity {
|
|
color: #ffffb6;
|
|
cursor: help;
|
|
}
|
|
[data-theme=light] .token.url {
|
|
color: #96cbfe;
|
|
}
|
|
[data-theme=light] .language-css .token.string,
|
|
[data-theme=light] .style .token.string {
|
|
color: #87c38a;
|
|
}
|
|
[data-theme=light] .token.atrule,
|
|
[data-theme=light] .token.attr-value {
|
|
color: #f9ee98;
|
|
}
|
|
[data-theme=light] .token.function {
|
|
color: #dad085;
|
|
}
|
|
[data-theme=light] .token.regex {
|
|
color: #e9c062;
|
|
}
|
|
[data-theme=light] .token.important {
|
|
color: #fd971f;
|
|
}
|
|
[data-theme=light] .token.important,
|
|
[data-theme=light] .token.bold {
|
|
font-weight: bold;
|
|
}
|
|
[data-theme=light] .token.italic {
|
|
font-style: italic;
|
|
} |