Add missing variable property to Syntax

This commit is contained in:
Nate Butler 2023-02-27 10:47:52 -05:00
parent 46dc347a1a
commit 40c2409b80
2 changed files with 4 additions and 1 deletions

View File

@ -160,7 +160,7 @@ export interface Syntax {
"type.builtin": SyntaxHighlightStyle
// == Values
variable: SyntaxHighlightStyle,
// racket: lang_name
"variable.builtin": SyntaxHighlightStyle
// this, ...

View File

@ -120,6 +120,9 @@ function buildDefaultSyntax(colorScheme: ColorScheme): Syntax {
"type.builtin": {
color: color.type,
},
variable: {
color: color.primary,
},
"variable.builtin": {
color: colorScheme.ramps.blue(0.5).hex(),
},