Minium · dark
Sienna Dark
- 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
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.active
Active elements such as the cursor line or the active tab- value
- #3a3333 · oklch(0.33 0.010 18)
- is
- primaries.d30
UI foregrounds
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.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.
variable7.6AAA
property6.5AA
string6.6AA
constant6.8AA
module7.6AAA
boolean6.6AA
number6.6AA
type9.3AAA
attribute6.5AA
func6.3AA
constructor6.3AA
keyword6.3AA
operator9.3AAA
punctuation6.8AA
comment3.7Large
tag6.6AA
Terminal
Gray is the terminal's dim text, the counterpart of comments.
black1.5Low
gray3.7Large
darkRed6.5AA
red6.3AA
darkYellow4.5Large
yellow6.5AA
darkGreen4.7AA
green6.8AA
darkCyan4.7AA
cyan6.7AA
darkBlue4.6AA
blue6.6AA
darkMagenta4.4Large
magenta6.4AA
lightGray5.5AA
white7.6AAA
··
Files
Generated for Sienna 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 |