/** * VS theme by Andrew Lock (https://andrewlock.net) * Inspired by Visual Studio syntax coloring * * https://raw.githubusercontent.com/PrismJS/prism-themes/master/themes/prism-vs.css */ html:not(.dark) { code[class*='language-'], pre[class*='language-'] { color: #393a34; } pre[class*='language-']::-moz-selection, pre[class*='language-'] ::-moz-selection, code[class*='language-']::-moz-selection, code[class*='language-'] ::-moz-selection { background: #c1def1; } pre[class*='language-']::selection, pre[class*='language-'] ::selection, code[class*='language-']::selection, code[class*='language-'] ::selection { background: #c1def1; } /* Code blocks */ pre[class*='language-'] { background-color: #f8f8f8 !important; } /* Inline code */ :not(pre) > code[class*='language-'] { background: #f8f8f8; } .token.comment, .token.prolog, .token.doctype, .token.cdata { color: #758575; font-style: italic; } .token.namespace { opacity: 0.7; } .token.string { color: #a31515; } .token.punctuation, .token.operator { color: #393a34; /* no highlight */ } .token.url, .token.symbol, .token.number, .token.boolean, .token.variable, .token.constant, .token.inserted { color: #36acaa; } .token.atrule, .token.keyword, .token.attr-value, .language-autohotkey .token.selector, .language-json .token.boolean, .language-json .token.number, code[class*='language-css'] { color: #248459; } .token.function { color: #849145; } .token.deleted, .language-autohotkey .token.tag { color: #9a050f; } .token.selector, .language-autohotkey .token.keyword { color: #248459; } .token.important, .token.bold { font-weight: bold; } .token.italic { font-style: italic; } .token.class-name, .language-json .token.property { color: #2b91af; } .token.tag, .token.builtin, .token.selector { color: #800000; } .token.attr-name, .token.property, .token.regex, .token.entity { color: #ce9178; } .token.directive.tag .tag { background: #ffff00; color: #393a34; } /* overrides color-values for the Line Numbers plugin * http://prismjs.com/plugins/line-numbers/ */ .line-numbers .line-numbers-rows { border-right-color: #a5a5a5; } .line-numbers-rows > span:before { color: #2b91af; } /* overrides color-values for the Line Highlight plugin * http://prismjs.com/plugins/line-highlight/ */ .line-highlight { background: rgba(193, 222, 241, 0.2); background: -webkit-linear-gradient(left, rgba(193, 222, 241, 0.2) 70%, rgba(221, 222, 241, 0)); background: linear-gradient(to right, rgba(193, 222, 241, 0.2) 70%, rgba(221, 222, 241, 0)); } }