Adopt the new palette; square corners, superellipse buttons
The theme defaults (light and dark) come from the 16-color grid, kept as PALETTE in src/lib/color.ts; every text pair passes the admin's 4.5:1 check. Nothing is rounded any more except buttons, which share one btn utility (Poppins Bold, a superellipse corner where the browser has corner-shape) and true dots. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
ecdcd4ec37
commit
d81f7bd856
62 changed files with 416 additions and 384 deletions
|
|
@ -47,11 +47,11 @@ export default function StatsBand({ id, title, blurb, stats }: StatsBandProps) {
|
|||
id={id}
|
||||
ref={ref}
|
||||
className="relative overflow-hidden py-24"
|
||||
style={{ background: '#073d4a' }}
|
||||
style={{ background: '#004552' }}
|
||||
>
|
||||
<div
|
||||
className="pointer-events-none absolute -left-40 -top-40 h-[32rem] w-[32rem] rounded-full opacity-25 blur-3xl"
|
||||
style={{ background: '#9fe7d0' }}
|
||||
style={{ background: '#c2ffd6' }}
|
||||
aria-hidden="true"
|
||||
/>
|
||||
|
||||
|
|
@ -70,7 +70,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-[#9fe7d0]">{stat.suffix}</span>}
|
||||
{stat.suffix && <span className="text-[#c2ffd6]">{stat.suffix}</span>}
|
||||
</dd>
|
||||
<dt className="mt-3 text-sm font-semibold uppercase tracking-widest text-white/70">
|
||||
{stat.label}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue