After many years using Solarized I changed to
a new one. I use it for my terminal, emacs and most of my tools.
This is inspired by both Solarized and Nord. I switched because I wanted a
greyer theme.
Ethan Shoovnover the creator of Solarized gave plenty of information
about the creation of his colorscheme. And I stumbled upon the Nord theme. And I really liked it. But
while the colors are great, it is not as easy to switch from light to
dark theme than with solarized because Solarized has a lot of nice
properties.
So I kept the main principle used to create Solarized but freed a few
parameters. The tint of the dark and light colors for the background and
the text, as well as the contrast of the colors.
And I created this minimal application in Purescript:
https://solaryzed.esy.fun
It is still not perfect, because the real theme I use for my website
as a slightly bigger contrast for text.
Here is the CSS you could use:
b03
b02
b01
b00
b0
b1
b2
b3
y
o
r
m
v
b
c
g
:root {
color-scheme: light dark; /* support color scheme */
--b03: #202631;
--b02: #2b313c;
--b01: #656b74;
--b00: #727781;
--b0: #989ea8;
--b1: #b0bac7;
--b2: #e5e8ed;
--b3: #f4f7ff;
--y: #a98d50;
--o: #aa6550;
--r: #b85a64;
--m: #af53b0;
--v: #846f93;
--b: #5679a4;
--c: #4c8493;
--g: #728b5c;
--bg: var(--b3);
--fg: var(--b02);
--fg0: var(--b0); /* lower contrast */
--bg2: var(--b2); /* second color block background */
--fg2: var(--b01); /* second color block foreground */
--acc: var(--o); /* accent color */
}
@media (prefers-color-scheme: dark) {
:root {
/* Dark */
--bg: var(--b03);
--fg: var(--b0);
--fg0: var(--b00); /* lower contrast */
--bg2: var(--b02); /* second color block background */
--fg2: var(--b1); /* second color block foreground */
--acc: var(--g); /* accent color */
}
}
body,.main {
background: var(--bg);
color: var(--fg);
}