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
|
|
@ -36,7 +36,7 @@ import { accentText, withAlpha, readableOn, BRAND } from '../../lib/color.ts'
|
|||
fires only for an event with no host at all. */
|
||||
const DEFAULT_ORG_LOGO = null;
|
||||
|
||||
const INK = "var(--color-ink)"; // button text: the card colour is only a border
|
||||
const INK = "var(--color-ink)"; // button text: the card color is only a border
|
||||
const CARD_BG = "var(--color-surface)"; // sits under every card, photo or not
|
||||
|
||||
/* Laid over a card's background image so black text reads on any
|
||||
|
|
@ -186,7 +186,7 @@ export function Card({
|
|||
filter: past ? "saturate(0.75)" : "none",
|
||||
pointerEvents: interactive ? "auto" : "none",
|
||||
}}
|
||||
// A card shown but not in play (a carousel neighbour, a collapsed
|
||||
// A card shown but not in play (a carousel neighbor, a collapsed
|
||||
// past event) keeps its links out of the tab order too.
|
||||
inert={!interactive}
|
||||
>
|
||||
|
|
@ -277,7 +277,7 @@ export function Card({
|
|||
compact ? "gap-2" : "gap-3"
|
||||
} ${links.length === 0 ? "mt-4" : ""}`}
|
||||
>
|
||||
{/* Button text takes the card's colour (the event's own,
|
||||
{/* Button text takes the card's color (the event's own,
|
||||
or the band's default, teal unless the page sets one),
|
||||
the same as the border, rather than the card's black. */}
|
||||
{links.map(item => (
|
||||
|
|
@ -464,7 +464,7 @@ export default function EventListCards({
|
|||
);
|
||||
|
||||
/* Open on the first upcoming event. The list is empty on the
|
||||
first render, so this can't be a useState initialiser, it has
|
||||
first render, so this can't be a useState initializer, it has
|
||||
to wait for the data and then run once. Clearing the guard when
|
||||
the list empties means a refetch re-seeds. */
|
||||
const seeded = useRef(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue