@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
@@ -3,7 +3,7 @@
3
3
  * ── The avatar box ─────────────────────────────────────────────────────
4
4
  *
5
5
  * A picture of a person or an entity, and what stands in when there is none.
6
- * The order is the family's whole behaviour: the picture, then the initials
6
+ * The order is the family's whole behavior: the picture, then the initials
7
7
  * taken from the name, then a glyph the family owns — so a request that fails
8
8
  * never paints the browser's torn-page mark.
9
9
  *
@@ -20,7 +20,7 @@
20
20
  [data-ui-avatar][data-part-root] {
21
21
  /**
22
22
  * Tone. `secondary` reads the `solid-hover` step rather than `solid` for
23
- * the reason `badge` records: `secondary.solid` is the surface colour in
23
+ * the reason `badge` records: `secondary.solid` is the surface color in
24
24
  * all three schemes, so a filled neutral avatar would be a hole in the page
25
25
  * rather than a disc.
26
26
  */
@@ -65,7 +65,7 @@
65
65
  * the answer is its own fill: the edge is the disc, so there is no rim.
66
66
  *
67
67
  * `secondary` is the exception, and it is the only one, for the reason
68
- * `badge` records against the same colour: the neutral fill is `#e6e6e6`
68
+ * `badge` records against the same color: the neutral fill is `#e6e6e6`
69
69
  * against the page's own white in `high-contrast`, so a filled neutral
70
70
  * avatar with no edge is not a disc, it is a smudge. Every other tone
71
71
  * carries its own boundary there.
@@ -75,8 +75,8 @@
75
75
  /**
76
76
  * What separates this avatar from whatever it is drawn over. Nought until a
77
77
  * container asks for it, because a lone avatar overlaps nothing; a group
78
- * turns it on for every member. It is a colour and not a boolean, because
79
- * an avatar inside a card, a toolbar or a coloured row is not sitting on
78
+ * turns it on for every member. It is a color and not a boolean, because
79
+ * an avatar inside a card, a toolbar or a colored row is not sitting on
80
80
  * the page's own surface — the same reason `badge` gives for its own ring.
81
81
  */
82
82
  --_ring-width: var(--slotted-avatar-ring-width, 0);
@@ -120,7 +120,7 @@
120
120
  */
121
121
  border-color: var(--_edge);
122
122
  border-radius: var(--_radius);
123
- /* Three longhands rather than the shorthand: an undefined colour makes a
123
+ /* Three longhands rather than the shorthand: an undefined color makes a
124
124
  `var()` shorthand invalid at computed-value time, and the width would
125
125
  fall back to `medium` — three pixels — rather than to this one. */
126
126
  border-style: solid;
@@ -164,7 +164,7 @@
164
164
  */
165
165
  text-decoration: none;
166
166
  /**
167
- * The edge changes colour at the moment the picture arrives — the tone's
167
+ * The edge changes color at the moment the picture arrives — the tone's
168
168
  * own rim gives way to the neutral one a photograph wants — so it crosses
169
169
  * on the same clock as the picture. Without it the rim snapped from red to
170
170
  * grey a frame before the face had finished appearing, which was the one
@@ -183,11 +183,11 @@
183
183
  /* Initials are a label, not a selection: dragging across a row of faces
184
184
  should not highlight a column of letters. */
185
185
  user-select: none;
186
- /* Written beside a name, an avatar sits on the text's centre. */
186
+ /* Written beside a name, an avatar sits on the text's center. */
187
187
  vertical-align: middle;
188
188
  }
189
189
 
190
- /* ── Tone: which of the five semantic colours the name resolves to ─────── */
190
+ /* ── Tone: which of the five semantic colors the name resolves to ─────── */
191
191
 
