test/node_modules/@vuepress/plugin-prismjs/lib/client/styles/solarized-dark-atom.light.css
2024-08-13 09:27:52 +08:00

98 lines
2.3 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
*/
[data-theme=light] {
--code-c-text: #839496;
--code-c-bg: #002b36;
--code-c-highlight-bg: #003d4d;
--code-c-line-number: rgba(131, 148, 150, 0.67);
}
[data-theme=light] div[class*=language-] pre {
text-shadow: 0 1px rgba(0, 0, 0, 0.3);
/* Print */
}
@media print {
[data-theme=light] div[class*=language-] pre {
text-shadow: none;
}
}
[data-theme=light] .token.comment,
[data-theme=light] .token.prolog,
[data-theme=light] .token.doctype,
[data-theme=light] .token.cdata {
color: #586e75;
}
[data-theme=light] .token.punctuation {
color: #93a1a1;
}
[data-theme=light] .namespace {
opacity: 0.7;
}
[data-theme=light] .token.property,
[data-theme=light] .token.keyword,
[data-theme=light] .token.tag {
color: #268bd2;
}
[data-theme=light] .token.class-name {
color: #ffffb6;
text-decoration: underline;
}
[data-theme=light] .token.boolean,
[data-theme=light] .token.constant {
color: #b58900;
}
[data-theme=light] .token.symbol,
[data-theme=light] .token.deleted {
color: #dc322f;
}
[data-theme=light] .token.number {
color: #859900;
}
[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: #859900;
}
[data-theme=light] .token.variable {
color: #268bd2;
}
[data-theme=light] .token.operator {
color: #ededed;
}
[data-theme=light] .token.function {
color: #268bd2;
}
[data-theme=light] .token.regex {
color: #e9c062;
}
[data-theme=light] .token.important {
color: #fd971f;
}
[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.important,
[data-theme=light] .token.bold {
font-weight: bold;
}
[data-theme=light] .token.italic {
font-style: italic;
}
[data-theme=light] .token.atrule,
[data-theme=light] .token.attr-value {
color: #f9ee98;
}