@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
@@ -40,7 +40,7 @@
40
40
  /**
41
41
  * A dot, and the bar the current dot stretches into. The bar is three dots
42
42
  * long so it reads as a different shape, not a bigger dot: shape, not
43
- * colour alone, says which page is shown (WCAG 1.4.1).
43
+ * color alone, says which page is shown (WCAG 1.4.1).
44
44
  */
45
45
  --_dot: var(--slotted-space-4, 0.5rem);
46
46
  --_dot-current: var(--slotted-space-8, 1.5rem);
@@ -421,7 +421,7 @@
421
421
  /**
422
422
  * The bar wraps rather than overflows: five dots and a counter are 180
423
423
  * pixels, and a carousel in a third of a dashboard is narrower than that.
424
- * The counter drops under the dots, centred, before anything is clipped.
424
+ * The counter drops under the dots, centerd, before anything is clipped.
425
425
  */
426
426
  [data-ui-carousel] > [data-part-controls] {
427
427
  align-items: center;
@@ -498,7 +498,7 @@
498
498
  [data-ui-carousel] [data-part-indicators] {
499
499
  align-items: center;
500
500
  display: flex;
501
- /* A dot's box is twenty pixels; four between two boxes puts their centres twenty-four apart. */
501
+ /* A dot's box is twenty pixels; four between two boxes puts their centers twenty-four apart. */
502
502
  gap: var(--slotted-space-2, 0.25rem);
503
503
  justify-content: center;
504
504
  min-inline-size: 0;
@@ -507,8 +507,8 @@
507
507
  /**
508
508
  * A dot is eight pixels and the button around it is a 24-pixel row: the
509
509
  * mark is drawn by the button's own `::before`, and the box is what the
510
- * pointer hits. Two boxes side by side stand twenty-four pixels centre to
511
- * centre, which is the spacing WCAG 2.2 SC 2.5.8 accepts for a target
510
+ * pointer hits. Two boxes side by side stand twenty-four pixels center to
511
+ * center, which is the spacing WCAG 2.2 SC 2.5.8 accepts for a target
512
512
  * smaller than twenty-four.
513
513
  */
514
514
  [data-ui-carousel] [data-part-indicator] {
@@ -818,11 +818,11 @@
818
818
  }
819
819
 
820
820
  /**
821
- * The marks are painted by pseudo-elements, and forced colours repaint a
821
+ * The marks are painted by pseudo-elements, and forced colors repaint a
822
822
  * pseudo-element's ground as the page's and lose the mark. The theme has
823
- * already mapped the tokens the marks read to system colours, so the rule
823
+ * already mapped the tokens the marks read to system colors, so the rule
824
824
  * only stops the repaint, and moves the current mark to the accent tone,
825
- * which forced colours map to the highlight.
825
+ * which forced colors map to the highlight.
826
826
  */
827
827
  @media (forced-colors: active) {
828
828
  [data-ui-carousel] [data-part-indicator]::before,
@@ -394,7 +394,7 @@
394
394
 
395
395
  border-color: var(--slotted-cascader-invalid-border-color, var(--slotted-tone-danger-border));
396
396
  /*
397
- * Width as well as colour (WCAG 1.4.1), the edge `text-field` draws: in
397
+ * Width as well as color (WCAG 1.4.1), the edge `text-field` draws: in
398
398
  * `high-contrast` the danger border is the resting edge's black. The line
399
399
  * is a shadow inside the border, so neither box nor text moves, and it
400
400
  * takes the resting lift's place.
@@ -423,7 +423,7 @@
423
423
  }
424
424
 
425
425
  /*
426
- * Forced colours remove every box shadow, and the edge with them. The
426
+ * Forced colors remove every box shadow, and the edge with them. The
427
427
  * width comes back as an outline inside the border, and a focused invalid
428
428
  * control draws its ring double, which a valid ring is not.
429
429
  */
@@ -1277,7 +1277,7 @@
1277
1277
 
1278
1278
  /**
1279
1279
  * A level with nothing in it, a query with no answer, and a level that failed
1280
- * with its retry. Centred sentences in their own bidi run, as `select`'s are,
1280
+ * with its retry. Centerd sentences in their own bidi run, as `select`'s are,
1281
1281
  * and never narrower than a word.
1282
1282
  */
1283
1283
  [data-ui-cascader] :is([data-part-empty], [data-part-status]) {
@@ -1298,7 +1298,7 @@
1298
1298
  display: none;
1299
1299
  }
1300
1300
 
1301
- /* ── Forced colours ───────────────────────────────────────────────────── */
1301
+ /* ── Forced colors ───────────────────────────────────────────────────── */
1302
1302
 
1303
1303
  @media (forced-colors: active) {
1304
1304
  [data-ui-cascader] [data-part-node][data-current] {
@@ -30,13 +30,13 @@
30
30
  --_radius: var(--slotted-chart-radius, var(--slotted-radius-md, 6px));
31
31
 
32
32
  /**
33
- * ── Colour ──────────────────────────────────────────────────────────
33
+ * ── Color ──────────────────────────────────────────────────────────
34
34
  *
35
35
  * Declared on the root so the legend, the tooltip, the markers and the
36
36
  * engine read one palette. `--slotted-chart-color-1` … `-8` retune it for
37
37
  * every chart under a wrapper, or for one chart; unset, it is the theme's
38
38
  * data scale. A series names a step with `slot` and a meaning with
39
- * `tone`; no series takes a colour value (`docs/component-features.md`
39
+ * `tone`; no series takes a color value (`docs/component-features.md`
40
40
  * §2.4).
41
41
  */
42
42
  --_chart-slot-1: var(--slotted-chart-color-1, var(--slotted-data-1));
@@ -73,7 +73,7 @@
73
73
  --_chart-line-width: var(--slotted-chart-line-width, var(--slotted-border-width-thick, 2px));
74
74
  --_chart-marker-size: var(--slotted-chart-marker-size, var(--slotted-space-4, 0.5rem));
75
75
  --_chart-bar-radius: var(--slotted-chart-bar-radius, var(--slotted-radius-sm, 4px));
76
- /* The wash under a line, as a share of the series colour. A number and
76
+ /* The wash under a line, as a share of the series color. A number and
77
77
  not a token step, for the reason `sparkline` records beside its own:
78
78
  no scale in the foundation holds an opacity for a fill read through. */
79
79
  --_chart-area-opacity: var(--slotted-chart-area-opacity, 0.18);
@@ -171,7 +171,7 @@
171
171
  [data-ui-chart] > [data-part-header] {
172
172
  /* The controls sit on the title's first line and hang past their box by
173
173
  the difference, so the row does not grow the header. The actions and
174
- the toolbar share it, which is what puts them on one centre. */
174
+ the toolbar share it, which is what puts them on one center. */
175
175
  --_control-bleed: calc(
176
176
  (
177
177
  var(--slotted-font-size-lg, 1rem) * var(--slotted-line-height-lg, 1.5) -
@@ -482,7 +482,7 @@
482
482
  }
483
483
 
484
484
  /**
485
- * The colour of one series, resolved in the order the model resolves it:
485
+ * The color of one series, resolved in the order the model resolves it:
486
486
  * a tone says what the series means and wins, a slot says which one it is,
487
487
  * and the ninth series and on — which the scale never cycles to — takes the
488
488
  * muted step with a dash of its own. The legend, the markers and the
@@ -591,7 +591,7 @@
591
591
 
592
592
  /**
593
593
  * The marker is the shape of the mark it stands for, so a combined chart's
594
- * legend reads without colour: a stroke for a line, a square for a bar, an
594
+ * legend reads without color: a stroke for a line, a square for a bar, an
595
595
  * area or a slice, a disc for a scatter.
596
596
  */
597
597
  [data-ui-chart] :is([data-part-legend-marker], [data-part-tooltip-marker]) {
@@ -613,7 +613,7 @@
613
613
  }
614
614
 
615
615
  /* The line's own dash, drawn at the marker's scale, so three series that
616
- share the muted colour past the eighth slot still read apart. */
616
+ share the muted color past the eighth slot still read apart. */
617
617
  [data-ui-chart] :is([data-part-legend-marker], [data-part-tooltip-marker])[data-stroke='dashed'] {
618
618
  background: repeating-linear-gradient(to right, var(--_series) 0 3px, transparent 3px 5px);
619
619
  }
@@ -654,7 +654,7 @@
654
654
  * A hidden series keeps its place in the row — a legend that reflowed on
655
655
  * every toggle would move the next item from under the pointer — and reads
656
656
  * as off: the marker empties to its outline and the label mutes. The
657
- * outline is the series colour, so the item still says which series it
657
+ * outline is the series color, so the item still says which series it
658
658
  * would bring back.
659
659
  */
660
660
  [data-ui-chart] button[data-part-legend-item]:not([data-pressed]) {
@@ -783,7 +783,7 @@
783
783
  }
784
784
 
785
785
  /**
786
- * The marker on the point the reader is on: the series colour with a ring
786
+ * The marker on the point the reader is on: the series color with a ring
787
787
  * of the ground around it, so it separates from the line it sits on and
788
788
  * from a neighbouring series crossing at the same place.
789
789
  */
@@ -803,7 +803,7 @@
803
803
  }
804
804
 
805
805
  /* The point the reader chose stays marked after the pointer leaves: a ring
806
- in the series colour around the ground, larger than the hover marker so
806
+ in the series color around the ground, larger than the hover marker so
807
807
  the two read as two states when they meet. */
808
808
  [data-ui-chart] [data-part-marker][data-selected] {
809
809
  --_size: calc(var(--_chart-marker-size) * 2 + var(--slotted-space-2, 0.25rem));
@@ -944,7 +944,7 @@
944
944
  grid-column: 1 / 3;
945
945
  }
946
946
 
947
- /* ── The centre of a donut ────────────────────────────────────────────── */
947
+ /* ── The center of a donut ────────────────────────────────────────────── */
948
948
 
949
949
  [data-ui-chart] [data-part-center] {
950
950
  align-content: center;
@@ -1168,7 +1168,7 @@
1168
1168
  opacity: 0.35;
1169
1169
  }
1170
1170
 
1171
- /* A pie has no axes: its ring, centred, at the size the engine draws it. */
1171
+ /* A pie has no axes: its ring, centerd, at the size the engine draws it. */
1172
1172
  [data-ui-chart] [data-part-skeleton][data-kind='pie'] > [data-ui-skeleton] {
1173
1173
  align-items: center;
1174
1174
  display: flex;
@@ -1406,7 +1406,7 @@
1406
1406
  * A row in the layer is as wide as the layer, so it grows. An entry in the
1407
1407
  * legend's own line keeps the ground a mouse sees — a `+1` grown to the
1408
1408
  * comfortable height stood 26 wide and 44 tall — and a transparent
1409
- * `::after` centred on it reaches 44 pixels in both axes. The line is that
1409
+ * `::after` centerd on it reaches 44 pixels in both axes. The line is that
1410
1410
  * tall, so its clip does not cut the target, and wrapped lines stand that
1411
1411
  * far apart, so one line's targets do not reach into the next. `+N` follows
1412
1412
  * the last entry two pixels away and does not reach back across it.
@@ -1479,12 +1479,12 @@
1479
1479
  }
1480
1480
  }
1481
1481
 
1482
- /* ── Forced colours ───────────────────────────────────────────────────── */
1482
+ /* ── Forced colors ───────────────────────────────────────────────────── */
1483
1483
 
1484
1484
  /**
1485
- * Every series is one system colour here and the engine draws its textures,
1485
+ * Every series is one system color here and the engine draws its textures,
1486
1486
  * so the legend's filled markers would all read as one: they keep their
1487
- * shape, and the hidden state keeps its strike-through, which colour could
1487
+ * shape, and the hidden state keeps its strike-through, which color could
1488
1488
  * not have carried anyway.
1489
1489
  */
1490
1490
  @media (forced-colors: active) {
@@ -10,7 +10,7 @@
10
10
  * The mark is a sibling of the control and not a pseudo-element of it,
11
11
  * because Firefox renders neither `::before` nor `::after` on an `input`. It
12
12
  * is the `Glyph` element the binding renders inside that sibling, which
13
- * inherits its ink rather than baking in a colour that answers one scheme
13
+ * inherits its ink rather than baking in a color that answers one scheme
14
14
  * out of three.
15
15
  *
16
16
  * Painting reads `:checked` and `:indeterminate` rather than the mirrored
@@ -37,7 +37,7 @@
37
37
  * than one ratio (CK6).
38
38
  *
39
39
  * It is a whole number of pixels and not a fraction of the box, because a
40
- * fraction is what separated the two centres. Fifteen hundredths of a 16px
40
+ * fraction is what separated the two centers. Fifteen hundredths of a 16px
41
41
  * box is an 11.19px mark offset by 2.39px, and a browser paints a box on
42
42
  * the pixel grid: the mark was rasterised at 11px from 27px while the
43
43
  * square stood at 25px, so the ink landed half a pixel to the start side,
@@ -69,7 +69,7 @@
69
69
  /**
70
70
  * The distance from the top of the label's box to the top of the square, so
71
71
  * the box sits on the first line of a label that wraps to three rather than
72
- * in the middle of the block. Stated rather than centred: `align-items:
72
+ * in the middle of the block. Stated rather than centerd: `align-items:
73
73
  * center` on a wrapped label is what puts a checkbox beside the second line,
74
74
  * and `align-content: center` stops answering the moment the label wraps.
75
75
  */
@@ -160,9 +160,9 @@
160
160
  appearance: none;
161
161
  background-color: var(--slotted-checkbox-background, var(--slotted-surface, Canvas));
162
162
  /**
163
- * The medium step of the border scale in the strong border colour. A
163
+ * The medium step of the border scale in the strong border color. A
164
164
  * sixteen-pixel box is edged too lightly at one pixel and too heavily at
165
- * two, and the control border colour that separates a field from its
165
+ * two, and the control border color that separates a field from its
166
166
  * ground is a weaker grey than a box this small can carry.
167
167
  */
168
168
  border: var(--slotted-checkbox-border-width, var(--slotted-border-width-medium, 1.5px)) solid
@@ -214,7 +214,7 @@
214
214
  * the ink appears where the pen would have put it.
215
215
  *
216
216
  * It was `scale: 0.6` → `1` on the whole element, which grows the artwork
217
- * out of the box's geometric centre: the two ends arrive at once, the
217
+ * out of the box's geometric center: the two ends arrive at once, the
218
218
  * stroke thickens as it goes, and every subpixel error in the mark's
219
219
  * placement travels across the box while it runs. A clip moves no edge and
220
220
  * changes no size, so no frame of it can put ink outside the square.
@@ -302,9 +302,9 @@
302
302
  * stands.
303
303
  *
304
304
  * The target is `::before`: a square of the WCAG minimum, hit but never
305
- * seen. It is not centred on the box. A positioned box that hangs past the
305
+ * seen. It is not centerd on the box. A positioned box that hangs past the
306
306
  * root's end or bottom edge is scrollable overflow in whatever the checkbox
307
- * stands in, and a centred square hangs four pixels past the end in the
307
+ * stands in, and a centerd square hangs four pixels past the end in the
308
308
  * label-first arrangement and two past the bottom in both; hanging past the
309
309
  * start or the top is overflow nobody can scroll to. So the square ends
310
310
  * where the box ends, and the eight pixels it adds are above the box and on
@@ -317,7 +317,7 @@
317
317
  * text it stands half as far again: a line of text ends in a glyph's side
318
318
  * bearing, lighter than the square's solid edge, and at `dense` the bare
319
319
  * 2px read as the wash cutting into the last letter. It was a
320
- * 32px circle centred on the box, and a circle needs room the row does not
320
+ * 32px circle centerd on the box, and a circle needs room the row does not
321
321
  * have: it reached past the gap to the label in seven of nine
322
322
  * size-and-density pairs and drew under the label's first letter, and a
323
323
  * table cell a little taller than the box cut it off. Material pays for the
@@ -538,7 +538,7 @@
538
538
 
539
539
  /**
540
540
  * The ring is retargeted rather than repainted: every rule that draws focus
541
- * reads one name, so pointing it at the invalid colour moves the outline
541
+ * reads one name, so pointing it at the invalid color moves the outline
542
542
  * without a second focus rule existing anywhere.
543
543
  */
544
544
  [data-ui-checkbox][data-part-root][data-invalid] {
@@ -549,13 +549,13 @@
549
549
  }
550
550
 
551
551
  /**
552
- * The border thickens as well as changing colour. In the `high-contrast`
552
+ * The border thickens as well as changing color. In the `high-contrast`
553
553
  * scheme the theme paints `--slotted-tone-danger-border` the same black as
554
- * every other border, so colour alone would make an invalid control identical
554
+ * every other border, so color alone would make an invalid control identical
555
555
  * to a valid one — and `docs/component-features.md` §2.5 refuses a state that
556
- * only colour carries. It thickens by the edge every invalid control adds,
556
+ * only color carries. It thickens by the edge every invalid control adds,
557
557
  * `--slotted-control-invalid-edge-width`, and as a border rather than the
558
- * inset shadow a field draws, because a width survives forced colours and a
558
+ * inset shadow a field draws, because a width survives forced colors and a
559
559
  * shadow does not. The box keeps its size, because the border box is what is
560
560
  * measured.
561
561
  */
@@ -578,9 +578,9 @@
578
578
  var(--slotted-tone-danger-solid)
579
579
  );
580
580
  /*
581
- * A filled box has its border in the fill's colour, so a wider border says
582
- * nothing once the box is checked, and the fill's colour alone is what a
583
- * colour cannot carry (WCAG 1.4.1). A line of the surface inside the
581
+ * A filled box has its border in the fill's color, so a wider border says
582
+ * nothing once the box is checked, and the fill's color alone is what a
583
+ * color cannot carry (WCAG 1.4.1). A line of the surface inside the
584
584
  * border, the edge's width, parts the border from the fill: a checked
585
585
  * invalid box is a ring around a smaller fill, a checked valid one is
586
586
  * solid.
@@ -707,7 +707,7 @@
707
707
  * becoming a two-pixel chosen edge moves no line of text inside the tile. A
708
708
  * real border would have to reserve its resting width, and reserving it is
709
709
  * what makes the change shift every row by a pixel. It is a border rather
710
- * than a shadow so that it survives forced colours, where a shadow is removed
710
+ * than a shadow so that it survives forced colors, where a shadow is removed
711
711
  * outright and a width is not. `card` draws its own edge the same way and for
712
712
  * the same two reasons.
713
713
  */
@@ -865,7 +865,7 @@
865
865
  * the accessibility tree and nowhere on screen. The box inside is still
866
866
  * painted chosen — it is the mark that says what was chosen — and the frame
867
867
  * says the value is not the reader's to move, in every scheme, because the
868
- * neutral edge and the accent edge are different colours in all three.
868
+ * neutral edge and the accent edge are different colors in all three.
869
869
  */
870
870
  --_tile-edge: var(--slotted-checkbox-tile-readonly-border-color, var(--slotted-border-strong));
871
871
 
@@ -907,9 +907,9 @@
907
907
  *
908
908
  * The one place this family paints something the theme cannot reach. Forced
909
909
  * colors overrides the box's `background-color` and the mark's `color`, so
910
- * the mark and the ground it stands on would be forced to one colour and the
910
+ * the mark and the ground it stands on would be forced to one color and the
911
911
  * check would disappear into the box it is drawn in. The pair is restated here in system
912
- * colours, which is what the briefing allows a family to do exactly when the
912
+ * colors, which is what the briefing allows a family to do exactly when the
913
913
  * theme cannot.
914
914
  */
915
915
  @media (forced-colors: active) {
@@ -928,8 +928,8 @@
928
928
  * A checked invalid box keeps the checked pair. The theme maps the danger
929
929
  * fill to `ButtonFace`, so the invalid rule above painted fill, border and
930
930
  * mark in the page's white and the box looked unchecked. The wider border
931
- * takes `CanvasText`, and the parting line, a shadow forced colours remove,
932
- * comes back as an outline in the page's colour inside it; a focused one
931
+ * takes `CanvasText`, and the parting line, a shadow forced colors remove,
932
+ * comes back as an outline in the page's color inside it; a focused one
933
933
  * draws its ring double.
934
934
  */
935
935
  [data-ui-checkbox][data-part-root][data-invalid] [data-part-control]:checked,
@@ -986,7 +986,7 @@
986
986
  }
987
987
 
988
988
  /* A tile's invalid edge is the danger pair, which the theme maps to the
989
- page's white; it takes the system's text colour instead. */
989
+ page's white; it takes the system's text color instead. */
990
990
  [data-ui-checkbox][data-part-root][data-variant='tile'][data-invalid],
991
991
  [data-ui-checkbox][data-part-root][data-variant='tile'][data-invalid]:has(
992
992
  [data-part-control]:is(:checked, :indeterminate)
@@ -7,7 +7,7 @@
7
7
  * The fence agrees with `prose`'s in every measure, so a Markdown page that
8
8
  * upgrades a fence to this family moves nothing: the sunken ground, the
9
9
  * subtle edge, the medium radius, the same inset, the mono face at the small
10
- * step. Colour for a kind of word comes from the theme's own code scale and
10
+ * step. Color for a kind of word comes from the theme's own code scale and
11
11
  * never from an engine, which is what lets a scheme switch reach every one.
12
12
  *
13
13
  * The type does not follow density; the inset and the gutter do. Code at
@@ -120,7 +120,7 @@
120
120
 
121
121
  /**
122
122
  * A block with no header at all keeps its controls: they float over the
123
- * inline end of the first line, on the ground's own colour, so the code
123
+ * inline end of the first line, on the ground's own color, so the code
124
124
  * beneath them is still there when the pointer leaves.
125
125
  */
126
126
  [data-ui-code-block] > [data-part-actions] {
@@ -160,7 +160,7 @@
160
160
  }
161
161
 
162
162
  /* On a finger the target is the comfortable size in both axes and the box
163
- is the one a mouse sees: a transparent `::before` centred on each control
163
+ is the one a mouse sees: a transparent `::before` centerd on each control
164
164
  reaches 44 pixels, and the ground and the ring stay square. The two
165
165
  stand two pixels apart, so neither reaches across the edge they share. */
166
166
  @media (pointer: coarse) {
@@ -197,7 +197,7 @@
197
197
  color: var(--slotted-tone-accent-text, CanvasText);
198
198
  }
199
199
 
200
- /** A copy that finished: the mark changes as well as the colour, and returns on its own. */
200
+ /** A copy that finished: the mark changes as well as the color, and returns on its own. */
201
201
  [data-ui-code-block] [data-part-copy][data-complete] {
202
202
  color: var(--slotted-tone-success-text, CanvasText);
203
203
  }
@@ -122,7 +122,7 @@
122
122
  */
123
123
  [data-ui-collapsible] > [data-part-header] > [data-part-trigger] {
124
124
  /* A height above the content's would otherwise be split over both rows,
125
- the empty description row included, and lift the title off centre. */
125
+ the empty description row included, and lift the title off center. */
126
126
  align-content: center;
127
127
  align-items: center;
128
128
  appearance: none;
@@ -161,7 +161,7 @@
161
161
 
162
162
  /**
163
163
  * The words and the second line share the first column; the mark sits in the
164
- * second across both rows, so it is centred on the pair rather than on the
164
+ * second across both rows, so it is centerd on the pair rather than on the
165
165
  * title alone.
166
166
  */
167
167
  [data-ui-collapsible] > [data-part-header] > [data-part-trigger] > [data-part-label] {
@@ -208,7 +208,7 @@
208
208
 
209
209
  /**
210
210
  * The second line. It is inside the trigger, so it is part of the accessible
211
- * name — "Entrega, 3 de 12 itens" is what a reader hears, which is what a
211
+ * name — "Delivery, 3 of 12 items" is what a reader hears, which is what a
212
212
  * summary of the hidden content is for.
213
213
  */
214
214
  [data-ui-collapsible] > [data-part-header] > [data-part-trigger] > [data-part-description] {
@@ -248,7 +248,7 @@
248
248
  [data-ui-collapsible] > [data-part-header] > [data-part-trigger] > [data-part-indicator] {
249
249
  /**
250
250
  * On the first line of the title, by R5, and not on the middle of what the
251
- * trigger holds. Centred over both rows the mark stood 9.25 to 10.25 pixels
251
+ * trigger holds. Centerd over both rows the mark stood 9.25 to 10.25 pixels
252
252
  * under the line it annotates wherever a description was written, and 32
253
253
  * pixels under it where the title wrapped to three lines — the disclosure's
254
254
  * own version of what AL1 fixed in `alert` and SL7 in `select` (CL1).
@@ -256,7 +256,7 @@
256
256
  * `1lh` resolves against *this* element's line box, and this element
257
257
  * inherits the trigger's font and line-height, so the line it measures is
258
258
  * the line the title sets. The mark keeps its own row: spanning both put it
259
- * in a box the description made taller, which is what centred it there.
259
+ * in a box the description made taller, which is what centerd it there.
260
260
  */
261
261
  --slotted-icon-size: var(--_icon-size);
262
262
  align-self: start;
@@ -1,15 +1,15 @@
1
1
  @layer slotted.components {
2
2
  /**
3
- * ── Choosing a colour ──────────────────────────────────────────────────
3
+ * ── Choosing a color ──────────────────────────────────────────────────
4
4
  *
5
5
  * A panel: an area for saturation and brightness, a hue channel, an alpha
6
- * channel, a preview of the colour now beside the colour it opened with,
6
+ * channel, a preview of the color now beside the color it opened with,
7
7
  * the value as text in its notation, the eyedropper, the presets and the
8
8
  * contrast against a background the consumer names. It stands inline, or
9
9
  * inside a popover opened from the field's swatch
10
- * (docs/history/designs/2026-10-01-color-picker-design.md).
10
+ *.
11
11
  *
12
- * Every colour on this page is the reader's colour, written by the binding
12
+ * Every color on this page is the reader's color, written by the binding
13
13
  * as a runtime property (`runtime-properties.mjs`); the panel's own chrome
14
14
  * reads the theme like any other family.
15
15
  */
@@ -25,7 +25,7 @@
25
25
  --_hue: var(--slotted-color-picker-hue, 0);
26
26
  /**
27
27
  * The transparency grid: two squares of the theme's own surfaces, so an
28
- * alpha colour reads against the page it will sit on rather than against
28
+ * alpha color reads against the page it will sit on rather than against
29
29
  * a grey nobody chose. The square is half the channel's height.
30
30
  */
31
31
  --_checker: repeating-conic-gradient(
@@ -67,7 +67,7 @@
67
67
  * to black along the block axis — the HSV square. White and black are the
68
68
  * model, not a choice of the theme, which is why they are literals here
69
69
  * and nowhere else. The edge is drawn inside, a hairline of the theme's
70
- * subtle border, so a pale colour still has a boundary on a pale page.
70
+ * subtle border, so a pale color still has a boundary on a pale page.
71
71
  */
72
72
  [data-ui-color-picker] [data-part-area] {
73
73
  aspect-ratio: 3 / 2;
@@ -93,7 +93,7 @@
93
93
 
94
94
  /* ── The thumbs ─────────────────────────────────────────────────────────
95
95
  *
96
- * A disc of the colour it stands on, inside a white ring and a hairline of
96
+ * A disc of the color it stands on, inside a white ring and a hairline of
97
97
  * shadow, so it reads on the black corner and on the white one alike. The
98
98
  * ring is the model's white for the reason the area's is. Held, it grows a
99
99
  * step, so the reader sees what the pointer has taken.
@@ -141,7 +141,7 @@
141
141
  *
142
142
  * Hue is one gradient interpolated the long way round the hue circle, so
143
143
  * the browser draws the rainbow rather than seven stops written by hand.
144
- * Alpha is the colour fading to nothing over the transparency grid.
144
+ * Alpha is the color fading to nothing over the transparency grid.
145
145
  */
146
146
  [data-ui-color-picker] [data-part-channel] {
147
147
  block-size: var(--_channel);
@@ -173,8 +173,8 @@
173
173
  inset-block-start: 50%;
174
174
  }
175
175
 
176
- /* A channel's thumb travels inside the track, its centre a half thumb in
177
- from each end, so at 0 and at the maximum it still sits on the colour it
176
+ /* A channel's thumb travels inside the track, its center a half thumb in
177
+ from each end, so at 0 and at the maximum it still sits on the color it
178
178
  names rather than hanging past the rounded end. */
179
179
  [data-ui-color-picker] [data-part-channel-thumb][data-channel='hue'] {
180
180
  background: hsl(calc(var(--_hue) * 1deg) 100% 50%);
@@ -206,9 +206,9 @@
206
206
  }
207
207
 
208
208
  /**
209
- * Now and before, side by side in one rounded box: the colour being made on
210
- * the start, the colour the panel opened with on the end. Each half is the
211
- * colour over the transparency grid. Pressing the old half restores it.
209
+ * Now and before, side by side in one rounded box: the color being made on
210
+ * the start, the color the panel opened with on the end. Each half is the
211
+ * color over the transparency grid. Pressing the old half restores it.
212
212
  */
213
213
  [data-ui-color-picker] [data-part-swatch],
214
214
  [data-ui-color-picker] [data-part-previous] {
@@ -252,7 +252,7 @@
252
252
  transition: opacity var(--slotted-duration-short) var(--slotted-easing-standard);
253
253
  }
254
254
 
255
- /* The old colour answers the pointer with the revert mark over it. */
255
+ /* The old color answers the pointer with the revert mark over it. */
256
256
  [data-ui-color-picker] [data-part-previous] > [data-ui-icon] {
257
257
  --slotted-icon-size: var(--_icon-size);
258
258
 
@@ -321,15 +321,15 @@
321
321
 
322
322
  /**
323
323
  * Words and a mark in one button — a country code over its chevron, a model
324
- * name, a notation. The mark is centred on the band the letters occupy, not
324
+ * name, a notation. The mark is centerd on the band the letters occupy, not
325
325
  * on the line box: the line box keeps room under the baseline for
326
- * descenders, so a box centred in it sits low beside the letters — every
326
+ * descenders, so a box centerd in it sits low beside the letters — every
327
327
  * chevron in these buttons did. The rule is the briefing's (_A mark beside a
328
328
  * line of text is aligned to the text_), here in a grid: items share the
329
329
  * baseline, the mark's synthesized baseline is its bottom edge, a negative
330
330
  * start margin takes back the height it would add above the letters, and a
331
- * translate puts its centre at `(1cap + 1ex) / 4` above the baseline — the
332
- * midpoint of the capitals' and the lowercase letters' own centres.
331
+ * translate puts its center at `(1cap + 1ex) / 4` above the baseline — the
332
+ * midpoint of the capitals' and the lowercase letters' own centers.
333
333
  */
334
334
  [data-ui-color-picker] [data-part-format] {
335
335
  align-content: center;
@@ -376,8 +376,8 @@
376
376
  /* ── Presets ────────────────────────────────────────────────────────────
377
377
  *
378
378
  * A radio group of swatches on a grid that fills the panel's width. The
379
- * chosen one is ringed in the theme's ring colour at a gap of the panel's
380
- * ground, so the ring never touches the colour it marks.
379
+ * chosen one is ringed in the theme's ring color at a gap of the panel's
380
+ * ground, so the ring never touches the color it marks.
381
381
  */
382
382
  [data-ui-color-picker] [data-part-presets] {
383
383
  display: grid;
@@ -434,9 +434,9 @@
434
434
 
435
435
  /* ── Contrast and gamut ─────────────────────────────────────────────────
436
436
  *
437
- * `Aa` set in the colour on the background the consumer named, beside the
437
+ * `Aa` set in the color on the background the consumer named, beside the
438
438
  * WCAG ratio and the level it reaches. The level is a word in a badge
439
- * coloured by its tone, never colour alone.
439
+ * colored by its tone, never color alone.
440
440
  */
441
441
  [data-ui-color-picker] [data-part-contrast] {
442
442
  align-items: center;
@@ -498,7 +498,7 @@
498
498
 
499
499
  /* ── The field's swatch ─────────────────────────────────────────────────
500
500
  *
501
- * In a `text-field`'s start: a rounded square of the colour over the grid,
501
+ * In a `text-field`'s start: a rounded square of the color over the grid,
502
502
  * at the inner size of the control, concentric with the field's corner.
503
503
  * It is the trigger, and it answers the press like the field's other inner
504
504
  * buttons, by its ground — here the ring around it.
@@ -19,7 +19,7 @@
19
19
  * The checkbox, the text field, the buttons and the pin menu are their
20
20
  * families', and so are the glyphs: the magnifier, the grip and the pin are
21
21
  * each an `icon` holding the library's `Glyph`, drawn by the binding and
22
- * coloured by the control it stands in. Every part of this family is reached from the root with child
22
+ * colored by the control it stands in. Every part of this family is reached from the root with child
23
23
  * combinators, because the checkbox has a `description` and a `label` of its
24
24
  * own, and the buttons a `label`: a descendant rule would restyle theirs.
25
25
  *
@@ -38,7 +38,7 @@
38
38
  --_gap: var(--slotted-control-gap-md, 8px);
39
39
  --_font-size: var(--slotted-control-font-size-md, 13px);
40
40
  --_line-height: var(--slotted-line-height-md, 1.5);
41
- /* The checkbox's label line: the family's controls centre on it. */
41
+ /* The checkbox's label line: the family's controls center on it. */
42
42
  --_line: calc(var(--_font-size) * var(--_line-height));
43
43
  --_glyph: var(--slotted-control-icon-size-sm, 14px);
44
44
  --_control: min(
@@ -240,7 +240,7 @@
240
240
  }
241
241
 
242
242
  /* A pinned column's pin is in the accent ink: the zone it is in is also the
243
- section it stands under, so the colour is the second of two signals. */
243
+ section it stands under, so the color is the second of two signals. */
244
244
  [data-ui-column-manager]
245
245
  > [data-part-list]
246
246
  > [data-part-section]
@@ -347,7 +347,7 @@
347
347
  /**
348
348
  * Where a pointer drop would land: a line of no height between two rows, so
349
349
  * nothing moves while the reader aims. It is drawn in the section's inset
350
- * and in the accent solid, the colour the grid's own drop line takes.
350
+ * and in the accent solid, the color the grid's own drop line takes.
351
351
  */
352
352
  [data-ui-column-manager] > [data-part-list] > [data-part-section] > [data-part-drop-indicator] {
353
353
  block-size: 0;
@@ -419,7 +419,7 @@
419
419
  * The trigger is the consumer's button, usually another family's root, so it
420
420
  * is reached by the attribute this family writes on it rather than by a
421
421
  * part it could not keep. The count is a chip beside the words, in the
422
- * accent pair, as the notification centre draws an unread count.
422
+ * accent pair, as the notification center draws an unread count.
423
423
  */
424
424
  [data-part-trigger][data-column-manager-trigger],
425
425
  [data-column-manager-trigger] {