Fix dark mode and bring the public design in line with the taste audit
- Dark mode: the countdown card, timeline section, Giving text, error text, the Leadership button, skeletons and the admin's dark text all follow the tokens; logos get a light plate in dark mode - One BRAND accent (the button token, so the admin palette reaches every page) and one ACCENTS family in color.ts, replacing 20 local teal constants and the purple, ochre and rust section colours; neon green and gold become mint and brand green - Shadows are tinted with the site's ink; glow shadows are gone - One giving label, Give, in the nav, footer and Giving page - Phosphor icons replace the hand-drawn SVGs and the glyph icons; Pathfinder paths pick a named icon (emoji still shown) and lose the watermark - Home keeps two eyebrows; StatsBand's title is a real heading; section headings step down under the page title - Nav links switch to the menu below lg, so they never wrap; jump links land clear of the header; press feedback on buttons - Empty sections say what's coming and who to ask; loading is a skeleton; form placeholders and borders are readable; one corner-radius rule; theme-color for both modes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
f72a9604d2
commit
048c7599ce
59 changed files with 416 additions and 350 deletions
|
|
@ -1,6 +1,8 @@
|
|||
import PageShell from "../components/PageShell.tsx";
|
||||
import ComingSoon from "../components/ComingSoon.tsx";
|
||||
import { sitePage } from "../lib/site.ts";
|
||||
import PeopleTiles from "../components/PeopleTiles.tsx";
|
||||
import { ACCENTS, BRAND } from "../lib/color.ts"
|
||||
|
||||
/* Title and intro: site.json, which also gives the search metadata. */
|
||||
const PAGE = sitePage("/leadership");
|
||||
|
|
@ -10,7 +12,7 @@ const SECTIONS = [
|
|||
id: "board-staff",
|
||||
title: "Board & Staff",
|
||||
blurb: "The people guiding Next Generation of Unity day to day.",
|
||||
accent: "#0f7183",
|
||||
accent: BRAND,
|
||||
background: "var(--color-tint)",
|
||||
content: (
|
||||
<div className="max-w-6xl mx-auto px-6">
|
||||
|
|
@ -22,7 +24,7 @@ const SECTIONS = [
|
|||
id: "retreat-team",
|
||||
title: "Retreat Team",
|
||||
blurb: "Volunteers who plan and lead our gatherings throughout the year.",
|
||||
accent: "#4a7a2f",
|
||||
accent: ACCENTS.green,
|
||||
background: "var(--color-surface)",
|
||||
content: (
|
||||
<div className="max-w-6xl mx-auto px-6">
|
||||
|
|
@ -34,26 +36,21 @@ const SECTIONS = [
|
|||
id: "committees",
|
||||
title: "Committees & Volunteers",
|
||||
blurb: "Additional roles and contributors.",
|
||||
accent: "#7a5ea8",
|
||||
accent: ACCENTS.mint,
|
||||
background: "var(--color-tint)",
|
||||
content: (
|
||||
<div className="max-w-6xl mx-auto px-6">
|
||||
{/* Other roles content */}
|
||||
</div>
|
||||
),
|
||||
content: <ComingSoon what="this list of committees and volunteers" />,
|
||||
},
|
||||
{
|
||||
id: "contact",
|
||||
title: "Contact Us",
|
||||
blurb: "Reach out to our staff",
|
||||
accent: "#004c52",
|
||||
accent: ACCENTS.deep,
|
||||
background: "var(--color-surface)",
|
||||
content: (
|
||||
<div className="max-w-6xl mx-auto px-6">
|
||||
<a
|
||||
href="mailto:info@nextgenerationofunity.org"
|
||||
className="inline-block py-2.5 px-6 rounded-xl font-bold transition-all duration-200 hover:scale-105"
|
||||
style={{ border: "1px solid #0f7183", color: "#0f7183" }}
|
||||
className="inline-block py-2.5 px-6 rounded-full border border-link text-link font-bold transition-all duration-200 hover:scale-105 active:scale-[0.98]"
|
||||
>
|
||||
info@nextgenerationofunity.org
|
||||
</a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue