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

Red​Eye

by mattmag ST3

A Sublime Text 3 color scheme inspired by flight instruments and jetliner cockpits.

Labels color scheme

Details

  • 1.2.0
  • github.​com
  • github.​com
  • 2 months ago
  • 27 minutes ago
  • 2 months ago

Installs

  • Total 69
  • Win 39
  • Mac 15
  • Linux 15
Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2
Windows 0 1 0 1 0 0 0 0 0 1 0 0 2 0 0 1 1 0 0 1 0 0 0 0 1 1 1 0 0 1 1 0 1 2 0 0 0 1 1 2 0 2 0 1 0 0
Mac 0 0 0 0 0 0 0 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 2 2 0 0 0 0 0 0 0 0 0 0 1 1
Linux 0 0 0 0 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 1 1 0 0 1 0 0 1 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

RedEye

RedEye is a cohesive color Sublime Text scheme prioritizing readability. Inspired by flight instruments and jetliner cockpits, the color palette and contrast balance was chosen to minimize eye strain and remain clear in all lighting conditions.

Color Scheme Preview

Design Goals

  • A Single Scheme for Day and Night

    Color choices and contrast between background and foreground were tuned over multiple days and nights (and across multiple monitors) in an attempt at becoming more than just a “dark theme” - so leave those blinds open to get your Vitamin D, or turn that dimmer switch waaaay down to set the mood.

  • Logical Color Groupings

    Why can't reading code be similar to reading a nicely formatted text document? Like headers and paragraphs, we have classes and method definitions, and while we can't make use of type face and scale, we can make better use a scheme's only tool: color. In RedEye colors are used to accentuate the code's natural hierarchy.

    Note how easy it is to identify classes and methods in the file and the minimap

    Code Hierarchy

  • Subtle Variations

    For major code blocks, RedEye avoids vomiting the rainbow into your eyes, yet it doesn't resort to unhelpful monochromatic text either. Subtle variations in the base color provide just enough contrast to distinguish between in line operations.

  • Faded Comments with XML Comments Support

    Comments are faint to avoid pulling focus from the code. As large comment blocks usually precede method and class definitions, their style furthers the goal of visually separating major code structures. Also, C#'s XML comments are supported to help with formatting and syntax.

Language Support

  • C# - Originally created for C# (see above screenshots)
  • Rust - Some rust specific tuning

    Rust Screenshot

  • JSON - Adjusted to keep dominant colors consistent across languages (instead of defaulting to the string color)

    JSON Screenshot

  • XML - Basic Support

    XML Screenshot

Installation

Method 1: Package Control (Recommended)

  1. In Sublime Text, Hit Ctrl + Shift + P to bring up the command palette
  2. Type Install Package and hit Enter
  3. Type RedEye (one word) and select it from the list

Method 2: Manual Installation

  1. Get the theme either by downloading and extracting a release from the right, downloading the RedEye.sublime-color-scheme file from the source files above, or cloning this repository to your PC.
  2. In Sublime Text, go to Preferences > Browse Packages
  3. Create a RedEye sub folder at the packages location (or organize them anyway you like)
  4. Add the RedEye.sublime-color-scheme file to the sub folder

License and Contribution

Style and contents licensed under Attribution-NonCommercial-ShareAlike 4.0 International CC BY-NC-SA 4.0. Derivations should credit mattmag and link back to this repository.

If you wish to help tune the scheme towards a programming language that is currently not well supported, feel free to make the changes and create a pull request.

Thanks

Shout out to the ColorSchemeEditor and ScopeHunter plugins for making color scheme editing easier.