The Default.sublime-theme
uses the var(--accent)
color from the color scheme for the highlighting indicator of modified tabs. So you could change this color from your color scheme, for example
{
"globals": {
"accent": "magenta"
}
}
This might potentially also impact some other aspects of the UI, for example if third-party packages use this color for things like popups or so.
If you want to avoid that, and enforce the color directly via the theme, you could add a rule like
{
"rules":
[
{
"class": "tab_control",
"attributes": ["dirty", "!added", "!deleted"],
"settings": {
"file_tab_style": ["", "rounded", "square"],
"highlight_modified_tabs": true
},
"layer2.tint": "magenta"
}
]
}
into your theme. That should effect only the horizontal bar of the modified tabs, and I haven’t checked what exact rule is needed for the close button. And also the theme rules can get a bit complex with all the different states (selected, highlighted, etc.), so if you want to tweak them perfectly, you will need to read the theme docs and experiment with that yourself.
Edit: And by the way, your screenshot shows the color for “added” (i.e. newly created) tabs, without a file on disk. The Default theme uses "file_tab_highlight_new_tint": "var(--greenish)"
in the theme varibles for this.