TERRA · dark
Summer Dark
- Collection
- TERRA
- 8 themes
- Appearance
- dark
- also in light
- Status
- release
- in the catalog
- Contrast
- 100%
- 32 AAA · 25 AA · 0 large · 0 low
- Accent
- #d8bd51
- a10
black-atom-terra-summer-dark · black-atom.industries/black-atom/themes/terra-summer-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-summer-dark
✓ ghostty ✓ tmux ✓ nvim ! zed not running
error obsidian: vault not found
info 4 of 5 tools on Summer 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 · #001113d20 · #001b1ad30 · #092520d40 · #2a433am10 · #2e503em20 · #4f6c54m30 · #71886cm40 · #94a585l10 · #baad8al20 · #cdbc9al30 · #dfcbaal40 · #f9e1c0
Palette
black · #2a433ais primaries.d40
gray · #71886cis primaries.m30
darkRed · #c88b94
red · #c88f7b
darkGreen · #69a45c
green · #8cbf70
darkYellow · #e99e5eis accents.a20
yellow · #d8bd51is accents.a10
darkBlue · #65a281
blue · #80be9d
darkMagenta · #b87ca4
magenta · #dc96b1
darkCyan · #4ba39c
cyan · #6dc3b8
lightGray · #baad8ais primaries.l10
white · #dfcbaais primaries.l30
Accents
a10 · #d8bd51a20 · #e99e5e
Feedback
negative · #c88f7bis palette.redsuccess · #8cbf70is palette.greeninfo · #80be9dis palette.bluewarning · #d8bd51is 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
- #092520 · oklch(0.24 0.035 179)
- is
- primaries.d30
UI foregrounds
fg.subtle6.8AA
Secondary text such as line numbers- value
- #94a585 · oklch(0.70 0.049 130)
- is
- primaries.m40
fg.accent9.7AAA
Links and text that needs to stand out- value
- #d8bd51 · oklch(0.80 0.130 95)
- is
- accents.a10
fg.warn5.9AA
Warning text- value
- #d8bd51 · oklch(0.80 0.130 95)
- is
- feedback.warning = palette.yellow = accents.a10
fg.border2.0Line
Idle borders, separators and guide lines- value
- #2e503e · oklch(0.40 0.050 160)
- is
- primaries.m10
Syntax
Comments are dim on purpose, so they sit lower than the rest of the code.
variable8.3AAA
property6.0AA
constant8.1AAA
module6.0AA
string8.4AAA
boolean6.0AA
number6.0AA
type8.7AAA
attribute8.7AAA
func9.7AAA
constructor9.7AAA
operator8.1AAA
keyword7.7AAA
punctuation8.1AAA
comment4.6AA
tag9.7AAA
Terminal
Gray is the terminal's dim text, the counterpart of comments.
darkRed6.5AA
red6.5AA
darkGreen6.0AA
green8.4AAA
darkYellow8.1AAA
yellow9.7AAA
darkBlue6.0AA
blue8.3AAA
darkMagenta5.5AA
magenta7.7AAA
darkCyan6.0AA
cyan8.7AAA
black1.7Low
gray4.6AA
lightGray8.1AAA
white11.3AAA
··
Files
Generated for Summer 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 |