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

@ -25,7 +25,7 @@ import { accentText } from '../../lib/color.ts'
const MUTED = "var(--color-muted)";
const INK = "var(--color-body)";
const FALLBACK_COLOR = "#004c52";
const FALLBACK_COLOR = "#3b5456";
/* Wide enough for a logo beside two lines of text, narrow enough
that three fit on a laptop. The grid drops a column rather than

View file

@ -46,7 +46,7 @@ const CONTENT_MAX = "88rem";
const MUTED = "var(--color-muted)";
const RULE = "color-mix(in srgb, var(--color-muted) 25%, transparent)";
const INK = "var(--color-body)";
const FALLBACK_COLOR = "#004c52";
const FALLBACK_COLOR = "#3b5456";
/* organizations.color is nullable; an SVG fill left undefined paints
black, so an uncolored region takes the same fallback as a card. */

View file

@ -44,7 +44,7 @@ import { accentText } from '../../lib/color.ts'
const MUTED = "var(--color-muted)";
const RULE = "color-mix(in srgb, var(--color-muted) 25%, transparent)";
const INK = "var(--color-body)";
const FALLBACK_COLOR = "#004c52";
const FALLBACK_COLOR = "#3b5456";
/* ── Row button ───────────────────────────────────────────────
Deliberately a sibling of the summary button rather than inside

View file

@ -130,12 +130,12 @@ function Words({ hero, feature }: { hero: Hero; feature: HeroFeature }) {
</p>
) : feature === 'event' ? (
<p className="mb-6 inline-flex items-center gap-3 bg-white/10 px-4 py-1.5 text-sm font-semibold uppercase tracking-[0.2em] backdrop-blur">
<Star className="text-[#c2ffd6]" weight="fill" aria-hidden="true" />
<Star className="text-[#f0bd4f]" weight="fill" aria-hidden="true" />
Featured event
</p>
) : feature === 'video' ? (
<p className="mb-6 inline-flex items-center gap-3 bg-white/10 px-4 py-1.5 text-sm font-semibold uppercase tracking-[0.2em] backdrop-blur">
<Play className="text-[#c2ffd6]" weight="fill" aria-hidden="true" />
<Play className="text-[#f0bd4f]" weight="fill" aria-hidden="true" />
Featured video
{hero.video?.title && (
<span className="normal-case tracking-normal text-white/75">
@ -145,7 +145,7 @@ function Words({ hero, feature }: { hero: Hero; feature: HeroFeature }) {
</p>
) : (
hero.eyebrow && (
<p className="mb-6 inline-block border border-white/20 px-4 py-1.5 text-xs font-semibold uppercase tracking-[0.25em] text-[#c2ffd6]">
<p className="mb-6 inline-block border border-white/20 px-4 py-1.5 text-xs font-semibold uppercase tracking-[0.25em] text-[#f0bd4f]">
{hero.eyebrow}
</p>
)
@ -189,7 +189,7 @@ function Words({ hero, feature }: { hero: Hero; feature: HeroFeature }) {
One set: that one alone, in its own style. */
const SLANT = '1.75rem'
const PRIMARY_FILL = '#c2ffd6'
const PRIMARY_FILL = '#f0bd4f'
const PRIMARY_TEXT = '#001011'
const HALF = 'relative flex items-center gap-2 px-8 py-4 text-lg transition-colors duration-200 focus-visible:outline-offset-[-6px]'
@ -248,7 +248,7 @@ function HeroActions({ primary, secondary }: { primary: HeroLink; secondary: Her
/* ── Brand backdrop ──────────────────────────────────────────── */
const BRAND_FILL = '#004552'
const BRAND_FILL = '#003a45'
function BrandBackdrop() {
return (
@ -488,7 +488,7 @@ function EventPanel({ event }: { event: HeroEvent }) {
{event.title}
</Link>
</h2>
{event.theme && <p className="mt-1 text-lg font-semibold text-[#c2ffd6]">"{event.theme}"</p>}
{event.theme && <p className="mt-1 text-lg font-semibold text-[#f0bd4f]">"{event.theme}"</p>}
</div>
{(when || where) && (
@ -504,7 +504,7 @@ function EventPanel({ event }: { event: HeroEvent }) {
className={`inline-flex items-center gap-2 btn px-6 py-3 transition-transform hover:scale-105 ${
index === 0 ? 'text-[#001011]' : 'border border-white/35 text-white hover:bg-white/10'
}`}
style={index === 0 ? { background: '#c2ffd6' } : undefined}
style={index === 0 ? { background: '#f0bd4f' } : undefined}
>
<PlatformIcon platform={link.platform} />
{link.label}

View file

@ -64,7 +64,7 @@ function PathIcon({ value }: { value?: string | null }) {
}
// The site's accent family, in turn (color.ts).
const PATH_ACCENTS = [ACCENTS.teal, ACCENTS.green, ACCENTS.olive, ACCENTS.deep]
const PATH_ACCENTS = [ACCENTS.teal, ACCENTS.green, ACCENTS.amber, ACCENTS.deep]
export default function Pathfinder({ id, title, blurb, paths }: PathfinderProps) {
const [selected, setSelected] = useState(0)

View file

@ -47,7 +47,7 @@ export default function StatsBand({ id, title, blurb, stats }: StatsBandProps) {
id={id}
ref={ref}
className="relative overflow-hidden py-24"
style={{ background: '#004552' }}
style={{ background: '#003a45' }}
>
<div className="relative mx-auto max-w-6xl px-6">
<h2 className="font-display text-3xl font-bold text-white md:text-4xl">
@ -64,7 +64,7 @@ export default function StatsBand({ id, title, blurb, stats }: StatsBandProps) {
>
<dd className="font-display text-5xl font-extrabold leading-none text-white md:text-6xl">
<CountUp value={stat.value} run={seen} />
{stat.suffix && <span className="text-[#c2ffd6]">{stat.suffix}</span>}
{stat.suffix && <span className="text-[#f0bd4f]">{stat.suffix}</span>}
</dd>
<dt className="mt-3 text-sm font-semibold uppercase tracking-widest text-white/70">
{stat.label}