Skip to content

Commit 8ce9974

Browse files
committed
style: add variable.member and variable.parameter syntax color.
1 parent 6fd889a commit 8ce9974

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/theme.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -789,19 +789,19 @@ function getTheme({ style, name }: { style: Style, name: string }): Record<strin
789789
"font_weight": null
790790
},
791791
"variable.builtin": {
792-
"color": "#000",
792+
"color": null,
793793
"background_color": null,
794794
"font_style": null,
795795
"font_weight": null
796796
},
797797
"variable.member": {
798-
"color": null,
798+
"color": primer.orange[6],
799799
"background_color": null,
800800
"font_style": null,
801801
"font_weight": null
802802
},
803803
"variable.parameter": {
804-
"color": null,
804+
"color": primer.orange[6],
805805
"background_color": null,
806806
"font_style": null,
807807
"font_weight": null

themes/github-classic.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -772,19 +772,19 @@
772772
"font_weight": null
773773
},
774774
"variable.builtin": {
775-
"color": "#000",
775+
"color": null,
776776
"background_color": null,
777777
"font_style": null,
778778
"font_weight": null
779779
},
780780
"variable.member": {
781-
"color": null,
781+
"color": "#e36209",
782782
"background_color": null,
783783
"font_style": null,
784784
"font_weight": null
785785
},
786786
"variable.parameter": {
787-
"color": null,
787+
"color": "#e36209",
788788
"background_color": null,
789789
"font_style": null,
790790
"font_weight": null
@@ -1573,19 +1573,19 @@
15731573
"font_weight": null
15741574
},
15751575
"variable.builtin": {
1576-
"color": "#000",
1576+
"color": null,
15771577
"background_color": null,
15781578
"font_style": null,
15791579
"font_weight": null
15801580
},
15811581
"variable.member": {
1582-
"color": null,
1582+
"color": "#ffab70",
15831583
"background_color": null,
15841584
"font_style": null,
15851585
"font_weight": null
15861586
},
15871587
"variable.parameter": {
1588-
"color": null,
1588+
"color": "#ffab70",
15891589
"background_color": null,
15901590
"font_style": null,
15911591
"font_weight": null

0 commit comments

Comments
 (0)