@@ -4,43 +4,54 @@ const baseTheme = themes.vsDark;
44
55const CustomTheme : PrismTheme = {
66 ...baseTheme ,
7+ plain : {
8+ ...baseTheme . plain ,
9+ backgroundColor : "#232830" ,
10+ color : "#C8D8F0" ,
11+ } ,
712 styles : [
813 ...baseTheme . styles ,
914
10- // Identifiers / functions / variables: muted teal
15+ // Identifiers / functions / variables: bright mint
1116 {
1217 types : [ "parameter" , "property" , "attr-key" , "function" , "selector" , "variable" ] ,
13- style : { color : "#4EC9B0 " } ,
18+ style : { color : "#5CF5D4 " } ,
1419 } ,
1520
16- // Keywords / control words / rules: muted blue-purple
21+ // Keywords / control words / rules: vivid blue
1722 {
1823 types : [ "keyword" , "atrule" , "rule" , "tag" , "script" , "unit" ] ,
19- style : { color : "#569CD6 " } ,
24+ style : { color : "#7DCCFF " } ,
2025 } ,
2126
22- // Operators: closer to normal foreground (less “shouting”)
27+ // Operators: neutral foreground
2328 {
2429 types : [ "operator" ] ,
25- style : { color : "#D4D4D4 " } ,
30+ style : { color : "#E0E0E0 " } ,
2631 } ,
2732
28- // Numbers / booleans / constants: muted amber
33+ // Numbers / booleans / constants: vivid gold
2934 {
3035 types : [ "boolean" , "number" , "constant" ] ,
31- style : { color : "#D7BA7D " } ,
36+ style : { color : "#FFD166 " } ,
3237 } ,
3338
34- // Strings / attribute values: muted warm (very readable, not neon)
39+ // Strings / attribute values: bright green
3540 {
3641 types : [ "front-matter" , "string" , "attr-value" ] ,
37- style : { color : "#CE9178 " } ,
42+ style : { color : "#A5F0C5 " } ,
3843 } ,
3944
40- // Comments: quieter gray + optional italics
45+ // Punctuation: visible but subdued
46+ {
47+ types : [ "punctuation" ] ,
48+ style : { color : "#D0D8E4" } ,
49+ } ,
50+
51+ // Comments: quiet blue-gray + italics
4152 {
4253 types : [ "comment" ] ,
43- style : { color : "#8A8A8A " , fontStyle : "italic" } ,
54+ style : { color : "#8B949E " , fontStyle : "italic" } ,
4455 } ,
4556 ] ,
4657} ;
0 commit comments