-
-
Save Seldaek/1605300 to your computer and use it in GitHub Desktop.
| /* Path: Packages/Theme - Default/Default.sublime-theme, add add the end before the ']' */ | |
| /* Patch for highlight_modified_tabs */ | |
| ,{ | |
| "class": "tab_control", "attributes": ["dirty"], | |
| "tint_modifier": [255, 255, 0, 230], | |
| "layer0.texture": "Theme - Default/dark_tab_mask3.png", | |
| "layer2.texture": "Theme - Default/dark_unselected_tab_bg2.png", | |
| "layer2.opacity": 1.0 | |
| }, | |
| { | |
| "class": "tab_control", "attributes": ["selected", "file_light_dark", "dirty"], | |
| "tint_modifier": [155, 155, 0, 255], | |
| "layer2.texture": "Theme - Default/dark_selected_tab_bg.png", | |
| "layer2.opacity": 1, | |
| "layer0.opacity": 1.0 | |
| } |
big thanks, this helps a lot. here is my tweaked version which also more obviously highlights the currently selected tab. (note that i'm using the monokai bright theme.)
/* Patch for highlight_modified_tabs */
,
{
"class": "tab_control",
"attributes": [ "selected"],
"tint_modifier": [155, 155, 155, 155],
"layer2.texture": "Theme - Default/light_selected_tab_bg.png",
"layer2.opacity": 0.5,
"layer0.opacity": 1.0
}
,{
"class": "tab_control",
"attributes": ["dirty"],
"tint_modifier": [255, 255, 0, 230],
"layer0.texture": "Theme - Default/dark_tab_mask3.png",
"layer2.texture": "Theme - Default/dark_unselected_tab_bg2.png",
"layer2.opacity": 1.0
},
{
"class": "tab_control",
"attributes": [ //"selected",
"file_light_dark", "dirty"],
"tint_modifier": [155, 155, 255, 255],
"layer2.texture": "Theme - Default/light_selected_tab_bg.png",
"layer2.opacity": 1,
"layer0.opacity": 1.0
}
continued to play with this - here's an updated version of the above which i'm liking better. :)
{
"class": "tab_control",
"attributes": ["selected"],
"tint_modifier": [75, 75, 75, 75],
"layer2.texture": "Theme - Default/light_selected_tab_bg.png",
"layer2.opacity": 1,
"layer0.opacity": 1.0
},
{
"class": "tab_control",
"attributes": ["dirty"],
"tint_modifier": [255, 255, 0, 230],
"layer0.texture": "Theme - Default/dark_tab_mask3.png",
"layer2.texture": "Theme - Default/dark_unselected_tab_bg2.png",
"layer2.opacity": 1.0
},
{
"class": "tab_control",
"attributes": [ "file_light_dark","dirty"],
"tint_modifier": [155, 155, 255, 255],
"layer2.texture": "Theme - Default/dark_selected_tab_bg.png",
"layer2.opacity": 1,
"layer0.opacity": 1.0
},
{
"class": "tab_control",
"attributes": [ "selected",
"file_light_dark","dirty"],
"tint_modifier": [155, 155, 255, 255],
"layer2.texture": "Theme - Default/light_selected_tab_bg.png",
"layer2.opacity": 1,
"layer0.opacity": 1.0
}
Note that this is made for a light dark theme (monokai), for other themes you may need to change
file_light_darktofile_darkorfile_lightorfile_medium_dark.