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

Rails​Base​16 Color Schemes

by tompave ALL Trending

A color scheme for Sublime Text and TextMate, based on Base16 and optimized for Ruby.

Details

Installs

  • Total 29K
  • Win 23K
  • Mac 3K
  • Linux 3K
May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15
Windows 18 25 18 23 14 16 22 28 16 24 20 25 21 21 27 18 24 18 22 13 10 19 22 30 26 23 32 17 30 24 23 20 16 26 20 25 20 24 19 21 29 25 30 28 26 15
Mac 1 3 0 1 3 4 3 1 1 2 1 1 3 4 1 5 3 3 5 2 2 3 0 4 4 2 2 0 4 6 1 1 1 3 5 4 0 1 5 2 0 2 1 0 0 4
Linux 6 6 1 1 0 2 2 1 2 0 2 3 3 2 7 2 1 0 1 1 0 1 2 1 0 2 3 1 2 1 2 2 2 3 4 2 4 2 1 3 0 1 3 1 2 6

Readme

Source
raw.​githubusercontent.​com

RailsBase16 Color Scheme for Sublime Text

This repository contains the color scheme tmTheme files, compatible with TextMate and Sublime Text.

The color scheme files have been generated with a fork of the original Base16 Builder, which aims to provide better syntax support for the Ruby programming language and for the Ruby on Rails framework.

Installation

The easiest way to install is via Package Control, the color schemes are available as RailsBase16 Color Schemes.

Alternatively, you can clone the repo inside the Packages directory of your Sublime Text data directory.

Improved syntax highlighting

  • Symbols
    • Symbols and Strings use different colors.
    • the colon uses the default punctuation color, like variable qualifiers (@, $).

  • ERB
    • <%= %> tags use a color more detectable in HTML files.
    • embedded ruby code has a specific background color (as seen in Railscasts and Sublime's default Cobalt color scheme).

  • Haml
    • separate colors for %tag, .class and #id declarations

  • String Interpolation
    • embedded ruby code uses appropriate source colors, not the String color.
    • embedded ruby code has a specific background color.

  • Operators
    • operators (=, +, &&, and, etc) use a specific color.

  • SCSS
    • separate colors for CSS selectors (., #), Sass directives (@), and units (px, em).
    • the color used for $variables doesn't clash with the color used for tag selectors (div, span, etc).
    • colors for recognized CSS values.

  • punctuation
    • improved handling of punctuation

  • module declarations
    • Module declarations now use the same color of class declarations, instead of the String color.

  • block variables
    • Block variables don't have the same relevance of @instance variables, and they should use a different color.

Other

  • comments use the italic style.
  • quotation marks use the String color.