Skip to content

Commit

Permalink
fix: Fix selected folder/arrow icon
Browse files Browse the repository at this point in the history
Close #1073
  • Loading branch information
equinusocio committed Jan 6, 2017
1 parent 2016a3e commit 955b400
Show file tree
Hide file tree
Showing 8 changed files with 1,244 additions and 20 deletions.
300 changes: 300 additions & 0 deletions Material-Theme-Darker.sublime-theme

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

320 changes: 311 additions & 9 deletions Material-Theme-Palenight.sublime-theme

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
"gulp-replace": "^0.5.4",
"gulp-stats": "0.0.4",
"gulp-template": "^4.0.0",
"lodash": "^4.15.0",
"lodash": "^4.17.4",
"run-sequence": "^1.1.5",
"yargs": "^6.2.0"
"yargs": "^6.6.0"
},
"repository": {
"type": "git",
Expand Down
20 changes: 20 additions & 0 deletions sources/themes/commons/accent.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,16 @@
},
},

{
"class": "icon_folder",
"settings": ["material_theme_accent_<%= ui.accents[i].id %>"],
"parents":
[
{ "class": "tree_row", "attributes": ["selected"] }
],
"layer1.texture": "Material Theme/assets/accent-<%= ui.accents[i].id %>/folder--hover.png",
},

// Arrow icon folder
{
"class": "icon_folder",
Expand Down Expand Up @@ -196,6 +206,16 @@
"layer3.opacity": 1.0
},

{
"class": "icon_folder",
"settings": ["material_theme_arrow_folders", "material_theme_accent_<%= ui.accents[i].id %>"],
"parents":
[
{ "class": "tree_row", "attributes": ["selected"] }
],
"layer1.texture": "Material Theme/assets/accent-<%= ui.accents[i].id %>/arrow_folder--hover.png",
},

// tab set scroll left | scroll right

{
Expand Down
19 changes: 10 additions & 9 deletions sources/themes/palenight/sidebar.json
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,16 @@
"layer3.opacity": 0.0,
},

{
"class": "icon_folder",
"parents":
[
{ "class": "tree_row", "attributes": ["selected"] }
],
"layer1.texture": "Material Theme/assets/commons/folder--hover.png",
"layer1.opacity": 1.0
},

{
"class": "icon_folder",
"parents":
Expand Down Expand Up @@ -247,15 +257,6 @@
"layer3.texture": "Material Theme/assets/commons/arrow_folder--opened.png",
},

{
"class": "icon_folder",
"parents":
[
{ "class": "tree_row", "attributes": ["selected"] }
],
"layer1.texture": "Material Theme/assets/commons/folder--hover.png",
},

// Folder loading

{
Expand Down
1 change: 1 addition & 0 deletions sources/themes/palenight/tabs.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

{
"class": "tabset_control",
"attributes": ["file_medium_dark"],
"layer0.opacity": 1.0,
"layer0.tint": [<%= ui.background.primary.rgb %>],
"tint_index": 1,
Expand Down

0 comments on commit 955b400

Please sign in to comment.