Created
January 13, 2012 09:40
-
-
Save Seldaek/1605300 to your computer and use it in GitHub Desktop.
Patch for Sublime Text 2 "highlight_modified_tabs" (missing in b2165)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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 | |
} |
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
}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
}