Mono · dark
Dimmed Dark
- Collection
- Mono
- 4 themes
- Appearance
- dark
- also in light
- Status
- release
- in the catalog
- Contrast
- 100%
- 39 AAA · 13 AA · 5 large · 0 low
- Accent
- #d2b5bd
- a10
black-atom-mono-dimmed-dark · black-atom.industries/black-atom/themes/mono-dimmed-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 mono-dimmed-dark
✓ ghostty ✓ tmux ✓ nvim ! zed not running
error obsidian: vault not found
info 4 of 5 tools on Dimmed 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 · #090909d20 · #161616d30 · #242424d40 · #2e2e2em10 · #5d5d5dm20 · #7a7a7am30 · #8c8c8cm40 · #a4a4a4l10 · #c4c4c4l20 · #d1d1d1l30 · #dededel40 · #ebebeb
Palette
black · #2e2e2eis primaries.d40
gray · #8c8c8cis primaries.m30
darkRed · #d4d4d4from primaries.m40
red · #ebebebfrom primaries.m40
darkGreen · #a7a7a7from primaries.m40
green · #bdbdbdfrom primaries.m40
darkYellow · #d4d4d4from primaries.m40
yellow · #ebebebfrom primaries.m40
darkBlue · #7d7d7dfrom primaries.m40
blue · #929292from primaries.m40
darkMagenta · #7d7d7dfrom primaries.m40
magenta · #929292from primaries.m40
darkCyan · #a7a7a7from primaries.m40
cyan · #bdbdbdfrom primaries.m40
lightGray · #a4a4a4is primaries.m40
white · #d1d1d1is primaries.l20
Accents
a10 · #d2b5bda20 · #bca8ad
Feedback
negative · #dd7577success · #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
- #242424 · oklch(0.26 0.000 0)
- is
- primaries.d30
UI foregrounds
fg.accent9.6AAA
Links and text that needs to stand out- value
- #d2b5bd · oklch(0.80 0.035 359)
- is
- accents.a10
fg.border2.7Line
Idle borders, separators and guide lines- value
- #5d5d5d · oklch(0.48 0.000 0)
- is
- primaries.m10
Syntax
Comments are dim on purpose, so they sit lower than the rest of the code.
variable11.9AAA
property8.1AAA
string11.9AAA
constant10.4AAA
module11.9AAA
boolean7.3AAA
number10.4AAA
type15.2AAA
attribute8.1AAA
func9.6AAA
constructor9.6AAA
keyword13.5AAA
operator13.5AAA
punctuation10.4AAA
comment5.4AA
tag9.6AAA
Terminal
Gray is the terminal's dim text, the counterpart of comments.
black1.3Low
gray5.4AA
darkRed12.2AAA
red15.2AAA
darkYellow12.2AAA
yellow15.2AAA
darkGreen7.5AAA
green9.6AAA
darkCyan7.5AAA
cyan9.6AAA
darkBlue4.4Large
blue5.8AA
darkMagenta4.4Large
magenta5.8AA
lightGray7.3AAA
white11.9AAA
··
Files
Generated for Dimmed 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 |