@@ -12,66 +12,70 @@ const theme: PrismTheme = {
12
12
} ,
13
13
styles : [
14
14
{
15
- types : [ "comment" , "prolog" , "doctype" , " cdata" , "punctuation "] ,
15
+ types : [ "comment" , "prolog" , "cdata" ] ,
16
16
style : {
17
17
color : "hsl(230, 4%, 64%)" ,
18
18
} ,
19
19
} ,
20
20
{
21
- types : [ "namespace" ] ,
22
- style : {
23
- opacity : 0.7 ,
24
- } ,
25
- } ,
26
- {
27
- types : [ "tag" , "operator" , "number" ] ,
21
+ types : [ "doctype" , "punctuation" , "entity" ] ,
28
22
style : {
29
23
color : "hsl(230, 8%, 24%)" ,
30
24
} ,
31
25
} ,
32
26
{
33
- types : [ "property" , "function" ] ,
27
+ types : [
28
+ "attr-name" ,
29
+ "class-name" ,
30
+ "boolean" ,
31
+ "constant" ,
32
+ "number" ,
33
+ "atrule" ,
34
+ ] ,
34
35
style : {
35
36
color : "hsl(35, 99%, 36%)" ,
36
37
} ,
37
38
} ,
38
39
{
39
- types : [ "tag-id" , "selector" , "atrule-id "] ,
40
+ types : [ "keyword " ] ,
40
41
style : {
41
- color : "hsl(119, 34 %, 47 %)" ,
42
+ color : "hsl(301, 63 %, 40 %)" ,
42
43
} ,
43
44
} ,
45
+
44
46
{
45
- types : [ "attr-name " ] ,
47
+ types : [ "property" , "tag" , "symbol" , "deleted" , "important "] ,
46
48
style : {
47
- color : "hsl(198, 99 %, 37 %)" ,
49
+ color : "hsl(5, 74 %, 59 %)" ,
48
50
} ,
49
51
} ,
50
52
{
51
53
types : [
52
- "boolean " ,
54
+ "selector " ,
53
55
"string" ,
54
- "entity" ,
55
- "url" ,
56
- "attr-value" ,
57
- "keyword" ,
58
- "control" ,
59
- "directive" ,
60
- "unit" ,
61
- "statement" ,
56
+ "char" ,
57
+ "builtin" ,
58
+ "inserted" ,
62
59
"regex" ,
63
- "atrule" ,
60
+ "attr-value" ,
61
+ "punctuation" ,
64
62
] ,
65
63
style : {
66
- color : "hsl(230, 8 %, 24 %)" ,
64
+ color : "hsl(119, 34 %, 47 %)" ,
67
65
} ,
68
66
} ,
69
67
{
70
- types : [ "placeholder " , "variable " ] ,
68
+ types : [ "variable " , "operator" , "function "] ,
71
69
style : {
72
70
color : "hsl(221, 87%, 60%)" ,
73
71
} ,
74
72
} ,
73
+ {
74
+ types : [ "url" ] ,
75
+ style : {
76
+ color : "hsl(198, 99%, 37%)" ,
77
+ } ,
78
+ } ,
75
79
{
76
80
types : [ "deleted" ] ,
77
81
style : {
@@ -103,6 +107,6 @@ const theme: PrismTheme = {
103
107
} ,
104
108
} ,
105
109
] ,
106
- } ;
110
+ }
107
111
108
- export default theme ;
112
+ export default theme
0 commit comments