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
|
|
@ -20,9 +20,8 @@ import ContentBlocks from '../components/ContentBlocks.tsx'
|
|||
import PeopleTiles from '../components/PeopleTiles.tsx'
|
||||
import { useTeam } from '../lib/useContent.ts'
|
||||
import { orgHref } from '../lib/hrefs.ts'
|
||||
import { accentText } from '../lib/color.ts'
|
||||
import { accentText, BRAND } from '../lib/color.ts'
|
||||
|
||||
const TEAL = '#0f7183'
|
||||
const BODY = 'var(--color-muted)'
|
||||
|
||||
export default function TeamDetail() {
|
||||
|
|
@ -43,7 +42,7 @@ export default function TeamDetail() {
|
|||
)
|
||||
}
|
||||
|
||||
const accent = team.color || TEAL
|
||||
const accent = team.color || BRAND
|
||||
const hasAbout =
|
||||
team.description.length > 0 || team.blocks.length > 0 || team.links.length > 0
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue