Skip to content

Commit 0520d11

Browse files
authored
[ty] Fix None, True and False highlighting in playground (#20994)
1 parent 54cd9d8 commit 0520d11

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

playground/issue.py

Whitespace-only changes.

playground/shared/src/setupMonaco.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,10 @@ function defineAyuThemes(monaco: Monaco) {
290290
foreground: COSMIC,
291291
token: "keyword",
292292
},
293+
{
294+
foreground: COSMIC,
295+
token: "builtinConstant",
296+
},
293297
{
294298
foreground: CONSTELLATION,
295299
token: "number",
@@ -575,6 +579,10 @@ function defineAyuThemes(monaco: Monaco) {
575579
foreground: RADIATE,
576580
token: "keyword",
577581
},
582+
{
583+
foreground: RADIATE,
584+
token: "builtinConstant",
585+
},
578586
{
579587
foreground: PROTON,
580588
token: "tag",

0 commit comments

Comments
 (0)