Skip to content

Commit 6fd889a

Browse files
committed
style: add function.builtin syntax color
1 parent 56e98c8 commit 6fd889a

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

src/theme.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ function getTheme({ style, name }: { style: Style, name: string }): Record<strin
381381
"font_weight": null
382382
},
383383
"function.builtin": {
384-
"color": null,
384+
"color": pick({ light: primer.purple[5], dark: primer.purple[6] }),
385385
"background_color": null,
386386
"font_style": null,
387387
"font_weight": null
@@ -513,7 +513,7 @@ function getTheme({ style, name }: { style: Style, name: string }): Record<strin
513513
"font_weight": null
514514
},
515515
"keyword.type": {
516-
"color": null,
516+
"color": "null",
517517
"background_color": null,
518518
"font_style": null,
519519
"font_weight": null
@@ -789,7 +789,7 @@ function getTheme({ style, name }: { style: Style, name: string }): Record<strin
789789
"font_weight": null
790790
},
791791
"variable.builtin": {
792-
"color": null,
792+
"color": "#000",
793793
"background_color": null,
794794
"font_style": null,
795795
"font_weight": null
@@ -813,7 +813,7 @@ function getTheme({ style, name }: { style: Style, name: string }): Record<strin
813813
"font_weight": null
814814
},
815815
"variant": {
816-
"color": null,
816+
"color": primer.blue[6],
817817
"background_color": null,
818818
"font_style": null,
819819
"font_weight": null

themes/github-classic.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@
364364
"font_weight": null
365365
},
366366
"function.builtin": {
367-
"color": null,
367+
"color": "#6f42c1",
368368
"background_color": null,
369369
"font_style": null,
370370
"font_weight": null
@@ -496,7 +496,7 @@
496496
"font_weight": null
497497
},
498498
"keyword.type": {
499-
"color": null,
499+
"color": "null",
500500
"background_color": null,
501501
"font_style": null,
502502
"font_weight": null
@@ -772,7 +772,7 @@
772772
"font_weight": null
773773
},
774774
"variable.builtin": {
775-
"color": null,
775+
"color": "#000",
776776
"background_color": null,
777777
"font_style": null,
778778
"font_weight": null
@@ -796,7 +796,7 @@
796796
"font_weight": null
797797
},
798798
"variant": {
799-
"color": null,
799+
"color": "#005cc5",
800800
"background_color": null,
801801
"font_style": null,
802802
"font_weight": null
@@ -1165,7 +1165,7 @@
11651165
"font_weight": null
11661166
},
11671167
"function.builtin": {
1168-
"color": null,
1168+
"color": "#b392f0",
11691169
"background_color": null,
11701170
"font_style": null,
11711171
"font_weight": null
@@ -1297,7 +1297,7 @@
12971297
"font_weight": null
12981298
},
12991299
"keyword.type": {
1300-
"color": null,
1300+
"color": "null",
13011301
"background_color": null,
13021302
"font_style": null,
13031303
"font_weight": null
@@ -1573,7 +1573,7 @@
15731573
"font_weight": null
15741574
},
15751575
"variable.builtin": {
1576-
"color": null,
1576+
"color": "#000",
15771577
"background_color": null,
15781578
"font_style": null,
15791579
"font_weight": null
@@ -1597,7 +1597,7 @@
15971597
"font_weight": null
15981598
},
15991599
"variant": {
1600-
"color": null,
1600+
"color": "#79b8ff",
16011601
"background_color": null,
16021602
"font_style": null,
16031603
"font_weight": null

0 commit comments

Comments
 (0)