@slotted/styles 0.1.0-beta.29 → 0.1.0-beta.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/package.json +11 -1
  2. package/src/accordion/accordion.css +1 -1
  3. package/src/action-bar/action-bar.css +2 -2
  4. package/src/action-sheet/action-sheet.css +3 -3
  5. package/src/alert/alert.css +31 -32
  6. package/src/app-shell/app-shell.css +20 -20
  7. package/src/attachment/attachment.css +14 -14
  8. package/src/avatar/avatar.css +25 -25
  9. package/src/avatar-group/avatar-group.css +1 -1
  10. package/src/badge/badge.css +9 -9
  11. package/src/breadcrumb/breadcrumb.css +15 -15
  12. package/src/button/button.css +20 -20
  13. package/src/button-group/button-group.css +4 -4
  14. package/src/calendar/calendar.css +7 -7
  15. package/src/card/card.css +4 -4
  16. package/src/carousel/carousel.css +8 -8
  17. package/src/cascader/cascader.css +4 -4
  18. package/src/chart/chart.css +16 -16
  19. package/src/checkbox/checkbox.css +24 -24
  20. package/src/code-block/code-block.css +4 -4
  21. package/src/collapsible/collapsible.css +5 -5
  22. package/src/color-picker/color-picker.css +23 -23
  23. package/src/column-manager/column-manager.css +5 -5
  24. package/src/combobox/combobox.css +6 -6
  25. package/src/command-palette/command-palette.css +12 -12
  26. package/src/container/container.css +3 -3
  27. package/src/context-menu/context-menu.css +1 -1
  28. package/src/currency-field/currency-field.css +13 -13
  29. package/src/dashboard-grid/dashboard-grid.css +1 -1
  30. package/src/data-grid/data-grid.css +15 -15
  31. package/src/data-list/data-list.css +1 -1
  32. package/src/date-field/date-field.css +5 -5
  33. package/src/date-picker/date-picker.css +2 -2
  34. package/src/date-range-picker/date-range-picker.css +9 -10
  35. package/src/datetime-field/datetime-field.css +10 -10
  36. package/src/datetime-picker/datetime-picker.css +5 -5
  37. package/src/datetime-range-picker/datetime-range-picker.css +8 -8
  38. package/src/description-list/description-list.css +5 -5
  39. package/src/detail-panel/detail-panel.css +1 -1
  40. package/src/dialog/dialog.css +15 -15
  41. package/src/divider/divider.css +2 -2
  42. package/src/drawer/drawer.css +20 -20
  43. package/src/entity-picker/entity-picker.css +15 -15
  44. package/src/event-calendar/event-calendar.css +14 -14
  45. package/src/field/field.css +14 -14
  46. package/src/field-group/field-group.css +1 -2
  47. package/src/filter-bar/filter-bar.css +7 -7
  48. package/src/form/form.css +1 -1
  49. package/src/fullscreen/fullscreen.css +2 -2
  50. package/src/grid/grid.css +1 -1
  51. package/src/highlight/highlight.css +5 -5
  52. package/src/hover-card/hover-card.css +3 -3
  53. package/src/icon/icon.css +5 -5
  54. package/src/image/image.css +3 -3
  55. package/src/import-export-center/import-export-center.css +9 -9
  56. package/src/inline/inline.css +1 -1
  57. package/src/inline-message/inline-message.css +15 -15
  58. package/src/kbd/kbd.css +14 -14
  59. package/src/link/link.css +18 -18
  60. package/src/list/list.css +3 -3
  61. package/src/list-item/list-item.css +9 -9
  62. package/src/listbox/listbox.css +10 -10
  63. package/src/loading-overlay/loading-overlay.css +11 -11
  64. package/src/markdown/markdown.css +3 -3
  65. package/src/media-viewer/media-viewer.css +8 -8
  66. package/src/menu/menu.css +7 -7
  67. package/src/menubar/menubar.css +3 -3
  68. package/src/message/message.css +13 -13
  69. package/src/message-scroller/message-scroller.css +1 -1
  70. package/src/multi-select/multi-select.css +11 -11
  71. package/src/navigation-menu/navigation-menu.css +2 -2
  72. package/src/notification-center/notification-center.css +13 -13
  73. package/src/number-field/number-field.css +10 -10
  74. package/src/otp-input/otp-input.css +7 -7
  75. package/src/page-header/page-header.css +3 -3
  76. package/src/pagination/pagination.css +7 -7
  77. package/src/popover/popover.css +3 -3
  78. package/src/progress-indicator/progress-indicator.css +23 -23
  79. package/src/prompt-composer/prompt-composer.css +10 -10
  80. package/src/prose/prose.css +6 -7
  81. package/src/radio-group/radio-group.css +9 -9
  82. package/src/rating/rating.css +10 -10
  83. package/src/result-state/result-state.css +20 -24
  84. package/src/runtime-properties.mjs +6 -6
  85. package/src/saved-views/saved-views.css +2 -2
  86. package/src/scroll-area/scroll-area.css +5 -5
  87. package/src/section/section.css +1 -1
  88. package/src/segmented-control/segmented-control.css +16 -16
  89. package/src/select/select.css +13 -13
  90. package/src/side-navigation/side-navigation.css +14 -14
  91. package/src/skeleton/skeleton.css +10 -10
  92. package/src/slider/slider.css +15 -15
  93. package/src/sparkline/sparkline.css +13 -13
  94. package/src/spinner/spinner.css +1 -1
  95. package/src/split-button/split-button.css +4 -4
  96. package/src/splitter/splitter.css +12 -13
  97. package/src/stack/stack.css +1 -1
  98. package/src/stat-card/stat-card.css +3 -3
  99. package/src/status-indicator/status-indicator.css +22 -23
  100. package/src/stepper/stepper.css +20 -20
  101. package/src/switch/switch.css +14 -14
  102. package/src/table/table.css +11 -11
  103. package/src/table-of-contents/table-of-contents.css +3 -3
  104. package/src/tabs/tabs.css +8 -8
  105. package/src/tag/tag.css +14 -14
  106. package/src/tags-input/tags-input.css +6 -6
  107. package/src/text-field/text-field.css +13 -13
  108. package/src/textarea/textarea.css +5 -5
  109. package/src/time-field/time-field.css +8 -8
  110. package/src/time-picker/time-picker.css +3 -3
  111. package/src/time-range-picker/time-range-picker.css +8 -8
  112. package/src/timeline/timeline.css +26 -26
  113. package/src/toast/toast.css +26 -26
  114. package/src/toggle/toggle.css +5 -5
  115. package/src/toggle-group/toggle-group.css +6 -6
  116. package/src/toolbar/toolbar.css +3 -3
  117. package/src/tooltip/tooltip.css +1 -1
  118. package/src/top-navigation/top-navigation.css +9 -9
  119. package/src/tour/tour.css +13 -13
  120. package/src/transfer/transfer.css +4 -4
  121. package/src/tree/tree.css +10 -10
  122. package/src/typography/typography.css +2 -2
  123. package/src/upload/upload.css +32 -33
  124. package/src/wizard/wizard.css +2 -2
