Files
thallada.github.io/css/syntax_dark.css
Tyler Hallada 6e72c592a1 Fix dark mode: no more filter invert css
The filter invert style was causing weird issues. Instead, I computed
what the colors should be inverted 90% and set them absolutely instead.
2025-08-24 21:25:15 -04:00

163 lines
3.2 KiB
CSS

.highlight {
background: #0f0908;
color: #e0ccae;
}
.highlight .c {
color: #6b4035;
} /* Comment */
.highlight .err {
color: #f2ddbc;
background-color: #66292f;
} /* Error */
.highlight .o {
color: #a67458;
} /* Operator */
.highlight .cm {
color: #6b4035;
} /* Comment.Multiline */
.highlight .cp {
color: #6b4035;
} /* Comment.Preproc */
.highlight .c1 {
color: #6b4035;
} /* Comment.Single */
.highlight .cs {
color: #6b4035;
} /* Comment.Special */
.highlight .gd {
color: #bf472c;
background-color: #291916;
} /* Generic.Deleted */
.highlight .gd .x {
color: #000000;
background-color: #ffaaaa;
} /* Generic.Deleted.Specific */
.highlight .gr {
color: #66292f;
} /* Generic.Error */
.highlight .gh {
color: #f2a766;
} /* Generic.Heading */
.highlight .gi {
color: #000000;
background-color: #ddffdd;
} /* Generic.Inserted */
.highlight .gi .x {
color: #000000;
background-color: #aaffaa;
} /* Generic.Inserted.Specific */
.highlight .go {
color: #e0ccae;
} /* Generic.Output */
.highlight .gp {
color: #8a4b53;
} /* Generic.Prompt */
.highlight .gu {
color: #f2a766;
} /* Generic.Subheading */
.highlight .gt {
color: #bf472c;
} /* Generic.Traceback */
.highlight .kt {
color: #bf472c;
} /* Keyword.Type */
.highlight .m {
color: #8a4b53;
} /* Literal.Number */
.highlight .s {
color: #d47d49;
} /* Literal.String */
.highlight .na {
color: #bf472c;
} /* Name.Attribute */
.highlight .nb {
color: #f2a766;
} /* Name.Builtin */
.highlight .nc {
color: #445588;
} /* Name.Class */
.highlight .no {
color: #f2ddbc;
} /* Name.Constant */
.highlight .ni {
color: #a4896f;
} /* Name.Entity */
.highlight .ne {
color: #990000;
} /* Name.Exception */
.highlight .nf {
color: #bf472c;
} /* Name.Function */
.highlight .nn {
color: #bf472c;
} /* Name.Namespace */
.highlight .nt {
color: #f2a766;
} /* Name.Tag */
.highlight .nv {
color: #a67458;
} /* Name.Variable */
.highlight .w {
color: #bbbbbb;
} /* Text.Whitespace */
.highlight .mf {
color: #8a4b53;
} /* Literal.Number.Float */
.highlight .mh {
color: #8a4b53;
} /* Literal.Number.Hex */
.highlight .mi {
color: #8a4b53;
} /* Literal.Number.Integer */
.highlight .mo {
color: #8a4b53;
} /* Literal.Number.Oct */
.highlight .sb {
color: #d47d49;
} /* Literal.String.Backtick */
.highlight .sc {
color: #d47d49;
} /* Literal.String.Char */
.highlight .sd {
color: #d47d49;
} /* Literal.String.Doc */
.highlight .s2 {
color: #d47d49;
} /* Literal.String.Double */
.highlight .se {
color: #d47d49;
} /* Literal.String.Escape */
.highlight .sh {
color: #d47d49;
} /* Literal.String.Heredoc */
.highlight .si {
color: #d47d49;
} /* Literal.String.Interpol */
.highlight .sx {
color: #d47d49;
} /* Literal.String.Other */
.highlight .sr {
color: #d47d49;
} /* Literal.String.Regex */
.highlight .s1 {
color: #d47d49;
} /* Literal.String.Single */
.highlight .ss {
color: #d47d49;
} /* Literal.String.Symbol */
.highlight .bp {
color: #999999;
} /* Name.Builtin.Pseudo */
.highlight .vc {
color: #a67458;
} /* Name.Variable.Class */
.highlight .vg {
color: #a67458;
} /* Name.Variable.Global */
.highlight .vi {
color: #a67458;
} /* Name.Variable.Instance */
.highlight .il {
color: #8a4b53;
} /* Literal.Number.Integer.Long */