Skip to content

Commit

Permalink
addressing ST2 sidebar alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiewilson committed Oct 23, 2015
1 parent 51f9ea7 commit a0c1243
Show file tree
Hide file tree
Showing 8 changed files with 128 additions and 26 deletions.
Binary file added assets/collapsed_icon_over.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/collapsed_icon_over@2x.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/expanded_icon_over.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/expanded_icon_over@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
76 changes: 76 additions & 0 deletions messages/2.0.1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
2.0.1 - Patch for ST2 Sidebar Directory Icons and Alignement

===================================
2.0.0 - IMPORTANT: Breaking Changes
===================================

All options now start with "predawn_"
Be sure to update your Preferences.sublime-settings file
with your desired settings (there are some new ones, too!)

See below for all options with defaults:

============
Tabs Options
============

"predawn_tabs_active_underline": false,
"predawn_tabs_large": false,
"predawn_tabs_medium": false,
"predawn_tabs_small": false,

===============
Sidebar Options
===============

"predawn_sidebar_arrows": false,
"predawn_sidebar_large": false,
"predawn_sidebar_medium": false,
"predawn_sidebar_small": false,
"predawn_sidebar_xlarge": false,
"predawn_sidebar_xsmall": false,
"predawn_sidebar_narrow": false,

=============
Panel Options
=============

"predawn_findreplace_small": false,
"predawn_quick_panel_small": false,

==============================
IMPORTANT - Sublime Text 3062+
==============================

"theme": "predawn-DEV.sublime-theme",


===============================================================
I've put a lot of time and effort into making Predawn awesome.
If you love it, please consider helping me make it even better!
===============================================================

