84 lines
2.0 KiB
CSS
84 lines
2.0 KiB
CSS
/**
|
|
* Gruvbox dark theme
|
|
*
|
|
* Adapted from a theme based on:
|
|
* Vim Gruvbox dark Theme (https://github.com/morhetz/gruvbox)
|
|
*
|
|
* @author Azat S. <to@azat.io>
|
|
* @version 1.0
|
|
* Copied from https://github.com/PrismJS/prism-themes/blob/master/themes/prism-gruvbox-dark.css
|
|
*/
|
|
[data-theme=light] {
|
|
--code-c-text: #ebdbb2;
|
|
--code-c-bg: #1d2021;
|
|
--code-c-highlight-bg: #262d2f;
|
|
--code-c-line-number: rgba(235, 219, 178, 0.67);
|
|
}
|
|
[data-theme=light] div[class*=language-] pre ::selection {
|
|
background: #7c6f64;
|
|
color: #fbf1c7;
|
|
}
|
|
[data-theme=light] .token.comment,
|
|
[data-theme=light] .token.prolog,
|
|
[data-theme=light] .token.cdata {
|
|
color: #a89984;
|
|
}
|
|
[data-theme=light] .token.delimiter,
|
|
[data-theme=light] .token.boolean,
|
|
[data-theme=light] .token.keyword,
|
|
[data-theme=light] .token.selector,
|
|
[data-theme=light] .token.important,
|
|
[data-theme=light] .token.atrule {
|
|
color: #fb4934;
|
|
}
|
|
[data-theme=light] .token.operator,
|
|
[data-theme=light] .token.punctuation,
|
|
[data-theme=light] .token.attr-name {
|
|
color: #a89984;
|
|
}
|
|
[data-theme=light] .token.tag,
|
|
[data-theme=light] .token.tag .punctuation,
|
|
[data-theme=light] .token.doctype,
|
|
[data-theme=light] .token.builtin {
|
|
color: #fabd2f;
|
|
}
|
|
[data-theme=light] .token.entity,
|
|
[data-theme=light] .token.number,
|
|
[data-theme=light] .token.symbol {
|
|
color: #d3869b;
|
|
}
|
|
[data-theme=light] .token.property,
|
|
[data-theme=light] .token.constant,
|
|
[data-theme=light] .token.variable {
|
|
color: #fb4934;
|
|
}
|
|
[data-theme=light] .token.string,
|
|
[data-theme=light] .token.char {
|
|
color: #b8bb26;
|
|
}
|
|
[data-theme=light] .token.attr-value,
|
|
[data-theme=light] .token.attr-value .punctuation {
|
|
color: #a89984;
|
|
}
|
|
[data-theme=light] .token.url {
|
|
color: #b8bb26;
|
|
text-decoration: underline;
|
|
}
|
|
[data-theme=light] .token.function {
|
|
color: #fabd2f;
|
|
}
|
|
[data-theme=light] .token.regex {
|
|
background: #b8bb26;
|
|
}
|
|
[data-theme=light] .token.bold {
|
|
font-weight: bold;
|
|
}
|
|
[data-theme=light] .token.italic {
|
|
font-style: italic;
|
|
}
|
|
[data-theme=light] .token.inserted {
|
|
background: #a89984;
|
|
}
|
|
[data-theme=light] .token.deleted {
|
|
background: #fb4934;
|
|
} |