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
|
|
@ -5,6 +5,7 @@ import PageShell from "../components/PageShell.tsx";
|
|||
import { DATA_REQUEST } from "../data/feedbackTypes.ts";
|
||||
import { PRIVACY_EMAIL, sitePage } from "../lib/site.ts";
|
||||
import FeedbackForm from "./sections/FeedbackForm.tsx";
|
||||
import { BRAND } from "../lib/color.ts"
|
||||
|
||||
/* Title and intro: site.json, which also gives the search metadata. */
|
||||
const PAGE = sitePage("/privacy");
|
||||
|
|
@ -24,7 +25,6 @@ const PAGE = sitePage("/privacy");
|
|||
═══════════════════════════════════════════════════════════════ */
|
||||
|
||||
const LAST_UPDATED = "September 28, 2026";
|
||||
const ACCENT = "#0f7183";
|
||||
|
||||
const link = "underline underline-offset-2 text-link";
|
||||
|
||||
|
|
@ -168,7 +168,7 @@ const SECTIONS = [
|
|||
id: "privacy",
|
||||
title: "Privacy Policy",
|
||||
blurb: `Last updated: ${LAST_UPDATED}`,
|
||||
accent: ACCENT,
|
||||
accent: BRAND,
|
||||
background: "var(--color-surface)",
|
||||
content: <LegalText parts={PARTS} />,
|
||||
},
|
||||
|
|
@ -176,7 +176,7 @@ const SECTIONS = [
|
|||
id: "requests",
|
||||
title: "Data requests",
|
||||
blurb: "Ask to see, correct or delete the information we hold about you.",
|
||||
accent: ACCENT,
|
||||
accent: BRAND,
|
||||
background: "var(--color-tint)",
|
||||
content: (
|
||||
<div className="mx-auto max-w-3xl px-6">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue