ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Theme - Gravity

by frankyonnetti ST2/ST3

Sublime Text 3 UI theme

Labels theme

Details

Installs

  • Total 17K
  • Win 8K
  • OS X 6K
  • Linux 3K
Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9
Windows 2 11 11 9 12 17 11 12 17 26 19 3 4 4 3 7 23 31 45 40 19 28 27 15 11 10 13 8 7 1 6 9 9 5 3 4 5 5 7 8 4 4 7 2 5 8
OS X 0 4 6 4 4 16 3 8 8 18 13 4 4 0 2 8 15 17 15 13 12 10 10 14 11 7 5 3 2 4 5 1 3 3 2 4 4 5 1 3 5 4 2 1 3 5
Linux 0 5 5 10 6 7 3 4 5 5 4 3 2 2 2 3 5 10 9 14 12 9 8 5 2 4 3 2 7 1 2 1 3 0 0 0 1 1 1 1 1 1 0 2 1 2

Readme

Source
raw.​githubusercontent.​com

Gravity Theme

A Sublime Text 3 UI theme.

Created this UI theme using a port of the Default theme that comes with ST3. The goal was to make a dark and light theme that feels at home on OS X Yosemite & El Capitan.

  • Version 3.0.x introduces Gravity One and sidebar header.
  • Version 2.5 introduces OS X blue highlight color and cleaned up UI.
  • Version 2.0 introduces the Reverse Gravity light theme.

Gravity Theme


Gravity One Theme


Reverse Gravity Theme

The Gravity theme only works with Sublime Text 3 and hasn't been tested on earlier versions.

Install using Package Control

If you're using Package Control, you can easily install the Gravity theme by using the Command Palette:

  • Go to Tools > Command Palette...
  • Type Package Control: Install Package
  • Search for Theme - Gravity

Install using GIT

  • Locate your Sublime Text “Packages” directory by using the menu item Preferences > Browse Packages...
  • Load up that directory in Terminal app; for example: cd /Users/Library/Application Support/Sublime Text 3/Packages
  • Next, run this GIT command: git clone git@github.com:frankyonnetti/gravity-sublime-theme.git"
  • Rename the folder to Theme - Gravity

Install manually

  • Use the Download ZIP button from GitHub.
  • Locate your Sublime Text “Packages” directory by using the menu item Preferences > Browse Packages...
  • Unzip the archive and rename the folder Theme - Gravity and place it in the “Packages” directory.

Activating the theme

  • Open your settings by using the menu Preferences > Settings - User
  • Add, or replace, the “theme:” settings with "theme": "Gravity.sublime-theme" or, "theme": "Gravity One.sublime-theme" or, "theme": "Reverse Gravity.sublime-theme"

Applying the file Tab height option:

  • Open your settings (if not already open) by using the menu Preferences > Settings - User
  • And add: "gravity_tab_height_tall": true or "gravity_tab_height_short": true

Applying the blue hightlight color option:

  • Open your settings (if not already open) by using the menu Preferences > Settings - User and add: "gravity_highlight_color_blue": true

Applying the sidebar header option:

  • Open your settings (if not already open) by using the menu Preferences > Settings - User and add: "gravity_sidebar_header": true

Replacing the default “fold” icon

Currently the only way to override the default code folding icon with the one for Gravity, you have to place the Theme - Default directory in the “Packages” directory. The Gravity fold icon looks like:

  • Download the directory with icon separately and place it in the “Packages” directory.
  • You can get there by using the menu item Preferences > Browse Packages...

Syntax color schemes

Gravity

The syntax color scheme is a port of the Monokai-Sublime scheme created for Gravity. Used the TmTheme scheme editor to create it.

  • Once you have Gravity installed, you can select the scheme by using the menu item Preferences > Color Scheme > Theme - Gravity > Monokai Gravity
  • The font used for the syntax shown in the screenshot is "font_face": "Monaco" and "font_size": 14

Reverse Gravity

  • Using one of the default color schemes called Dawn.

Gravity One

App icon

Download the white and orange app icons (v.1.0.1) designed to fit in Yosemite's dock along with the other OSX (10.10) icons.

  • To install the white or orange app icon, select Sublime Text in your Applications folder. From the Finder menu, select File > Get Info and drag the .icns file on top of the default Sublime Text icon in the Get Info window.

Trouble shooting

1) Font descenders are cut off in the file UI tabs

Apply this setting to your “Settings - User” file. "gravity_tab_font_small": true

2) The “Find” feature appears to be hidden behind the status bar.

When switching themes in Sublime Text, it will retain the height for the Find bar set in the previous theme. Sometimes this will cause the bar to appear hidden behind the status bar.

To fix, simply grab the bar and pull-up.

3) Missing sidebar icons.

Installing and switching themes in Sublime Text may cause some sidebar icons to not show. Disabling installed/inactive themes via Package Control should fix the issue.

Usage license

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.