Skip to content

Commit

Permalink
fix: Selected tree item now use accent color
Browse files Browse the repository at this point in the history
  • Loading branch information
equinusocio committed Oct 25, 2016
1 parent a84d6cc commit 66dc371
Show file tree
Hide file tree
Showing 9 changed files with 1,977 additions and 8 deletions.
492 changes: 490 additions & 2 deletions Material-Theme-Darker.sublime-theme

Large diffs are not rendered by default.

488 changes: 488 additions & 0 deletions Material-Theme-Lighter.sublime-theme

Large diffs are not rendered by default.

490 changes: 489 additions & 1 deletion Material-Theme-Palenight.sublime-theme

Large diffs are not rendered by default.

490 changes: 489 additions & 1 deletion Material-Theme.sublime-theme

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions sources/settings/commons.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@
}
},
"accents": [
{
"id": "teal",
"name": "Teal",
"hex": "#80CBC4",
"rgb": "128, 203, 196",
"foreground": {
"hex": "#FFFFFF",
"rgb": "255, 255, 255"
}
},
{
"id": "lime",
"name": "Lime",
Expand Down
7 changes: 7 additions & 0 deletions sources/themes/commons/accent.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,13 @@
"layer0.texture": "Material Theme/assets/accent-<%= ui.accents[i].id %>/dirty_icon--hover.png",
},

{
"class": "sidebar_label",
"settings": ["material_theme_accent_<%= ui.accents[i].id %>"],
"parents": [{"class": "tree_row", "attributes": ["selected"]}],
"color": [<%= ui.accents[i].rgb %>]
},

{
"class": "sidebar_label",
"settings": ["material_theme_accent_<%= ui.accents[i].id %>"],
Expand Down
4 changes: 2 additions & 2 deletions sources/themes/darker/sidebar.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
{
"class": "sidebar_label",
"parents": [{"class": "tree_row", "attributes": ["hover"]}],
"color": [175, 189, 196],
"color": [255, 255, 255],
"shadow_color": [255, 255, 255, 0],
"shadow_offset": [0, 0]
},
Expand All @@ -87,7 +87,7 @@
"class": "sidebar_label",
"parents": [{"class": "tree_row", "attributes": ["selected"]}],
"font.bold": false,
"color": [255, 255, 255]
"color": [128, 203, 196]
},

{
Expand Down
2 changes: 1 addition & 1 deletion sources/themes/default/sidebar.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"class": "sidebar_label",
"parents": [{"class": "tree_row", "attributes": ["selected"]}],
"font.bold": false,
"color": [255, 255, 255]
"color": [128, 203, 196]
},

{
Expand Down
2 changes: 1 addition & 1 deletion sources/themes/palenight/sidebar.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"class": "sidebar_label",
"parents": [{"class": "tree_row", "attributes": ["selected"]}],
"font.bold": false,
"color": [255, 255, 255]
"color": [128, 203, 196]
},

{
Expand Down

0 comments on commit 66dc371

Please sign in to comment.