/** * 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=dark] { --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=dark] .token.comment, [data-theme=dark] .token.prolog, [data-theme=dark] .token.doctype, [data-theme=dark] .token.cdata { color: #7c7c7c; } [data-theme=dark] .token.punctuation { color: #c5c8c6; } [data-theme=dark] .namespace { opacity: 0.7; } [data-theme=dark] .token.property, [data-theme=dark] .token.keyword, [data-theme=dark] .token.tag { color: #96cbfe; } [data-theme=dark] .token.class-name { color: #ffffb6; text-decoration: underline; } [data-theme=dark] .token.boolean, [data-theme=dark] .token.constant { color: #9c9; } [data-theme=dark] .token.symbol, [data-theme=dark] .token.deleted { color: #f92672; } [data-theme=dark] .token.number { color: #ff73fd; } [data-theme=dark] .token.selector, [data-theme=dark] .token.attr-name, [data-theme=dark] .token.string, [data-theme=dark] .token.char, [data-theme=dark] .token.builtin, [data-theme=dark] .token.inserted { color: #a8ff60; } [data-theme=dark] .token.variable { color: #c6c5fe; } [data-theme=dark] .token.operator { color: #ededed; } [data-theme=dark] .token.entity { color: #ffffb6; cursor: help; } [data-theme=dark] .token.url { color: #96cbfe; } [data-theme=dark] .language-css .token.string, [data-theme=dark] .style .token.string { color: #87c38a; } [data-theme=dark] .token.atrule, [data-theme=dark] .token.attr-value { color: #f9ee98; } [data-theme=dark] .token.function { color: #dad085; } [data-theme=dark] .token.regex { color: #e9c062; } [data-theme=dark] .token.important { color: #fd971f; } [data-theme=dark] .token.important, [data-theme=dark] .token.bold { font-weight: bold; } [data-theme=dark] .token.italic { font-style: italic; }