Support bracket colorization

Fixes #62
This commit is contained in:
Daniel Imms
2021-08-30 09:56:01 -07:00
parent 02a5aa59af
commit 67ecacc199

View File

@@ -332,6 +332,12 @@ export class VscodeThemeGenerator implements IThemeGenerator {
// debugToolBar.background: Debug toolbar background color.
theme.colors['debugToolBar.background'] = background4;
// Bracket colorization
theme.colors['editorBracketHighlight.foreground1'] = lighten(colorSet.base.color1, 0.25);
theme.colors['editorBracketHighlight.foreground2'] = lighten(colorSet.base.color2, 0.25);
theme.colors['editorBracketHighlight.foreground3'] = lighten(colorSet.base.color3, 0.25);
theme.colors['editorBracketHighlight.foreground4'] = lighten(colorSet.base.color4, 0.25);
theme.colors['selection.background'] = colorSet.base.color1;
if (colorSet.overrides) {