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

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.