@@ -4,41 +4,39 @@ import { join } from "node:path";
44
55const { themes } = require ( "prism-react-renderer" ) ;
66const codeTheme = themes . oneDark ;
7+
78codeTheme . plain . backgroundColor = "black" ;
9+ codeTheme . plain . color = "white" ;
10+
811codeTheme . styles = [
912 ...codeTheme . styles ,
1013 {
11- types : [ "property" , "tag" , "symbol" , "deleted" , "important "] ,
12- style : { color : "#00fff5 " }
14+ types : [ "comment " ] ,
15+ style : { color : "#707070" , fontStyle : "italic " }
1316 } ,
14- { types : [ "keyword" ] , style : { color : "rgb(163, 174, 255)" } } ,
1517 {
16- types : [
17- "selector" ,
18- "string" ,
19- "char" ,
20- "builtin" ,
21- "inserted" ,
22- "regex" ,
23- "attr-value"
24- ] ,
25- style : { color : "#ff5df9" }
18+ types : [ "keyword" , "atrule" ] ,
19+ style : { color : "#b0baff" }
2620 } ,
2721 {
28- types : [ "variable " , "operator" , "function "] ,
22+ types : [ "function " , "builtin " ] ,
2923 style : { color : "#ff5df9" }
3024 } ,
3125 {
32- types : [
33- "attr-name" ,
34- "class-name" ,
35- "maybe-class-name" ,
36- "boolean" ,
37- "constant" ,
38- "number" ,
39- "atrule"
40- ] ,
41- style : { color : "#F7AF9D" }
26+ types : [ "string" , "inserted" , "attr-value" ] ,
27+ style : { color : "#b0baff" }
28+ } ,
29+ {
30+ types : [ "constant" , "boolean" , "number" ] ,
31+ style : { color : "white" }
32+ } ,
33+ {
34+ types : [ "class-name" , "maybe-class-name" , "tag" ] ,
35+ style : { color : "#b0baff" }
36+ } ,
37+ {
38+ types : [ "property" , "variable" , "operator" , "symbol" ] ,
39+ style : { color : "white" }
4240 }
4341] ;
4442
0 commit comments