Skip to content

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

Notifications You must be signed in to change notification settings

tompave/rails_base_16

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published