This is my Sparta color scheme, almost finished:
{
"name": "Sparta",
"globals":
{
"accent": "red",
"line_highlight": "#eee",
"selection": "#eee", "selection_border": "#000",
"inactive_selection": "#eee", "inactive_selection_border": "#000",
"brackets_options": "glow", "brackets_foreground": "#f00",
"tags_options": "glow", "tags_foreground": "#00f",
"bracket_contents_options": "none",
"scroll_highlight": "#ccc",
"scroll_selected_highlight": "#000",
},
"rules":
[
{"name": "Comments",
"scope": "comment, punctuation.definition.comment, invalid comment",
"foreground": "#f0f"},
{"name": "Mistakes",
"scope": "invalid, invalid string, invalid constant, invalid entity.name, invalid punctuation, invalid source.symbol",
"foreground": "#f00",
"background": "yellow"},
]
}
But there is a thing that I don’t understand. When I create a new tab, its “close” button (little red x) takes the last color I used in the color scheme. That is, currently the tab close button is red (#f00
), and if I delete the “Mistakes” section, it will be fuchsia (#f0f
). Why is that?