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 18K
  • Win 9K
  • OS X 6K
  • Linux 3K
Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5
Windows 2 6 4 9 8 6 7 4 4 7 16 5 6 6 4 10 11 9 9 6 13 11 3 5 7 9 10 10 2 6 9 10 9 13 7 1 5 9 10 5 5 4 3 4 8 4
OS X 1 2 1 0 2 7 7 4 3 2 4 4 10 9 5 3 3 6 9 5 5 6 4 0 6 4 3 5 1 1 5 3 5 5 6 3 0 1 12 7 7 4 1 0 3 4
Linux 0 1 0 3 5 2 0 1 1 4 3 3 4 6 4 2 1 3 2 1 3 0 5 4 1 4 2 2 1 3 2 3 2 5 3 1 4 3 4 4 4 1 3 0 2 3

Readme

Source
raw.​githubusercontent.​com

Gravity Theme

A Sublime Text 3 UI theme.

The goal of this Sublime Text UI was to make a dark and light theme that feels at home on macOS.

  • Version 3.0.7 Added color titlebar option.
  • 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 has only been tested with Sublime Text 3.

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 new macOS title bar in Gravity:

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

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.