test/node_modules/@vuepress/plugin-prismjs/lib/client/styles/gruvbox-light.light.css
2024-08-13 09:27:52 +08:00

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=light] {
--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=light] div[class*=language-] pre ::selection {
background: #a89984;
color: #282828;
}
[data-theme=light] .token.comment,
[data-theme=light] .token.prolog,
[data-theme=light] .token.cdata {
color: #7c6f64;
}
[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: #9d0006;
}
[data-theme=light] .token.operator,
[data-theme=light] .token.punctuation,
[data-theme=light] .token.attr-name {
color: #7c6f64;
}
[data-theme=light] .token.tag,
[data-theme=light] .token.tag .punctuation,
[data-theme=light] .token.doctype,
[data-theme=light] .token.builtin {
color: #b57614;
}
[data-theme=light] .token.entity,
[data-theme=light] .token.number,
[data-theme=light] .token.symbol {
color: #8f3f71;
}
[data-theme=light] .token.property,
[data-theme=light] .token.constant,
[data-theme=light] .token.variable {
color: #9d0006;
}
[data-theme=light] .token.string,
[data-theme=light] .token.char {
color: #797403;
}
[data-theme=light] .token.attr-value,
[data-theme=light] .token.attr-value .punctuation {
color: #7c6f64;
}
[data-theme=light] .token.url {
color: #797403;
text-decoration: underline;
}
[data-theme=light] .token.function {
color: #b57614;
}
[data-theme=light] .token.regex {
background: #797403;
}
[data-theme=light] .token.bold {
font-weight: bold;
}
[data-theme=light] .token.italic {
font-style: italic;
}
[data-theme=light] .token.inserted {
background: #7c6f64;
}
[data-theme=light] .token.deleted {
background: #9d0006;
}