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 819
  • OS X 1K
  • Linux 774
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 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 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
Windows 0 2 3 2 1 2 0 1 0 1 1 3 2 0 1 0 1 0 0 0 2 1 0 1 1 3 1 2 2 1 1 1 1 1 3 3 0 1 4 1 2 1 0 1 1 0
OS X 0 1 1 4 3 2 2 1 1 0 0 1 0 3 0 0 1 0 3 0 2 0 0 0 3 1 3 2 0 1 1 3 1 2 3 0 0 4 5 4 1 1 0 1 1 1
Linux 0 0 0 1 2 0 2 0 0 1 0 0 2 1 1 4 0 2 2 1 1 1 0 1 1 4 2 1 0 0 0 1 2 0 0 1 2 3 2 2 0 1 0 1 2 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 (@, $).

symbols

  • 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).

ERB

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

haml

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

strings

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

operators

  • 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.

scss

  • punctuation
    • improved handling of punctuation

punctuation

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

module_class

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

block_vars

Other

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