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

Alabaster Color Scheme

by tonsky ST3

A light color scheme with minimal amount of highlighting for Sublime Text 3

Labels color scheme

Details

Installs

  • Total 1K
  • Win 680
  • OS X 373
  • Linux 240
Oct 23 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
Windows 2 3 4 4 10 3 1 2 2 10 3 4 2 3 3 8 3 3 6 8 8 4 3 4 2 0 1 0 0 4 3 1 2 3 2 4 2 3 3 6 2 3 1 5 2 2
OS X 2 2 0 3 2 1 1 1 0 2 1 1 4 1 0 0 0 1 1 1 1 1 0 2 1 1 1 2 1 1 2 0 2 1 0 4 2 0 1 0 1 2 0 0 0 6
Linux 1 2 0 0 0 2 2 1 2 0 0 0 0 0 1 0 2 0 1 2 0 1 0 0 1 0 1 1 0 2 0 0 0 1 1 2 2 0 0 0 1 0 0 1 0 0

Readme

Source
raw.​githubusercontent.​com

Alabaster Color Scheme

A light color scheme with minimal amount of highlighting for Sublime Text 3.

Motivation

Most color schemes highlight everything they can, ending up looking like a fireworks show.

Instead, Alabaster uses minimal highlighting; it defines just four classes:

  1. Strings
  2. All statically known constants (numbers, symbols, keywords, boolean values)
  3. Comments
  4. Global definitions

Additionally:

  • Alabaster does not highlight standard language keywords (if, else, function, etc). They are usually least important and most obvious part of any program.

  • Alabaster highlights comments. Most schemes try to dim comments by using low-contrast greys. I think if code was complex enough that it deserved an explanation then it’s that explanation we should see and read first. It would be a crime to hide it.

  • Alabaster doesn’t use font variations. It’s hard to scan code when it jumps between normal, bold and italics all the time. Also, not all fonts provide bold/italics variants.

  • Having minimal amount of rules means you can consciously use them to look for the exact piece of information you need. Most other “fireworks” schemes provide only one meaningful contribution: if it’s colored it’s probably syntactically correct. Instead, in Alabaster you can actually remember all the rules, and e.g. if you need to look for a string you know that you’re looking for a green token. And all the strings really pop out because there are not many other things highlighted.

  • Alabaster only highlights things that parser could identify reliably. I believe that if highlighting works only partially then it does more harm than good. When highlighting works reliably, your brain learns to rely on it. When it’s not reliable, your brain spends precious brain cycles to re-check everything it sees on the screen.

Screenshots

Screenshot

Alabaster BG

Alabaster BG is a variation of the same scheme but it uses background color for highlighting instead of text color. The idea is that it is easier to read when all text is black rather than when it changes color every few words. The colored background in that case creates a separate layer which is easier to ignore if you just trying to read the words.

Screenshot

Installation

Both schemes are packed in the same package.

Via Package Control

  1. ToolsCommand Palette...Package Control: Install PackageAlabaster Color Scheme.
  2. Select Preferences → Color Scheme ... and pick Alabaster or Alabaster BG from the menu.

Manual Installation

  1. Download *.sublime-color-scheme files from this repo.
  2. Select Preferences → Browse packages from the main menu.
  3. Copy *.sublime-color-scheme files to Packages/User/.
  4. Select Preferences → Color Scheme ... and pick Alabaster or Alabaster BG from the menu.

License

MIT License

Variations