3 ms·
Related: high- versus low-contrast. Most colour schemes are low-contrast, and I haven’t the foggiest idea why, because I’ve always hated that, and find it makes
by chrismorgan 6y ago
Related: high- versus low-contrast. Most colour schemes are low-contrast, and I haven’t the foggiest idea why, because I’ve always hated that, and find it makes no sense whatsoever (zero) as a decision.
I used to use molokai (dark, fairly high contrast); a few years ago I decided to build a new minimal, light, high contrast one from scratch, which I called “bland”, inspired by the printed code of yesteryear. Paired with Triplicate, the only true serif monospace font that I can think of (I have a vague feeling I found one other once, but can’t think what it was). Black text, white background, keywords bold, comments italic, that was it. I tried that for a few days and decided I liked it, but did want strings and comments distinguished, so I made strings red, comments green, numbers blue. Over time then I’ve added a small number of other cases for specific languages and constructs, but it’s stayed very minimal compared with what almost everyone’s doing.
Well, I deliberately tried it for a couple of weeks, then went back to molokai for a week before I broke and went back to bland because I found it just so much better.
It’s what I use in code blocks on my website, though with light grey backgrounds rather than white. See https://chrismorgan.info/blog/rust-fizzbuzz/ https://chrismorgan.info/blog/rust-fizzbuzz/ for an example.
It was a couple of years before I even bothered to make a dark variant of the theme, for the occasional low-light situation where dark actually works better, and because I wanted to have a dark mode on my website. I almost never use bland-dark.
- steerablesafe 6y agoI highly recommend the various tempus color schemes[0], they are designed to be high contrast. Tempus is a collection of themes for Vim, text editors, and terminal emulators that are compliant at the very least with the WCAG AA accessibility standard for colour contrast (which stands for a minimum contrast ratio of 4.50:1—while some items have a 7.00:1 rating, or else WCAG AAA). I use one of the AAA schemes. It's not perfect though, certain color pairs are low contrast (typically the "dark" and "light" variant of the same color). [0] https://gitlab.com/protesilaos/tempus-themes https://gitlab.com/protesilaos/tempus-themes
- gridlockd 6y agoSome people complain about afterimage on high contrast dark themes. I'm definitely in your camp though.
- chrismorgan 6y agoYeah, high-contrast is much riskier on dark themes—it all depends on whether you’re going for æsthetic dark, accessibility dark or low-light dark, which are three different situations with quite different needs. But for light themes at least, high contrast has no serious risks.
- zamadatix 6y agoI think the "molokai" theme mentioned a couple times might actually be "monokai" getting autocorrected. This is probably better known as "the Sublime Text 2 default theme" to most.