@@ -12,7 +12,7 @@ const ivory = "#abb2bf";
1212const stone = "#7d8799" ;
1313const malibu = "#61afef" ;
1414const sage = "#0F0" ; // Set
15- const whiskey = "#d19a66 " ;
15+ const whiskey = "#ffb500 " ;
1616const violet = "#F3F" ; // Set
1717const darkBackground = "#17181A" ; // Set
1818const highlightBackground = "#2c313a" ;
@@ -91,12 +91,24 @@ const editorTheme = {
9191}
9292
9393const highlightStyle = [
94- { tag :t . keyword , color :violet } ,
94+ { tag :[
95+ t . keyword ,
96+ t . annotation ,
97+ t . modifier ,
98+ t . special ( t . string ) ,
99+ t . operatorKeyword ,
100+ ] ,
101+ color :violet
102+ } ,
103+ {
104+ tag :[ t . name , t . propertyName , t . deleted , t . character , t . macroName , t . function ( t . variableName ) ] ,
105+ color :blue ,
106+ } ,
95107{
96- tag :[ t . name , t . deleted , t . character , t . propertyName , t . macroName ] ,
97- color :salmon ,
108+ tag :[ ] ,
109+ color :cyan ,
98110} ,
99- { tag :[ t . function ( t . variableName ) , t . labelName ] , color :malibu } ,
111+ { tag :[ t . labelName ] , color :whiskey } ,
100112{ tag :[ t . color , t . constant ( t . name ) , t . standard ( t . name ) ] , color :whiskey } ,
101113{ tag :[ t . definition ( t . name ) , t . separator ] , color :ivory } ,
102114{
@@ -105,33 +117,31 @@ const highlightStyle = [
105117t . className ,
106118t . number ,
107119t . changed ,
108- t . annotation ,
109- t . modifier ,
110120t . self ,
111121t . namespace ,
122+ t . bool ,
112123] ,
113124color :chalky ,
114125} ,
115- {
116- tag :[
117- t . operator ,
118- t . operatorKeyword ,
126+ { tag :[ t . operator ] , color :whiskey } ,
127+ { tag :[
128+ t . processingInstruction ,
129+ t . string ,
130+ t . inserted ,
119131t . url ,
120132t . escape ,
121133t . regexp ,
122134t . link ,
123- t . special ( t . string ) ,
124135] ,
125- color :blue ,
136+ color :sage
126137} ,
127138{ tag :[ t . meta , t . comment ] , color :stone } ,
128139{ tag :t . strong , fontWeight :"bold" } ,
129140{ tag :t . emphasis , fontStyle :"italic" } ,
130141{ tag :t . strikethrough , textDecoration :"line-through" } ,
131142{ tag :t . link , color :stone , textDecoration :"underline" } ,
132143{ tag :t . heading , fontWeight :"bold" , color :salmon } ,
133- { tag :[ t . atom , t . bool , t . special ( t . variableName ) ] , color :whiskey } ,
134- { tag :[ t . processingInstruction , t . string , t . inserted ] , color :sage } ,
144+ { tag :[ t . atom , t . special ( t . variableName ) ] , color :whiskey } ,
135145{ tag :t . invalid , color :invalid } ,
136146]
137147