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

@ -61,12 +61,12 @@ function GroupMenu({ item, lit, pathname }) {
{children.length > 1 && (
<div className="invisible absolute left-0 top-full z-30 pt-2 opacity-0 transition-opacity group-focus-within:visible group-focus-within:opacity-100 group-hover:visible group-hover:opacity-100">
<ul className="min-w-52 rounded-xl border border-brand/20 bg-surface p-1.5 shadow-lg">
<ul className="min-w-52 border border-brand/20 bg-surface p-1.5 shadow-lg">
{children.map((child) => (
<li key={child.to}>
<NavLink
to={child.to}
className={`block rounded-lg px-3 py-2 text-sm transition-colors hover:bg-tint ${
className={`block px-3 py-2 text-sm transition-colors hover:bg-tint ${
matches(pathname, child.to)
? "font-semibold text-link"
: "text-body"
@ -142,7 +142,7 @@ export default function AdminLayout() {
) : (
<Link
to={ADMIN_HOME}
className="rounded transition-opacity hover:opacity-70"
className="transition-opacity hover:opacity-70"
title="Back to the admin home"
>
{wordmark}
@ -173,7 +173,7 @@ export default function AdminLayout() {
<button
type="button"
onClick={handleLogout}
className="rounded-full border border-muted/30 px-4 py-1.5 font-medium transition-colors hover:bg-tint hover:text-link"
className="btn border border-muted/30 px-4 py-1.5 transition-colors hover:bg-tint hover:text-link"
>
Sign out
</button>