package/src/kbd/kbd.css CHANGED
@@ -95,8 +95,8 @@
95
95
  box-sizing: border-box;
96
96
  color: var(--_color);
97
97
  /**
98
- * One cell, and the legend centred in it on both axes. A grid of one cell
99
- * centres what is inside it against the cell rather than against the line
98
+ * One cell, and the legend centerd in it on both axes. A grid of one cell
99
+ * centers what is inside it against the cell rather than against the line
100
100
  * box the text opened, which is the half of the fix that keeps a symbol
101
101
  * from sitting low once the box stops following it.
102
102
  */
@@ -126,7 +126,7 @@
126
126
  line-height: 1;
127
127
  min-inline-size: var(--_block-size);
128
128
  place-items: center;
129
- /* The stated height holds the air; the cell centres the legend in it. */
129
+ /* The stated height holds the air; the cell centers the legend in it. */
130
130
  padding-block: 0;
131
131
  padding-inline: var(--_inset-inline);
132
132
  /**
@@ -135,7 +135,7 @@
135
135
  * whole and the combination around it is what breaks.
136
136
  */
137
137
  white-space: nowrap;
138
- /* Written inside a sentence, a key sits on the text's centre. */
138
+ /* Written inside a sentence, a key sits on the text's center. */
139
139
  vertical-align: middle;
140
140
  /**
141
141
  * The one state pair this family has. A menu row that becomes unavailable
@@ -157,11 +157,11 @@
157
157
  * The legend has a box of its own, as the words do in `button` and `badge`,
158
158
  * and that box is what makes the family's one typographic problem solvable.
159
159
  *
160
- * The cell centres the *line box*, and a line box is not symmetric around the
160
+ * The cell centers the *line box*, and a line box is not symmetric around the
161
161
  * letters inside it: the ascender reaches further above the cap than the
162
162
  * descender reaches below the baseline. `text-box` trims the line to
163
- * the cap and the baseline, so what is centred is the ink rather than the
164
- * font's metrics, and `K`, `Esc` and `Página` all sit the same way.
163
+ * the cap and the baseline, so what is centerd is the ink rather than the
164
+ * font's metrics, and `K`, `Esc` and `Åpy` all sit the same way.
165
165
  *
166
166
  * It is applied here rather than on the root because `text-box-trim` needs a
167
167
  * block container and a grid container has none: its own text lives in an
@@ -181,9 +181,9 @@
181
181
  /**
182
182
  * A mark is not trimmed, and this is the half of the rule that had to be
183
183
  * looked at rather than reasoned out. `cap alphabetic` are Latin metrics: a
184
- * box trimmed to them centres the cap band, and `⌘`, `↩` and `⌫` have no
184
+ * box trimmed to them centers the cap band, and `⌘`, `↩` and `⌫` have no
185
185
  * relation to a cap height or an alphabetic baseline — measured here, all
186
- * three sat visibly high in the cap. Left untrimmed, what gets centred is
186
+ * three sat visibly high in the cap. Left untrimmed, what gets centerd is
187
187
  * the em box, which is where a mark is drawn.
188
188
  */
