How can I change highlight_modified_tabs color with the new adaptive theme? It’s strangely blue by default.
Changing highlight_modified_tabs color
- Install PackageResourceViewer via PackageControl
- Via the command palette run Open Resource
- Select “Theme - Default” and then “Default.sublime-theme” (or Adaptive)
- Create a new file in Packages/User also called “Default.sublime-theme” (or Adaptive)
- Open that new file and start with
[]
- Find the element you’re looking for
- The docs are helpful too
- Add what you want to change inside the
[]
Example:
[
{
"class": "text_line_control",
"content_margin": [4, 6, 4, 4]
},
{
"class": "tab_control",
"accent_tint_modifier": [255, 0, 0, 100]
}
]
In this particular case, if you add that change for tab_control to an Adaptive.sublime-theme file in your user directory it will mix some red into the highlight. You can tweak it further if you want.
Display box in the right column really difficult to spot
Rather than modifying the theme, the simpler way is to modify your color scheme. The highlight color in the Default and Adaptive themes is controlled by your color scheme.
Go to http://www.sublimetext.com/docs/3/color_schemes.html#global_settings and look for “accent”. You’ll see it references the highlight_modified_tabs
setting.
- Install PackageResourceViewer via PackageControl
- Via the command palette run Open Resource
- Select the package that contains your color scheme, and then the color scheme
.tmTheme
file itself. - Add an
accent
global setting - Save
@braver With themes, an override is not necessary. Themes combine with other files of the same name. You can create a file named Packages/User/Default.sublime-theme
to add customizations without overriding the whole file. This way users can tweak things without missing out on new features added in the future.
I hoped to suggest exactly this but perhaps it wasn’t clear enough. Definitely don’t override the entire thing!
How would that work for updates to color schemes though? Won’t you lose the accent?