148 lines
4.3 KiB
CSS
148 lines
4.3 KiB
CSS
/**
|
|
* One Light theme for prism.js
|
|
* Based on Atom's One Light theme: https://github.com/atom/atom/tree/master/packages/one-light-syntax
|
|
* Copied from https://github.com/PrismJS/prism-themes/blob/master/themes/prism-one-light.css
|
|
*/
|
|
[data-theme=light] {
|
|
--code-c-text: #383a42;
|
|
--code-c-bg: #ecf4fa;
|
|
--code-c-highlight-bg: #d8e9f6;
|
|
--code-c-line-number: rgba(56, 58, 66, 0.67);
|
|
/* HTML overrides */
|
|
/* CSS overrides */
|
|
/* JS overrides */
|
|
/* JSON overrides */
|
|
/* MD overrides */
|
|
/* General */
|
|
}
|
|
[data-theme=light] div[class*=language-] pre {
|
|
tab-size: 2;
|
|
}
|
|
[data-theme=light] div[class*=language-] pre ::selection {
|
|
background: #e5e5e6;
|
|
color: inherit;
|
|
}
|
|
[data-theme=light] .token.comment,
|
|
[data-theme=light] .token.prolog,
|
|
[data-theme=light] .token.cdata {
|
|
color: #a0a1a7;
|
|
}
|
|
[data-theme=light] .token.doctype,
|
|
[data-theme=light] .token.punctuation,
|
|
[data-theme=light] .token.entity {
|
|
color: #383a42;
|
|
}
|
|
[data-theme=light] .token.attr-name,
|
|
[data-theme=light] .token.class-name,
|
|
[data-theme=light] .token.boolean,
|
|
[data-theme=light] .token.constant,
|
|
[data-theme=light] .token.number,
|
|
[data-theme=light] .token.atrule {
|
|
color: #b76b01;
|
|
}
|
|
[data-theme=light] .token.keyword {
|
|
color: #a626a4;
|
|
}
|
|
[data-theme=light] .token.property,
|
|
[data-theme=light] .token.tag,
|
|
[data-theme=light] .token.symbol,
|
|
[data-theme=light] .token.deleted,
|
|
[data-theme=light] .token.important {
|
|
color: #e45649;
|
|
}
|
|
[data-theme=light] .token.selector,
|
|
[data-theme=light] .token.string,
|
|
[data-theme=light] .token.char,
|
|
[data-theme=light] .token.builtin,
|
|
[data-theme=light] .token.inserted,
|
|
[data-theme=light] .token.regex,
|
|
[data-theme=light] .token.attr-value,
|
|
[data-theme=light] .token.attr-value > .token.punctuation {
|
|
color: #50a14f;
|
|
}
|
|
[data-theme=light] .token.variable,
|
|
[data-theme=light] .token.operator,
|
|
[data-theme=light] .token.function {
|
|
color: #4078f2;
|
|
}
|
|
[data-theme=light] .token.url {
|
|
color: #0184bc;
|
|
}
|
|
[data-theme=light] .token.attr-value > .token.punctuation.attr-equals,
|
|
[data-theme=light] .token.special-attr > .token.attr-value > .token.value.css {
|
|
color: #383a42;
|
|
}
|
|
[data-theme=light] .language-css .token.selector {
|
|
color: #e45649;
|
|
}
|
|
[data-theme=light] .language-css .token.property {
|
|
color: #383a42;
|
|
}
|
|
[data-theme=light] .language-css .token.function,
|
|
[data-theme=light] .language-css .token.url > .token.function {
|
|
color: #0184bc;
|
|
}
|
|
[data-theme=light] .language-css .token.url > .token.string.url {
|
|
color: #50a14f;
|
|
}
|
|
[data-theme=light] .language-css .token.important,
|
|
[data-theme=light] .language-css .token.atrule .token.rule {
|
|
color: #a626a4;
|
|
}
|
|
[data-theme=light] .language-javascript .token.operator {
|
|
color: #a626a4;
|
|
}
|
|
[data-theme=light] .language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation {
|
|
color: #ca1243;
|
|
}
|
|
[data-theme=light] .language-json .token.operator {
|
|
color: #383a42;
|
|
}
|
|
[data-theme=light] .language-json .token.null.keyword {
|
|
color: #b76b01;
|
|
}
|
|
[data-theme=light] .language-markdown .token.url,
|
|
[data-theme=light] .language-markdown .token.url > .token.operator,
|
|
[data-theme=light] .language-markdown .token.url-reference.url > .token.string {
|
|
color: #383a42;
|
|
}
|
|
[data-theme=light] .language-markdown .token.url > .token.content {
|
|
color: #4078f2;
|
|
}
|
|
[data-theme=light] .language-markdown .token.url > .token.url,
|
|
[data-theme=light] .language-markdown .token.url-reference.url {
|
|
color: #0184bc;
|
|
}
|
|
[data-theme=light] .language-markdown .token.blockquote.punctuation,
|
|
[data-theme=light] .language-markdown .token.hr.punctuation {
|
|
color: #a0a1a7;
|
|
font-style: italic;
|
|
}
|
|
[data-theme=light] .language-markdown .token.code-snippet {
|
|
color: #50a14f;
|
|
}
|
|
[data-theme=light] .language-markdown .token.bold .token.content {
|
|
color: #b76b01;
|
|
}
|
|
[data-theme=light] .language-markdown .token.italic .token.content {
|
|
color: #a626a4;
|
|
}
|
|
[data-theme=light] .language-markdown .token.strike .token.content,
|
|
[data-theme=light] .language-markdown .token.strike .token.punctuation,
|
|
[data-theme=light] .language-markdown .token.list.punctuation,
|
|
[data-theme=light] .language-markdown .token.title.important > .token.punctuation {
|
|
color: #e45649;
|
|
}
|
|
[data-theme=light] .token.bold {
|
|
font-weight: bold;
|
|
}
|
|
[data-theme=light] .token.comment,
|
|
[data-theme=light] .token.italic {
|
|
font-style: italic;
|
|
}
|
|
[data-theme=light] .token.entity {
|
|
cursor: help;
|
|
}
|
|
[data-theme=light] .token.namespace {
|
|
opacity: 0.8;
|
|
} |