Skip to content

Commit 439c38e

Browse files
committed
style: add type.class.definition syntax color.
1 parent a200228 commit 439c38e

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/theme.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ function getTheme({ style, name }: { style: Style, name: string }): Record<strin
759759
"font_weight": null
760760
},
761761
"type.class.definition": {
762-
"color": null,
762+
"color": pick({ light: primer.purple[5], dark: primer.purple[6] }),
763763
"background_color": null,
764764
"font_style": null,
765765
"font_weight": null

themes/github-classic.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@
214214
],
215215
"syntax": {
216216
"attribute": {
217-
"color": "#000",
217+
"color": null,
218218
"background_color": null,
219219
"font_style": null,
220220
"font_weight": null
@@ -232,7 +232,7 @@
232232
"font_weight": null
233233
},
234234
"character.special": {
235-
"color": "null",
235+
"color": null,
236236
"background_color": null,
237237
"font_style": null,
238238
"font_weight": null
@@ -742,7 +742,7 @@
742742
"font_weight": null
743743
},
744744
"type.class.definition": {
745-
"color": null,
745+
"color": "#6f42c1",
746746
"background_color": null,
747747
"font_style": null,
748748
"font_weight": null
@@ -754,7 +754,7 @@
754754
"font_weight": null
755755
},
756756
"type.interface": {
757-
"color": null,
757+
"color": "#6f42c1",
758758
"background_color": null,
759759
"font_style": null,
760760
"font_weight": null
@@ -1015,7 +1015,7 @@
10151015
],
10161016
"syntax": {
10171017
"attribute": {
1018-
"color": "#000",
1018+
"color": null,
10191019
"background_color": null,
10201020
"font_style": null,
10211021
"font_weight": null
@@ -1033,7 +1033,7 @@
10331033
"font_weight": null
10341034
},
10351035
"character.special": {
1036-
"color": "null",
1036+
"color": null,
10371037
"background_color": null,
10381038
"font_style": null,
10391039
"font_weight": null
@@ -1543,7 +1543,7 @@
15431543
"font_weight": null
15441544
},
15451545
"type.class.definition": {
1546-
"color": null,
1546+
"color": "#b392f0",
15471547
"background_color": null,
15481548
"font_style": null,
15491549
"font_weight": null
@@ -1555,7 +1555,7 @@
15551555
"font_weight": null
15561556
},
15571557
"type.interface": {
1558-
"color": null,
1558+
"color": "#b392f0",
15591559
"background_color": null,
15601560
"font_style": null,
15611561
"font_weight": null

0 commit comments

Comments
 (0)