TERRA · light
Fall Light
- Collection
- TERRA
- 8 themes
- Appearance
- light
- also in dark
- Status
- release
- in the catalog
- Contrast
- 93%
- 9 AAA · 17 AA · 27 large · 4 low
- Accent
- #c96600
- a10
black-atom-terra-fall-light · black-atom.industries/black-atom/themes/terra-fall-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 terra-fall-light
✓ ghostty ✓ tmux ✓ nvim ! zed not running
error obsidian: vault not found
info 4 of 5 tools on Fall 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
Primaries
d10 · #280e01d20 · #422616d30 · #4f3222d40 · #694a39m10 · #815136m20 · #9b6a4fm30 · #b68367m40 · #d39e81l10 · #eec5a3l20 · #ffd5b3l30 · #ffddbbl40 · #ffe7bf
Palette
black · #694a39is primaries.d40
gray · #815136is primaries.m10
darkRed · #b8492e
red · #c45034
darkGreen · #495f2c
green · #566b38
darkYellow · #ce5d42is accents.a20
yellow · #c96600is accents.a10
darkBlue · #784d34
blue · #8c583b
darkMagenta · #654872
magenta · #826490
darkCyan · #577862
cyan · #63836d
lightGray · #d39e81is primaries.m40
white · #ffddbbis primaries.l30
Accents
a10 · #c96600a20 · #ce5d42
Feedback
negative · #c45034is palette.redsuccess · #566b38is palette.greeninfo · #8c583bis palette.bluewarning · #c96600is 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
- #eec5a3 · oklch(0.85 0.065 61)
- is
- primaries.l10
UI foregrounds
fg.accent3.0Large
Links and text that needs to stand out- value
- #c96600 · oklch(0.62 0.154 54)
- is
- accents.a10
fg.warn2.8Low
Warning text- value
- #c96600 · oklch(0.62 0.154 54)
- is
- feedback.warning = palette.yellow = accents.a10
fg.positive4.0Large
Success text- value
- #566b38 · oklch(0.50 0.079 127)
- is
- feedback.success = palette.green
fg.border1.9Line
Idle borders, separators and guide lines- value
- #b8a093 · oklch(0.72 0.034 50)
- from
- primaries.m10 + primaries.l30
Syntax
Comments are dim on purpose, so they sit lower than the rest of the code.
variable4.6AA
property5.6AA
string4.6AA
constant3.1Large
module5.6AA
boolean3.8Large
number3.8Large
type3.3Large
attribute3.3Large
func3.0Large
constructor3.0Large
keyword3.9Large
operator10.7AAA
punctuation5.2AA
comment5.2AA
tag3.0Large
Terminal
Gray is the terminal's dim text, the counterpart of comments.
darkRed4.0Large
red3.6Large
darkGreen5.5AA
green4.6AA
darkYellow3.1Large
yellow3.0Large
darkBlue5.6AA
blue4.6AA
darkMagenta6.0AA
magenta3.9Large
darkCyan3.8Large
cyan3.3Large
black6.2AA
gray5.2AA
lightGray1.8Low
white1.0Low
··
Files
Generated for Fall Light| 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 |