TERRA · dark
Fall Dark
- Collection
- TERRA
- 8 themes
- Appearance
- dark
- also in light
- Status
- release
- in the catalog
- Contrast
- 100%
- 22 AAA · 31 AA · 4 large · 0 low
- Accent
- #ce903a
- a10
black-atom-terra-fall-dark · black-atom.industries/black-atom/themes/terra-fall-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 terra-fall-dark
✓ ghostty ✓ tmux ✓ nvim ! zed not running
error obsidian: vault not found
info 4 of 5 tools on Fall 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 · #20120cd20 · #241711d30 · #2e201ad40 · #392a23m10 · #86563bm20 · #a57357m30 · #a98774m40 · #c59174l10 · #c9a592l20 · #d9b5a2l30 · #eac5b1l40 · #f7d6c5
Palette
black · #392a23is primaries.d40
gray · #a98774is primaries.m30
darkRed · #cd6c5d
red · #f69181
darkGreen · #889776
green · #95a483
darkYellow · #dc8652is accents.a20
yellow · #ce903ais accents.a10
darkBlue · #c49a83
blue · #e2baa5
darkMagenta · #8c7895
magenta · #9e89a8
darkCyan · #92ac9a
cyan · #a4bfac
lightGray · #c9a592is primaries.l10
white · #eac5b1is primaries.l30
Accents
a10 · #ce903aa20 · #dc8652
Feedback
negative · #f69181is palette.redsuccess · #95a483is palette.greeninfo · #e2baa5is palette.bluewarning · #ce903ais palette.yellow = accents.a10
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
- #2e201a · oklch(0.26 0.024 44)
- is
- primaries.d30
UI foregrounds
fg.accent6.4AA
Links and text that needs to stand out- value
- #ce903a · oklch(0.70 0.125 72)
- is
- accents.a10
fg.warn4.2Large
Warning text- value
- #ce903a · oklch(0.70 0.125 72)
- is
- feedback.warning = palette.yellow = accents.a10
fg.positive4.2Large
Success text- value
- #95a483 · oklch(0.70 0.050 128)
- is
- feedback.success = palette.green
fg.border2.8Line
Idle borders, separators and guide lines- value
- #86563b · oklch(0.50 0.075 50)
- is
- primaries.m10
Syntax
Comments are dim on purpose, so they sit lower than the rest of the code.
variable9.8AAA
property6.9AA
constant6.3AA
module6.9AA
string6.6AA
boolean7.1AAA
number7.1AAA
type8.8AAA
attribute8.8AAA
func6.4AA
constructor6.4AA
operator7.7AAA
keyword5.5AA
punctuation7.7AAA
comment5.3AA
tag6.4AA
Terminal
Gray is the terminal's dim text, the counterpart of comments.
darkRed4.9AA
red7.7AAA
darkGreen5.6AA
green6.6AA
darkYellow6.3AA
yellow6.4AA
darkBlue6.9AA
blue9.8AAA
darkMagenta4.3Large
magenta5.5AA
darkCyan7.1AAA
cyan8.8AAA
black1.3Low
gray5.3AA
lightGray7.7AAA
white10.9AAA
··
Files
Generated for Fall 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 |