1- // Colors sourced from _sass/theme.json (a Sublime Text color scheme).
2- // "variables" section:
3- $black : hsl (0 , 0% , 0% );
4- $blue : hsl (210 , 50% , 60% );
5- $blue-vibrant : hsl (210 , 60% , 60% );
6- $blue2 : hsla (210 , 13% , 40% , 0.7 );
7- $blue3 : hsl (210 , 15% , 22% );
8- $blue4 : hsl (210 , 13% , 45% );
9- $blue5 : hsl (180 , 36% , 54% );
10- $blue6 : hsl (221 , 12% , 69% );
11- $green : hsl (114 , 31% , 68% );
12- $grey : hsl (0 , 0% , 20% );
13- $orange : hsl (32 , 93% , 66% );
14- $orange2 : hsl (32 , 85% , 55% );
15- $orange3 : hsl (40 , 94% , 68% );
16- $pink : hsl (300 , 30% , 68% );
17- $red : hsl (357 , 79% , 65% );
18- $red2 : hsl (13 , 93% , 66% );
19- $white : hsl (0 , 0% , 100% );
20- $white2 : hsl (0 , 0% , 97% );
21- $white3 : hsl (219 , 28% , 88% );
22-
23- // "globals" section:
24- $fg : $white3 ; // foreground
25- $bg : $blue3 ; // background
26- $line-highlight : $blue2 ; // line_highlight
27-
281.highlighter-rouge { background : $bg ; }
292
303.highlight , pre .highlight , pre {
31- background : #272822
4+ background : $bg ;
5+ color : $fg ;
326}
33- .language-json , .language-js {
34- .highlight , pre .highlight , pre {
35- background : $bg ;
36- }
7+ .language-plaintext {
8+ .highlight , pre .highlight , pre {
9+ background : #272822 ;
10+ color : hsl (219 , 28% , 88% );
11+ }
3712}
3813
3914.highlight {
40- color : $fg ;
41-
4215 .hll { background-color : $line-highlight } /* line_highlight */
4316 .err { color : $white2 ; background-color : $red } /* Error -> "Invalid" */
4417 .c { color : $blue6 } /* Comment -> "Comment" */
45- .g { color : $fg } /* Generic */
18+ .g { color : inherit } /* Generic */
4619 .k { color : $pink } /* Keyword -> "Keyword" */
47- .l { color : $fg } /* Literal */
48- .n { color : $fg } /* Name */
20+ .l { color : inherit } /* Literal */
21+ .n { color : inherit } /* Name */
4922 .o { color : $red2 } /* Operator -> "Operators" */
50- .x { color : $fg } /* Other */
23+ .x { color : inherit } /* Other */
5124 .p { color : $blue6 } /* Punctuation -> "Punctuation" (separator/terminator) */
5225 .cm { color : $blue6 } /* Comment.Multiline -> "Comment" */
5326 .cp { color : $blue6 } /* Comment.Preproc -> "Comment" */
@@ -60,7 +33,7 @@ $line-highlight: $blue2; // line_highlight
6033 .gi { color : $green ; background-color : hsla (180 , 45% , 60% , 0.15 ) } /* Generic.Inserted -> "diff.inserted" */
6134 span .go { color : $blue ; background-color : hsl (210 , 15% , 16% ) } /* Generic.Output -> "message.info"
6235 .gp { color: $blue6 } /* Generic.Prompt */
63- .gs { color : $fg ; font-weight : bold } /* Generic.Strong -> "markup bold" */
36+ .gs { color : inherit ; font-weight : bold } /* Generic.Strong -> "markup bold" */
6437 .gu { color : $pink ; font-weight : bold } /* Generic.Subheading -> "diff.header" */
6538 .gt { color : $white2 ; background-color : $orange2 } /* Generic.Traceback -> "Invalid deprecated" */
6639 .kc { color : $red ; font-style : italic } /* Keyword.Constant -> "Built-in constant" */
@@ -82,12 +55,12 @@ $line-highlight: $blue2; // line_highlight
8255 .nf { color : $blue5 } /* Name.Function -> "Entity name" (entity.name.function) */
8356 .nl { color : $blue5 } /* Name.Label */
8457 .nn { color : $orange } /* Name.Namespace -> "Entity name" */
85- .nx { color : $fg } /* Name.Other */
58+ .nx { color : inherit } /* Name.Other */
8659 .py { color : $red } /* Name.Property -> "Member Variable" */
8760 .nt { color : $red } /* Name.Tag -> "Tag name" */
88- .nv { color : $fg } /* Name.Variable */
61+ .nv { color : inherit } /* Name.Variable */
8962 .ow { color : $red2 } /* Operator.Word -> "Operators" */
90- .w { color : $fg } /* Text.Whitespace */
63+ .w { color : inherit } /* Text.Whitespace */
9164 .mf { color : $orange } /* Literal.Number.Float -> "Number" */
9265 .mh { color : $orange } /* Literal.Number.Hex -> "Number" */
9366 .mi { color : $orange } /* Literal.Number.Integer -> "Number" */
@@ -104,8 +77,8 @@ $line-highlight: $blue2; // line_highlight
10477 .s1 { color : $green } /* Literal.String.Single -> "String" */
10578 .ss { color : $pink } /* Literal.String.Symbol -> "User-defined constant" */
10679 .bp { color : $red ; font-style : italic } /* Name.Builtin.Pseudo -> "Language variable" */
107- .vc { color : $fg } /* Name.Variable.Class */
108- .vg { color : $fg } /* Name.Variable.Global */
80+ .vc { color : inherit } /* Name.Variable.Class */
81+ .vg { color : inherit } /* Name.Variable.Global */
10982 .vi { color : $red } /* Name.Variable.Instance -> "Member Variable" */
11083 .il { color : $orange } /* Literal.Number.Integer.Long -> "Number" */
11184 .bash .nv {
@@ -119,8 +92,8 @@ $line-highlight: $blue2; // line_highlight
11992 .kr { color : $pink }
12093 .nf { color : $blue5 }
12194 .nt { color : $red }
122- .nv { color : $fg }
95+ .nv { color : inherit }
12396 }
12497}
12598
126- .language-sh .highlight * { color : $fg }
99+ .language-sh .highlight * { color : inherit }
0 commit comments