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

@ -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 = "#4a6b72";
const FALLBACK_COLOR = "#004c52";
/* ── Row button ───────────────────────────────────────────────
Deliberately a sibling of the summary button rather than inside
@ -54,7 +54,7 @@ const FALLBACK_COLOR = "#4a6b72";
function RowButton({ as: As = "button", color, children, ...rest }: any) {
return (
<As
className="inline-flex shrink-0 items-center gap-2 whitespace-nowrap py-2 px-4 rounded-xl font-bold text-sm transition-transform duration-200 hover:scale-105"
className="inline-flex shrink-0 items-center gap-2 whitespace-nowrap py-2 px-4 font-bold text-sm transition-transform duration-200 hover:scale-105"
style={{ border: `1px solid ${color}`, color }}
{...rest}
>
@ -68,7 +68,7 @@ function OrgMark({ org, color }) {
<span className="h-3 w-3 rounded-full shrink-0" style={{ background: color }} aria-hidden="true" />
) : (
<span
className="h-8 w-8 rounded-lg shrink-0 flex items-center justify-center text-xs font-extrabold"
className="h-8 w-8 shrink-0 flex items-center justify-center text-xs font-extrabold"
style={{ border: `1px solid ${color}`, color: accentText(color) }}
aria-hidden="true"
>