https://github.com/tompave/rails_base_16
A color scheme for Sublime Text and TextMate, based on Base16 and optimized for Ruby.
https://github.com/tompave/rails_base_16
Last synced: about 1 year ago
JSON representation
A color scheme for Sublime Text and TextMate, based on Base16 and optimized for Ruby.
- Host: GitHub
- URL: https://github.com/tompave/rails_base_16
- Owner: tompave
- Created: 2015-06-29T01:19:55.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2019-09-08T15:23:37.000Z (almost 7 years ago)
- Last Synced: 2025-04-13T12:12:08.528Z (about 1 year ago)
- Size: 124 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://github.com/tompave/RailsBase16-builder) 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](https://packagecontrol.io/), 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.