189
189
  [data-ui-kbd] [data-part-legend][data-legend='symbol'] {
@@ -378,10 +378,10 @@
378
378
  --_base-width: var(--slotted-kbd-base-width, var(--slotted-border-width-thick, 2px));
379
379
  /**
380
380
  * The skirt. The lower part of the face turns a tenth of the way toward
381
- * the base colour, so the face runs into the thick edge instead of meeting
381
+ * the base color, so the face runs into the thick edge instead of meeting
382
382
  * it at a line: `#ffffff` to `#f1f3f6` in light, `#171719` to `#202023` in
383
383
  * dark. The top 40% stays the flat face, which is where the legend's cap
384
- * band sits. A gradient is an image, so forced colours drop it with the
384
+ * band sits. A gradient is an image, so forced colors drop it with the
385
385
  * ground and leave the edges, which is the whole key there.
386
386
  */
387
387
  --_face: linear-gradient(
@@ -411,7 +411,7 @@
411
411
 
412
412
  /**
413
413
  * The tinted chip, painted from the neutral tone rather than from a surface
414
- * token. `--slotted-surface-sunken` is the page's own colour on a sunken
414
+ * token. `--slotted-surface-sunken` is the page's own color on a sunken
415
415
  * panel, where a key painted with it would disappear; the neutral tone's
416
416
  * surface is the step `badge` calibrated to read on both.
417
417
  */
@@ -422,7 +422,7 @@
422
422
  * and it is not decoration here either. In the `high-contrast` scheme the
423
423
  * neutral surface is the page's own white: read in that scheme with no
424
424
  * edge, the chip was gone outright and `Ctrl + B` was a run of text. The
425
- * edge is also what carries it through forced colours, where the ground
425
+ * edge is also what carries it through forced colors, where the ground
426
426
  * flattens to `Canvas` for the same reason.
427
427
  */
428
428
  --_border: var(--slotted-kbd-border-color, var(--slotted-tone-secondary-border));
@@ -436,7 +436,7 @@
436
436
  * frame, nothing between it and the row it belongs to.
437
437
  */
438
438
  /**
439
- * A key that is only its word, and it takes the colour of the text it sits
439
+ * A key that is only its word, and it takes the color of the text it sits
440
440
  * in rather than choosing one. React Spectrum's `Keyboard` is the surveyed
441
441
  * implementation that gets this right — it “provides no specific styling by
442
442
  * itself, but receives styling from the parent container” — and inheriting is
package/src/link/link.css CHANGED
@@ -5,17 +5,17 @@
5
5
  * and `button` owns the anchor that wants the action surface — `ButtonLink`,
6
6
  * the same family, the same geometry.
7
7
  *
8
- * Three values carry every variant: the colour at rest, the colour under the
9
- * pointer, and the colour while it is being pressed. A fourth, `--_strong`,
10
- * is the maximum-contrast text colour of whatever context the link sits in,
8
+ * Three values carry every variant: the color at rest, the color under the
9
+ * pointer, and the color while it is being pressed. A fourth, `--_strong`,
10
+ * is the maximum-contrast text color of whatever context the link sits in,
11
11
  * and it is what hover mixes toward. That indirection is the whole reason
12
12
  * this family was rebuilt: the shipped stylesheet painted hover with
13
- * `--slotted-tone-accent-solid-hover`, which is a fill colour. In the light
14
- * scheme a fill that darkens is also a text colour that darkens, so the
13
+ * `--slotted-tone-accent-solid-hover`, which is a fill color. In the light
14
+ * scheme a fill that darkens is also a text color that darkens, so the
15
15
  * defect never showed. In the dark scheme that token is `#1d4ed8` over a
16
16
  * `#131316` ground, and hovering a link made it harder to read than leaving
17
17
  * it alone. A ramp built for fills cannot be a ramp for text, and the tone
18
- * scale has no `text-hover` role to reach for; mixing toward the colour the
18
+ * scale has no `text-hover` role to reach for; mixing toward the color the
19
19
  * theme already holds to the highest ratio in each scheme cannot fail the
20
20
  * same way.
21
21
  */
@@ -37,7 +37,7 @@
37
37
  /**
38
38
  * The underline at rest is lighter than the text it belongs to, and
39
39
  * reaches full strength from hover onward. That is what gives `inverse` a
40
- * hover at all: on a solid surface the text colour is already the
40
+ * hover at all: on a solid surface the text color is already the
41
41
  * strongest one available, so the underline is the only property left that
42
42
  * can answer the pointer.
43
43
  */
@@ -75,10 +75,10 @@
75
75
  }
76
76
 
77
77
  /**
78
- * The link that takes the colour of the text it sits in — a title inside a
78
+ * The link that takes the color of the text it sits in — a title inside a
79
79
  * card, a name inside a table row — and reaches the accent under the
80
80
  * pointer. Fluent calls it `subtle`, Primer `muted`, Polaris `monochrome`,
81
- * and all three describe the same two colours.
81
+ * and all three describe the same two colors.
82
82
  */
83
83
  /**
84
84
  * The text size. Unset, a link takes the size an action slot states for the
@@ -111,7 +111,7 @@
111
111
  }
112
112
 
113
113
  /**
114
- * The link on a solid or inverse surface. The strong colour changes with the
114
+ * The link on a solid or inverse surface. The strong color changes with the
115
115
  * ground, so hover has nowhere further to go and the underline carries the
116
116
  * state on its own.
117
117
  */
@@ -122,8 +122,8 @@
122
122
 
123
123
  /* ── Underline axis ─────────────────────────────────────────────────────
124
124
  *
125
- * `always` is the default because colour alone does not distinguish a link:
126
- * the accent text colour clears 4.5:1 against the surface and not 3:1
125
+ * `always` is the default because color alone does not distinguish a link:
126
+ * the accent text color clears 4.5:1 against the surface and not 3:1
127
127
  * against the body text beside it, which is the ratio a link with no second
128
128
  * cue has to meet. The other two values are for a link that stands alone,
129
129
  * where there is no sentence for it to disappear into.
@@ -150,7 +150,7 @@
150
150
  /* ── Visited ────────────────────────────────────────────────────────────
151
151
  *
152
152
  * Opt-in, and declared before the interaction rules so hover still answers a
153
- * link the reader has already followed. `:visited` accepts colour and
153
+ * link the reader has already followed. `:visited` accepts color and
154
154
  * nothing else — the restriction is deliberate, and it is also why no test
155
155
  * in this repository can read this rule back.
156
156
  */
@@ -200,9 +200,9 @@
200
200
 
201
201
  /* ── The external marker ────────────────────────────────────────────────
202
202
  *
203
- * The arrow is the `Glyph` element inside an `icon` box, so it is the colour
203
+ * The arrow is the `Glyph` element inside an `icon` box, so it is the color
204
204
  * of the link at every step of the ramp, in every scheme and under forced
205
- * colours, and mirrors in a right-to-left document through the box's own
205
+ * colors, and mirrors in a right-to-left document through the box's own
206
206
  * `directional`. A character would be a font's opinion of an arrow.
207
207
  *
208
208
  * The binding writes a word joiner before this element — U+2060, the
@@ -232,8 +232,8 @@
232
232
  * nothing at all for the consumer who never adopted the mirror.
233
233
  *
234
234
  * The destination of a current link is the page the reader is already on, so
235
- * it stops being an invitation and takes the body colour. The underline
236
- * stays, because it is still a link and colour alone would not say so. The
235
+ * it stops being an invitation and takes the body color. The underline
236
+ * stays, because it is still a link and color alone would not say so. The
237
237
  * weight does not change: a nav item that thickens shifts every item beside
238
238
  * it.
239
239
  */
@@ -242,7 +242,7 @@
242
242
  --_rest: var(--slotted-link-color-current, var(--slotted-text, CanvasText));
243
243
  }
