From 721f60cc3055320c43edfad8a2f18594cd60932d Mon Sep 17 00:00:00 2001 From: Warren Date: Wed, 30 Sep 2026 09:33:59 -0500 Subject: [PATCH] US English in the library's visible copy, at the source MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The palettes, style boards, type pairings, element catalog and demos are rendered by superherotech.ai (/elements/, /styles/, /colours/, /type/), the portal's brand guide and the console's client page. They were written in UK English, and the site patched some of it per page with a local usText(). Fixing it here ends that helper and lets the portal and console re-adopt US copy by hash. Spelling: color, flavor, gray, center, labeled, honor, neighbor, somber, jewelry, tire, karat, advisor, glamor, inquiries. Vocabulary, where the UK word misleads a US reader: row house, childcare and preschool, real estate agents, vacation rentals, accounting, toy stores, bookstores, scallions, mashed potatoes, homey (a US "homely" means plain). Unchanged on purpose: every identifier and data key (the board's `colour` field, type's `licence`/`licenceUrl`/LICENCE, the `--inc-centre-bg` custom property a client's CSS sets, `aria-labelledby`), code comments, and café. New body hashes printed by the checks (portal and console re-adopt these): styles 046176ba89eab9a55de44517432fbf29fbd6af03f61191d6211426c15334bfa5 type 7fcb2d99e21760a92ccbefdc688c3930a8f95c6d393344e4abf3bf567dd0e3ec palettes 11779df1e0d00751c49c10158a5c8c1b605dcb9e1ab95537c018a56e87d16067 Co-Authored-By: Claude Opus 5.5 --- public/demo/hotspot-points.json | 2 +- src/components/demos/AccordionDemo.astro | 2 +- src/components/demos/BeforeAfterDemo.astro | 2 +- src/components/demos/FlipBoxDemo.astro | 2 +- src/components/demos/InfoListDemo.astro | 2 +- src/components/demos/MegaMenuDemo.astro | 2 +- src/components/demos/TabcordionDemo.astro | 2 +- src/data/catalog.ts | 146 ++++++++++----------- src/data/palettes.ts | 20 +-- src/data/styles.ts | 36 ++--- src/data/type.ts | 8 +- src/pages/index.astro | 4 +- 12 files changed, 114 insertions(+), 114 deletions(-) diff --git a/public/demo/hotspot-points.json b/public/demo/hotspot-points.json index 4ad770e..61882ba 100644 --- a/public/demo/hotspot-points.json +++ b/public/demo/hotspot-points.json @@ -18,7 +18,7 @@ "x": 50, "y": 62, "title": "Three-seat sofa", - "text": "Removable, washable covers in twelve colours. Delivered and assembled in the room." + "text": "Removable, washable covers in twelve colors. Delivered and assembled in the room." }, { "x": 87, diff --git a/src/components/demos/AccordionDemo.astro b/src/components/demos/AccordionDemo.astro index 569f5dc..771adf2 100644 --- a/src/components/demos/AccordionDemo.astro +++ b/src/components/demos/AccordionDemo.astro @@ -12,7 +12,7 @@ const faqs = [ { id: 'custom-cakes', title: 'Do you take custom cake orders?', - body: '

Yes. Order at least five days ahead for a celebration cake, and two weeks ahead for a wedding. Tell us the size, the flavour and any lettering, and we confirm the price before we bake.

', + body: '

Yes. Order at least five days ahead for a celebration cake, and two weeks ahead for a wedding. Tell us the size, the flavor and any lettering, and we confirm the price before we bake.

', }, { id: 'order-ahead', diff --git a/src/components/demos/BeforeAfterDemo.astro b/src/components/demos/BeforeAfterDemo.astro index 66cf4ed..d6f2dc3 100644 --- a/src/components/demos/BeforeAfterDemo.astro +++ b/src/components/demos/BeforeAfterDemo.astro @@ -15,7 +15,7 @@ const asset = (name: string) => assetBase + name; A 12 oz stoneware mug, thrown by hand and glazed in a speckled oat colour. Each one is a little different.

', + body: '

A 12 oz stoneware mug, thrown by hand and glazed in a speckled oat color. Each one is a little different.

', }, { id: 'mug-size', diff --git a/src/data/catalog.ts b/src/data/catalog.ts index 16c1da3..ee1ef73 100644 --- a/src/data/catalog.ts +++ b/src/data/catalog.ts @@ -202,7 +202,7 @@ export const catalog: Element[] = [ { name: 'minWidth', type: 'number', default: '700', note: 'Draw nothing below this viewport width. 0 draws everywhere. Tracked live, not decided once.' }, { name: 'class', type: 'string', note: 'Class for the host to position and stack it with.' }, ], - theming: [{ name: '--pf-color', fallback: '#fff', note: 'Dot and line colour. Also settable as plain `color` on the canvas.' }], + theming: [{ name: '--pf-color', fallback: '#fff', note: 'Dot and line color. Also settable as plain `color` on the canvas.' }], a11y: [ 'Decorative: aria-hidden, no pointer events.', 'prefers-reduced-motion: one still frame is drawn, so the look survives without the movement.', @@ -307,10 +307,10 @@ export const catalog: Element[] = [ { name: 'class', type: 'string', note: 'Class on the wrapper, for the host to theme and size it.' }, ], theming: [ - { name: '--vb-bg', fallback: '#111', note: 'Colour behind the poster while it loads.' }, - { name: '--vb-overlay', fallback: '#000', note: 'Tint colour.' }, + { name: '--vb-bg', fallback: '#111', note: 'Color behind the poster while it loads.' }, + { name: '--vb-overlay', fallback: '#000', note: 'Tint color.' }, { name: '--vb-overlay-opacity', fallback: '0.4', note: 'Tint strength; the `overlay` prop overrides it.' }, - { name: '--vb-fg', fallback: '#fff', note: 'Content text colour.' }, + { name: '--vb-fg', fallback: '#fff', note: 'Content text color.' }, { name: '--vb-control-bg', fallback: 'rgb(0 0 0 / 0.55)', note: 'Pause button fill.' }, { name: '--vb-control-fg', fallback: '#fff', note: 'Pause button icon and ring.' }, { name: '--vb-focus', fallback: '#fff', note: 'Pause button focus ring.' }, @@ -368,10 +368,10 @@ export const catalog: Element[] = [ { name: 'class', type: 'string', note: 'Class on the band, for the host to theme it.' }, ], theming: [ - { name: '--pb-bg', fallback: '#222', note: 'Colour behind the image while it loads.' }, - { name: '--pb-overlay', fallback: '#000', note: 'Tint colour.' }, + { name: '--pb-bg', fallback: '#222', note: 'Color behind the image while it loads.' }, + { name: '--pb-overlay', fallback: '#000', note: 'Tint color.' }, { name: '--pb-overlay-opacity', fallback: '0.35', note: 'Tint strength; the `overlay` prop overrides it.' }, - { name: '--pb-fg', fallback: '#fff', note: 'Content text colour.' }, + { name: '--pb-fg', fallback: '#fff', note: 'Content text color.' }, { name: '--pb-height', fallback: '60vh', note: 'Minimum height; the `minHeight` prop overrides it.' }, ], a11y: [ @@ -476,12 +476,12 @@ export const catalog: Element[] = [ { name: '--bh-badge-bg', fallback: 'transparent', note: 'Fill behind the pill.' }, { name: '--bh-today-bg', fallback: 'rgb(0 0 0 / 0.05)', note: 'Today’s row in the table.' }, { name: '--bh-line', fallback: 'rgb(0 0 0 / 0.15)', note: 'Table rules.' }, - { name: '--bh-text', fallback: 'inherit', note: 'Text colour.' }, + { name: '--bh-text', fallback: 'inherit', note: 'Text color.' }, ], a11y: [ 'The week is a real table with a caption naming the time zone, and scoped column and row headers. Today’s row says "(today)" and carries aria-current="date"; the highlight is on top of the word.', 'The sentence is in an aria-live="polite" region, rewritten only when its text changes, not every minute.', - 'Open and closed are words; colour and the dot are on top. Times are