Last active
April 26, 2022 20:55
-
-
Save poshcodebear/e3f279a8a3289e29ca51ede85a7b083e to your computer and use it in GitHub Desktop.
VSCode syntax highlighting example for Material Theme Darker High Contrast
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"editor.tokenColorCustomizations": { | |
// Note: you can leave out the theme and the syntax rules will apply to all themes | |
"[Material Theme Darker High Contrast]": { | |
"textMateRules": [ | |
{ | |
"scope": "variable.other.readwrite", | |
"settings": { | |
"foreground": "#89DDFF" | |
} | |
}, | |
{ | |
"scope": "support.variable.automatic", | |
"settings": { | |
"foreground": "#ffa66b" | |
} | |
}, | |
{ | |
"scope": "support.variable.drive", | |
"settings": { | |
"foreground": "#fcff67" | |
} | |
}, | |
{ | |
// You can define multiple scopes to receive the same settings | |
"scope": [ | |
"variable.other.member", | |
"variable.other.property" | |
], | |
"settings": { | |
"foreground": "#dcdcaa" | |
} | |
}, | |
{ | |
"scope": "comment", | |
"settings": { | |
"foreground": "#97e5979a" | |
} | |
}, | |
{ | |
"scope": [ | |
"keyword.control", | |
"keyword.operator.unary" | |
], | |
"settings": { | |
"foreground": "#1de994", | |
// You can also change the fontStyle with things like italics | |
// If you set it blank like below, it will override the default, in this case turning off italics | |
// for this scope | |
"fontStyle": "" | |
} | |
}, | |
{ | |
"scope": "keyword.operator.assignment", | |
"settings": { | |
"foreground": "#e779d9", | |
} | |
} | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment