Skip to content

Commit

Permalink
feat: New "material_theme_bright_scrollbars" and "material_theme_acce…
Browse files Browse the repository at this point in the history
…nt_scrollbars"

Close #1016
  • Loading branch information
equinusocio committed Oct 31, 2016
1 parent 299c63d commit 0038542
Show file tree
Hide file tree
Showing 70 changed files with 1,208 additions and 6 deletions.
291 changes: 290 additions & 1 deletion Material-Theme-Darker.sublime-theme

Large diffs are not rendered by default.

291 changes: 290 additions & 1 deletion Material-Theme-Lighter.sublime-theme

Large diffs are not rendered by default.

291 changes: 290 additions & 1 deletion Material-Theme-Palenight.sublime-theme

Large diffs are not rendered by default.

291 changes: 290 additions & 1 deletion Material-Theme.sublime-theme

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions Preferences.sublime-settings
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,10 @@

// Enable sidebar and panels contrast mode
"material_theme_contrast_mode": false,

// Enable bright scrollbars puck color
"material_theme_bright_scrollbars": false,

// Enable accent scrollbars
"material_theme_accent_scrollbars": false,
}
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ If you want to enable the white panels and inputs you can install the addon pack
"material_theme_panel_separator" : true , // Show bottom panel separator
"material_theme_small_statusbar" : true , // Set small status bar
"material_theme_small_tab" : true , // Set small tabs
"material_theme_bright_scrollbars" : true , // Bright scrollbars puck color
"material_theme_accent_scrollbars" : true , // Enable accent color for scrollbars
"material_theme_tabs_autowidth" : true , // Enable autowidth for tabs
"material_theme_tabs_separator" : true , // Show tabs separator, this disables tab hover animation

Expand Down
Binary file added assets/accent-acid-lime/thumb_horizontal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/accent-acid-lime/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/accent-acid-lime/thumb_vertical.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/accent-acid-lime/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/accent-blue/thumb_horizontal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/accent-blue/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/accent-blue/thumb_vertical.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/accent-blue/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/accent-brba/thumb_horizontal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/accent-brba/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/accent-brba/thumb_vertical.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/accent-brba/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/accent-bright-teal/thumb_horizontal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/accent-bright-teal/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/accent-bright-teal/thumb_vertical.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/accent-bright-teal/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/accent-cyan/thumb_horizontal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/accent-cyan/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/accent-cyan/thumb_vertical.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/accent-cyan/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/accent-graphite/thumb_horizontal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/accent-graphite/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/accent-graphite/thumb_vertical.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/accent-graphite/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/accent-indigo/thumb_horizontal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/accent-indigo/[email protected]
Binary file added assets/accent-indigo/thumb_vertical.png
Binary file added assets/accent-indigo/[email protected]
Binary file added assets/accent-lime/thumb_horizontal.png
Binary file added assets/accent-lime/[email protected]
Binary file added assets/accent-lime/thumb_vertical.png
Binary file added assets/accent-lime/[email protected]
Binary file added assets/accent-orange/thumb_horizontal.png
Binary file added assets/accent-orange/[email protected]
Binary file added assets/accent-orange/thumb_vertical.png
Binary file added assets/accent-orange/[email protected]
Binary file added assets/accent-pink/thumb_horizontal.png
Binary file added assets/accent-pink/[email protected]
Binary file added assets/accent-pink/thumb_vertical.png
Binary file added assets/accent-pink/[email protected]
Binary file added assets/accent-purple/thumb_horizontal.png
Binary file added assets/accent-purple/[email protected]
Binary file added assets/accent-purple/thumb_vertical.png
Binary file added assets/accent-purple/[email protected]
Binary file added assets/accent-red/thumb_horizontal.png
Binary file added assets/accent-red/[email protected]
Binary file added assets/accent-red/thumb_vertical.png
Binary file added assets/accent-red/[email protected]
Binary file added assets/accent-sky/thumb_horizontal.png
Binary file added assets/accent-sky/[email protected]
Binary file added assets/accent-sky/thumb_vertical.png
Binary file added assets/accent-sky/[email protected]
Binary file added assets/accent-tomato/thumb_horizontal.png
Binary file added assets/accent-tomato/[email protected]
Binary file added assets/accent-tomato/thumb_vertical.png
Binary file added assets/accent-tomato/[email protected]
Binary file added assets/accent-yellow/thumb_horizontal.png
Binary file added assets/accent-yellow/[email protected]
Binary file added assets/accent-yellow/thumb_vertical.png
Binary file added assets/accent-yellow/[email protected]
2 changes: 2 additions & 0 deletions messages/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ To enable file type icons you have to install an additional package, search for
"material_theme_panel_separator" : true , // Show bottom panel separator
"material_theme_small_statusbar" : true , // Set small status bar
"material_theme_small_tab" : true , // Set small tabs
"material_theme_bright_scrollbars" : true , // Bright scrollbars puck color
"material_theme_accent_scrollbars" : true , // Enable accent color for scrollbars
"material_theme_tabs_autowidth" : true , // Enable autowidth for tabs
"material_theme_tabs_separator" : true , // Show tabs separator, this disables tab hover
Expand Down
17 changes: 17 additions & 0 deletions sources/themes/commons/accent.json
Original file line number Diff line number Diff line change
Expand Up @@ -361,4 +361,21 @@
"settings": ["always_show_minimap_viewport","material_theme_accent_<%= ui.accents[i].id %>"],
"viewport_color": [<%= ui.accents[i].rgb %>, 80]
},

// Scrollbars

{
"class": "puck_control",
"settings": ["material_theme_accent_scrollbars", "material_theme_accent_<%= ui.accents[i].id %>"],
"layer1.texture": "Material Theme/assets/accent-<%= ui.accents[i].id %>/thumb_vertical.png",
"layer1.opacity": 0.8
},

{
"class": "puck_control",
"attributes": ["horizontal"],
"settings": ["material_theme_accent_scrollbars", "material_theme_accent_<%= ui.accents[i].id %>"],
"layer1.texture": "Material Theme/assets/accent-<%= ui.accents[i].id %>/thumb_horizontal.png",
"layer1.opacity": 0.8
},
<% } %>
19 changes: 18 additions & 1 deletion sources/themes/commons/options.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,21 @@
"settings": ["material_theme_big_fileicons"],
"parents": [{"class": "tree_row", "attributes": ["selected"]}],
"content_margin": [11, 11]
}
},

// Bright scrollbars

{
"class": "puck_control",
"settings": ["material_theme_bright_scrollbars"],
"layer1.texture": "Material Theme/assets/commons/thumb_vertical.png",
"layer1.opacity": 0.2
},

{
"class": "puck_control",
"attributes": ["horizontal"],
"settings": ["material_theme_bright_scrollbars"],
"layer1.texture": "Material Theme/assets/commons/thumb_horizontal.png",
"layer1.opacity": 0.2
},
4 changes: 3 additions & 1 deletion utils/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@
'material_theme_compact_panel',
'material_theme_small_statusbar',
'material_theme_panel_separator',
'material_theme_contrast_mode'
'material_theme_contrast_mode',
'material_theme_bright_scrollbars',
'material_theme_accent_scrollbars'
],
)
)
Expand Down

0 comments on commit 0038542

Please sign in to comment.