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

Rails​Base​16 Color Schemes

by tompave ST2/ST3

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

Details

Installs

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

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.