Skip to content

BenSouchet/rowan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rowan

rowan_cover

Rowan is a color palette (17 colors) designed for IDEs, editors & code highlighters.

Simple but very efficienty palette with greyscale colors for the background and well defined colors for the texts

Light & Dark

Rowan exists in two variants Light and Dark.

rowan_light

rowan_dark

As you can see the Light and Dark variants of use the same color values except for the keywords.

The greyscale colors aren't a true gradient from one color to another, the Lightness (HSL) values are as follows:

rowan_greyscale

Colors Info / Guidelines

Short Name Color Name Light Dark Apply on Description
bgr background 01 07 background Code Block Background, Editor Background
hgl highlighted 02 06 background Highlighted Line(s), Search Results Highlighed (not user selection)
sel selection 03 05 background User Selection of word(s) or line(s)
com comments 04 04 text Code Comments (comments are normally displayed in italic)
lin line n° 05 03 text Line Numbers
def default 06 02 text Default color for text, delimiters & ponctuations ({,},;,,,...)
acc Accent 07 01 text Use when default text are selected to keep text readibility
kwd keywords BB AA text Keywords, Keyword Declaration (e.g. var in JavaScript), Keyword Type (int, float, ...), Keyword Namespace (namespace)
esc escaped 08 08 text Escaped Characters, Regex, Interpoled Strings, Character Entities
res reserved 09 09 text Reserved Keywords, Constant Keywords, Pseudo Keywords
opr operators 10 10 text Operators, Word Operators
str strings 11 11 text Strings, DocStrings
var variables 12 12 text Variable Names, Attributes Names
nam names 13 13 text Namespace Names, Class Names, Decorator Names, Exception Names, Function Names
nbr numbers 14 14 text All kind of Numbers (integer, float, hex, binary, ...)
err errors 15 15 text OR wavy underline Errors (the color can be applied to text or only to a wavy underline), Diff Deleted (apply on text)
ins inserted 16 16 text Diff Inserted, Success Messages

As you can see every colors are meant to be used for a specific purpose. Of course, if in your case you can't use all the colors do your best to stay as close as possible to the original palette.

Palette Colors Values

Find in this page a table with the exact colors codes in multiple color models (HEX, RGB, HSV, HSL, Lab).

There is also files in the palette/ folder defining the colors in HEX in multiple formats: YAML, CSS, SCSS.

Important: if you implement the color palette in an editor, a website, a service, ... please do not modify the color codes (use the exact ones listed in this page).

Additionnal Info

If you implement this palette as a color theme somewhere, code comments should be displayed in italics, and keywords should be in bold (to easily identify them).

Sixteen Color Palette

Rowan is a seventeen (17) color palette but if you need (or are restricted) to only sixteen colors, you can ignore the accent (acc) color or use the numbers (nbr) color for the Diff Inserted texts.

Version

The current version is 1.0.1, you can download the latest release on the Releases category (on the sidebar) or from this page.

Others Ressouces & Useful links

Author & maintainer

Rowan has been created and is currently maintained by Ben Souchet.

All the files present in this repository are under MIT license.