Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Ability to customize sidebar font size using settings. #17

Merged
merged 1 commit into from

2 participants

@asux

Added ability to change font size by "phoenix_sidebar_font_large" and "phoenix_sidebar_font_xlarge" settings. (Also, removed trailing whitespaces.)

@netatoo netatoo merged commit 36372f5 into netatoo:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 23, 2013
  1. @asux
This page is out of date. Refresh to see the latest.
Showing with 44 additions and 24 deletions.
  1. +23 −13 Phoenix Dark.sublime-theme
  2. +21 −11 Phoenix Light.sublime-theme
View
36 Phoenix Dark.sublime-theme
@@ -21,7 +21,7 @@
"class": "tabset_control",
"settings": ["mouse_wheel_switches_tabs"],
"mouse_wheel_switch": true
- },
+ },
{
"class": "tab_control",
"content_margin": [12, 3, 12, 3],
@@ -92,7 +92,7 @@
//
// TAB BUTTONS
//
-
+
// Tab close button
{
"class": "tab_close_button",
@@ -172,7 +172,7 @@
//
// TAB LABELS
//
-
+
{
"class": "tab_label",
"fade": true,
@@ -503,6 +503,16 @@
"shadow_color": [0, 0, 0],
"shadow_offset": [0, -1]
},
+ {
+ "class": "sidebar_label",
+ "settings": ["phoenix_sidebar_font_large"],
+ "font.size": 12.0
+ },
+ {
+ "class": "sidebar_label",
+ "settings": ["phoenix_sidebar_font_xlarge"],
+ "font.size": 14.0
+ },
// Sidebar folder entry
{
"class": "sidebar_label",
@@ -1035,8 +1045,8 @@
//
// DIRTY TABS WITH BOTTOM BAR
-//
-
+//
+
// DEFAULT
{
"class": "tab_control",
@@ -1361,14 +1371,14 @@
"parents": [{"class": "tab_control", "attributes": ["selected"]}],
"layer0.texture": "Theme - Phoenix/Phoenix Dark/file-close-selected.png",
"layer0.opacity": 1.0
- },
+ },
{
"class": "tab_close_button",
"settings": ["phoenix_color_green", "phoenix_solid_current_tab"],
"parents": [{"class": "tab_control", "attributes": ["dirty", "selected"]}],
"layer0.texture": "Theme - Phoenix/Phoenix Dark/file-dirty-selected.png",
"layer0.opacity": 1.0
- },
+ },
// Tabs highlight
{
"class": "tab_close_button",
@@ -1511,7 +1521,7 @@
"parents": [{"class": "tab_control", "attributes": ["dirty", "selected"]}],
"layer0.texture": "Theme - Phoenix/Phoenix Dark/file-dirty-selected.png",
"layer0.opacity": 1.0
- },
+ },
// Tabs highlight
{
"class": "tab_close_button",
@@ -1654,7 +1664,7 @@
"parents": [{"class": "tab_control", "attributes": ["dirty", "selected"]}],
"layer0.texture": "Theme - Phoenix/Phoenix Dark/file-dirty-selected.png",
"layer0.opacity": 1.0
- },
+ },
// Tabs highlight
{
"class": "tab_close_button",
@@ -1797,7 +1807,7 @@
"parents": [{"class": "tab_control", "attributes": ["dirty", "selected"]}],
"layer0.texture": "Theme - Phoenix/Phoenix Dark/file-dirty-selected.png",
"layer0.opacity": 1.0
- },
+ },
// Tabs highlight
{
"class": "tab_close_button",
@@ -1940,7 +1950,7 @@
"parents": [{"class": "tab_control", "attributes": ["dirty", "selected"]}],
"layer0.texture": "Theme - Phoenix/Phoenix Dark/file-dirty-selected.png",
"layer0.opacity": 1.0
- },
+ },
// Tabs highlight
{
"class": "tab_close_button",
@@ -2064,7 +2074,7 @@
"settings": ["phoenix_classic_tabs"],
"content_margin": [3, 4, 3, 3],
"tab_overlap": 24,
- "tab_height": 31
+ "tab_height": 31
},
// Tab element
{
@@ -2131,4 +2141,4 @@
"layer0.texture": "Theme - Phoenix/Phoenix Dark/classic/tab-active.eighties.png"
}
-]
+]
View
32 Phoenix Light.sublime-theme
@@ -61,7 +61,7 @@
//
// TAB BUTTONS
//
-
+
// Tab close button
{
"class": "tab_close_button",
@@ -140,7 +140,7 @@
//
// TAB LABELS
//
-
+
{
"class": "tab_label",
"fade": true,
@@ -470,11 +470,21 @@
// Sidebar entry
{
"class": "sidebar_label",
- "color": [80, 80, 80],
+ "color": [80, 80, 80],
"shadow_color": [255, 255, 255],
"shadow_offset": [0, 1],
"font.bold": false
},
+ {
+ "class": "sidebar_label",
+ "settings": ["phoenix_sidebar_font_large"],
+ "font.size": 12.0
+ },
+ {
+ "class": "sidebar_label",
+ "settings": ["phoenix_sidebar_font_xlarge"],
+ "font.size": 14.0
+ },
// Sidebar folder entry
{
"class": "sidebar_label",
@@ -485,7 +495,7 @@
"class": "sidebar_label",
"parents": [{"class": "tree_row", "attributes": ["expandable", "hover"]}],
"color": [60, 60, 60]
- },
+ },
{
"class": "sidebar_label",
"parents": [{"class": "tree_row", "attributes": ["expandable"]}],
@@ -1085,7 +1095,7 @@
{
"class": "sidebar_label",
"settings": ["phoenix_color_darkblue"],
- "color": [81, 93, 104],
+ "color": [81, 93, 104],
"shadow_color": [241, 244, 247],
"shadow_offset": [0, 1],
"font.bold": false
@@ -1102,7 +1112,7 @@
"settings": ["phoenix_color_darkblue"],
"parents": [{"class": "tree_row", "attributes": ["expandable", "hover"]}],
"color": [45, 56, 68]
- },
+ },
{
"class": "sidebar_label",
"settings": ["phoenix_color_darkblue"],
@@ -1261,7 +1271,7 @@
"attributes": ["right", "selected"],
"layer0.texture": "Theme - Phoenix/Phoenix Light/colors/darkblue/btn-group-right-on.png"
},
- {
+ {
"class": "icon_button_control",
"settings": ["phoenix_color_darkblue"],
"attributes": ["left", "right", "selected"],
@@ -1317,7 +1327,7 @@
"settings": ["phoenix_color_blue"],
"attributes": ["selected"],
"layer0.texture": "Theme - Phoenix/Phoenix Light/colors/blue/tab-active.png"
- },
+ },
{
"class": "tab_close_button",
"settings": ["phoenix_color_blue"],
@@ -1370,7 +1380,7 @@
{
"class": "sidebar_label",
"settings": ["phoenix_color_blue"],
- "color": [81, 93, 104],
+ "color": [81, 93, 104],
"shadow_color": [241, 244, 247],
"shadow_offset": [0, 1],
"font.bold": false
@@ -1387,7 +1397,7 @@
"settings": ["phoenix_color_blue"],
"parents": [{"class": "tree_row", "attributes": ["expandable", "hover"]}],
"color": [45, 56, 68]
- },
+ },
{
"class": "sidebar_label",
"settings": ["phoenix_color_blue"],
@@ -1547,7 +1557,7 @@
"attributes": ["right", "selected"],
"layer0.texture": "Theme - Phoenix/Phoenix Light/colors/blue/btn-group-right-on.png"
},
- {
+ {
"class": "icon_button_control",
"settings": ["phoenix_color_blue"],
"attributes": ["left", "right", "selected"],
Something went wrong with that request. Please try again.