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
|
|
@ -25,7 +25,7 @@ import { accentText } from '../../lib/color.ts'
|
|||
|
||||
const MUTED = "var(--color-muted)";
|
||||
const INK = "var(--color-body)";
|
||||
const FALLBACK_COLOR = "#4a6b72";
|
||||
const FALLBACK_COLOR = "#004c52";
|
||||
|
||||
/* Wide enough for a logo beside two lines of text, narrow enough
|
||||
that three fit on a laptop. The grid drops a column rather than
|
||||
|
|
@ -44,7 +44,7 @@ function OrgCard({ org, accent, pageLabel, siteLabel }) {
|
|||
|
||||
return (
|
||||
<div
|
||||
className="rounded-2xl p-6 h-full flex flex-col transition-transform duration-200 hover:scale-[1.01]"
|
||||
className="p-6 h-full flex flex-col transition-transform duration-200 hover:scale-[1.01]"
|
||||
style={{ border: `1px solid ${color}`, background: "var(--color-surface)" }}
|
||||
>
|
||||
<div className="flex items-start gap-4">
|
||||
|
|
@ -90,7 +90,7 @@ function OrgCard({ org, accent, pageLabel, siteLabel }) {
|
|||
href={org.website}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="py-2 px-4 rounded-xl font-bold text-sm transition-transform duration-200 hover:scale-105"
|
||||
className="py-2 px-4 font-bold text-sm transition-transform duration-200 hover:scale-105"
|
||||
style={{ border: `1px solid ${color}`, color }}
|
||||
>
|
||||
{siteLabel} <ArrowUpRight size="1em" weight="bold" className="inline align-[-0.125em]" aria-hidden="true" />
|
||||
|
|
@ -100,7 +100,7 @@ function OrgCard({ org, accent, pageLabel, siteLabel }) {
|
|||
{org.email && (
|
||||
<a
|
||||
href={`mailto:${org.email}`}
|
||||
className="py-2 px-4 rounded-xl font-bold text-sm transition-transform duration-200 hover:scale-105"
|
||||
className="py-2 px-4 font-bold text-sm transition-transform duration-200 hover:scale-105"
|
||||
style={{ border: `1px solid ${color}`, color }}
|
||||
>
|
||||
Contact
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue