100 lines
1.5 KiB
CSS
100 lines
1.5 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
|
|
*/
|
|
:root {
|
|
--code-c-text: #3c3836;
|
|
--code-c-bg: #f9f5d7;
|
|
--code-c-highlight-bg: #f7f1c2;
|
|
--code-c-line-number: rgba(60, 56, 54, 0.67);
|
|
}
|
|
|
|
div[class*=language-] pre ::selection {
|
|
background: #a89984;
|
|
color: #282828;
|
|
}
|
|
|
|
.token.comment,
|
|
.token.prolog,
|
|
.token.cdata {
|
|
color: #7c6f64;
|
|
}
|
|
|
|
.token.delimiter,
|
|
.token.boolean,
|
|
.token.keyword,
|
|
.token.selector,
|
|
.token.important,
|
|
.token.atrule {
|
|
color: #9d0006;
|
|
}
|
|
|
|
.token.operator,
|
|
.token.punctuation,
|
|
.token.attr-name {
|
|
color: #7c6f64;
|
|
}
|
|
|
|
.token.tag,
|
|
.token.tag .punctuation,
|
|
.token.doctype,
|
|
.token.builtin {
|
|
color: #b57614;
|
|
}
|
|
|
|
.token.entity,
|
|
.token.number,
|
|
.token.symbol {
|
|
color: #8f3f71;
|
|
}
|
|
|
|
.token.property,
|
|
.token.constant,
|
|
.token.variable {
|
|
color: #9d0006;
|
|
}
|
|
|
|
.token.string,
|
|
.token.char {
|
|
color: #797403;
|
|
}
|
|
|
|
.token.attr-value,
|
|
.token.attr-value .punctuation {
|
|
color: #7c6f64;
|
|
}
|
|
|
|
.token.url {
|
|
color: #797403;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.token.function {
|
|
color: #b57614;
|
|
}
|
|
|
|
.token.regex {
|
|
background: #797403;
|
|
}
|
|
|
|
.token.bold {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.token.italic {
|
|
font-style: italic;
|
|
}
|
|
|
|
.token.inserted {
|
|
background: #7c6f64;
|
|
}
|
|
|
|
.token.deleted {
|
|
background: #9d0006;
|
|
} |