Skip to content

Commit

Permalink
Support highlight_modified_tabs setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Ike Ku committed Dec 16, 2016
1 parent e75738a commit e5a2f7b
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 4 deletions.
15 changes: 14 additions & 1 deletion ayu-dark.sublime-theme
Original file line number Diff line number Diff line change
Expand Up @@ -370,13 +370,26 @@
"font.bold": false,
"font.face": "Roboto mono"
},
{
"class": "tab_label",
"settings": ["highlight_modified_tabs"],
"font.italic": true,
"attributes": ["dirty"],
"shadow_color": [242, 151, 24]
},
{
"class": "tab_label",
"fg": [62, 75, 89],
"settings": ["ui_fix_tab_labels"],
"shadow_color": [15, 20, 25, 0],
"shadow_offset": [0, 0]
},
{
"class": "tab_label",
"fg": [242, 151, 24],
"attributes": ["dirty"],
"settings": ["ui_fix_tab_labels", "highlight_modified_tabs"]
},

// Tab selected label color

Expand Down Expand Up @@ -428,7 +441,7 @@
// Default hover
{
"class": "tab_close_button",
"settings": ["show_tab_close_buttons"],
"settings": ["show_tab_close_buttons", "highlight_modified_tabs"],
"attributes": ["hover"],
"layer0.tint": [242, 151, 24]
},
Expand Down
15 changes: 14 additions & 1 deletion ayu-light.sublime-theme
Original file line number Diff line number Diff line change
Expand Up @@ -370,13 +370,26 @@
"font.bold": false,
"font.face": "Roboto mono"
},
{
"class": "tab_label",
"settings": ["highlight_modified_tabs"],
"font.italic": true,
"attributes": ["dirty"],
"shadow_color": [255, 106, 0]
},
{
"class": "tab_label",
"fg": [130, 140, 153],
"settings": ["ui_fix_tab_labels"],
"shadow_color": [250, 250, 250, 0],
"shadow_offset": [0, 0]
},
{
"class": "tab_label",
"fg": [255, 106, 0],
"attributes": ["dirty"],
"settings": ["ui_fix_tab_labels", "highlight_modified_tabs"]
},

// Tab selected label color

Expand Down Expand Up @@ -428,7 +441,7 @@
// Default hover
{
"class": "tab_close_button",
"settings": ["show_tab_close_buttons"],
"settings": ["show_tab_close_buttons", "highlight_modified_tabs"],
"attributes": ["hover"],
"layer0.tint": [255, 106, 0]
},
Expand Down
15 changes: 14 additions & 1 deletion ayu-mirage.sublime-theme
Original file line number Diff line number Diff line change
Expand Up @@ -370,13 +370,26 @@
"font.bold": false,
"font.face": "Roboto mono"
},
{
"class": "tab_label",
"settings": ["highlight_modified_tabs"],
"font.italic": true,
"attributes": ["dirty"],
"shadow_color": [255, 204, 102]
},
{
"class": "tab_label",
"fg": [96, 112, 128],
"settings": ["ui_fix_tab_labels"],
"shadow_color": [33, 39, 51, 0],
"shadow_offset": [0, 0]
},
{
"class": "tab_label",
"fg": [255, 204, 102],
"attributes": ["dirty"],
"settings": ["ui_fix_tab_labels", "highlight_modified_tabs"]
},

// Tab selected label color

Expand Down Expand Up @@ -428,7 +441,7 @@
// Default hover
{
"class": "tab_close_button",
"settings": ["show_tab_close_buttons"],
"settings": ["show_tab_close_buttons", "highlight_modified_tabs"],
"attributes": ["hover"],
"layer0.tint": [255, 204, 102]
},
Expand Down
15 changes: 14 additions & 1 deletion src/templates/sublime.ui.json
Original file line number Diff line number Diff line change
Expand Up @@ -370,13 +370,26 @@
"font.bold": false,
"font.face": "Roboto mono"
},
{
"class": "tab_label",
"settings": ["highlight_modified_tabs"],
"font.italic": true,
"attributes": ["dirty"],
"shadow_color": ["{common.accent.rgb}"]
},
{
"class": "tab_label",
"fg": ["{ui.fg.rgb}"],
"settings": ["ui_fix_tab_labels"],
"shadow_color": ["{common.bg.rgb}", 0],
"shadow_offset": [0, 0]
},
{
"class": "tab_label",
"fg": ["{common.accent.rgb}"],
"attributes": ["dirty"],
"settings": ["ui_fix_tab_labels", "highlight_modified_tabs"]
},

// Tab selected label color

Expand Down Expand Up @@ -428,7 +441,7 @@
// Default hover
{
"class": "tab_close_button",
"settings": ["show_tab_close_buttons"],
"settings": ["show_tab_close_buttons", "highlight_modified_tabs"],
"attributes": ["hover"],
"layer0.tint": ["{common.accent.rgb}"]
},
Expand Down

0 comments on commit e5a2f7b

Please sign in to comment.