Try the revised palette (teal, green, amber, ink)

The suggested grid as the theme defaults, light and dark, with
PALETTE, the accents (olive becomes amber), the backdrop shades
and every literal from the old grid mapped over. Every text pair
passes the admin's 4.5:1 check; the hero's filled button is amber.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Zaldimmar 2026-09-30 16:51:14 -05:00
parent a2465f9359
commit 79f1d09eef
21 changed files with 116 additions and 116 deletions

View file

@ -3,11 +3,11 @@
(PageBackdrop.tsx places them)
Flat fills only: no blur, no gradient, no glow. Light mode uses
the palette's four palest shades at 60%, dark mode its dark
shades (two deepened a step) at 30% over the ink background.
Every text token reads at 4.5:1 or better on each shade even at
full strength, so however many circles overlap, text stays
readable (the lowest, 4.66:1, is the danger red on #004552).
the palette's lightest teal, green and amber at 60%, dark mode
their darkest at 30% over the ink background. Every text token
reads at 4.5:1 or better on each shade even at full strength, so
however many circles overlap, text stays readable (the lowest is
4.62:1, the link teal on the light green).
═══════════════════════════════════════════════════════════════ */
.page-backdrop {
@ -18,10 +18,10 @@
pointer-events: none;
--pb-opacity: 0.6;
--pb-0: #c2f6ff;
--pb-1: #dfebd6;
--pb-2: #c2ffd6;
--pb-3: #c2fbff;
--pb-0: #d6f5fa;
--pb-1: #e6f0dd;
--pb-2: #fdf1d6;
--pb-3: #d6f5fa;
}
/* A circle's place: across by its left, down its layer's whole
@ -71,18 +71,18 @@
toggle's choice, or the system's when there is none. */
:root[data-theme="dark"] .page-backdrop {
--pb-opacity: 0.3;
--pb-0: #004552;
--pb-1: #27371b;
--pb-2: #003f45; /* #004c52 deepened */
--pb-3: #00441a; /* #00521b deepened */
--pb-0: #003a45;
--pb-1: #23361a;
--pb-2: #4a2e00;
--pb-3: #003a45;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) .page-backdrop {
--pb-opacity: 0.3;
--pb-0: #004552;
--pb-1: #27371b;
--pb-2: #003f45; /* #004c52 deepened */
--pb-3: #00441a; /* #00521b deepened */
--pb-0: #003a45;
--pb-1: #23361a;
--pb-2: #4a2e00;
--pb-3: #003a45;
}
}