244
244
 
245
- /* ── Forced colours ─────────────────────────────────────────────────────
245
+ /* ── Forced colors ─────────────────────────────────────────────────────
246
246
  *
247
247
  * The theme remaps every token it owns, so this block covers only what the
248
248
  * family paints itself: an underline the axis may have taken away, where a
package/src/list/list.css CHANGED
@@ -48,8 +48,8 @@
48
48
  --_frame-width: var(--slotted-list-border-width, var(--slotted-border-width-thin, 1px));
49
49
  --_frame-radius: var(--slotted-list-radius, var(--slotted-radius-md, 6px));
50
50
  --_surface: var(--slotted-list-background, var(--slotted-surface, Canvas));
51
- /* The group heading's type and colour. It is a heading in the document,
52
- so it takes the muted ink rather than a tone: a coloured heading over a
51
+ /* The group heading's type and color. It is a heading in the document,
52
+ so it takes the muted ink rather than a tone: a colored heading over a
53
53
  neutral list reads as a status the group does not have. */
54
54
  --_section-color: var(--slotted-list-section-color, var(--slotted-text-muted, GrayText));
55
55
  --_section-font-size: var(
@@ -209,7 +209,7 @@
209
209
  }
210
210
 
211
211
  /**
212
- * `ruled`: the name in the text colour over a rule, with no ground behind it
212
+ * `ruled`: the name in the text color over a rule, with no ground behind it
213
213
  * — a day of a phone list with its balance at the end. The sticky ground is
214
214
  * still the set's surface, so the rows passing under it are covered.
215
215
  */
@@ -64,7 +64,7 @@
64
64
  --_radius: var(--slotted-list-item-radius, var(--slotted-radius-md, 6px));
65
65
 
66
66
  /* Ink. `secondary` is the library's neutral, and a neutral row takes the
67
- page's own text colour rather than the tone's: `--slotted-tone-secondary-text`
67
+ page's own text color rather than the tone's: `--slotted-tone-secondary-text`
68
68
  is calibrated on a chip, and a list of forty rows set in it reads as forty
69
69
  pieces of metadata. The other four tones do take their own. */
70
70
  --_text: var(--slotted-list-item-color, var(--slotted-text, CanvasText));
@@ -313,7 +313,7 @@
313
313
  block, whatever `align` says. `align` is about the leading visual — an
