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

Rails​Base​16 Color Schemes

by tompave ALL

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

Details

Installs

  • Total 35K
  • Win 28K
  • Mac 4K
  • Linux 3K
Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 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
Windows 1 2 6 1 3 0 2 2 1 0 0 0 1 1 0 1 2 0 1 0 2 0 0 0 2 0 0 0 0 1 0 1 1 1 2 1 0 1 0 1 3 3 0 2 2 1
Mac 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 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.