109 lines
1.4 KiB
CSS
109 lines
1.4 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
|
|
*/
|
|
:root {
|
|
--code-c-text: #c5c8c6;
|
|
--code-c-bg: #1d1f21;
|
|
--code-c-highlight-bg: #262a2f;
|
|
--code-c-line-number: rgba(197, 200, 198, 0.67);
|
|
}
|
|
|
|
.token.comment,
|
|
.token.prolog,
|
|
.token.doctype,
|
|
.token.cdata {
|
|
color: #7c7c7c;
|
|
}
|
|
|
|
.token.punctuation {
|
|
color: #c5c8c6;
|
|
}
|
|
|
|
.namespace {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.token.property,
|
|
.token.keyword,
|
|
.token.tag {
|
|
color: #96cbfe;
|
|
}
|
|
|
|
.token.class-name {
|
|
color: #ffffb6;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.token.boolean,
|
|
.token.constant {
|
|
color: #9c9;
|
|
}
|
|
|
|
.token.symbol,
|
|
.token.deleted {
|
|
color: #f92672;
|
|
}
|
|
|
|
.token.number {
|
|
color: #ff73fd;
|
|
}
|
|
|
|
.token.selector,
|
|
.token.attr-name,
|
|
.token.string,
|
|
.token.char,
|
|
.token.builtin,
|
|
.token.inserted {
|
|
color: #a8ff60;
|
|
}
|
|
|
|
.token.variable {
|
|
color: #c6c5fe;
|
|
}
|
|
|
|
.token.operator {
|
|
color: #ededed;
|
|
}
|
|
|
|
.token.entity {
|
|
color: #ffffb6;
|
|
cursor: help;
|
|
}
|
|
|
|
.token.url {
|
|
color: #96cbfe;
|
|
}
|
|
|
|
.language-css .token.string,
|
|
.style .token.string {
|
|
color: #87c38a;
|
|
}
|
|
|
|
.token.atrule,
|
|
.token.attr-value {
|
|
color: #f9ee98;
|
|
}
|
|
|
|
.token.function {
|
|
color: #dad085;
|
|
}
|
|
|
|
.token.regex {
|
|
color: #e9c062;
|
|
}
|
|
|
|
.token.important {
|
|
color: #fd971f;
|
|
}
|
|
|
|
.token.important,
|
|
.token.bold {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.token.italic {
|
|
font-style: italic;
|
|
} |