Minium · dark
Viridian Dark
- Collection
- Minium
- 4 themes
- Appearance
- dark
- also in light
- Status
- release
- in the catalog
- Contrast
- 100%
- 18 AAA · 24 AA · 15 large · 0 low
- Accent
- #e69173
- a10
black-atom-minium-viridian-dark · black-atom.industries/black-atom/themes/minium-viridian-dark
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-dark
✓ ghostty ✓ tmux ✓ nvim ! zed not running
error obsidian: vault not found
info 4 of 5 tools on Viridian Dark
❯ 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 · #308176m20 · #4d9c91m30 · #67b5a9m40 · #80cfc2l10 · #abd5cdl20 · #bfdfd9l30 · #daf1edl40 · #f0fbf9
Palette
black · #00564dis primaries.d40
gray · #67b5a9is primaries.m30
darkRed · #c47255from accents.a10
red · #e69173is accents.a10
darkGreen · #4fa465from accents.a20
green · #6fc483is accents.a20
darkYellow · #bf8029from accents.a30
yellow · #e09f4dis accents.a30
darkBlue · #5e94ca
blue · #7cb3eb
darkMagenta · #cba1a9
magenta · #ecc1c9
darkCyan · #00a796from accents.a40
cyan · #2cc7b5is accents.a40
lightGray · #80cfc2is primaries.m40
white · #bfdfd9is primaries.l20
Accents
a10 · #e69173a20 · #6fc483a30 · #e09f4da40 · #2cc7b5
Feedback
negative · #f47a7dsuccess · #a9ba78info · #79b5ccwarning · #d6b174
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
- #194c45 · oklch(0.38 0.055 183)
- is
- primaries.d30
UI foregrounds
fg.subtle4.8AA
Secondary text such as line numbers- value
- #67b5a9 · oklch(0.72 0.080 183)
- is
- primaries.m30
fg.accent4.8AA
Links and text that needs to stand out- value
- #e69173 · oklch(0.74 0.112 40)
- is
- accents.a10
fg.border2.5Line
Idle borders, separators and guide lines- value
- #308176 · oklch(0.55 0.080 183)
- is
- primaries.m10
Syntax
Comments are dim on purpose, so they sit lower than the rest of the code.
variable8.1AAA
property5.4AA
string8.1AAA
constant7.2AAA
module8.1AAA
boolean6.4AA
number7.2AAA
type10.9AAA
attribute5.4AA
func4.8AA
constructor4.8AA
keyword9.8AAA
operator9.8AAA
punctuation7.2AAA
comment4.8AA
tag4.8AA
Terminal
Gray is the terminal's dim text, the counterpart of comments.
black1.3Low
gray4.8AA
darkRed3.2Large
red4.8AA
darkYellow3.5Large
yellow5.1AA
darkGreen3.7Large
green5.4AA
darkCyan3.8Large
cyan5.5AA
darkBlue3.6Large
blue5.2AA
darkMagenta5.1AA
magenta7.2AAA
lightGray6.4AA
white8.1AAA
··
Files
Generated for Viridian Dark| 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 |