Files
Nomarchy/themes/kanagawa.json
Bernardo Magri 47c8b6f997
All checks were successful
Check / eval (push) Successful in 3m0s
fix(themes): P1 palette retunes from the design audit + gated subtext floor (item 28b)
The audit's P1s, fixed at the palette level (items 25/27 previously
patched the consumers around these):
- summer-day: surface was the TEXT color (slate #5c6a72 on cream) and
  subtext was the BASE (ratio 1.0, invisible) — now a raised cream
  surface #efe7d0 and a slate-teal subtext #6e828a in the theme's
  family.
- flexoki-light: surface/overlay/muted were all the text black and
  subtext the paper — retuned to canonical upstream Flexoki tones
  (ui #E6E4D9, #B7B5AC, tx-2 #6F6E69, base-500 #878580).
- miasma: pure-black surface under a #222 base → raised #2e2e2e.
- kanagawa: surface was sumiInk0 (darker than the bg) → upstream's
  raised sumiInk4 #2a2a37.
check-theme-contrast.py gains the adopted rule: subtext on base >= 3.0
(all 21 themes pass), so the invisible-secondary-text class cannot
ship again. Model note in the backlog: `overlay` is a mid-tone role
(catppuccin semantics), not a third bg tier.

Verified: V0 + checks.theme-contrast green (21x3); re-audit shows all
four P1 findings gone; a scratch downstream with summer-day active
builds and the new surface hex lands in the rendered ghostty config.
Remains: V3 four-theme eyeball (HARDWARE-QUEUE) and 28b's P2 floors +
exemption list.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-05 18:55:44 +01:00

44 lines
735 B
JSON

{
"version": 1,
"name": "Kanagawa",
"slug": "kanagawa",
"mode": "dark",
"wallpaper": "",
"colors": {
"base": "#1f1f28",
"mantle": "#1a1a22",
"surface": "#2a2a37",
"overlay": "#727169",
"text": "#dcd7ba",
"subtext": "#c8c093",
"muted": "#727169",
"accent": "#7e9cd8",
"accentAlt": "#957fb8",
"good": "#76946a",
"warn": "#c0a36e",
"bad": "#c34043"
},
"border": {
"active": "text",
"inactive": "overlay"
},
"ansi": [
"#090618",
"#c34043",
"#76946a",
"#c0a36e",
"#7e9cd8",
"#957fb8",
"#6a9589",
"#c8c093",
"#727169",
"#e82424",
"#98bb6c",
"#e6c384",
"#7fb4ca",
"#938aa9",
"#7aa89f",
"#dcd7ba"
]
}