314
314
  avatar beside three lines of text belongs with the title or with the
315
315
  block, and both readings are defensible — while a list marker has only
316
- one reading, and it is the platform's own. The first capture centred a
316
+ one reading, and it is the platform's own. The first capture centerd a
317
317
  bullet between two lines and read as a bullet nobody had placed. */
318
318
  align-items: start;
319
319
  /* One line tall, stated rather than stretched. The mark's own box holds no
@@ -478,8 +478,8 @@
478
478
  * the first line of the text beside it — the same line box this row sets
479
479
  * its title in, at the same step — so the column only has to stand at the
480
480
  * top of that line and be as tall as it: the box then sits on the title's
481
- * centre by the chooser's own arithmetic rather than by a second one here.
482
- * Centred on the block, as an icon is, a one-line row put the box a pixel
481
+ * center by the chooser's own arithmetic rather than by a second one here.
482
+ * Centerd on the block, as an icon is, a one-line row put the box a pixel
483
483
  * low and a two-line row put it between the lines.
484
484
  *
485
485
  * The column is the chooser's own square, fixed across densities as the
@@ -605,7 +605,7 @@
605
605
 
606
606
  /**
607
607
  * The independent targets follow `align` for the same reason the leading
608
- * visual and the metadata do. Left centred on the block while `end` sat on
608
+ * visual and the metadata do. Left centerd on the block while `end` sat on
609
609
  * the title's line, a row of two lines put its badge and its delete control
610
610
  * on two different lines — the one thing a trailing pair must not do.
611
611
  */
@@ -869,7 +869,7 @@
869
869
  margin-inline-start: 0;
870
870
  }
871
871
 
872
- /* The leading visual now spans two rows, so it stops being centred on the
872
+ /* The leading visual now spans two rows, so it stops being centerd on the
873
873
  block and returns to the title's line. */
874
874
  [data-ui-list-item] > [data-part-content] > [data-part-start] {
875
875
  align-self: start;
@@ -917,12 +917,12 @@
917
917
  }
918
918
 
919
919
  /**
920
- * ── Forced colours ─────────────────────────────────────────────────────
920
+ * ── Forced colors ─────────────────────────────────────────────────────
921
921
  *
922
922
  * The theme remaps every semantic token once, so the row needs a rule only
923
923
  * for what it paints itself. The two grounds and the two rings are all
924
924
  * dropped here, so both states have to be said again in the system's own
925
- * colours.
925
+ * colors.
926
926
  */
