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