Mono · light

Dimmed Light

Definition ↗
Collection
Mono
4 themes
Appearance
light
also in dark
Status
release
in the catalog
Contrast
100%
20 AAA · 20 AA · 17 large · 0 low
Accent
#5f5155
a10

black-atom-mono-dimmed-light · black-atom.industries/black-atom/themes/mono-dimmed-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 mono-dimmed-light
✓ ghostty ✓ tmux ✓ nvim ! zed not running
error obsidian: vault not found
info 4 of 5 tools on Dimmed 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 · #161616d20 · #292929d30 · #3d3d3dd40 · #4d4d4dm10 · #525252m20 · #5d5d5dm30 · #696969m40 · #747474l10 · #c4c4c4l20 · #d1d1d1l30 · #dededel40 · #ebebeb

Palette

black · #4d4d4dis primaries.d40
gray · #525252is primaries.m10
darkRed · #505050from primaries.m10
red · #636363from primaries.m10
darkGreen · #2b2b2bfrom primaries.m10
green · #3d3d3dfrom primaries.m10
darkYellow · #505050from primaries.m10
yellow · #636363from primaries.m10
darkBlue · #0b0b0bfrom primaries.m10
blue · #1a1a1afrom primaries.m10
darkMagenta · #0b0b0bfrom primaries.m10
magenta · #1a1a1afrom primaries.m10
darkCyan · #2b2b2bfrom primaries.m10
cyan · #3d3d3dfrom primaries.m10
lightGray · #747474is primaries.m40
white · #c4c4c4is primaries.l10

Accents

a10 · #5f5155a20 · #776f71

Feedback

negative · #c21725success · #5d7600info · #0079bdwarning · #af5f00
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
#dedede · oklch(0.90 0.000 0)
is
primaries.l30
bg.panel
Sidebars and the status line
value
#d1d1d1 · oklch(0.86 0.000 0)
is
primaries.l20
bg.float
Floating windows and popups
value
#d1d1d1 · oklch(0.86 0.000 0)
is
primaries.l20
bg.active
Active elements such as the cursor line or the active tab
value
#d1d1d1 · oklch(0.86 0.000 0)
from
primaries.l30
bg.disabled
Disabled interactive elements
value
#c4c4c4 · oklch(0.82 0.000 0)
is
primaries.l10
bg.hover
Hover state of interactive elements
value
#d1d1d1 · oklch(0.86 0.000 0)
is
primaries.l20
bg.selection
Visual selection
value
#c4c4c4 · oklch(0.82 0.000 0)
is
primaries.l10
bg.search
Search matches
value
#c4c4c4 · oklch(0.82 0.000 0)
is
primaries.l10
bg.contrast
Inverted background
value
#4d4d4d · oklch(0.42 0.000 0)
is
primaries.d40
bg.negative
Errors
value
#eacfcd · oklch(0.88 0.030 23)
from
primaries.l40 + feedback.negative
bg.info
Information
value
#cddae5 · oklch(0.88 0.021 243)
from
primaries.l40 + feedback.info
bg.hint
Hints
value
#e3d6cc · oklch(0.88 0.020 60)
from
primaries.l40 + feedback.warning
bg.warn
Warnings
value
#e3d6cc · oklch(0.88 0.020 60)
from
primaries.l40 + feedback.warning
bg.positive
Success
value
#d4d9cb · oklch(0.88 0.020 123)
from
primaries.l40 + feedback.success
bg.add
Added lines
value
#cdd5bc · oklch(0.86 0.035 122)
from
primaries.l30 + feedback.success
bg.delete
Deleted lines
value
#e8c9c6 · oklch(0.86 0.035 24)
from
primaries.l30 + feedback.negative
bg.modify
Modified lines
value
#bfd4e7 · oklch(0.86 0.035 246)
from
primaries.l30 + feedback.info

UI foregrounds

fg.default10.8AAA
Default text
value
#292929 · oklch(0.28 0.000 0)
is
primaries.d20
fg.subtle5.8AA
Secondary text such as line numbers
value
#525252 · oklch(0.44 0.000 0)
is
primaries.m10
fg.accent5.6AA
Links and text that needs to stand out
value
#5f5155 · oklch(0.45 0.020 359)
is
accents.a10
fg.disabled4.1Large
Disabled text
value
#696969 · oklch(0.52 0.000 0)
is
primaries.m30
fg.contrast5.5AA
Text on inverted backgrounds
value
#d1d1d1 · oklch(0.86 0.000 0)
is
primaries.l20
fg.negative4.2Large
Error text
value
#c21725 · oklch(0.52 0.200 25)
is
feedback.negative
fg.warn3.3Large
Warning text
value
#af5f00 · oklch(0.57 0.135 59)
is
feedback.warning
fg.info3.3Large
Information text
value
#0079bd · oklch(0.56 0.138 244)
is
feedback.info
fg.hint3.3Large
Hint text
value
#af5f00 · oklch(0.57 0.135 59)
is
feedback.warning
fg.positive3.6Large
Success text
value
#5d7600 · oklch(0.53 0.129 123)
is
feedback.success
fg.add3.4Large
Added marks
value
#5d7600 · oklch(0.53 0.129 123)
is
feedback.success
fg.delete4.0Large
Deleted marks
value
#c21725 · oklch(0.52 0.200 25)
is
feedback.negative
fg.modify3.1Large
Modified marks
value
#0079bd · oklch(0.56 0.138 244)
is
feedback.info
fg.border2.2Line
Idle borders, separators and guide lines
value
#969696 · oklch(0.67 0.000 0)
from
primaries.m30 + primaries.l30

Syntax

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

variable#3d3d3dis primaries.d308.1AAA
property#525252is primaries.m105.8AA
string#5d5d5dis primaries.m204.9AA
constant#292929is primaries.d2010.8AAA
module#3d3d3dis primaries.d308.1AAA
boolean#525252is primaries.m105.8AA
number#4d4d4dis primaries.d406.3AA
type#161616is primaries.d1013.5AAA
attribute#776f71is accents.a203.6Large
func#5f5155is accents.a105.6AA
constructor#5f5155is accents.a105.6AA
keyword#5f5155is accents.a105.6AA
operator#292929is primaries.d2010.8AAA
punctuation#4d4d4dis primaries.d406.3AA
comment#5d5d5dis primaries.m204.9AA
tag#776f71is accents.a203.6Large

Terminal

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

black#4d4d4dis primaries.d406.3AA
gray#525252is primaries.m105.8AA
darkRed#505050from primaries.m106.0AA
red#636363from primaries.m104.5Large
darkYellow#505050from primaries.m106.0AA
yellow#636363from primaries.m104.5Large
darkGreen#2b2b2bfrom primaries.m1010.5AAA
green#3d3d3dfrom primaries.m108.1AAA
darkCyan#2b2b2bfrom primaries.m1010.5AAA
cyan#3d3d3dfrom primaries.m108.1AAA
darkBlue#0b0b0bfrom primaries.m1014.6AAA
blue#1a1a1afrom primaries.m1012.9AAA
darkMagenta#0b0b0bfrom primaries.m1014.6AAA
magenta#1a1a1afrom primaries.m1012.9AAA
lightGray#747474is primaries.m403.5Large
white#c4c4c4is primaries.l101.3Low