___ _ _ __ __ __ __ ___
| _ ) | | | | \ \ / / | \/ | | __|
| _ \ | |_| | \ V / | |\/| | | _|
|___/ \___/ |_| |_| |_| |___|
_ ___ ___ ___ ___ ___ ___ ___
/_\ / __| / _ \ | __| | __| | __| | __| |__ \
/ _ \ | (__ | (_) | | _| | _| | _| | _| /_/
/_/ \_\ \___| \___/ |_| |_| |___| |___| (_)

https://plasso.co/s/ZezNW6UhHv/

___ ___
/ _ \ | _ \
| (_) || /
\___/ |_|_\

If you want to put your money to really good use:

===================================
HELP PROTECT THE POOR FROM VIOLENCE
===================================

Give to the International Justice Mission:
https://www.ijm.org/make-gift
2 changes: 1 addition & 1 deletion messages/install.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ If you love it, please consider helping me make it even better!
/ _ \ | (__ | (_) | | _| | _| | _| | _| /_/
/_/ \_\ \___| \___/ |_| |_| |___| |___| (_)

https://plasso.co/jamie@jamiewilson.io
https://plasso.co/s/ZezNW6UhHv/

___ ___
/ _ \ | _ \
Expand Down
64 changes: 45 additions & 19 deletions predawn.sublime-theme
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,33 @@
// ST2 Sidebar Folder Icons
//
//

{
// Default Theme Icons
"class": "disclosure_button_control",
"layer0.texture": "Theme - Default/arrow_right.png",
"layer0.opacity": 1.0,
"layer0.inner_margin": 0,
"layer1.texture": "Theme - Default/arrow_right_over.png",
"layer1.opacity": 0.0,
"layer1.inner_margin": 0,
"content_margin": [9, 7, 8, 6]
},
{
"class": "disclosure_button_control",
"parents":
[
{ "class": "tree_row", "attributes": ["hover"] }
],
// "attributes": ["hover"],
"layer0.opacity": 0.0,
"layer1.opacity": 1.0
},
{
"class": "disclosure_button_control",
"attributes": ["expanded"],
"layer0.texture": "Theme - Default/arrow_down.png",
"layer1.texture": "Theme - Default/arrow_down_over.png"
},
{
// Sidebar tree
"class": "sidebar_tree",
Expand Down Expand Up @@ -849,35 +875,35 @@
"class": "sidebar_tree",
"settings": ["predawn_sidebar_narrow"],
"indent": 5
},{
// Hides Default Arrow Icon
"class": "icon_folder",
"content_margin": [0, 0],
"layer0.opacity": 0
},
{
// Replaces Default Folder Icons
"class": "disclosure_button_control",
"content_margin": [8, 8],
"layer0.texture": "Predawn/assets/folder.png",
"layer0.opacity": 1.0
},
{
// Open Folder Icon
// predawn_sidebar_arrows
"class": "disclosure_button_control",
"attributes": ["expanded"],
"layer0.texture": "Predawn/assets/folder_open.png"
"settings": ["predawn_sidebar_arrows"],
"layer0.texture": "Predawn/assets/collapsed_icon.png",
"layer0.opacity": 1.0,
"layer0.inner_margin": 0,
"layer1.texture": "Predawn/assets/collapsed_icon_over.png",
"layer1.opacity": 0.0,
"layer1.inner_margin": 0,
"content_margin": [8, 8]
},
{
"class": "disclosure_button_control",
"settings": ["predawn_sidebar_arrows"],
"layer0.texture": "Predawn/assets/collapsed_icon.png",
"layer0.opacity": 1.0
"parents":
[
{ "class": "tree_row", "attributes": ["hover"] }
],
// "attributes": ["hover"],
"layer0.opacity": 0.0,
"layer1.opacity": 1.0
},
{
"class": "disclosure_button_control",
"settings": ["predawn_sidebar_arrows"],
"attributes": ["expanded"],
"layer0.texture": "Predawn/assets/expanded_icon.png"
"layer0.texture": "Predawn/assets/expanded_icon.png",
"layer1.texture": "Predawn/assets/expanded_icon_over.png"
}
]
12 changes: 6 additions & 6 deletions predawn.tmTheme
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ COLOR KEY
<key>name</key>
<string>Python Docstring</string>
<key>scope</key>
<string>string.quoted.double.block.python</string>
<string>string.quoted.double.block.python, text.html.django storage.type.templatetag.django storage.type.attr.django, text.html.jekyll punctuation.tag.jekyll string.quoted.single.jekyll, text.html.swig meta.function.block.start.swig string.quoted.single.html</string>
<key>settings</key>
<dict>
<key>foreground</key>
Expand Down Expand Up @@ -133,7 +133,7 @@ COLOR KEY
<key>name</key>
<string>Handlebars Text</string>
<key>scope</key>
<string>text.html.handlebars meta.function.inline.other.handlebars variable.parameter.handlebars</string>
<string>text.html.handlebars meta.function.inline.other.handlebars variable.parameter.handlebars, text.html.django storage.type.variable.django string.unquoted.tag-string.django</string>
<key>settings</key>
<dict>
<key>foreground</key>
Expand All @@ -144,7 +144,7 @@ COLOR KEY
<key>name</key>
<string>Handlebars Braces</string>
<key>scope</key>
<string>text.html.handlebars meta.function.inline.other.handlebars support.constant.handlebars</string>
<string>text.html.handlebars meta.function.inline.other.handlebars support.constant.handlebars, meta.function.block.start.swig, support.constant.swig, support.constant.handlebars, entity.tag.tagbraces.django</string>
<key>settings</key>
<dict>
<key>foreground</key>
Expand All @@ -155,7 +155,7 @@ COLOR KEY
<key>name</key>
<string>Handlebars Loops</string>
<key>scope</key>
<string>text.html.handlebars meta.function.block.start.handlebars support.constant.handlebars, text.html.handlebars meta.function.block.end.handlebars support.constant.handlebars</string>
<string>text.html.handlebars meta.function.block.start.handlebars support.constant.handlebars, string.unquoted.tag-string.django, keyword.control.filter.django</string>
<key>settings</key>
<dict>
<key>foreground</key>
Expand Down Expand Up @@ -409,7 +409,7 @@ COLOR KEY
<key>name</key>
<string>css @at-rule</string>
<key>scope</key>
<string>meta.preprocessor.at-rule keyword.control.at-rule</string>
<string>meta.preprocessor.at-rule keyword.control.at-rule, entity.name.tag.jekyll</string>
<key>settings</key>
<dict>
<key>foreground</key>
Expand All @@ -431,7 +431,7 @@ COLOR KEY
<key>name</key>
<string>string quoted single</string>
<key>scope</key>
<string>string.quoted.single</string>
<string>string.quoted.single, storage.type.attr.django, support.variable.jekyll</string>
<key>settings</key>
<dict>
<key>foreground</key>
Expand Down

0 comments on commit a0c1243

Please sign in to comment.