Minium · light

Viridian Light

Definition ↗
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
1:zsh2:nvim3:lazygit

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.default
Default background
value
#daf1ed · oklch(0.94 0.025 184)
is
primaries.l30
bg.panel
Sidebars and the status line
value
#bfdfd9 · oklch(0.88 0.035 183)
is
primaries.l20
bg.float
Floating windows and popups
value
#bfdfd9 · oklch(0.88 0.035 183)
is
primaries.l20
bg.active
Active elements such as the cursor line or the active tab
value
#f0fbf9 · oklch(0.98 0.012 184)
is
primaries.l40
bg.disabled
Disabled interactive elements
value
#abd5cd · oklch(0.84 0.045 182)
is
primaries.l10
bg.hover
Hover state of interactive elements
value
#bfdfd9 · oklch(0.88 0.035 183)
is
primaries.l20
bg.selection
Visual selection
value
#abd5cd · oklch(0.84 0.045 182)
is
primaries.l10
bg.search
Search matches
value
#abd5cd · oklch(0.84 0.045 182)
is
primaries.l10
bg.contrast
Inverted background
value
#00564d · oklch(0.41 0.073 183)
is
primaries.d40
bg.negative
Errors
value
#fadbd7 · oklch(0.92 0.035 27)
from
primaries.l40 + feedback.negative
bg.info
Information
value
#d8e4f2 · oklch(0.91 0.023 252)
from
primaries.l40 + feedback.info
bg.hint
Hints
value
#f0dfd6 · oklch(0.91 0.022 50)
from
primaries.l40 + feedback.warning
bg.warn
Warnings
value
#f0dfd6 · oklch(0.91 0.022 50)
from
primaries.l40 + feedback.warning
bg.positive
Success
value
#e0e6d7 · oklch(0.92 0.021 125)
from
primaries.l40 + feedback.success
bg.add
Added lines
value
#d9e2c9 · oklch(0.90 0.035 123)
from
primaries.l30 + feedback.success
bg.delete
Deleted lines
value
#f5d6d2 · oklch(0.90 0.035 27)
from
primaries.l30 + feedback.negative
bg.modify
Modified lines
value
#cde0f5 · oklch(0.90 0.035 251)
from
primaries.l30 + feedback.info

UI foregrounds

fg.default9.8AAA
Default text
value
#13403a · oklch(0.34 0.050 183)
is
primaries.d20
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.disabled2.0Low
Disabled text
value
#67b5a9 · oklch(0.72 0.080 183)
is
primaries.m30
fg.contrast6.1AA
Text on inverted backgrounds
value
#bfdfd9 · oklch(0.88 0.035 183)
is
primaries.l20
fg.negative4.0Large
Error text
value
#db0017 · oklch(0.56 0.229 27)
is
feedback.negative
fg.warn3.8Large
Warning text
value
#b65300 · oklch(0.56 0.149 49)
is
feedback.warning
fg.info3.8Large
Information text
value
#0073c7 · oklch(0.55 0.156 250)
is
feedback.info
fg.hint3.8Large
Hint text
value
#b65300 · oklch(0.56 0.149 49)
is
feedback.warning
fg.positive3.6Large
Success text
value
#638000 · oklch(0.56 0.138 124)
is
feedback.success
fg.add3.4Large
Added marks
value
#638000 · oklch(0.56 0.138 124)
is
feedback.success
fg.delete3.8Large
Deleted marks
value
#db0017 · oklch(0.56 0.229 27)
is
feedback.negative
fg.modify3.6Large
Modified marks
value
#0073c7 · oklch(0.55 0.156 250)
is
feedback.info
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.

variable#194c45is primaries.d308.2AAA
property#007468is primaries.m104.8AA
string#2b8c7fis primaries.m203.4Large
constant#13403ais primaries.d209.8AAA
module#194c45is primaries.d308.2AAA
boolean#007468is primaries.m104.8AA
number#00564dis primaries.d407.3AAA
type#0d3530is primaries.d1011.3AAA
attribute#00982dis accents.a203.2Large
func#ee560cis accents.a103.0Low
constructor#ee560cis accents.a103.0Low
keyword#ee560cis accents.a103.0Low
operator#13403ais primaries.d209.8AAA
punctuation#00564dis primaries.d407.3AAA
comment#2b8c7fis primaries.m203.4Large
tag#00982dis accents.a203.2Large

Terminal

Gray is the terminal's dim text, the counterpart of comments.

black#00564dis primaries.d407.3AAA
gray#007468is primaries.m104.8AA
darkRed#d13a00from accents.a104.1Large
red#ee560cis accents.a103.0Low
darkYellow#be5800from accents.a303.9Large
yellow#d97100is accents.a302.8Low
darkGreen#007f0afrom accents.a204.4Large
green#00982dis accents.a203.2Large
darkCyan#00806cfrom accents.a404.1Large
cyan#009983is accents.a403.0Large
darkBlue#31669a5.1AA
blue#497eb33.6Large
darkMagenta#8a4f5d5.3AA
magenta#a366743.8Large
lightGray#80cfc2is primaries.m401.5Low
white#abd5cdis primaries.l101.4Low