Minium · dark

Sienna Dark

Definition ↗
Collection
Minium
4 themes
Appearance
dark
also in light
Status
release
in the catalog
Contrast
98%
11 AAA · 32 AA · 13 large · 1 low
Accent
#ef9369
a10

black-atom-minium-sienna-dark · black-atom.industries/black-atom/themes/minium-sienna-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-sienna-dark
✓ ghostty ✓ tmux ✓ nvim ! zed not running
error obsidian: vault not found
info 4 of 5 tools on Sienna 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
1:zsh2:nvim3:lazygit

Primaries

d10 · #26201fd20 · #2e2726d30 · #3a3333d40 · #4a4342m10 · #5b5352m20 · #69615fm30 · #857f7am40 · #a39d98l10 · #b9afa4l20 · #c4b9aal30 · #d9ccbal40 · #f7e9d6

Palette

black · #4a4342is primaries.d40
gray · #857f7ais primaries.m30
darkRed · #caa594is accents.a20
red · #ef9369is accents.a10
darkGreen · #799a79
green · #97b997
darkYellow · #a5896ffrom accents.a30
yellow · #c5a88dis accents.a30
darkBlue · #7992adfrom accents.a40
blue · #97b1cdis accents.a40
darkMagenta · #a9829b
magenta · #c9a0ba
darkCyan · #619b9e
cyan · #80babd
lightGray · #a39d98is primaries.m40
white · #c4b9aais primaries.l20

Accents

a10 · #ef9369a20 · #caa594a30 · #c5a88da40 · #97b1cd

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.default
Default background
value
#2e2726 · oklch(0.28 0.011 27)
is
primaries.d20
bg.panel
Sidebars and the status line
value
#26201f · oklch(0.25 0.009 29)
is
primaries.d10
bg.float
Floating windows and popups
value
#26201f · oklch(0.25 0.009 29)
is
primaries.d10
bg.active
Active elements such as the cursor line or the active tab
value
#3a3333 · oklch(0.33 0.010 18)
is
primaries.d30
bg.disabled
Disabled interactive elements
value
#4a4342 · oklch(0.39 0.010 27)
is
primaries.d40
bg.hover
Hover state of interactive elements
value
#3a3333 · oklch(0.33 0.010 18)
is
primaries.d30
bg.selection
Visual selection
value
#4a4342 · oklch(0.39 0.010 27)
is
primaries.d40
bg.search
Search matches
value
#4a4342 · oklch(0.39 0.010 27)
is
primaries.d40
bg.contrast
Inverted background
value
#b9afa4 · oklch(0.76 0.019 70)
is
primaries.l10
bg.negative
Errors
value
#5c3c3c · oklch(0.39 0.045 19)
from
primaries.d10 + feedback.negative
bg.info
Information
value
#3b4a50 · oklch(0.40 0.022 224)
from
primaries.d10 + feedback.info
bg.hint
Hints
value
#52493a · oklch(0.41 0.027 80)
from
primaries.d10 + feedback.warning
bg.warn
Warnings
value
#52493a · oklch(0.41 0.027 80)
from
primaries.d10 + feedback.warning
bg.positive
Success
value
#474b3b · oklch(0.40 0.026 119)
from
primaries.d10 + feedback.success
bg.add
Added lines
value
#383d29 · oklch(0.35 0.034 120)
from
primaries.d20 + feedback.success
bg.delete
Deleted lines
value
#4b3333 · oklch(0.35 0.035 19)
from
primaries.d20 + feedback.negative
bg.modify
Modified lines
value
#263f48 · oklch(0.35 0.035 223)
from
primaries.d20 + feedback.info

UI foregrounds

fg.default9.3AAA
Default text
value
#d9ccba · oklch(0.85 0.028 76)
is
primaries.l30
fg.subtle3.7Large
Secondary text such as line numbers
value
#857f7a · oklch(0.60 0.010 62)
is
primaries.m30
fg.accent6.3AA
Links and text that needs to stand out
value
#ef9369 · oklch(0.75 0.125 45)
is
accents.a10
fg.disabled2.4Low
Disabled text
value
#69615f · oklch(0.50 0.011 34)
is
primaries.m20
fg.contrast6.8AA
Text on inverted backgrounds
value
#2e2726 · oklch(0.28 0.011 27)
is
primaries.d20
fg.negative3.7Large
Error text
value
#f47a7d · oklch(0.72 0.150 20)
is
feedback.negative
fg.warn4.4Large
Warning text
value
#d6b174 · oklch(0.78 0.090 79)
is
feedback.warning
fg.info4.1Large
Information text
value
#79b5cc · oklch(0.74 0.070 224)
is
feedback.info
fg.hint4.4Large
Hint text
value
#d6b174 · oklch(0.78 0.090 79)
is
feedback.warning
fg.positive4.3Large
Success text
value
#a9ba78 · oklch(0.76 0.090 120)
is
feedback.success
fg.add5.3AA
Added marks
value
#a9ba78 · oklch(0.76 0.090 120)
is
feedback.success
fg.delete4.4Large
Deleted marks
value
#f47a7d · oklch(0.72 0.150 20)
is
feedback.negative
fg.modify4.9AA
Modified marks
value
#79b5cc · oklch(0.74 0.070 224)
is
feedback.info
fg.border2.0Line
Idle borders, separators and guide lines
value
#5b5352 · oklch(0.45 0.011 26)
is
primaries.m10

Syntax

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

variable#c4b9aais primaries.l207.6AAA
property#caa594is accents.a206.5AA
string#97b1cdis accents.a406.6AA
constant#b9afa4is primaries.l106.8AA
module#c4b9aais primaries.l207.6AAA
boolean#97b1cdis accents.a406.6AA
number#97b1cdis accents.a406.6AA
type#d9ccbais primaries.l309.3AAA
attribute#caa594is accents.a206.5AA
func#ef9369is accents.a106.3AA
constructor#ef9369is accents.a106.3AA
keyword#ef9369is accents.a106.3AA
operator#d9ccbais primaries.l309.3AAA
punctuation#b9afa4is primaries.l106.8AA
comment#857f7ais primaries.m303.7Large
tag#97b1cdis accents.a406.6AA

Terminal

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

black#4a4342is primaries.d401.5Low
gray#857f7ais primaries.m303.7Large
darkRed#caa594is accents.a206.5AA
red#ef9369is accents.a106.3AA
darkYellow#a5896ffrom accents.a304.5Large
yellow#c5a88dis accents.a306.5AA
darkGreen#799a794.7AA
green#97b9976.8AA
darkCyan#619b9e4.7AA
cyan#80babd6.7AA
darkBlue#7992adfrom accents.a404.6AA
blue#97b1cdis accents.a406.6AA
darkMagenta#a9829b4.4Large
magenta#c9a0ba6.4AA
lightGray#a39d98is primaries.m405.5AA
white#c4b9aais primaries.l207.6AAA