RainbowBrackets
RainbowBrackets copied to clipboard
Extension of current color scheme causes ST3's Git integration colors to shift
Before installing RainbowBrackets:
After:
(Both of these are with the default ST3 color scheme of Monokai active.)
Note the change in colors of Git icons in sidebar, and green diff market in the gutter.
ST3 documentation says
the color of the badges will…adapt to the closest hue in the active color scheme.
My guess is the logic is that there's some "canonical" color for these icons, and it does some color diffing algorithm to find the closest in the active theme. However, because of the way RainbowBrackets extends the active theme with rainbow colors (see Application Support/Sublime Text 3/Packages/User/Color Schemes/RainbowBracket/[NameOfCurrentTheme].sublime-color-scheme
), it ends up selecting really garish bright colors for these git icons.
Is there any setting or way to have RainbowBrackets add the colors it needs for brackets, but have ST3 stick with the original color scheme's colors for git icons?
For anyone wondering how to go back to normal after having this issue.
- Remove rainbow brackets
- Remove the file
Sublime Text 3/Packages/User/Color Schemes/RainbowBracket/[NameOfCurrentTheme].sublime-color-scheme
(folder Packages can be opened through Preferences > Browse Packages - SublimeText will give an error, but restarting it should be enough to get rid of those blues.
Have this problem too. I hope it will be resolved in a future update because RainbowBrackets are awesome. I will not use it for now only because of this.