TERRA · light

Summer Light

Definition ↗
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
1:zsh2:nvim3:lazygit

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.default
Default background
value
#f7e9d6 · oklch(0.94 0.029 76)
is
primaries.l30
bg.panel
Sidebars and the status line
value
#eee4cf · oklch(0.92 0.030 86)
is
primaries.l20
bg.float
Floating windows and popups
value
#eee4cf · oklch(0.92 0.030 86)
is
primaries.l20
bg.active
Active elements such as the cursor line or the active tab
value
#e4dec8 · oklch(0.90 0.030 94)
is
primaries.l10
bg.disabled
Disabled interactive elements
value
#798940 · oklch(0.60 0.100 120)
is
primaries.m30
bg.hover
Hover state of interactive elements
value
#e4dec8 · oklch(0.90 0.030 94)
is
primaries.l10
bg.selection
Visual selection
value
#ffeedd · oklch(0.96 0.029 67)
is
primaries.l40
bg.search
Search matches
value
#ffeedd · oklch(0.96 0.029 67)
is
primaries.l40
bg.contrast
Inverted background
value
#00280f · oklch(0.24 0.064 152)
is
primaries.d20
bg.negative
Errors
value
#e8d9d4 · oklch(0.90 0.018 39)
from
primaries.l40 + feedback.negative
bg.warn
Warnings
value
#ecded4 · oklch(0.91 0.021 58)
from
primaries.l40 + feedback.warning
bg.info
Information
value
#d5ded6 · oklch(0.89 0.014 149)
from
primaries.l40 + feedback.info
bg.hint
Hints
value
#ecded4 · oklch(0.91 0.021 58)
from
primaries.l40 + palette.darkYellow
bg.positive
Success
value
#d9ded0 · oklch(0.89 0.020 123)
from
primaries.l40 + feedback.success
bg.add
Added lines
value
#dae2c9 · oklch(0.90 0.034 122)
from
primaries.l30 + feedback.success
bg.delete
Deleted lines
value
#f4d7cd · oklch(0.90 0.035 40)
from
primaries.l30 + feedback.negative
bg.modify
Modified lines
value
#cfe5d2 · oklch(0.90 0.035 149)
from
primaries.l30 + feedback.info

UI foregrounds

fg.default13.4AAA
Default text
value
#00280f · oklch(0.24 0.064 152)
is
primaries.d20
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.disabled4.9AA
Disabled text
value
#506e2c · oklch(0.50 0.100 130)
is
primaries.m20
fg.contrast13.4AAA
Text on inverted backgrounds
value
#f7e9d6 · oklch(0.94 0.029 76)
is
primaries.l30
fg.negative3.9Large
Error text
value
#a75235 · oklch(0.54 0.120 39)
is
feedback.negative = palette.red
fg.warn2.7Low
Warning text
value
#c6731a · oklch(0.63 0.140 60)
is
feedback.warning = palette.darkYellow
fg.info3.9Large
Information text
value
#387848 · oklch(0.52 0.100 150)
is
feedback.info = palette.blue
fg.hint2.7Low
Hint text
value
#c6731a · oklch(0.63 0.140 60)
is
palette.darkYellow
fg.positive3.8Large
Success text
value
#5f7400 · oklch(0.52 0.126 121)
is
feedback.success = palette.green
fg.add3.9Large
Added marks
value
#5f7400 · oklch(0.52 0.126 121)
is
feedback.success = palette.green
fg.delete4.0Large
Deleted marks
value
#a75235 · oklch(0.54 0.120 39)
is
feedback.negative = palette.red
fg.modify4.0Large
Modified marks
value
#387848 · oklch(0.52 0.100 150)
is
feedback.info = palette.blue
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.

variable#387848is palette.blue4.5Large
property#296a3bis palette.darkBlue5.5AA
string#5f7400is palette.green4.4Large
constant#c6731ais palette.darkYellow3.0Low
module#296a3bis palette.darkBlue5.5AA
boolean#1f8b75is palette.darkCyan3.5Large
number#1f8b75is palette.darkCyan3.5Large
type#36967ais palette.cyan3.0Large
attribute#36967ais palette.cyan3.0Large
func#998811is palette.yellow3.0Low
constructor#998811is palette.yellow3.0Low
keyword#b87389is palette.magenta3.0Large
operator#00280fis primaries.d2013.4AAA
punctuation#26541cis palette.gray = primaries.m107.4AAA
comment#26541cis palette.gray = primaries.m107.4AAA
tag#998811is palette.yellow3.0Low

Terminal

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

darkRed#9047545.5AA
red#a752354.5AA
darkGreen#3d6900is accents.a205.5AA
green#5f74004.4Large
darkYellow#c6731a3.0Low
yellow#9988113.0Low
darkBlue#296a3b5.5AA
blue#3878484.5Large
darkMagenta#9e6c993.5Large
magenta#b873893.0Large
darkCyan#1f8b753.5Large
cyan#36967a3.0Large
black#245427is primaries.d407.4AAA
gray#26541cis primaries.m107.4AAA
lightGray#a2a457is primaries.m402.2Low
white#f7e9d6is primaries.l301.0Low