Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to change status bar font size through settings #131

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions Cobalt2.sublime-theme
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,24 @@
"shadow_color": [25, 25, 25],
"shadow_offset": [0, -1]
},
{
"class": "label_control",
"parents": [{"class": "status_bar"}],
"settings": ["statusbar_font_medium"],
"font.size": 12
},
{
"class": "label_control",
"parents": [{"class": "status_bar"}],
"settings": ["statusbar_font_large"],
"font.size": 14
},
{
"class": "label_control",
"parents": [{"class": "status_bar"}],
"settings": ["statusbar_font_xlarge"],
"font.size": 16
},

//
// SIDEBAR
Expand Down
19 changes: 14 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ See below for examples. [Read more at http://wesbos.com/cobalt2-theme-sublime-te

1. Open package control `tools` → `Command Palette` and type `Install Package`
2. Search for Cobalt2 and hit enter
3. Penultimately, open `Preferences` → `Settings - User`. Add the following lines. Only the first two are required but I recommend using all of them:
3. Penultimately, open `Preferences` → `Settings - User`. Add the following lines. Only the first two are required but I recommend using all of them:

```json
"color_scheme": "Packages/Theme - Cobalt2/cobalt2.tmTheme",
"theme": "Cobalt2.sublime-theme",
"theme": "Cobalt2.sublime-theme",
"highlight_line": true,
"indent_guide_options": [ "draw_normal", "draw_active" ],
"highlight_modified_tabs": true,
Expand Down Expand Up @@ -49,6 +49,15 @@ Adjust the sidebar's padding by using these settings in your user config:
"sidebar_xlarge": true
}
```
#### Status Bar Font Size
Change the status bar's font size by using these settings in your user config:
```json
{
"statusbar_font_medium": true,
"statusbar_font_large": true,
"statusbar_font_xlarge": true
}
```

## Requirements

Expand All @@ -67,7 +76,7 @@ Adjust the sidebar's padding by using these settings in your user config:

### Indentation Guides — Guide, Stacked Guide and Active Guide

Use `"indent_guide_options": ["draw_normal", "draw_active"]` for this
Use `"indent_guide_options": ["draw_normal", "draw_active"]` for this

### GitGutter Support

Expand All @@ -77,7 +86,7 @@ Use `"indent_guide_options": ["draw_normal", "draw_active"]` for this

![](http://wes.io/YItl/content)

### Command Palette
### Command Palette

![](http://wes.io/YIpV/content)

Expand Down