@@ -22,65 +22,46 @@ export function vscodeDarkInit(options?: CreateThemeOptions) {
22
22
...settings ,
23
23
} ,
24
24
styles : [
25
- { tag : t . keyword , color : '#569cd6' } ,
26
25
{
27
- tag : [ t . controlKeyword , t . moduleKeyword ] ,
28
- color : '#c586c0 ' ,
26
+ tag : [ t . keyword , t . operatorKeyword , t . modifier , t . color , t . constant ( t . name ) , t . standard ( t . name ) , t . tagName , t . special ( t . brace ) , t . atom , t . bool , t . special ( t . variableName ) ] ,
27
+ color : '#569cd6 ' ,
29
28
} ,
30
29
{
31
- tag : [ t . name , t . deleted , t . character , t . macroName ] ,
32
- color : '#9cdcfe ' ,
30
+ tag : [ t . controlKeyword , t . moduleKeyword ] ,
31
+ color : '#c586c0 ' ,
33
32
} ,
34
33
{
35
- tag : [ t . propertyName ] ,
34
+ tag : [ t . name , t . deleted , t . character , t . macroName , t . propertyName , t . variableName , t . labelName , t . definition ( t . name ) ] ,
36
35
color : '#9cdcfe' ,
37
36
} ,
38
-
39
- { tag : [ t . variableName , t . labelName ] , color : '#9cdcfe' } ,
40
- {
41
- tag : [ t . color , t . constant ( t . name ) , t . standard ( t . name ) ] ,
42
- color : '#569cd6' ,
43
- } ,
44
- { tag : [ t . definition ( t . name ) ] , color : '#9cdcfe' } ,
37
+ { tag : t . heading , fontWeight : 'bold' , color : '#9cdcfe' } ,
45
38
{
46
- tag : [ t . typeName , t . className , t . number , t . changed , t . annotation , t . modifier , t . self , t . namespace ] ,
39
+ tag : [ t . typeName , t . className , t . number , t . changed , t . annotation , t . self , t . namespace ] ,
47
40
color : '#4ec9b0' ,
48
41
} ,
49
- { tag : [ t . tagName ] , color : '#569cd6' } ,
50
42
{
51
43
tag : [ t . function ( t . variableName ) , t . function ( t . propertyName ) ] ,
52
44
color : '#dcdcaa' ,
53
45
} ,
54
46
{ tag : [ t . number ] , color : '#b5cea8' } ,
55
47
{
56
- tag : [ t . operator , t . operatorKeyword , t . url , t . escape , t . regexp , t . link , t . special ( t . string ) ] ,
48
+ tag : [ t . operator , t . punctuation , t . separator , t . url , t . escape , t . regexp ] ,
57
49
color : '#d4d4d4' ,
58
50
} ,
59
51
{
60
52
tag : [ t . regexp ] ,
61
53
color : '#d16969' ,
62
54
} ,
63
55
{
64
- tag : [ t . special ( t . string ) ] ,
56
+ tag : [ t . special ( t . string ) , t . processingInstruction , t . string , t . inserted ] ,
65
57
color : '#ce9178' ,
66
58
} ,
67
- { tag : [ t . meta , t . comment ] , color : '#6a9955' } ,
68
- { tag : [ t . punctuation , t . separator ] , color : '#d4d4d4' } ,
69
59
{ tag : [ t . angleBracket ] , color : '#808080' } ,
70
- { tag : t . special ( t . brace ) , color : '#569cd6' } ,
71
60
{ tag : t . strong , fontWeight : 'bold' } ,
72
61
{ tag : t . emphasis , fontStyle : 'italic' } ,
73
62
{ tag : t . strikethrough , textDecoration : 'line-through' } ,
63
+ { tag : [ t . meta , t . comment ] , color : '#6a9955' } ,
74
64
{ tag : t . link , color : '#6a9955' , textDecoration : 'underline' } ,
75
- { tag : t . heading , fontWeight : 'bold' , color : '#9cdcfe' } ,
76
- {
77
- tag : [ t . atom , t . bool , t . special ( t . variableName ) ] ,
78
- color : '#569cd6' ,
79
- } ,
80
- {
81
- tag : [ t . processingInstruction , t . string , t . inserted ] ,
82
- color : '#ce9178' ,
83
- } ,
84
65
{ tag : t . invalid , color : '#ff0000' } ,
85
66
...styles ,
86
67
] ,
0 commit comments