TERRA · light
Summer Light
- Collection
- TERRA
- 8 themes
- Appearance
- light
- also in dark
- Status
- release
- in the catalog
- Contrast
- 77%
- 15 AAA · 8 AA · 21 large · 13 low
- Accent
- #c67b36
- a10
black-atom-terra-summer-light · black-atom.industries/black-atom/themes/terra-summer-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-summer-light
✓ ghostty ✓ tmux ✓ nvim ! zed not running
error obsidian: vault not found
info 4 of 5 tools on Summer 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 · #001908d20 · #00280fd30 · #093e1bd40 · #245427m10 · #26541cm20 · #506e2cm30 · #798940m40 · #a2a457l10 · #e4dec8l20 · #eee4cfl30 · #f7e9d6l40 · #ffeedd
Palette
black · #245427is primaries.d40
gray · #26541cis primaries.m10
darkRed · #904754
red · #a75235
darkGreen · #3d6900is accents.a20
green · #5f7400
darkYellow · #c6731a
yellow · #998811
darkBlue · #296a3b
blue · #387848
darkMagenta · #9e6c99
magenta · #b87389
darkCyan · #1f8b75
cyan · #36967a
lightGray · #a2a457is primaries.m40
white · #f7e9d6is primaries.l30
Accents
a10 · #c67b36a20 · #3d6900
Feedback
negative · #a75235is palette.redsuccess · #5f7400is palette.greeninfo · #387848is palette.bluewarning · #c6731ais palette.darkYellow
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
- #e4dec8 · oklch(0.90 0.030 94)
- is
- primaries.l10
UI foregrounds
fg.subtle7.4AAA
Secondary text such as line numbers- value
- #26541c · oklch(0.40 0.100 140)
- is
- primaries.m10
fg.accent2.8Low
Links and text that needs to stand out- value
- #c67b36 · oklch(0.65 0.125 60)
- is
- accents.a10
fg.positive3.8Large
Success text- value
- #5f7400 · oklch(0.52 0.126 121)
- is
- feedback.success = palette.green
fg.border2.2Line
Idle borders, separators and guide lines- value
- #8fa58a · oklch(0.70 0.046 140)
- from
- primaries.m10 + primaries.l30
Syntax
Comments are dim on purpose, so they sit lower than the rest of the code.
variable4.5Large
property5.5AA
string4.4Large
constant3.0Low
module5.5AA
boolean3.5Large
number3.5Large
type3.0Large
attribute3.0Large
func3.0Low
constructor3.0Low
keyword3.0Large
operator13.4AAA
punctuation7.4AAA
comment7.4AAA
tag3.0Low
Terminal
Gray is the terminal's dim text, the counterpart of comments.
darkRed5.5AA
red4.5AA
darkGreen5.5AA
green4.4Large
darkYellow3.0Low
yellow3.0Low
darkBlue5.5AA
blue4.5Large
darkMagenta3.5Large
magenta3.0Large
darkCyan3.5Large
cyan3.0Large
black7.4AAA
gray7.4AAA
lightGray2.2Low
white1.0Low
··
Files
Generated for Summer 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 |