@@ -12,66 +12,70 @@ const theme: PrismTheme = {
1212 } ,
1313 styles : [
1414 {
15- types : [ "comment" , "prolog" , "doctype" , " cdata" , "punctuation "] ,
15+ types : [ "comment" , "prolog" , "cdata" ] ,
1616 style : {
1717 color : "hsl(230, 4%, 64%)" ,
1818 } ,
1919 } ,
2020 {
21- types : [ "namespace" ] ,
22- style : {
23- opacity : 0.7 ,
24- } ,
25- } ,
26- {
27- types : [ "tag" , "operator" , "number" ] ,
21+ types : [ "doctype" , "punctuation" , "entity" ] ,
2822 style : {
2923 color : "hsl(230, 8%, 24%)" ,
3024 } ,
3125 } ,
3226 {
33- types : [ "property" , "function" ] ,
27+ types : [
28+ "attr-name" ,
29+ "class-name" ,
30+ "boolean" ,
31+ "constant" ,
32+ "number" ,
33+ "atrule" ,
34+ ] ,
3435 style : {
3536 color : "hsl(35, 99%, 36%)" ,
3637 } ,
3738 } ,
3839 {
39- types : [ "tag-id" , "selector" , "atrule-id "] ,
40+ types : [ "keyword " ] ,
4041 style : {
41- color : "hsl(119, 34 %, 47 %)" ,
42+ color : "hsl(301, 63 %, 40 %)" ,
4243 } ,
4344 } ,
45+
4446 {
45- types : [ "attr-name " ] ,
47+ types : [ "property" , "tag" , "symbol" , "deleted" , "important "] ,
4648 style : {
47- color : "hsl(198, 99 %, 37 %)" ,
49+ color : "hsl(5, 74 %, 59 %)" ,
4850 } ,
4951 } ,
5052 {
5153 types : [
52- "boolean " ,
54+ "selector " ,
5355 "string" ,
54- "entity" ,
55- "url" ,
56- "attr-value" ,
57- "keyword" ,
58- "control" ,
59- "directive" ,
60- "unit" ,
61- "statement" ,
56+ "char" ,
57+ "builtin" ,
58+ "inserted" ,
6259 "regex" ,
63- "atrule" ,
60+ "attr-value" ,
61+ "punctuation" ,
6462 ] ,
6563 style : {
66- color : "hsl(230, 8 %, 24 %)" ,
64+ color : "hsl(119, 34 %, 47 %)" ,
6765 } ,
6866 } ,
6967 {
70- types : [ "placeholder " , "variable " ] ,
68+ types : [ "variable " , "operator" , "function "] ,
7169 style : {
7270 color : "hsl(221, 87%, 60%)" ,
7371 } ,
7472 } ,
73+ {
74+ types : [ "url" ] ,
75+ style : {
76+ color : "hsl(198, 99%, 37%)" ,
77+ } ,
78+ } ,
7579 {
7680 types : [ "deleted" ] ,
7781 style : {
@@ -103,6 +107,6 @@ const theme: PrismTheme = {
103107 } ,
104108 } ,
105109 ] ,
106- } ;
110+ }
107111
108- export default theme ;
112+ export default theme
0 commit comments