927
927
  @media (forced-colors: active) {
928
928
  /**
@@ -940,7 +940,7 @@
940
940
 
941
941
  /**
942
942
  * The current row keeps its ring as a one-pixel outline in the selection
943
- * colour, drawn inward so it changes no measurement: the inset shadow that
943
+ * color, drawn inward so it changes no measurement: the inset shadow that
944
944
  * says it elsewhere is decoration the theme cannot reach (R1).
945
945
  */
946
946
  [data-ui-list-item][data-current]:not([data-selected]) {
@@ -153,7 +153,7 @@
153
153
  /**
154
154
  * `framed` is the standalone control: a box with an edge, which is what
155
155
  * `<select multiple>` looks like and what a listbox presented on its own has
156
- * to look like to be recognised as a control at all. `plain` is what `select`
156
+ * to look like to be recognized as a control at all. `plain` is what `select`
157
157
  * and `combobox` render inside their own layer, where the layer already has
158
158
  * the edge and a second one would draw a box inside a box.
159
159
  */
@@ -189,10 +189,10 @@
189
189
  --slotted-focus-ring-color: var(--slotted-focus-ring-color-invalid);
190
190
  }
191
191
 
192
- /* Width as well as colour (WCAG 1.4.1): in `high-contrast` the danger border
192
+ /* Width as well as color (WCAG 1.4.1): in `high-contrast` the danger border
193
193
  is the resting edge's black. An edge inside the border, so nothing moves,
194
194
  in place of the resting lift — the one `text-field` draws. Disabled keeps
195
- its own edge, as it keeps its own border colour. */
195
+ its own edge, as it keeps its own border color. */
196
196
  [data-ui-listbox][data-invalid]:not([data-disabled]) {
197
197
  --_invalid-edge-width: var(--slotted-control-invalid-edge-width, 1px);
198
198
  --_shadow: inset 0 0 0 var(--_invalid-edge-width) var(--slotted-tone-danger-border);
@@ -406,7 +406,7 @@
406
406
  *
407
407
  * An inset `outline` rather than a `::after` border: an outline follows the
408
408
  * option's own radius without a second radius to keep in step, and forced
409
- * colours replace its paint on their own, where a pseudo-element's border
409
+ * colors replace its paint on their own, where a pseudo-element's border
410
410
  * would be decoration the theme cannot reach.
411
411
  */
412
412
  [data-ui-listbox]:focus-within [data-part-option][data-current] {
@@ -422,9 +422,9 @@
422
422
  * What the reader chose. The ground says it at a glance, the ink says it
423
423
  * again, and the mark says it where neither can: in the `high-contrast`
424
424
  * scheme the accent surface *is* the plain surface, and every tone surface
425
- * becomes `Canvas` under forced colours, so a selection painted with a fill
425
+ * becomes `Canvas` under forced colors, so a selection painted with a fill
426
426
  * alone disappears in the mode that needs it most — the same failure WCAG
427
- * 2.2 SC 1.4.1 describes for colour on its own. A bar on the start edge said
427
+ * 2.2 SC 1.4.1 describes for color on its own. A bar on the start edge said
428
428
  * it once; a rail for state is out of the system (R1), and the `indicator`
429
429
  * below is the mark that carries it instead.
430
430
  */
@@ -527,7 +527,7 @@
527
527
  /**
528
528
  * The option's own artwork, in the mark column. The box holds content and
529
529
  * paints none: a `Glyph` in an `Icon` box, or an element of the consumer's
530
- * own, centred and sized from the column, as the tick is.
530
+ * own, centerd and sized from the column, as the tick is.
531
531
  */
532
532
  [data-ui-listbox] [data-part-icon] {
533
533
  --slotted-icon-size: var(--_icon-size);
@@ -633,11 +633,11 @@
633
633
  }
634
634
  }
635
635
 
636
- /* ── Forced colours ───────────────────────────────────────────────────── */
636
+ /* ── Forced colors ───────────────────────────────────────────────────── */
637
637
 
638
638
  /**
639
639
  * The two things the theme cannot reach. Every tone surface becomes `Canvas`
640
- * under forced colours, so both the selection and the highlight — which are
640
+ * under forced colors, so both the selection and the highlight — which are
641
641
  * this family's whole state vocabulary, not decoration — would disappear and
642
642
  * leave a reader unable to tell what they have chosen from what they are on.
643
643
  */
@@ -654,7 +654,7 @@
654
654
  }
655
655
 
656
656
  /*
657
- * Forced colours remove every box shadow, and the edge with them. The width
657
+ * Forced colors remove every box shadow, and the edge with them. The width
658
658
  * comes back as an outline inside the border, and where focus draws the ring
659
659
  * on the same box an invalid ring is double, which a valid one is not.
660
660
  */
@@ -80,7 +80,7 @@
80
80
  /* ── The wash ───────────────────────────────────────────────────────────
81
81
  *
82
82
  * One element doing two jobs, and they belong together: it paints what says
83
- * the content is out of reach, and it is the one-cell grid that centres the
83
+ * the content is out of reach, and it is the one-cell grid that centers the
84
84
  * panel in the region. `dialog` splits the two because its viewport scrolls
85
85
  * and a scrim inside a scrolling box scrolls away with it; nothing here
86
86
  * scrolls, so nothing here is split.
@@ -104,7 +104,7 @@
104
104
 
105
105
  /**
106
106
  * The wash itself. `--slotted-scrim` is the foundation token the theme
107
- * restates per scheme and turns opaque under forced colours, and it is what
107
+ * restates per scheme and turns opaque under forced colors, and it is what
108
108
  * `dialog` and `drawer` already read: three families dimming a surface in
109
109
  * three tints would be three answers to one question.
110
110
  */
@@ -185,7 +185,7 @@
185
185
  * panel that took a smaller one read as part of the wash rather than as
186
186
  * something standing in front of it.
187
187
  *
188
- * The edge is not decoration. In `high-contrast` and under forced colours
188
+ * The edge is not decoration. In `high-contrast` and under forced colors
189
189
  * the shadow is dropped and the scrim goes opaque, so the edge is the only
190
190
  * thing left separating the panel from what is behind it.
191
191
  */
@@ -236,7 +236,7 @@
236
236
  * than prose: it says what a control says.
237
237
  *
238
238
  * Both lines take the same step, which is what `alert` does with its own
239
- * title and description. They are told apart by weight and colour, which
239
+ * title and description. They are told apart by weight and color, which
240
240
  * holds at every step; a second, smaller step would have run out of scale
241
241
  * under `sm`.
242
242
  */
@@ -314,14 +314,14 @@
314
314
  }
315
315
 
316
316
  /**
317
- * The family's own mark is centred; a mark the consumer put here fills the
317
+ * The family's own mark is centerd; a mark the consumer put here fills the
318
318
  * slot. `data-default` is what tells them apart, and the binding writes it —
319
319
  * asking the question in CSS would mean selecting on the nested family's own
320
320
  * attributes, which is the reach this sheet refuses everywhere else.
321
321
  *
322
322
  * The first reference page is why the two cases are split. A determinate
323
- * `ProgressBar` in a centred, content-sized slot drew a two-pixel dash at
324
- * the left of the panel: a bar has no intrinsic width to be centred at.
323
+ * `ProgressBar` in a centerd, content-sized slot drew a two-pixel dash at
324
+ * the left of the panel: a bar has no intrinsic width to be centerd at.
325
325
  */
326
326
  [data-ui-loading-overlay]
327
327
  > [data-part-scrim]
@@ -335,7 +335,7 @@
335
335
  *
336
336
  * The first says what is happening and the second says what the first could
337
337
  * not. Both wrap: a translated string is longer than the English one that
