119 lines
1.6 KiB
CSS
119 lines
1.6 KiB
CSS
/**
|
|
* Solarized dark atom theme for `prism.js`
|
|
* Based on Atom's `atom-dark` theme: https://github.com/atom/atom-dark-syntax
|
|
* @author Pranay Chauhan (@PranayChauhan2516)
|
|
* Copied from https://github.com/PrismJS/prism-themes/blob/master/themes/prism-solarized-dark-atom.css
|
|
*/
|
|
:root {
|
|
--code-c-text: #839496;
|
|
--code-c-bg: #002b36;
|
|
--code-c-highlight-bg: #003d4d;
|
|
--code-c-line-number: rgba(131, 148, 150, 0.67);
|
|
}
|
|
|
|
div[class*=language-] pre {
|
|
text-shadow: 0 1px rgba(0, 0, 0, 0.3);
|
|
/* Print */
|
|
}
|
|
@media print {
|
|
div[class*=language-] pre {
|
|
text-shadow: none;
|
|
}
|
|
}
|
|
|
|
.token.comment,
|
|
.token.prolog,
|
|
.token.doctype,
|
|
.token.cdata {
|
|
color: #586e75;
|
|
}
|
|
|
|
.token.punctuation {
|
|
color: #93a1a1;
|
|
}
|
|
|
|
.namespace {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.token.property,
|
|
.token.keyword,
|
|
.token.tag {
|
|
color: #268bd2;
|
|
}
|
|
|
|
.token.class-name {
|
|
color: #ffffb6;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.token.boolean,
|
|
.token.constant {
|
|
color: #b58900;
|
|
}
|
|
|
|
.token.symbol,
|
|
.token.deleted {
|
|
color: #dc322f;
|
|
}
|
|
|
|
.token.number {
|
|
color: #859900;
|
|
}
|
|
|
|
.token.selector,
|
|
.token.attr-name,
|
|
.token.string,
|
|
.token.char,
|
|
.token.builtin,
|
|
.token.inserted {
|
|
color: #859900;
|
|
}
|
|
|
|
.token.variable {
|
|
color: #268bd2;
|
|
}
|
|
|
|
.token.operator {
|
|
color: #ededed;
|
|
}
|
|
|
|
.token.function {
|
|
color: #268bd2;
|
|
}
|
|
|
|
.token.regex {
|
|
color: #e9c062;
|
|
}
|
|
|
|
.token.important {
|
|
color: #fd971f;
|
|
}
|
|
|
|
.token.entity {
|
|
color: #ffffb6;
|
|
cursor: help;
|
|
}
|
|
|
|
.token.url {
|
|
color: #96cbfe;
|
|
}
|
|
|
|
.language-css .token.string,
|
|
.style .token.string {
|
|
color: #87c38a;
|
|
}
|
|
|
|
.token.important,
|
|
.token.bold {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.token.italic {
|
|
font-style: italic;
|
|
}
|
|
|
|
.token.atrule,
|
|
.token.attr-value {
|
|
color: #f9ee98;
|
|
} |