Skip to content

Commit 56e98c8

Browse files
committed
style: add keyword.operator color for Python is and 'not' keywork.
1 parent 21683ba commit 56e98c8

File tree

2 files changed

+3
-21
lines changed

2 files changed

+3
-21
lines changed

src/theme.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -320,12 +320,6 @@ function getTheme({ style, name }: { style: Style, name: string }): Record<strin
320320
"font_style": null,
321321
"font_weight": null
322322
},
323-
"constant.language": {
324-
"color": primer.blue[6],
325-
"background_color": null,
326-
"font_style": null,
327-
"font_weight": null
328-
},
329323
"constructor": {
330324
"color": primer.green[6],
331325
"background_color": null,
@@ -501,7 +495,7 @@ function getTheme({ style, name }: { style: Style, name: string }): Record<strin
501495
"font_weight": null
502496
},
503497
"keyword.operator": {
504-
"color": null,
498+
"color": pick({ light: primer.red[5], dark: primer.red[6] }),
505499
"background_color": null,
506500
"font_style": null,
507501
"font_weight": null

themes/github-classic.json

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -303,12 +303,6 @@
303303
"font_style": null,
304304
"font_weight": null
305305
},
306-
"constant.language": {
307-
"color": "#005cc5",
308-
"background_color": null,
309-
"font_style": null,
310-
"font_weight": null
311-
},
312306
"constructor": {
313307
"color": "#22863a",
314308
"background_color": null,
@@ -484,7 +478,7 @@
484478
"font_weight": null
485479
},
486480
"keyword.operator": {
487-
"color": null,
481+
"color": "#d73a49",
488482
"background_color": null,
489483
"font_style": null,
490484
"font_weight": null
@@ -1110,12 +1104,6 @@
11101104
"font_style": null,
11111105
"font_weight": null
11121106
},
1113-
"constant.language": {
1114-
"color": "#79b8ff",
1115-
"background_color": null,
1116-
"font_style": null,
1117-
"font_weight": null
1118-
},
11191107
"constructor": {
11201108
"color": "#85e89d",
11211109
"background_color": null,
@@ -1291,7 +1279,7 @@
12911279
"font_weight": null
12921280
},
12931281
"keyword.operator": {
1294-
"color": null,
1282+
"color": "#f97583",
12951283
"background_color": null,
12961284
"font_style": null,
12971285
"font_weight": null

0 commit comments

Comments
 (0)