Setting Custom Bracket Colors with VSCode
Kyle McKell
Posted on February 4, 2022
I love Bracket Pair Colorizer
And I was extremely excited when VSCode picked it up to be included with no extensions! However... they changed the way that you set it up.
Here's an example snippet of my current bracket pair settings in my settings.json
:
{
// enables colors
"editor.bracketPairColorization.enabled": true,
// define what colors you want
"workbench.colorCustomizations": {
"editorBracketHighlight.foreground1": "#dfbaff",
"editorBracketHighlight.foreground2": "#bae1ff",
"editorBracketHighlight.foreground3": "#baffc9",
"editorBracketHighlight.foreground4": "#ffffba",
"editorBracketHighlight.foreground5": "#ffd3a1",
"editorBracketHighlight.foreground6": "#ffb3ba"
}
}
And here's what these specific colors look like:
What it looks like in your editor with some code:
In case anyone is wondering, I use Nord theme and Hasklig font with font ligatures on.
Hope this helps anyone else who is looking to add some customization into their VSCode!
💖 💪 🙅 🚩
Kyle McKell
Posted on February 4, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.