Write the site in US English
color, center, canceled, labeled, recognize and the rest, in UI text, help text, comments, docs and names (ColorInput, QrCenter). Migration 053 renames the two Site settings color CHECKs, whose names are the messages the admin shows. Kept: events.status's stored value 'cancelled' (shown as canceled), aria-labelledby, schema.org's EventCancelled, and old migrations as they ran. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
38aff34c97
commit
2ad65cdc15
60 changed files with 182 additions and 148 deletions
|
|
@ -12,16 +12,16 @@
|
|||
--font-display: 'Poppins', sans-serif;
|
||||
--font-body: 'Montserrat', sans-serif;
|
||||
|
||||
/* ── Colour tokens ─────────────────────────────────────────────
|
||||
/* ── Color tokens ─────────────────────────────────────────────
|
||||
Named for what they do, not what they look like, because dark
|
||||
mode (below) swaps the values. Use them as utilities
|
||||
(text-muted, bg-surface, border-brand/20) or, in a style prop,
|
||||
as var(--color-muted). Every text colour passes WCAG AA (4.5:1)
|
||||
as var(--color-muted). Every text color passes WCAG AA (4.5:1)
|
||||
on surface, tint and tint-soft in both modes.
|
||||
|
||||
A colour that must stay the same in both modes (white text on
|
||||
a dark band, a platform's own colour) stays a literal. Colours
|
||||
that arrive as data (page accents, event and region colours) go
|
||||
A color that must stay the same in both modes (white text on
|
||||
a dark band, a platform's own color) stays a literal. Colors
|
||||
that arrive as data (page accents, event and region colors) go
|
||||
through withAlpha() and accentText() in src/lib/color.ts. */
|
||||
--color-ink: #073d4a; /* headings */
|
||||
--color-body: #26454c; /* body text */
|
||||
|
|
@ -47,7 +47,7 @@
|
|||
--shadow-2xl: 0 25px 50px -12px rgb(4 38 46 / 0.3);
|
||||
}
|
||||
|
||||
/* How much of an accent colour its text keeps (src/lib/color.ts,
|
||||
/* How much of an accent color its text keeps (src/lib/color.ts,
|
||||
accentText): all of it on light, half (the rest white) on dark. */
|
||||
:root {
|
||||
--accent-text-mix: 100%;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue