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:
Zaldimmar 2026-09-30 14:40:39 -05:00
parent ecdcd4ec37
commit d81f7bd856
62 changed files with 416 additions and 384 deletions

View file

@ -39,12 +39,12 @@ function NavCard({ item }) {
const extras = (item.children ?? []).filter((child) => child.to !== to);
return (
<div className="group relative flex flex-col rounded-2xl border border-brand/20 bg-surface p-5 transition-all hover:border-brand/60 hover:shadow-sm">
<div className="group relative flex flex-col border border-brand/20 bg-surface p-5 transition-all hover:border-brand/60 hover:shadow-sm">
<div className="flex items-baseline gap-3">
<h3 className="text-base font-semibold text-link">
<Link
to={to}
className="after:absolute after:inset-0 after:rounded-2xl after:content-['']"
className="after:absolute after:inset-0 after:content-['']"
>
{item.label}
</Link>
@ -143,14 +143,14 @@ export default function AdminHome() {
</div>
{/* Sticky so it stays put once the card column outgrows it. */}
<aside className="divide-y divide-brand/10 rounded-2xl border border-brand/20 bg-surface lg:sticky lg:top-6">
<aside className="divide-y divide-brand/10 border border-brand/20 bg-surface lg:sticky lg:top-6">
<PanelSection title="Signed in">
<p className="font-medium text-ink">{user?.name || user?.email}</p>
{user?.name && user?.email && (
<p className="mt-0.5 break-all text-xs text-muted/80">{user.email}</p>
)}
{role && (
<span className="mt-2 inline-block rounded-full bg-tint px-2.5 py-0.5 text-xs font-medium text-link">
<span className="mt-2 inline-block bg-tint px-2.5 py-0.5 text-xs font-medium text-link">
{role}
</span>
)}