Minium · light
Viridian Light
- Collection
- Minium
- 4 themes
- Appearance
- light
- also in dark
- Status
- release
- in the catalog
- Contrast
- 84%
- 14 AAA · 7 AA · 27 large · 9 low
- Accent
- #ee560c
- a10
black-atom-minium-viridian-light · black-atom.industries/black-atom/themes/minium-viridian-light
Editor
▾ src
▾ lib
load.ts
parse.ts
theme.ts M
new.ts A
old.ts D
▸ dist
README.md
1// Load the active theme from disk
2import { readFile } from "node:fs";
▎ 3export function load(file: string): Theme {
load(file: string): Theme
Reads and parses a theme file.
▎ 4const MAX = 42, strict = true; ● unused
▎ 5if (file.length > MAX) {
6throw new Error("too long");● undefined
7}
8for (const line of lines) {
9if (line.startsWith("#")) {
10continue;● skips comments
11}
12}
▎13return parse(readFile(file));
14}
NORMALmainload.ts✘ 1▲ 1● 1✔ saved
Diff
load.tsworking tree ↔ HEAD+4-1~2
@@ -1,4 +1,4 @@
1 // Load the active theme from disk
2~ import { readFile } from "node:fs";
3
@@ -12,6 +12,9 @@ load
12 export function load(file: string) {
13 const raw = readFile(file);
- return JSON.parse(raw);
14+ const theme = JSON.parse(raw);
15+ if (!theme.name) {
16+ throw new Error("missing name");
17+ }
18~ return theme;
19 }
Terminal
~/code/black-atom on main [!?]
❯ livery apply minium-viridian-light
✓ ghostty ✓ tmux ✓ nvim ! zed not running
error obsidian: vault not found
info 4 of 5 tools on Viridian Light
❯ git status -sb
## main...origin/main
M core/src/themes/jpn.ts
A adapters/nvim/border.lua
❯ git commit -m "border token"
palette
black dark-red dark-green dark-yellow dark-blue dark-magenta dark-cyan light-gray gray red green yellow blue magenta cyan white
Primaries
d10 · #0d3530d20 · #13403ad30 · #194c45d40 · #00564dm10 · #007468m20 · #2b8c7fm30 · #67b5a9m40 · #80cfc2l10 · #abd5cdl20 · #bfdfd9l30 · #daf1edl40 · #f0fbf9
Palette
black · #00564dis primaries.d40
gray · #007468is primaries.m10
darkRed · #d13a00from accents.a10
red · #ee560cis accents.a10
darkGreen · #007f0afrom accents.a20
green · #00982dis accents.a20
darkYellow · #be5800from accents.a30
yellow · #d97100is accents.a30
darkBlue · #31669a
blue · #497eb3
darkMagenta · #8a4f5d
magenta · #a36674
darkCyan · #00806cfrom accents.a40
cyan · #009983is accents.a40
lightGray · #80cfc2is primaries.m40
white · #abd5cdis primaries.l10
Accents
a10 · #ee560ca20 · #00982da30 · #d97100a40 · #009983
Feedback
negative · #db0017success · #638000info · #0073c7warning · #b65300
Contrast grades
- 7.0AAA7:1 and up, comfortable for any text
- 4.5AA4.5:1, fine for body text
- 3.0Large3:1, only for large text and UI marks
- 2.0Lowunder 3:1, hard to read
- 1.0LineBorders and guides, drawn and not read, so not graded
UI backgrounds
bg.active
Active elements such as the cursor line or the active tab- value
- #f0fbf9 · oklch(0.98 0.012 184)
- is
- primaries.l40
UI foregrounds
fg.subtle4.8AA
Secondary text such as line numbers- value
- #007468 · oklch(0.50 0.090 183)
- is
- primaries.m10
fg.accent3.0Low
Links and text that needs to stand out- value
- #ee560c · oklch(0.65 0.200 40)
- is
- accents.a10
fg.border2.0Line
Idle borders, separators and guide lines- value
- #67b5a9 · oklch(0.72 0.080 183)
- is
- primaries.m30
Syntax
Comments are dim on purpose, so they sit lower than the rest of the code.
variable8.2AAA
property4.8AA
string3.4Large
constant9.8AAA
module8.2AAA
boolean4.8AA
number7.3AAA
type11.3AAA
attribute3.2Large
func3.0Low
constructor3.0Low
keyword3.0Low
operator9.8AAA
punctuation7.3AAA
comment3.4Large
tag3.2Large
Terminal
Gray is the terminal's dim text, the counterpart of comments.
black7.3AAA
gray4.8AA
darkRed4.1Large
red3.0Low
darkYellow3.9Large
yellow2.8Low
darkGreen4.4Large
green3.2Large
darkCyan4.1Large
cyan3.0Large
darkBlue5.1AA
blue3.6Large
darkMagenta5.3AA
magenta3.8Large
lightGray1.5Low
white1.4Low
··
Files
Generated for Viridian Light| Tool | File | Livery |
|---|---|---|
| ghostty | switches | |
| wezterm | by hand | |
| tmux | switches | |
| herdr | switches | |
| nvim | switches | |
| zed | switches | |
| obsidian | switches | |
| lazygit | switches | |
| delta | switches | |
| tuicr | switches | |
| claude-code | switches | |
| kagi | by hand | |
| niri | by hand | |
| waybar | by hand |