338
- * was measured, and the panel is bounded by the region it is centred in.
338
+ * was measured, and the panel is bounded by the region it is centerd in.
339
339
  *
340
340
  * `overflow-wrap` rather than a truncation, because there is nowhere for
341
341
  * truncated text to be read from — and the announcement holds the same
@@ -471,7 +471,7 @@
471
471
  * The panel is a column and a column is taller than most regions are. A card
472
472
  * is a hundred and fifty pixels; a stacked mark, line, second line and
473
473
  * control is a hundred and sixty. The first capture of this family showed
474
- * exactly that: a panel taller than the box it was centred in, spilling over
474
+ * exactly that: a panel taller than the box it was centerd in, spilling over
475
475
  * both edges with its control clipped.
476
476
  *
477
477
  * So the panel turns on its side rather than scrolling. The mark moves
@@ -585,12 +585,12 @@
585
585
  * Three ways for a region to have no room for words: it is narrower than 220
586
586
  * pixels, it is shorter than 88, or it is short enough to want the row and
587
587
  * too narrow to hold one. In all three the two lines go and the mark stays,
588
- * centred in the region.
588
+ * centerd in the region.
589
589
  *
590
590
  * They have not been taken away from anybody. They are in the announcement,
591
591
  * which is where they were carrying meaning to a screen reader all along —
592
592
  * so the smallest case loses paint and nothing else. Every surveyed
593
- * implementation centres a fixed panel here and lets it spill out of the
593
+ * implementation centers a fixed panel here and lets it spill out of the
594
594
  * region instead.
595
595
  *
596
596
  * The ground goes only when the mark is all that is left. A control on no
@@ -26,9 +26,9 @@
26
26
  * than an inline box pulled by a negative margin, because the box is
27
27
  * `checkbox`'s own grid and a grid does not sit on a line.
28
28
  *
29
- * The box is centred on the item's first line box: `1lh` is the item's line,
29
+ * The box is centerd on the item's first line box: `1lh` is the item's line,
30
30
  * and the checkbox's own line is its control type at the body line height,
31
- * which is the height its lift already centres the square in.
31
+ * which is the height its lift already centers the square in.
32
32
  */
33
33
 
34
34
  [data-ui-markdown] [data-part-task] {
@@ -118,7 +118,7 @@
118
118
  margin-inline-start: var(--slotted-space-1);
119
119
  position: relative;
120
120
  /* An inline box with nothing in flow sits on the baseline by its bottom
121
- edge, so this puts its centre at half a capital above the baseline. */
121
+ edge, so this puts its center at half a capital above the baseline. */
122
122
  vertical-align: calc(0.5cap - 0.5 * var(--_box));
123
123
  }
124
124
 
@@ -134,7 +134,7 @@
134
134
  /*
135
135
  * The bar's controls are inner controls (R2): a glyph and a ground that
136
136
  * appears on hover, square, at the control height of the bar. `download`
137
- * is an `a download`, so its underline and visited colour are reset.
137
+ * is an `a download`, so its underline and visited color are reset.
138
138
  */
139
139
  [data-ui-media-viewer] :is([data-part-close], [data-part-download]),
