Mono · dark

Dimmed Dark

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

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.default
Default background
value
#161616 · oklch(0.20 0.000 0)
is
primaries.d20
bg.panel
Sidebars and the status line
value
#090909 · oklch(0.14 0.000 0)
is
primaries.d10
bg.float
Floating windows and popups
value
#090909 · oklch(0.14 0.000 0)
is
primaries.d10
bg.active
Active elements such as the cursor line or the active tab
value
#242424 · oklch(0.26 0.000 0)
is
primaries.d30
bg.disabled
Disabled interactive elements
value
#2e2e2e · oklch(0.30 0.000 0)
is
primaries.d40
bg.hover
Hover state of interactive elements
value
#242424 · oklch(0.26 0.000 0)
is
primaries.d30
bg.selection
Visual selection
value
#2e2e2e · oklch(0.30 0.000 0)
is
primaries.d40
bg.search
Search matches
value
#2e2e2e · oklch(0.30 0.000 0)
is
primaries.d40
bg.contrast
Inverted background
value
#c4c4c4 · oklch(0.82 0.000 0)
is
primaries.l10
bg.negative
Errors
value
#543131 · oklch(0.36 0.051 20)
from
primaries.d10 + feedback.negative
bg.info
Information
value
#32464e · oklch(0.38 0.029 225)
from
primaries.d10 + feedback.info
bg.hint
Hints
value
#514530 · oklch(0.40 0.037 81)
from
primaries.d10 + feedback.warning
bg.warn
Warnings
value
#514530 · oklch(0.40 0.037 81)
from
primaries.d10 + feedback.warning
bg.positive
Success
value
#424832 · oklch(0.39 0.036 120)
from
primaries.d10 + feedback.success
bg.add
Added lines
value
#242915 · oklch(0.27 0.035 120)
from
primaries.d20 + feedback.success
bg.delete
Deleted lines
value
#361f1f · oklch(0.27 0.036 20)
from
primaries.d20 + feedback.negative
bg.modify
Modified lines
value
#112a33 · oklch(0.27 0.035 224)
from
primaries.d20 + feedback.info

UI foregrounds

fg.default13.5AAA
Default text
value
#dedede · oklch(0.90 0.000 0)
is
primaries.l30
fg.subtle5.4AA
Secondary text such as line numbers
value
#8c8c8c · oklch(0.64 0.000 0)
is
primaries.m30
fg.accent9.6AAA
Links and text that needs to stand out
value
#d2b5bd · oklch(0.80 0.035 359)
is
accents.a10
fg.disabled4.2Large
Disabled text
value
#7a7a7a · oklch(0.58 0.000 0)
is
primaries.m20
fg.contrast10.4AAA
Text on inverted backgrounds
value
#161616 · oklch(0.20 0.000 0)
is
primaries.d20
fg.negative3.7Large
Error text
value
#dd7577 · oklch(0.68 0.130 20)
is
feedback.negative
fg.warn4.6AA
Warning text
value
#d6b174 · oklch(0.78 0.090 79)
is
feedback.warning
fg.info4.4Large
Information text
value
#79b5cc · oklch(0.74 0.070 224)
is
feedback.info
fg.hint4.6AA
Hint text
value
#d6b174 · oklch(0.78 0.090 79)
is
feedback.warning
fg.positive4.5AA
Success text
value
#a9ba78 · oklch(0.76 0.090 120)
is
feedback.success
fg.add7.1AAA
Added marks
value
#a9ba78 · oklch(0.76 0.090 120)
is
feedback.success
fg.delete5.0AA
Deleted marks
value
#dd7577 · oklch(0.68 0.130 20)
is
feedback.negative
fg.modify6.6AA
Modified marks
value
#79b5cc · oklch(0.74 0.070 224)
is
feedback.info
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.

variable#d1d1d1is primaries.l2011.9AAA
property#bca8adis accents.a208.1AAA
string#d1d1d1is primaries.l2011.9AAA
constant#c4c4c4is primaries.l1010.4AAA
module#d1d1d1is primaries.l2011.9AAA
boolean#a4a4a4is primaries.m407.3AAA
number#c4c4c4is primaries.l1010.4AAA
type#ebebebis primaries.l4015.2AAA
attribute#bca8adis accents.a208.1AAA
func#d2b5bdis accents.a109.6AAA
constructor#d2b5bdis accents.a109.6AAA
keyword#dededeis primaries.l3013.5AAA
operator#dededeis primaries.l3013.5AAA
punctuation#c4c4c4is primaries.l1010.4AAA
comment#8c8c8cis primaries.m305.4AA
tag#d2b5bdis accents.a109.6AAA

Terminal

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

black#2e2e2eis primaries.d401.3Low
gray#8c8c8cis primaries.m305.4AA
darkRed#d4d4d4from primaries.m4012.2AAA
red#ebebebfrom primaries.m4015.2AAA
darkYellow#d4d4d4from primaries.m4012.2AAA
yellow#ebebebfrom primaries.m4015.2AAA
darkGreen#a7a7a7from primaries.m407.5AAA
green#bdbdbdfrom primaries.m409.6AAA
darkCyan#a7a7a7from primaries.m407.5AAA
cyan#bdbdbdfrom primaries.m409.6AAA
darkBlue#7d7d7dfrom primaries.m404.4Large
blue#929292from primaries.m405.8AA
darkMagenta#7d7d7dfrom primaries.m404.4Large
magenta#929292from primaries.m405.8AA
lightGray#a4a4a4is primaries.m407.3AAA
white#d1d1d1is primaries.l2011.9AAA