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
|
|
@ -51,7 +51,7 @@ export default function PageState({
|
|||
</p>
|
||||
<Link
|
||||
to={backTo}
|
||||
className="mt-4 inline-block rounded-full border px-4 py-1.5 text-sm font-medium transition-colors hover:bg-tint"
|
||||
className="mt-4 inline-block btn border px-4 py-1.5 text-sm transition-colors hover:bg-tint"
|
||||
style={{ borderColor: BRAND, color: accentText(BRAND) }}
|
||||
>
|
||||
{backLabel}
|
||||
|
|
@ -66,7 +66,7 @@ export default function PageState({
|
|||
<button
|
||||
type="button"
|
||||
onClick={onRetry}
|
||||
className="mt-3 rounded-full border px-4 py-1.5 text-sm font-medium transition-colors hover:bg-tint"
|
||||
className="mt-3 btn border px-4 py-1.5 text-sm transition-colors hover:bg-tint"
|
||||
style={{ borderColor: BRAND, color: accentText(BRAND) }}
|
||||
>
|
||||
Try again
|
||||
|
|
@ -79,9 +79,9 @@ export default function PageState({
|
|||
<div className="max-w-6xl mx-auto px-6" role="status">
|
||||
<span className="sr-only">Loading this {noun}…</span>
|
||||
<div aria-hidden="true" className="space-y-4">
|
||||
<div className="skeleton !min-h-0 h-8 w-2/3 !rounded-xl" />
|
||||
<div className="skeleton !min-h-0 h-4 w-full !rounded-lg" />
|
||||
<div className="skeleton !min-h-0 h-4 w-5/6 !rounded-lg" />
|
||||
<div className="skeleton !min-h-0 h-8 w-2/3" />
|
||||
<div className="skeleton !min-h-0 h-4 w-full" />
|
||||
<div className="skeleton !min-h-0 h-4 w-5/6" />
|
||||
<div className="skeleton !min-h-0 mt-8 aspect-video w-full max-w-3xl" />
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue