/** * Coldark Theme for Prism.js * Theme variation: Dark * Tested with HTML, CSS, JS, JSON, PHP, YAML, Bash script * @author Armand Philippot * @homepage https://github.com/ArmandPhilippot/coldark-prism * @license MIT */ code[class*="language-"], pre[class*="language-"] { color: #e3e9f2; background: none; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; text-align: left; white-space: pre; word-spacing: normal; word-break: normal; word-wrap: normal; line-height: 1.5; -moz-tab-size: 4; -o-tab-size: 4; tab-size: 4; -webkit-hyphens: none; -moz-hyphens: none; -ms-hyphens: none; hyphens: none; } pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection, code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection { background: #304259; } pre[class*="language-"]::selection, pre[class*="language-"] ::selection, code[class*="language-"]::selection, code[class*="language-"] ::selection { background: #304259; } /* Code blocks */ pre[class*="language-"] { padding: 1em; margin: 0.5em 0; overflow: auto; } :not(pre) > code[class*="language-"], pre[class*="language-"] { background: #111b27; } /* Inline code */ :not(pre) > code[class*="language-"] { padding: 0.1em 0.3em; border-radius: 0.3em; white-space: normal; } .token.comment, .token.prolog, .token.doctype, .token.cdata { color: #ccd6e4; font-style: italic; } .token.punctuation { color: #e3e9f2; } .token.selector, .token.tag { color: #5dc2c2; } .token.attr-name, .token.boolean, .token.number, .token.constant, .token.pseudo-class, .token.pseudo-element, .token.selector .token.attribute { color: #cdb74a; } .token.class-name, .token.key, .token.parameter, .token.property, .token.property-access, .token.variable { color: #6ab3e4; } .token.attr-value, .token.inserted, .token.color, .token.selector .token.value, .token.string, .token.string .token.url-link { color: #82c366; } .token.builtin, .token.keyword-array, .token.package, .token.regex { color: #ea89ea; } .token.function, .token.selector .token.class, .token.selector .token.id { color: #cf7ef6; } .token.atrule .token.rule, .token.combinator, .token.keyword, .token.operator, .token.selector .token.token.operator, .token.unit { color: #d88b4a; } .token.deleted, .token.important { color: #f57a73; } .token.keyword-this, .token.this { color: #6ab3e4; } .token.important, .token.keyword-this, .token.this, .token.bold { font-weight: bold; } .token.italic { font-style: italic; } .token.entity { cursor: help; } .language-markdown .token.title, .language-markdown .token.title .token.punctuation { color: #6ab3e4; font-weight: bold; } .language-markdown .token.code { color: #5dc2c2; } .language-markdown .token.url .token.content { color: #82c366; } .language-markdown .token.url-link { color: #cdb74a; } .language-markdown .token.list.punctuation { color: #ea89ea; } .language-markdown .token.table-header { color: #e3e9f2; } .language-json .token.operator { color: #e3e9f2; } /* overrides color-values for the Show Invisibles plugin * https://prismjs.com/plugins/show-invisibles/ */ .token.tab:not(:empty):before, .token.cr:before, .token.lf:before, .token.space:before { color: #ccd6e4; } /* overrides color-values for the Toolbar plugin * https://prismjs.com/plugins/toolbar/ */ div.code-toolbar > .toolbar a, div.code-toolbar > .toolbar button { color: #111b27; background: #6ab3e4; } div.code-toolbar > .toolbar a:hover, div.code-toolbar > .toolbar a:focus, div.code-toolbar > .toolbar button:hover, div.code-toolbar > .toolbar button:focus { color: #111b27; background: #6ab3e4da; text-decoration: none; } div.code-toolbar > .toolbar span, div.code-toolbar > .toolbar span:hover, div.code-toolbar > .toolbar span:focus { color: #111b27; background: #ccd6e4; } /* overrides color-values for the Line Highlight plugin * http://prismjs.com/plugins/line-highlight/ */ .line-highlight { background: #ccd6e418; background: linear-gradient(to right, #ccd6e41f 70%, #ccd6e415); } .line-highlight:before, .line-highlight[data-end]:after { background-color: #ccd6e4; color: #111b27; box-shadow: 0 1px #304259; } pre[id].linkable-line-numbers span.line-numbers-rows > span:hover:before { background-color: #ccd6e418; } /* overrides color-values for the Line Numbers plugin * http://prismjs.com/plugins/line-numbers/ */ .line-numbers .line-numbers-rows { border-right: 1px solid #0b121b; background: #0b121b7a; } .line-numbers-rows > span:before { color: #e3e9f296; } /* overrides color-values for the Match Braces plugin * https://prismjs.com/plugins/match-braces/ */ .rainbow-braces .token.punctuation.brace-level-1, .rainbow-braces .token.punctuation.brace-level-5, .rainbow-braces .token.punctuation.brace-level-9 { color: #cdb74a; } .rainbow-braces .token.punctuation.brace-level-2, .rainbow-braces .token.punctuation.brace-level-6, .rainbow-braces .token.punctuation.brace-level-10 { color: #ea89ea; } .rainbow-braces .token.punctuation.brace-level-3, .rainbow-braces .token.punctuation.brace-level-7, .rainbow-braces .token.punctuation.brace-level-11 { color: #6ab3e4; } .rainbow-braces .token.punctuation.brace-level-4, .rainbow-braces .token.punctuation.brace-level-8, .rainbow-braces .token.punctuation.brace-level-12 { color: #cf7ef6; } /* overrides color-values for the Diff Highlight plugin * https://prismjs.com/plugins/diff-highlight/ */ pre.diff-highlight > code .token.deleted:not(.prefix), pre > code.diff-highlight .token.deleted:not(.prefix) { background-color: #f57a731f; } pre.diff-highlight > code .token.inserted:not(.prefix), pre > code.diff-highlight .token.inserted:not(.prefix) { background-color: #82c3661f; } /* overrides color-values for the Command Line plugin * https://prismjs.com/plugins/command-line/ */ .command-line-prompt { border-right: 1px solid #0b121b; } .command-line-prompt > span:before { color: #e3e9f296; }