140
140
  [data-ui-media-viewer] [data-part-zoom] > button {
@@ -166,9 +166,9 @@
166
166
 
167
167
  /**
168
168
  * The stage is the scrollport of a zoomed picture. It is a flex container
169
- * and the frame inside it has `margin: auto`: the frame is centred while it
169
+ * and the frame inside it has `margin: auto`: the frame is centerd while it
170
170
  * fits, and once it is larger every edge stays reachable. `place-items:
171
- * center` would centre the overflow too and cut the frame's start, which no
171
+ * center` would center the overflow too and cut the frame's start, which no
172
172
  * scroll reaches.
173
173
  *
174
174
  * `touch-action: none` hands every finger to the binding: one finger pans a
@@ -210,7 +210,7 @@
210
210
 
211
211
  /**
212
212
  * At the fit the stylesheet sizes the picture alone: its own size, capped at
213
- * the stage on both axes and centred by `margin: auto`, which is `contain`
213
+ * the stage on both axes and centerd by `margin: auto`, which is `contain`
214
214
  * that never enlarges. Nothing is measured before the first paint, and a
215
215
  * server render is already right. The frame steps out of the layout there.
216
216
  *
@@ -235,7 +235,7 @@
235
235
  }
236
236
 
237
237
  /*
238
- * The picture is taken out of the frame's flow and centred on it, so the
238
+ * The picture is taken out of the frame's flow and centerd on it, so the
239
239
  * frame's size is the turned picture's alone: in the flow, an unturned
240
240
  * portrait three hundred pixels tall stretched a frame two hundred tall and
241
241
  * the turned picture sat a hundred pixels low.
@@ -367,7 +367,7 @@
367
367
  /* ── A file the viewer cannot draw, and one that did not load ────────── */
368
368
 
369
369
  /**
370
- * Both answers share one anatomy, centred on the ground: the file's tile
370
+ * Both answers share one anatomy, centerd on the ground: the file's tile
371
371
  * with its extension, a heading that says what happened, one sentence that
372
372
  * says what to do, and the actions that do it. The download is the solid
373
373
  * one, because it is the way to the file in both cases; trying again is
@@ -767,11 +767,11 @@
767
767
  border-color: var(--_ink);
768
768
  }
769
769
 
770
- /* ── Forced colours ──────────────────────────────────────────────────── */
770
+ /* ── Forced colors ──────────────────────────────────────────────────── */
771
771
 
772
772
  /*
773
773
  * The theme maps every token; what it cannot reach is a ground said by a
774
- * mix, which forced colours flatten to `Canvas`. The pointer's answer on the
774
+ * mix, which forced colors flatten to `Canvas`. The pointer's answer on the
775
775
  * controls comes back as the system pair, as in `upload`.
776
776
  */
777
777
  @media (forced-colors: active) {
package/src/menu/menu.css CHANGED
@@ -582,7 +582,7 @@
582
582
  * requires. They therefore have to answer focus with something, and answer it
583
583
  * more quietly than an item that would do anything: the ground is the same
584
584
  * highlight, so the reader still sees where they are, and the text keeps the
585
- * disabled colour, so the item still reads as unavailable. The theme's
585
+ * disabled color, so the item still reads as unavailable. The theme's
586
586
  * disabled surface stood where the highlight stands now and measured ΔL 0.005
587
587
  * against the dark surface and 0 against the high-contrast one: the pointer
588
588
  * landed on an item and nothing answered.
@@ -610,7 +610,7 @@
610
610
  * One line box tall, so a mark beside a label that wrapped onto three
611
611
  * lines sits on the first of them rather than in the middle of the item —
612
612
  * and, because the item states the line box every cell inherits, exactly
613
- * as tall as the line it sits beside. The mark is then centred on the text
613
+ * as tall as the line it sits beside. The mark is then centerd on the text
614
614
  * by construction rather than by a nudge that has to be retuned at every
615
615
  * size and density.
616
616
  */
@@ -635,7 +635,7 @@
635
635
  margin-inline-end: var(--_column-gap);
636
636
  opacity: 0;
637
637
  /**
638
- * The mark arrives and leaves: a fade with a small growth from the centre
638
+ * The mark arrives and leaves: a fade with a small growth from the center
639
639
  * of its column. 0.8 rather than the 0.95 a panel starts from, because at
640
640
  * sixteen pixels 0.95 moves the glyph's edge by under half a pixel and the
641
641
  * growth is not seen; 0.8 moves it by 1.6. Leaving takes the exit curve.
@@ -665,14 +665,14 @@
665
665
  * whose second and fifth items have icons still reads as one list rather
666
666
  * than as two.
667
667
  *
668
- * The mark takes the item's own colour rather than the muted one. Painted
668
+ * The mark takes the item's own color rather than the muted one. Painted
669
669
  * muted, a disabled item's icon was the same grey as an enabled item's —
670
670
  * `--slotted-text-muted` and `--slotted-disabled-foreground` are four points
671
671
  * apart in the light scheme — so the state the item was in could be read from
672
672
  * its label and not from its mark.
673
673
  *
674
674
  * What fills it is content: the library's own `Glyph` in an icon box, or an
675
- * element of the consumer's own, centred. The stylesheet paints nothing
675
+ * element of the consumer's own, centerd. The stylesheet paints nothing
676
676
  * here.
677
677
  *
678
678
  * The box sizes what it holds: an icon box reads `--slotted-icon-size` from
@@ -874,11 +874,11 @@
874
874
  color: var(--slotted-disabled-foreground, #64748b);
875
875
  }
876
876
 
877
- /* ── Forced colours ───────────────────────────────────────────────────── */
877
+ /* ── Forced colors ───────────────────────────────────────────────────── */
878
878
 
879
879
  /**
880
880
  * The one thing the theme cannot reach. Every tone surface becomes `Canvas`
881
- * under forced colours, so the highlight — which is this family's selection
881
+ * under forced colors, so the highlight — which is this family's selection
882
882
  * indicator, not decoration — would disappear and leave a reader with no way
883
883
  * to tell which command they are on.
884
884
  */
@@ -55,7 +55,7 @@
55
55
 
56
56
  /**
57
57
  * A sidebar of commands is a vertical menubar, and the pattern defines the
58
- * key swap for it. The triggers stretch rather than centring, because a
58
+ * key swap for it. The triggers stretch rather than centering, because a
59
59
  * column of labels reads from one edge.
60
60
  */
61
61
  [data-ui-menubar][data-orientation='vertical'] {
@@ -153,11 +153,11 @@
153
153
  background-color: var(--slotted-disabled-background, #e2e8f0);
154
154
  }
155
155
 
156
- /* ── Forced colours ───────────────────────────────────────────────────── */
156
+ /* ── Forced colors ───────────────────────────────────────────────────── */
157
157
 
158
158
  /**
159
159
  * The tone surface the open and hovered states are painted with becomes
160
- * `Canvas` under forced colours, and an open trigger is the one thing on the
160
+ * `Canvas` under forced colors, and an open trigger is the one thing on the
161
161
  * bar that has to stay distinguishable from the other three.
162
162
  */
163
163
  @media (forced-colors: active) {