Minium · light

Sienna Light

Definition ↗
Collection
Minium
4 themes
Appearance
light
also in dark
Status
release
in the catalog
Contrast
89%
12 AAA · 13 AA · 26 large · 6 low
Accent
#ff7b26
a10

black-atom-minium-sienna-light · black-atom.industries/black-atom/themes/minium-sienna-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-sienna-light
✓ ghostty ✓ tmux ✓ nvim ! zed not running
error obsidian: vault not found
info 4 of 5 tools on Sienna 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 · #302d2ed20 · #3d393ad30 · #4a4747d40 · #585455m10 · #676261m20 · #847f7em30 · #a49c9am40 · #c4bcb9l10 · #d2c9c1l20 · #dfd6cdl30 · #ece3dal40 · #f9f0e8

Palette

black · #585455is primaries.d40
gray · #676261is primaries.m10
darkRed · #4a352bis accents.a20
red · #b34f2a
darkGreen · #3c673e
green · #537e54
darkYellow · #473727is accents.a30
yellow · #a97416
darkBlue · #2266a4from accents.a40
blue · #3c7ebeis accents.a40
darkMagenta · #794869
magenta · #915f80
darkCyan · #00686d
cyan · #298084
lightGray · #c4bcb9is primaries.m40
white · #d2c9c1is primaries.l10

Accents

a10 · #ff7b26a20 · #4a352ba30 · #473727a40 · #3c7ebe

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
#ece3da · oklch(0.92 0.016 68)
is
primaries.l30
bg.panel
Sidebars and the status line
value
#dfd6cd · oklch(0.88 0.016 68)
is
primaries.l20
bg.float
Floating windows and popups
value
#dfd6cd · oklch(0.88 0.016 68)
is
primaries.l20
bg.active
Active elements such as the cursor line or the active tab
value
#f9f0e8 · oklch(0.96 0.014 64)
is
primaries.l40
bg.disabled
Disabled interactive elements
value
#d2c9c1 · oklch(0.84 0.015 64)
is
primaries.l10
bg.hover
Hover state of interactive elements
value
#dfd6cd · oklch(0.88 0.016 68)
is
primaries.l20
bg.selection
Visual selection
value
#d2c9c1 · oklch(0.84 0.015 64)
is
primaries.l10
bg.search
Search matches
value
#d2c9c1 · oklch(0.84 0.015 64)
is
primaries.l10
bg.contrast
Inverted background
value
#585455 · oklch(0.45 0.005 0)
is
primaries.d40
bg.negative
Errors
value
#f5d6d2 · oklch(0.90 0.035 27)
from
primaries.l40 + feedback.negative
bg.info
Information
value
#d3dfed · oklch(0.90 0.023 252)
from
primaries.l40 + feedback.info
bg.hint
Hints
value
#ebdad2 · oklch(0.90 0.022 47)
from
primaries.l40 + feedback.warning
bg.warn
Warnings
value
#ebdad2 · oklch(0.90 0.022 47)
from
primaries.l40 + feedback.warning
bg.positive
Success
value
#dbe1d2 · oklch(0.90 0.021 125)
from
primaries.l40 + feedback.success
bg.add
Added lines
value
#d3dcc3 · oklch(0.88 0.035 123)
from
primaries.l30 + feedback.success
bg.delete
Deleted lines
value
#eecfcb · oklch(0.88 0.035 27)
from
primaries.l30 + feedback.negative
bg.modify
Modified lines
value
#c7daee · oklch(0.88 0.034 250)
from
primaries.l30 + feedback.info

UI foregrounds

fg.default9.0AAA
Default text
value
#3d393a · oklch(0.35 0.006 0)
is
primaries.d20
fg.subtle4.7AA
Secondary text such as line numbers
value
#676261 · oklch(0.50 0.007 31)
is
primaries.m10
fg.accent2.0Low
Links and text that needs to stand out
value
#ff7b26 · oklch(0.73 0.184 48)
is
accents.a10
fg.disabled2.1Low
Disabled text
value
#a49c9a · oklch(0.70 0.010 34)
is
primaries.m30
fg.contrast5.2AA
Text on inverted backgrounds
value
#dfd6cd · oklch(0.88 0.016 68)
is
primaries.l20
fg.negative3.8Large
Error text
value
#db0017 · oklch(0.56 0.229 27)
is
feedback.negative
fg.warn3.7Large
Warning text
value
#b65300 · oklch(0.56 0.149 49)
is
feedback.warning
fg.info3.6Large
Information text
value
#0073c7 · oklch(0.55 0.156 250)
is
feedback.info
fg.hint3.7Large
Hint text
value
#b65300 · oklch(0.56 0.149 49)
is
feedback.warning
fg.positive3.4Large
Success text
value
#638000 · oklch(0.56 0.138 124)
is
feedback.success
fg.add3.2Large
Added marks
value
#638000 · oklch(0.56 0.138 124)
is
feedback.success
fg.delete3.6Large
Deleted marks
value
#db0017 · oklch(0.56 0.229 27)
is
feedback.negative
fg.modify3.4Large
Modified marks
value
#0073c7 · oklch(0.55 0.156 250)
is
feedback.info
fg.border2.1Line
Idle borders, separators and guide lines
value
#a49c9a · oklch(0.70 0.010 34)
is
primaries.m30

Syntax

Comments are dim on purpose, so they sit lower than the rest of the code.

variable#4a4747is primaries.d307.3AAA
property#676261is primaries.m104.7AA
string#3c7ebeis accents.a403.4Large
constant#3d393ais primaries.d209.0AAA
module#4a4747is primaries.d307.3AAA
boolean#3c7ebeis accents.a403.4Large
number#3c7ebeis accents.a403.4Large
type#585455is primaries.d405.9AA
attribute#4a352bis accents.a209.0AAA
func#ff7b26is accents.a102.0Low
constructor#ff7b26is accents.a102.0Low
keyword#676261is primaries.m104.7AA
operator#3d393ais primaries.d209.0AAA
punctuation#585455is primaries.d405.9AA
comment#847f7eis primaries.m203.1Large
tag#3c7ebeis accents.a403.4Large

Terminal

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

black#585455is primaries.d405.9AA
gray#676261is primaries.m104.7AA
darkRed#4a352bis accents.a209.0AAA
red#b34f2a4.1Large
darkYellow#473727is accents.a309.0AAA
yellow#a974163.2Large
darkGreen#3c673e5.2AA
green#537e543.7Large
darkCyan#00686d5.2AA
cyan#2980843.7Large
darkBlue#2266a4from accents.a404.7AA
blue#3c7ebeis accents.a403.4Large
darkMagenta#7948695.6AA
magenta#915f804.0Large
lightGray#c4bcb9is primaries.m401.5Low
white#d2c9c1is primaries.l101.3Low