84 lines
2.1 KiB
CSS
84 lines
2.1 KiB
CSS
/**
|
|
* Gruvbox light theme
|
|
*
|
|
* Based on Gruvbox: https://github.com/morhetz/gruvbox
|
|
* Adapted from PrismJS gruvbox-dark theme: https://github.com/schnerring/prism-themes/blob/master/themes/prism-gruvbox-dark.css
|
|
*
|
|
* @author Michael Schnerring (https://schnerring.net)
|
|
* @version 1.0
|
|
* Copied from https://github.com/PrismJS/prism-themes/blob/master/themes/prism-gruvbox-light.css
|
|
*/
|
|
[data-theme=dark] {
|
|
--code-c-text: #3c3836;
|
|
--code-c-bg: #f9f5d7;
|
|
--code-c-highlight-bg: #f7f1c2;
|
|
--code-c-line-number: rgba(60, 56, 54, 0.67);
|
|
}
|
|
[data-theme=dark] div[class*=language-] pre ::selection {
|
|
background: #a89984;
|
|
color: #282828;
|
|
}
|
|
[data-theme=dark] .token.comment,
|
|
[data-theme=dark] .token.prolog,
|
|
[data-theme=dark] .token.cdata {
|
|
color: #7c6f64;
|
|
}
|
|
[data-theme=dark] .token.delimiter,
|
|
[data-theme=dark] .token.boolean,
|
|
[data-theme=dark] .token.keyword,
|
|
[data-theme=dark] .token.selector,
|
|
[data-theme=dark] .token.important,
|
|
[data-theme=dark] .token.atrule {
|
|
color: #9d0006;
|
|
}
|
|
[data-theme=dark] .token.operator,
|
|
[data-theme=dark] .token.punctuation,
|
|
[data-theme=dark] .token.attr-name {
|
|
color: #7c6f64;
|
|
}
|
|
[data-theme=dark] .token.tag,
|
|
[data-theme=dark] .token.tag .punctuation,
|
|
[data-theme=dark] .token.doctype,
|
|
[data-theme=dark] .token.builtin {
|
|
color: #b57614;
|
|
}
|
|
[data-theme=dark] .token.entity,
|
|
[data-theme=dark] .token.number,
|
|
[data-theme=dark] .token.symbol {
|
|
color: #8f3f71;
|
|
}
|
|
[data-theme=dark] .token.property,
|
|
[data-theme=dark] .token.constant,
|
|
[data-theme=dark] .token.variable {
|
|
color: #9d0006;
|
|
}
|
|
[data-theme=dark] .token.string,
|
|
[data-theme=dark] .token.char {
|
|
color: #797403;
|
|
}
|
|
[data-theme=dark] .token.attr-value,
|
|
[data-theme=dark] .token.attr-value .punctuation {
|
|
color: #7c6f64;
|
|
}
|
|
[data-theme=dark] .token.url {
|
|
color: #797403;
|
|
text-decoration: underline;
|
|
}
|
|
[data-theme=dark] .token.function {
|
|
color: #b57614;
|
|
}
|
|
[data-theme=dark] .token.regex {
|
|
background: #797403;
|
|
}
|
|
[data-theme=dark] .token.bold {
|
|
font-weight: bold;
|
|
}
|
|
[data-theme=dark] .token.italic {
|
|
font-style: italic;
|
|
}
|
|
[data-theme=dark] .token.inserted {
|
|
background: #7c6f64;
|
|
}
|
|
[data-theme=dark] .token.deleted {
|
|
background: #9d0006;
|
|
} |