192
192
  [data-ui-avatar][data-part-root][data-tone='accent'] {
193
193
  --_solid: var(--slotted-tone-accent-solid);
@@ -264,7 +264,7 @@
264
264
 
265
265
  /**
266
266
  * Primer's rule, taken with its meaning: a circle is a person and a square is
267
- * a team, an organisation or a bot.
267
+ * a team, an organization or a bot.
268
268
  *
269
269
  * The corner is a sixth of the box rather than a step of the radius scale.
270
270
  * `radius-md` is six pixels, which is a gentle round on a 64-pixel square and
@@ -377,19 +377,19 @@
377
377
  }
378
378
 
379
379
  /**
380
- * A flex container centres the line box, and a line box is not symmetric
380
+ * A flex container centers the line box, and a line box is not symmetric
381
381
  * around the letters inside it: the ascender reaches further above the cap
382
382
  * than the descender reaches below the baseline, and two initials have no
383
383
  * descender. Measured with the Geist face at `compact`, `AL` sat 0.56 pixels
384
384
  * high in the 32-pixel disc and 0.68 high in the 26-pixel one; at
385
385
  * `comfortable`, 1.13 high in the 64-pixel one. `text-box` trims the line to
386
- * the cap and the baseline, so what is centred is the ink rather than the
386
+ * the cap and the baseline, so what is centerd is the ink rather than the
387
387
  * font's metrics — the rule `badge`, `kbd`, `tag` and `button` each carry.
388
388
  *
389
389
  * Those four have a label part to carry it. The initials are written straight
390
390
  * into the fallback, and `text-box-trim` needs a block container — a flex
391
391
  * container's text lives in an anonymous item no selector can reach — so the
392
- * fallback itself becomes the block and centres its one line with
392
+ * fallback itself becomes the block and centers its one line with
393
393
  * `align-content`, which block containers have taken since Chrome 123 and
394
394
  * Safari 17.4, both earlier than the trim. The box keeps its full size, so
395
395
  * the disc still clips a long word and no descender is beheaded: the clip is
@@ -399,7 +399,7 @@
399
399
  * Only a fallback holding nothing but text is trimmed. A projected logo or
400
400
  * icon is not a line of type: it sits on the baseline of a line whose trim is
401
401
  * measured from the font, and trimming that line would move the artwork
402
- * rather than centre it. `:has(> *)` is the whole test, and it excludes the
402
+ * rather than center it. `:has(> *)` is the whole test, and it excludes the
403
403
  * family's own glyph as well, which is an icon and needs no line at all.
404
404
  */
405
405
  @supports (text-box: trim-both cap alphabetic) {
@@ -414,7 +414,7 @@
414
414
  /* ── The picture that arrived, and the one that did not ───────────────── */
415
415
 
416
416
  /**
417
- * A photograph does not want a coloured rim, and a photograph of a white wall
417
+ * A photograph does not want a colored rim, and a photograph of a white wall
418
418
  * on a white surface with no rim at all has no boundary. `border-subtle` is
419
419
  * the token that separates one surface from another everywhere else.
420
420
  *
@@ -453,7 +453,7 @@
453
453
  * A deactivated account, or an avatar inside a control the page has turned
454
454
  * off. It stays legible rather than merely faded: the letters keep the
455
455
  * disabled foreground, which the theme holds against the disabled ground, and
456
- * the photograph loses its colour rather than its contrast.
456
+ * the photograph loses its color rather than its contrast.
457
457
  */
458
458
  [data-ui-avatar][data-part-root][data-disabled] {
459
459
  --_solid: var(--slotted-disabled-background, Canvas);
@@ -464,7 +464,7 @@
464
464
  }
465
465
 
466
466
  /**
467
- * Colour alone would not be enough and colour alone is not what changes: the
467
+ * Color alone would not be enough and color alone is not what changes: the
468
468
  * photograph loses its hue and part of its opacity, so the disabled ground
469
469
  * shows through and a switched-off face reads as switched off beside one that
470
470
  * has no photograph at all. Grey alone kept every luminance, which made a
@@ -503,7 +503,7 @@
503
503
  * padding box grown by this length, corner radii grown with it, so a
504
504
  * circular avatar is clipped to a larger circle rather than to a square,
505
505
  * and the corners of the 24-pixel square still answer a press. One target's
506
- * length is more than any centred target can reach past a box — half is the
506
+ * length is more than any centerd target can reach past a box — half is the
507
507
  * exact figure — and the property takes a plain length: Chrome rejects
508
508
  * `calc()` here, and a rejected value computes to nought, which clips the
509
509
  * target to the face.
@@ -514,9 +514,9 @@
514
514
 
515
515
  /**
516
516
  * Hover and press answer on the ground, the way `tag` answers on its own: the
517
- * letters' colour laid over the fill at eight and fourteen per cent. The rim
517
+ * letters' color laid over the fill at eight and fourteen per cent. The rim
518
518
  * keeps the tone. It used to turn `border-strong` on hover, which took the
519
- * colour out of the one thing the pointer was on, and in `high-contrast` the
519
+ * color out of the one thing the pointer was on, and in `high-contrast` the
520
520
  * tone's rim and `border-strong` are both black, so the hover changed nothing.
521
521
  *
522
522
  * Press exists because `render` makes the root a link or a button, and a
@@ -544,13 +544,13 @@
544
544
 
545
545
  /**
546
546
  * A photograph covers the ground, so a face answers on its frame instead: the
547
- * rim steps to `border-strong` and a ring of the same colour grows outside it,
547
+ * rim steps to `border-strong` and a ring of the same color grows outside it,
548
548
  * one pixel under the pointer and two under the press. The ring is what keeps
549
549
  * the hover visible in `high-contrast`, where the rim is black before and
550
550
  * after.
551
551
  *
552
552
  * One attribute fewer than the group's raise on purpose. Inside a stack the
553
- * ring belongs to the group — the surface-coloured gap between a raised face
553
+ * ring belongs to the group — the surface-colored gap between a raised face
554
554
  * and the one it covers — and the lower weight is what lets the group's
555
555
  * declaration of the same token win without either file knowing the order
556
556
  * the other is loaded in.
@@ -586,7 +586,7 @@
586
586
  * it is never larger than the box it belongs to when the box already passes.
587
587
  *
588
588
  * One negative inset on all four sides, and not a size with `margin: auto`.
589
- * Auto margins centre a box that fits; a box wider than the space it is
589
+ * Auto margins center a box that fits; a box wider than the space it is
590
590
  * placed in is over-constrained, and the rule the engine applies then is to
591
591
  * keep the start margin and put the whole difference on the end one. So the
592
592
  * 24-pixel target sat against the leading edge of a 20-pixel avatar and hung
@@ -609,7 +609,7 @@
609
609
  }
610
610
 
611
611
  /**
612
- * ── Forced colours ─────────────────────────────────────────────────────
612
+ * ── Forced colors ─────────────────────────────────────────────────────
613
613
  *
614
614
  * The theme maps every tone ground to `ButtonFace` or `Canvas`, so a tinted
615
615
  * avatar and a filled one become the same disc and an avatar whose edge
@@ -617,7 +617,7 @@
617
617
  * paint left that still separates a face from the page.
618
618
  *
619
619
  * The picture is exempt: `forced-color-adjust` is not applied to images by
620
- * the user agent, and a photograph reduced to two system colours is not a
620
+ * the user agent, and a photograph reduced to two system colors is not a
621
621
  * photograph.
622
622
  */
623
623
  @media (forced-colors: active) {
@@ -182,7 +182,7 @@
182
182
  * front of the ones it overlaps, and `z-index` is what puts it there.
183
183
  *
184
184
  * Then the ring, which is the avatar's own — the one it keeps at nought until
185
- * something it overlaps asks for it, in the surface colour it already
185
+ * something it overlaps asks for it, in the surface color it already
186
186
  * defaults to. A stack draws every member over the trailing edge of the one
187
187
  * before it, so a raised face has a neighbour's picture against its own edge
188
188
  * on one side, and a ring of the surface is the gap that edge would have had
@@ -22,7 +22,7 @@
22
22
  * badge with no tone stated is holding a number, not an opinion.
23
23
  *
24
24
  * The neutral fill is the tone's `solid-hover` step rather than its
25
- * `solid` one. `solid` is the same colour as `surface` in all three
25
+ * `solid` one. `solid` is the same color as `surface` in all three
26
26
  * schemes, so a filled neutral badge and a tinted one were the same
27
27
  * rectangle, and neither of them read as filled. One step down the tone's
28
28
  * own ramp — 1.48:1 against the light surface where `solid` is 1.23:1,
@@ -64,7 +64,7 @@
64
64
  * The disc is as wide as the type it stands beside, rather than a step of
65
65
  * the space scale chosen for it. Two readings of the harness produced the
66
66
  * rule: at six pixels the 3:1 rim left four pixels of tone and every small
67
- * dot read as dark rather than as its own colour, and at a free sixteen the
67
+ * dot read as dark rather than as its own color, and at a free sixteen the
68
68
  * large dot stood taller than the fourteen-pixel words next to it. A mark
69
69
  * that accompanies text is the height of that text, it can never outgrow
70
70
  * it, and it answers density without a third scale saying how.
@@ -116,12 +116,12 @@
116
116
  * the affordance; the underline belongs to `link`, on a link.
117
117
  */
118
118
  text-decoration: none;
119
- /* Written inside a sentence, a badge sits on the text's centre. */
119
+ /* Written inside a sentence, a badge sits on the text's center. */
120
120
  vertical-align: middle;
121
121
  white-space: nowrap;
122
122
  }
123
123
 
124
- /* ── Tone: which of the five semantic colours the badge speaks in ─────── */
124
+ /* ── Tone: which of the five semantic colors the badge speaks in ─────── */
125
125
 
126
126
  [data-ui-badge][data-part-root][data-tone='secondary'] {
127
127
  --_edge: var(--_border);
@@ -281,13 +281,13 @@
281
281
  * The text has a box of its own, as it does in `button`, and that box is what
282
282
  * makes the badge's one real typographic problem solvable.
283
283
  *
284
- * A flex container centres the *line box*, and a line box is not symmetric
284
+ * A flex container centers the *line box*, and a line box is not symmetric
285
285
  * around the letters inside it: the ascender reaches further above the cap
286
286
  * than the descender reaches below the baseline. Measured on this family
287
287
  * before the part existed, a word with no descender sat 2.19 pixels high in a
288
288
  * 24-pixel badge — six pixels of clearance above the ink and eight below it —
289
289
  * while a word with a descender looked correct. `text-box` trims the line box
290
- * to the cap and the baseline, so what is centred is the ink rather than the
290
+ * to the cap and the baseline, so what is centerd is the ink rather than the
291
291
  * font's metrics, and every word sits the same way whatever letters it holds.
292
292
  *
293
293
  * It is applied here rather than on the root because `text-box-trim` needs a
@@ -314,7 +314,7 @@
314
314
  * cap and the baseline, and `overflow: hidden` cut them off — visible in
315
315
  * the first capture as a beheaded `g` in `Awaiting`. The padding gives
316
316
  * the clip region room for them and the negative margin gives the space
317
- * straight back, so the box the root centres is still the trimmed one and
317
+ * straight back, so the box the root centers is still the trimmed one and
318
318
  * the badge is the height it was.
319
319
  *
320
320
  * A proportion of the type rather than a step of any scale: what has to
@@ -419,7 +419,7 @@
419
419
  /**
420
420
  * The ring is what separates the badge from whatever it is sitting on.
421
421
  * It is a token rather than a boolean, because a badge inside a card, a
422
- * toolbar or a coloured row is not sitting on the page's own surface.
422
+ * toolbar or a colored row is not sitting on the page's own surface.
423
423
  */
424
424
  box-shadow: 0 0 0 var(--slotted-badge-ring-width, var(--slotted-border-width-thick, 2px))
425
425
  var(--slotted-badge-ring-color, var(--slotted-surface, Canvas));
@@ -453,7 +453,7 @@
453
453
  }
454
454
 
455
455
  /**
456
- * ── Forced colours ─────────────────────────────────────────────────────
456
+ * ── Forced colors ─────────────────────────────────────────────────────
457
457
  *
458
458
  * The one place a family may write its own rule: the theme maps every tone
459
459
  * ground to `ButtonFace` or `Canvas` and every tone border to `ButtonBorder`,
@@ -5,10 +5,10 @@
5
5
  * from the control scale is the gap and the type size, so a trail sitting
6
6
  * above a toolbar reads at the same weight as the toolbar's own labels.
7
7
  *
8
- * Two colours carry the whole family. `--_rest` is the muted step every
9
- * ancestor is painted in, and `--_strong` is the page's own text colour,
8
+ * Two colors carry the whole family. `--_rest` is the muted step every
9
+ * ancestor is painted in, and `--_strong` is the page's own text color,
10
10
  * which is where hover goes and where the current page sits already. Mixing
11
- * toward a colour the theme holds to a contrast ratio in every scheme is the
11
+ * toward a color the theme holds to a contrast ratio in every scheme is the
12
12
  * rule `link` arrived at after painting hover with a fill role; a trail is
13
13
  * text for the same reason a link is.
14
14
  */
@@ -132,8 +132,8 @@
132
132
 
133
133
  /* ── The crumbs ─────────────────────────────────────────────────────────
134
134
  *
135
- * An ancestor is a muted label that reaches the page's text colour under the
136
- * pointer, and the current page is that colour already. Neither is
135
+ * An ancestor is a muted label that reaches the page's text color under the
136
+ * pointer, and the current page is that color already. Neither is
137
137
  * underlined at rest: a trail is a row of eight rules stacked above a
138
138
  * heading, and the underline arrives with the pointer and with focus, where
139
139
  * it distinguishes the one crumb being addressed from the seven beside it.
@@ -196,7 +196,7 @@
196
196
  * What a crumb carries beside its label: a glyph or an avatar before it, a
197
197
  * count after it, the chevron at the end of a switcher. They stay inline so
198
198
  * the label keeps its ellipsis — a flex crumb would put the text in an
199
- * anonymous box that cannot truncate — and `icon` already centres itself on
199
+ * anonymous box that cannot truncate — and `icon` already centers itself on
200
200
  * the text. The trail only decides the distance, a step of 6 either side.
201
201
  * An atomic inline box takes no underline, so the hover rule marks the words
202
202
  * and not the glyph.
@@ -225,7 +225,7 @@
225
225
  }
226
226
 
227
227
  /**
228
- * The page the reader is on. It takes the strongest text colour and gains
228
+ * The page the reader is on. It takes the strongest text color and gains
229
229
  * weight, so the end of the trail is legible without reading it — and the
230
230
  * weight is on the one crumb that never moves, so nothing beside it shifts
231
231
  * when the pointer arrives.
@@ -240,17 +240,17 @@
240
240
  text-decoration-color: currentColor;
241
241
  }
242
242
 
243
- /* An open switcher holds the pressed colour for as long as its menu is up. */
243
+ /* An open switcher holds the pressed color for as long as its menu is up. */
244
244
  [data-ui-breadcrumb]
245
245
  :is([data-part-link], [data-part-trigger]):not([data-disabled]):is(:active, [data-open]) {
246
246
  color: var(--_strong);
247
247
  /* Without the pointer over it an open switcher would read as the page:
248
- same colour, no mark. The underline says which crumb the menu is from. */
248
+ same color, no mark. The underline says which crumb the menu is from. */
249
249
  text-decoration-color: currentColor;
250
250
  }
251
251
 
252
252
  /**
253
- * The page's own switcher is already at the strongest colour, so the pointer
253
+ * The page's own switcher is already at the strongest color, so the pointer
254
254
  * brings only the underline, and a press — or the menu it opened — steps the
255
255
  * label back to the hover mix. Hover and press still differ, as on a link.
256
256
  */
@@ -333,7 +333,7 @@
333
333
  *
334
334
  * What the collapse hides, and the control that reveals it. It is an inner
335
335
  * control, not a button (R2, BC1): one line of the trail tall, so it sits
336
- * on the crumbs' own line and not on a taller box centred over it; the
336
+ * on the crumbs' own line and not on a taller box centerd over it; the
337
337
  * control glyph plus a step of air wide, floored at the WCAG 2.2 minimum;
338
338
  * and the rest of that minimum in the block axis is a transparent halo
339
339
  * around the paint, so the target is whole without the box being tall.
@@ -353,7 +353,7 @@
353
353
  *
354
354
  * The box still keeps the trail's type, because `1lh` is the trail's line
355
355
  * and that is the alignment BC1 asks for: the box is one line of the trail
356
- * tall and the mark is centred in it.
356
+ * tall and the mark is centerd in it.
357
357
  *
358
358
  * The button's accessible name says how many crumbs it hides, so what a
359
359
  * reader hears is a count rather than three dots.
@@ -417,16 +417,16 @@
417
417
  background-color: var(--slotted-breadcrumb-ellipsis-background-active, var(--_ellipsis-active));
418
418
  }
419
419
 
420
- /* ── Forced colours ─────────────────────────────────────────────────────
420
+ /* ── Forced colors ─────────────────────────────────────────────────────
421
421
  *
422
422
  * The theme remaps every token it owns, so this block covers only what the
423
423
  * family paints itself, which is one thing: the separator is a painted rule,
424
424
  * and a painted surface is replaced by the page's own background when the
425
- * system takes the palette over. It is restated against a system colour so
425
+ * system takes the palette over. It is restated against a system color so
426
426
  * the trail keeps its marks.
427
427
  *
428
428
  * The ellipsis mark is an `svg` stroked in `currentColor`, which is the
429
- * button's own ink, and the system forces that ink to its text colour.
429
+ * button's own ink, and the system forces that ink to its text color.
430
430
  */
431
431
 
432
432
  @media (forced-colors: active) {
@@ -13,10 +13,10 @@
13
13
  *
14
14
  * The tone roles travel through private properties because three variants
15
15
  * paint the same roles differently; naming them once per tone is what keeps
16
- * the variant rules from repeating five colour maps each.
16
+ * the variant rules from repeating five color maps each.
17
17
  *
18
18
  * Nothing in this sheet changes a size when a state changes. Every state is
19
- * a colour; the only one drawn outside the border box is focus, which is an
19
+ * a color; the only one drawn outside the border box is focus, which is an
20
20
  * outline. The rebuild that preceded this one thickened the border on a
21
21
  * pressed toggle, which moved every control beside it by two pixels.
22
22
  */
@@ -128,12 +128,12 @@
128
128
  /* The press below moves the control, and the release eases it back. */ transform
129
129
  var(--slotted-control-transition-duration) var(--slotted-control-transition-easing);
130
130
  user-select: none;
131
- /* A control written inside a sentence sits on the text's centre, not on its baseline. */
131
+ /* A control written inside a sentence sits on the text's center, not on its baseline. */
132
132
  vertical-align: middle;
133
133
  -webkit-tap-highlight-color: transparent;
134
134
  }
135
135
 
136
- /* ── Tone: which of the five semantic colours the control speaks in ───── */
136
+ /* ── Tone: which of the five semantic colors the control speaks in ───── */
137
137
 
138
138
  [data-ui-button][data-tone='secondary'] {
139
139
  --_solid: var(--slotted-tone-secondary-solid);
@@ -265,7 +265,7 @@
265
265
  /**
266
266
  * The edge of an outline button is neutral and its label carries the tone.
267
267
  * A saturated border on all five tones turned a row of actions into a row
268
- * of status chips: the eye read five different colours of rectangle before
268
+ * of status chips: the eye read five different colors of rectangle before
269
269
  * it read a single word. The edge is the control step, the one a field
270
270
  * carries at rest: reading `--slotted-border-strong` here made the outline
271
271
  * button the darkest line on the form, and the foundation now keeps that
@@ -287,7 +287,7 @@
287
287
  /**
288
288
  * The half of the pair for a variant with no fill of its own. `secondary` is
289
289
  * the third case for the same reason it is the exception to every other fill
290
- * rule: its solid step is the page's own colour, so it takes the band the way
290
+ * rule: its solid step is the page's own color, so it takes the band the way
291
291
  * a bare control does.
292
292
  */
293
293
  [data-ui-button][data-variant='outline'],
@@ -302,7 +302,7 @@
302
302
  * A toggle that is on is a selected thing, and it is painted the way every
303
303
  * selected thing in the foundation is (R1): the accent selection ground
304
304
  * under the accent text, inside the accent edge — whatever tone and variant
305
- * the toggle was written as, because "on" is one colour across the system
305
+ * the toggle was written as, because "on" is one color across the system
306
306
  * and not a shade of each control's own. It took the tone's solid fill
307
307
  * before this, which made a neutral toggle that was on the same rectangle
308
308
  * as one being pressed (`#e2e8f0` for both in `light`) and made a toggle
@@ -408,7 +408,7 @@
408
408
  *
409
409
  * Per variant, because a flat control that fills with grey on the way to
410
410
  * being unavailable reads as a different control rather than as the same
411
- * one unavailable. A ghost button stays flat and loses only its colour.
411
+ * one unavailable. A ghost button stays flat and loses only its color.
412
412
  *
413
413
  * `[data-disabled]` rather than `:disabled` alone, because a control that
414
414
  * keeps its place in the tab sequence carries `aria-disabled` and no
@@ -504,7 +504,7 @@
504
504
  * A control with a start or end visual keeps its label and gives the ring
505
505
  * that one box: the wait is legible, the action stays readable, and the box
506
506
  * was already the size of the ring. Primer takes the same decision, and it
507
- * is the one that stops a loading button from being a coloured rectangle
507
+ * is the one that stops a loading button from being a colored rectangle
508
508
  * with nothing in it.
509
509
  *
510
510
  * A control with no visual has nowhere to put the ring but over its own
@@ -556,7 +556,7 @@
556
556
  /* Only the ring that has no visual slot to sit in is placed against the box. */
557
557
  [data-ui-button] > [data-part-indicator] {
558
558
  inset: 0;
559
- /* `inset: 0` with a definite size and automatic margins centres on both
559
+ /* `inset: 0` with a definite size and automatic margins centers on both
560
560
  axes without naming a physical side. */
561
561
  margin: auto;
562
562
  position: absolute;
@@ -588,7 +588,7 @@
588
588
  * `currentColor` is what makes the band answer every tone and every variant
589
589
  * without a token of its own: it is the ink the control is already painting
590
590
  * its own label with, so it contrasts with that control's ground by
591
- * construction — the on-tone colour over a filled one, the tone itself over
591
+ * construction — the on-tone color over a filled one, the tone itself over
592
592
  * a bare one, and whatever the scheme remapped either to.
593
593
  */
594
594
  @media (prefers-reduced-motion: no-preference) {
@@ -663,11 +663,11 @@
663
663
  /**
664
664
  * A key in a slot is sized by its own family. The slot above is a glyph's
665
665
  * box: it stated `display: block` on the key, which put the legend on a line
666
- * box's baseline instead of the key's centre, sixteen pixels square, and the
666
+ * box's baseline instead of the key's center, sixteen pixels square, and the
667
667
  * icon's font size, which `size="inherit"` read as the text's. Measured, a
668
- * `Kbd` legend stood 1.5px above the label's centre and a `Shortcut` 1.5px
668
+ * `Kbd` legend stood 1.5px above the label's center and a `Shortcut` 1.5px
669
669
  * below it. Here the slot takes the key's measure and the label's type, and
670
- * the flex container centres the key on the label.
670
+ * the flex container centers the key on the label.
671
671
  */
672
672
  [data-ui-button] :is([data-part-start], [data-part-end]):has(> [data-ui-kbd]) {
673
673
  block-size: auto;
@@ -693,20 +693,20 @@
693
693
  }
694
694
 
695
695
  /**
696
- * A flex container centres the line box, and a line box is not symmetric
696
+ * A flex container centers the line box, and a line box is not symmetric
697
697
  * around the letters inside it. Measured on this family, the word sat 1.2
698
- * pixels above the centre of the glyph beside it at every step of every
698
+ * pixels above the center of the glyph beside it at every step of every
699
699
  * density except the two where the rounding of the font size made it 0.92
700
- * and 0.16 — the label and the icon were centred against different things.
700
+ * and 0.16 — the label and the icon were centerd against different things.
701
701
  * `text-box` trims the line to the cap and the baseline, so what the flex
702
- * container centres is the ink, and the offset is 0 everywhere.
702
+ * container centers is the ink, and the offset is 0 everywhere.
703
703
  *
704
704
  * The trim is paid for rather than taken. Trimming a label that wraps also
705
705
  * takes the half-leading off the top and bottom of the whole block, which is
706
706
  * the only thing keeping a wrapped word off the border — measured, a
707
707
  * two-line control lost 8.39 pixels of height and its descenders fell two
708
708
  * pixels below the edge. The padding gives that leading back symmetrically,
709
- * so the ink stays centred and the control is the height it was: 36.77
709
+ * so the ink stays centerd and the control is the height it was: 36.77
710
710
  * pixels against 36.78 for the same two lines.
711
711
  *
712
712
  * Both terms are proportions of the type rather than steps of a scale.
@@ -783,7 +783,7 @@
783
783
  }
784
784
 
785
785
  /**
786
- * ── Forced colours ────────────────────────────────────────────────────
786
+ * ── Forced colors ────────────────────────────────────────────────────
787
787
  *
788
788
  * The theme remaps every token it owns, so this block exists only for what
789
789
  * the family paints itself: the transparent border of `ghost` and of a
@@ -275,7 +275,7 @@
275
275
  * ── One border in each shared column ──────────────────────────────────
276
276
  *
277
277
  * The overlap puts two borders in the same one-pixel column. They are the
278
- * same colour and the same width, so on paper they are one line — and they
278
+ * same color and the same width, so on paper they are one line — and they
279
279
  * are, until the page is zoomed. The browser snaps each border box to device
280
280
  * pixels on its own, so at 110%, 150% and 175% one boundary lands on a single
281
281
  * column and the next lands across two, and a bar of equal dividers renders
@@ -381,7 +381,7 @@
381
381
  }
382
382
 
383
383
  /**
384
- * Under forced colours the theme flattens every fill, so a segment that is
384
+ * Under forced colors the theme flattens every fill, so a segment that is
385
385
  * on has only its edge left to say so. `button` makes that edge `Highlight`;
386
386
  * the rule above would have taken it away, and this puts it back.
387
387
  */
@@ -401,7 +401,7 @@
401
401
  * family's DOM a private API of another, which is the coupling
402
402
  * `identity.test.mjs` exists to refuse.
403
403
  *
404
- * A joined bar is one shape, and a rule is not licence to cut it. So the
404
+ * A joined bar is one shape, and a rule is not license to cut it. So the
405
405
  * rule is not a box at all: it takes no width, no height and no margin, and
406
406
  * what it marks is painted on the leading edge of the control that follows
407
407
  * it — the one edge the overlap already leaves in the shared column.
@@ -425,7 +425,7 @@
425
425
 
426
426
  /**
427
427
  * One step stronger than the seams around it, because a boundary painted in
428
- * the seam's own colour is a seam. `--slotted-text-muted` is the quietest
428
+ * the seam's own color is a seam. `--slotted-text-muted` is the quietest
429
429
  * tone in the foundation that still reads darker than `--slotted-border-
430
430
  * strong`, and it carries the difference the eye needs without the weight a
431
431
  * thicker line would add. In a frameless bar it is the only line there is,
@@ -80,7 +80,7 @@
80
80
  *
81
81
  * At `comfortable` the grid is wider than the floor and nothing changes. A
82
82
  * locale with a longer month name still loses its tail, from a floor high
83
- * enough to keep the name readable, and `grids` centres the month under the
83
+ * enough to keep the name readable, and `grids` centers the month under the
84
84
  * row it belongs to.
85
85
  */
86
86
  --_heading-floor: calc(20ch + 3 * var(--_icon-size) + 4 * var(--_gap));
@@ -190,7 +190,7 @@
190
190
  * `safe`, and it is the whole difference between a month that is cut and a
191
191
  * month that is unreadable.
192
192
  *
193
- * Centred without it, an overflowing heading is clipped at **both** ends:
193
+ * Centerd without it, an overflowing heading is clipped at **both** ends:
194
194
  * at `dense` the row read `etembro de 2026` with the view mark sliced off,
195
195
  * which is a month nobody can read above a grid whose only subject is that
196
196
  * month. `safe` falls back to start alignment exactly when the item would
@@ -465,8 +465,8 @@
465
465
  /* ── What a cell can say ──────────────────────────────────────────────
466
466
  *
467
467
  * Seven facts, and every one of them paired with a shape rather than carried
468
- * by colour alone. Under `forced-colors` a palette becomes four system
469
- * colours, and every surveyed calendar loses six of these seven there.
468
+ * by color alone. Under `forced-colors` a palette becomes four system
469
+ * colors, and every surveyed calendar loses six of these seven there.
470
470
  */
471
471
 
472
472
  /**
@@ -507,7 +507,7 @@
507
507
  /**
508
508
  * What falls on the day (`marks`): a dot in the row today's dot reserves, in
509
509
  * the mark's tone. A marked day draws its mark there instead, and today
510
- * keeps its colour and weight; on a chosen day the dot takes the day's ink.
510
+ * keeps its color and weight; on a chosen day the dot takes the day's ink.
511
511
  */
512
512
  [data-ui-calendar] [data-part-day]:has(> [data-part-mark])::before {
513
513
  display: none;
@@ -556,7 +556,7 @@
556
556
  /**
557
557
  * Refused by the predicate. It stays focusable — `aria-disabled`, never
558
558
  * `disabled` — so a reader can arrow onto it and be told why, and the strike
559
- * is what says so without colour.
559
+ * is what says so without color.
560
560
  */
561
561
  [data-ui-calendar] [data-part-cell][data-unavailable] [data-part-day] {
562
562
  color: var(--slotted-calendar-unavailable-color, var(--slotted-disabled-foreground));
@@ -776,7 +776,7 @@
776
776
  }
777
777
 
778
778
  /*
779
- * Width as well as colour (WCAG 1.4.1): in `high-contrast` the invalid ring
779
+ * Width as well as color (WCAG 1.4.1): in `high-contrast` the invalid ring
780
780
  * is the valid ring's black. The calendar has no frame to edge, so the ring
781
781
  * is where invalid shows, and it widens by the edge every invalid control
782
782
  * adds — inward, like the ring it replaces, so no neighbouring cell is
package/src/card/card.css CHANGED
@@ -133,7 +133,7 @@
133
133
  * not separate on a white page, and `0 1px 3px rgb(0 0 0 / 0.5)` on a
134
134
  * near-black one is invisible, so `elevated` and `outline` were one picture
135
135
  * in both schemes. It keeps its hairline, because a shadow is removed under
136
- * forced colours and an edge is not.
136
+ * forced colors and an edge is not.
137
137
  */
138
138
  [data-ui-card][data-fill='elevated'] {
139
139
  --_card-shadow-rest: var(--slotted-card-shadow, var(--slotted-shadow-md));
@@ -287,7 +287,7 @@
287
287
  align-items: center;
288
288
  display: flex;
289
289
  flex-wrap: wrap;
290
- /* Centred on the title's own row rather than on the row's start edge: a
290
+ /* Centerd on the title's own row rather than on the row's start edge: a
291
291
  badge aligned to the line box sits optically high against cap height. */
292
292
  align-self: center;
293
293
  gap: var(--slotted-card-actions-gap, var(--slotted-space-3, 0.375rem));
@@ -324,7 +324,7 @@
324
324
  /**
325
325
  * On the title's first line, not in the middle of its block (C1, the rule
326
326
  * R5 gives every mark beside a title): the slot is one line of the title's
327
- * step tall and centres the control inside it, so a title that wraps to
327
+ * step tall and centers the control inside it, so a title that wraps to
328
328
  * two lines keeps its control beside the first. The step is the large one,
329
329
  * which is the title a card header holds; a header set at another step
330
330
  * retunes the line with the family token.
@@ -511,7 +511,7 @@
511
511
  * inverse surface and sits on the edge. In this theme
512
512
  * `--slotted-focus-ring-color` and `--slotted-tone-accent-border` resolve to
513
513
  * the same hex, so a selected card and a focused card were the same image.
514
- * They now differ in colour, in width and in position.
514
+ * They now differ in color, in width and in position.
515
515
  */
516
516
  [data-ui-card]:has(
517
517
  :is([data-part-link], [data-part-selection] :is(input, button)):focus-visible