@ethlete/components 1.0.0-next.100 → 1.0.0-next.102
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.
- package/CHANGELOG.md +45 -0
- package/design/banner.ts +1 -1
- package/design/breadcrumb.ts +0 -1
- package/design/button.ts +0 -2
- package/design/card.ts +1 -1
- package/design/dialog.ts +1 -7
- package/design/grid.ts +3 -3
- package/design/masonry.ts +3 -3
- package/design/menu.ts +5 -3
- package/design/notification.ts +0 -1
- package/design/scheduler.ts +1 -1
- package/design/sdk/components/accent-on-light/accent-on-light.css +5 -5
- package/design/sdk/components/accordion/accordion.css +3 -3
- package/design/sdk/components/action-sheet/action-sheet.css +13 -13
- package/design/sdk/components/action-sheet/action-sheet.ts +5 -3
- package/design/sdk/components/anchored-dialog/anchored-dialog.css +5 -5
- package/design/sdk/components/avatar/avatar.css +3 -3
- package/design/sdk/components/badge/badge.css +3 -3
- package/design/sdk/components/banner/banner.css +4 -4
- package/design/sdk/components/bracket/bracket.css +8 -11
- package/design/sdk/components/breadcrumb/breadcrumb.css +4 -4
- package/design/sdk/components/button/button.css +3 -13
- package/design/sdk/components/calendar/calendar.css +7 -7
- package/design/sdk/components/card/card.css +4 -4
- package/design/sdk/components/carousel/carousel.css +6 -6
- package/design/sdk/components/chart/chart.css +8 -8
- package/design/sdk/components/checkbox/checkbox.css +2 -2
- package/design/sdk/components/chip/chip.css +4 -4
- package/design/sdk/components/copy-button/copy-button.css +3 -3
- package/design/sdk/components/description-list/description-list.css +2 -2
- package/design/sdk/components/dialog/dialog.css +4 -4
- package/design/sdk/components/divider/divider.css +2 -2
- package/design/sdk/components/empty-state/empty-state.css +4 -4
- package/design/sdk/components/floating-action/floating-action.css +4 -4
- package/design/sdk/components/grid/grid.css +4 -4
- package/design/sdk/components/input/input.css +13 -22
- package/design/sdk/components/kbd/kbd.css +2 -2
- package/design/sdk/components/loader/loader.css +6 -6
- package/design/sdk/components/masonry/masonry.css +2 -2
- package/design/sdk/components/match/match.css +5 -8
- package/design/sdk/components/menu/menu.css +2 -2
- package/design/sdk/components/menu/menu.ts +2 -2
- package/design/sdk/components/notification/notification.css +6 -6
- package/design/sdk/components/otp-input/otp-input.css +8 -8
- package/design/sdk/components/pagination/pagination.css +2 -2
- package/design/sdk/components/picture/picture.css +5 -5
- package/design/sdk/components/progress-steps/progress-steps.css +6 -6
- package/design/sdk/components/query-error/query-error.css +5 -11
- package/design/sdk/components/radio-group/radio-group.css +2 -2
- package/design/sdk/components/scheduler/scheduler.css +9 -15
- package/design/sdk/components/scrollable/scrollable.css +5 -5
- package/design/sdk/components/scrollbar/scrollbar.css +3 -3
- package/design/sdk/components/select/select.css +1 -1
- package/design/sdk/components/skeleton/skeleton.css +2 -2
- package/design/sdk/components/slider/slider.css +8 -13
- package/design/sdk/components/standings/standings.css +7 -8
- package/design/sdk/components/stat-tile/stat-tile.css +3 -3
- package/design/sdk/components/stream/stream.css +7 -13
- package/design/sdk/components/table/table.css +13 -13
- package/design/sdk/components/tabs/tabs.css +2 -2
- package/design/sdk/components/textarea/textarea.css +13 -22
- package/design/sdk/components/timeline/timeline.css +4 -4
- package/design/sdk/components/toolbar/toolbar.css +6 -6
- package/design/sdk/components/tooltip/tooltip.css +3 -3
- package/design/sdk/components/tooltip/tooltip.ts +1 -1
- package/design/sdk/components/tree/selected-tint.css +3 -3
- package/design/sdk/foundations/colors/colors.css +363 -421
- package/design/sdk/foundations/colors/colors.ts +27 -25
- package/design/sdk/foundations/colors/shared/contrast.ts +10 -10
- package/design/sdk/foundations/elevation/elevation.css +2 -2
- package/design/sdk/foundations/elevation/elevation.ts +1 -1
- package/design/sdk/foundations/elevation/shared/elevation/scene.css +16 -11
- package/design/sdk/ready.json +4 -109
- package/design/tabs.ts +1 -1
- package/design/toggletip.ts +85 -0
- package/fesm2022/ethlete-components.mjs +725 -417
- package/fesm2022/ethlete-components.mjs.map +1 -1
- package/generators/generators.json +10 -0
- package/generators/migrate-overlay-and-column-api/column-visibility-host.js +102 -0
- package/generators/migrate-overlay-and-column-api/migration.js +39 -0
- package/generators/migrate-overlay-and-column-api/overlay-and-column-api.js +18 -0
- package/generators/migrate-overlay-and-column-api/overlay-result.js +399 -0
- package/generators/migrate-overlay-and-column-api/schema.json +26 -0
- package/generators/migrate-overlay-and-column-api/source-scan.js +171 -0
- package/generators/migrate-tabs-active-underline/migration.js +31 -0
- package/generators/migrate-tabs-active-underline/schema.json +26 -0
- package/generators/migrate-tabs-active-underline/tabs-active-underline.js +46 -0
- package/migrations.json +18 -0
- package/package.json +2 -2
- package/src/lib/accordion/accordion.component.css +10 -11
- package/src/lib/avatar/avatar-group.component.css +1 -1
- package/src/lib/avatar/avatar.component.css +3 -3
- package/src/lib/badge/badge.component.css +13 -9
- package/src/lib/banner/banner.component.css +5 -5
- package/src/lib/bracket/bracket-default-continue.component.css +2 -2
- package/src/lib/bracket/bracket-default-final-match.component.css +6 -6
- package/src/lib/bracket/bracket-default-round-header.component.css +2 -2
- package/src/lib/bracket/bracket-default-section-title.component.css +1 -1
- package/src/lib/bracket/bracket-pick-card.component.css +21 -21
- package/src/lib/bracket/bracket-rounds-list.component.css +1 -1
- package/src/lib/bracket/bracket.component.css +2 -2
- package/src/lib/bracket/layouts/swiss/bracket-swiss-round-header.component.css +65 -0
- package/src/lib/bracket/layouts/swiss/bracket-swiss-styles.component.css +5 -1
- package/src/lib/breadcrumb/breadcrumb-overflow.component.css +3 -3
- package/src/lib/breadcrumb/breadcrumb.component.css +5 -6
- package/src/lib/button/button-properties-styles.component.css +12 -12
- package/src/lib/button/button.component.css +52 -35
- package/src/lib/button/fab.component.css +17 -20
- package/src/lib/button/icon-button.component.css +15 -19
- package/src/lib/button/split-button.component.css +11 -14
- package/src/lib/button/text-button.component.css +1 -1
- package/src/lib/button/window-control-button.component.css +21 -32
- package/src/lib/calendar/calendar-comparison-band-styles.component.css +1 -1
- package/src/lib/calendar/calendar-week-numbers-styles.component.css +3 -3
- package/src/lib/calendar/calendar.component.css +21 -23
- package/src/lib/card/card.component.css +5 -5
- package/src/lib/carousel/carousel-autoplay-styles.component.css +2 -8
- package/src/lib/carousel/carousel.component.css +7 -19
- package/src/lib/chart/bar-chart.component.css +6 -6
- package/src/lib/chart/chart-grid.component.css +1 -1
- package/src/lib/chart/chart-legend.component.css +2 -2
- package/src/lib/chart/chart-tooltip.component.css +2 -2
- package/src/lib/chart/line-chart-tooltip.component.css +2 -2
- package/src/lib/chart/line-chart.component.css +11 -11
- package/src/lib/chart/pie-chart.component.css +8 -8
- package/src/lib/chart/sankey-chart.component.css +13 -13
- package/src/lib/chip/chip.component.css +15 -17
- package/src/lib/command-palette/command-palette-item.component.css +5 -5
- package/src/lib/command-palette/command-palette.component.css +3 -3
- package/src/lib/description-list/description-list.component.css +2 -2
- package/src/lib/divider/divider.component.css +2 -2
- package/src/lib/empty-state/empty-state.component.css +4 -4
- package/src/lib/floating-action/floating-action-styles.component.css +3 -3
- package/src/lib/focus-ring/focus-ring-styles.component.css +1 -1
- package/src/lib/forms/cascader/cascader-breadcrumb-styles.component.css +8 -8
- package/src/lib/forms/cascader/cascader-panel.component.css +27 -24
- package/src/lib/forms/cascader/cascader-sheet-styles.component.css +3 -3
- package/src/lib/forms/cascader/cascader.component.css +1 -1
- package/src/lib/forms/checkbox/checkbox.component.css +26 -39
- package/src/lib/forms/choice-field/choice-field-card-styles.component.css +3 -3
- package/src/lib/forms/choice-field/choice-field.component.css +7 -7
- package/src/lib/forms/color-input/color-input.component.css +2 -3
- package/src/lib/forms/color-input/color-picker-panel.component.css +16 -15
- package/src/lib/forms/date-time/date-input/date-input.component.css +1 -1
- package/src/lib/forms/date-time/date-picker-panel.component.css +8 -5
- package/src/lib/forms/date-time/date-range-presets.component.css +2 -2
- package/src/lib/forms/date-time/date-time-input/date-time-input.component.css +4 -4
- package/src/lib/forms/date-time/date-time-range-input/date-time-range-input.component.css +3 -3
- package/src/lib/forms/date-time/duration-input/duration-input.component.css +3 -3
- package/src/lib/forms/date-time/range-input-shell-styles.component.css +2 -2
- package/src/lib/forms/date-time/time-input/time-input.component.css +1 -1
- package/src/lib/forms/description/description.component.css +1 -1
- package/src/lib/forms/dropzone/dropzone-crop.component.css +8 -8
- package/src/lib/forms/dropzone/dropzone-item.component.css +5 -5
- package/src/lib/forms/dropzone/dropzone-preview-styles.component.css +5 -5
- package/src/lib/forms/dropzone/dropzone-readonly-styles.component.css +1 -1
- package/src/lib/forms/dropzone/dropzone-row-styles.component.css +3 -3
- package/src/lib/forms/dropzone/dropzone.component.css +20 -22
- package/src/lib/forms/form-field/counter.component.css +2 -2
- package/src/lib/forms/form-field/form-field-control-suffix-styles.component.css +12 -14
- package/src/lib/forms/form-field/form-field-suffix-overlap-styles.component.css +1 -1
- package/src/lib/forms/form-field/form-field-text-shell-styles.component.css +22 -35
- package/src/lib/forms/form-field/form-field.component.css +9 -10
- package/src/lib/forms/form-field/form-support-styles.component.css +2 -2
- package/src/lib/forms/form-field/headless/label.directive.css +2 -2
- package/src/lib/forms/form-field/hint.component.css +2 -2
- package/src/lib/forms/input/input.component.css +1 -1
- package/src/lib/forms/input/number-input.component.css +5 -5
- package/src/lib/forms/input/password-input.component.css +7 -8
- package/src/lib/forms/multi-language-rich-text-editor/tools/multi-language-rich-text-editor-language-tool.component.css +7 -10
- package/src/lib/forms/otp-input/otp-input.component.css +11 -15
- package/src/lib/forms/phone-input/phone-input.component.css +4 -5
- package/src/lib/forms/rating/rating.component.css +8 -9
- package/src/lib/forms/rich-text-editor/rich-text-content-styles.component.css +6 -6
- package/src/lib/forms/rich-text-editor/rich-text-editor-floating-toolbar.component.css +7 -4
- package/src/lib/forms/rich-text-editor/rich-text-editor-image-editor.component.css +6 -6
- package/src/lib/forms/rich-text-editor/rich-text-editor-link-editor.component.css +4 -4
- package/src/lib/forms/rich-text-editor/rich-text-editor-token-popup.component.css +12 -9
- package/src/lib/forms/rich-text-editor/rich-text-editor.component.css +6 -8
- package/src/lib/forms/rich-text-editor/tools/rich-text-editor-image-styles.component.css +7 -7
- package/src/lib/forms/rich-text-editor/tools/rich-text-editor-table-styles.component.css +2 -2
- package/src/lib/forms/rich-text-editor/tools/rich-text-editor-table-tool.component.css +4 -4
- package/src/lib/forms/select/select-extras-styles.component.css +10 -13
- package/src/lib/forms/select/select-option-group.component.css +2 -2
- package/src/lib/forms/select/select-option-styles.component.css +6 -6
- package/src/lib/forms/select/select-panel.component.css +13 -10
- package/src/lib/forms/select/select.component.css +4 -4
- package/src/lib/forms/selection-card-styles.component.css +10 -14
- package/src/lib/forms/selection-list/checkbox-group/checkbox-group-select-all.component.css +11 -21
- package/src/lib/forms/selection-list/checkbox-group/checkbox-group.component.css +4 -4
- package/src/lib/forms/selection-list/checkbox-group/checkbox-option.component.css +11 -21
- package/src/lib/forms/selection-list/radio-group/radio-group.component.css +4 -4
- package/src/lib/forms/selection-list/radio-group/radio.component.css +10 -20
- package/src/lib/forms/selection-list/segmented-button-group/segmented-button-group.component.css +7 -7
- package/src/lib/forms/selection-list/segmented-button-group/segmented-button.component.css +16 -15
- package/src/lib/forms/slider/range-slider.component.css +18 -24
- package/src/lib/forms/slider/slider.component.css +18 -24
- package/src/lib/forms/switch/switch.component.css +19 -22
- package/src/lib/forms/tag-input/tag-input.component.css +1 -1
- package/src/lib/forms/textarea/textarea.component.css +1 -1
- package/src/lib/grid/grid-debug.component.css +18 -18
- package/src/lib/grid/grid-item-default-actions.component.css +2 -2
- package/src/lib/grid/grid-item.component.css +3 -4
- package/src/lib/grid/grid.component.css +2 -2
- package/src/lib/kbd/kbd.component.css +3 -3
- package/src/lib/loader/brand-loader/brand-loader.component.css +3 -3
- package/src/lib/loader/progress-bar/progress-bar.component.css +1 -1
- package/src/lib/loader/spinner/spinner-styles.component.css +1 -1
- package/src/lib/match/match-card.component.css +18 -29
- package/src/lib/match/match-participant.component.css +11 -11
- package/src/lib/match/match-score.component.css +1 -1
- package/src/lib/match/match-scoreline.component.css +3 -3
- package/src/lib/menu/menu-group-label.component.css +1 -1
- package/src/lib/menu/menu-item-shortcut.component.css +1 -1
- package/src/lib/menu/menu-item-submenu-icon.component.css +1 -1
- package/src/lib/menu/menu-search-styles.component.css +3 -3
- package/src/lib/menu/menu-selection-item.component.css +2 -2
- package/src/lib/menu/menu-separator.component.css +1 -1
- package/src/lib/menu/menu.component.css +13 -10
- package/src/lib/notification/notification.component.css +10 -10
- package/src/lib/overlay/alert-dialog/alert-dialog.component.css +2 -2
- package/src/lib/overlay/floating-tip-styles.component.css +4 -4
- package/src/lib/overlay/overlay-container.component.css +9 -6
- package/src/lib/overlay/strategies/overlay-arrow-styles.component.css +2 -2
- package/src/lib/overlay/strategies/sheet-styles.component.css +2 -2
- package/src/lib/pagination/pagination.component.css +9 -10
- package/src/lib/progress-steps/progress-step.component.css +19 -19
- package/src/lib/query-error/query-error.component.css +1 -1
- package/src/lib/scheduler/scheduler-agenda-view.component.css +8 -8
- package/src/lib/scheduler/scheduler-appointment-drag-styles.component.css +4 -1
- package/src/lib/scheduler/scheduler-appointment-styles.component.css +12 -10
- package/src/lib/scheduler/scheduler-edit-color.component.css +2 -2
- package/src/lib/scheduler/scheduler-edit-surface-breadcrumb.component.css +2 -2
- package/src/lib/scheduler/scheduler-edit-surface-children.component.css +4 -4
- package/src/lib/scheduler/scheduler-month-view.component.css +16 -18
- package/src/lib/scheduler/scheduler-time-grid-view.component.css +24 -26
- package/src/lib/scheduler/scheduler.component.css +1 -1
- package/src/lib/scrollable/headless/scrollable-buttons.component.css +55 -6
- package/src/lib/scrollable/headless/scrollable-masks.component.css +2 -2
- package/src/lib/scrollable/headless/scrollable-navigation.component.css +2 -2
- package/src/lib/scrollbar/scrollbar.component.css +2 -2
- package/src/lib/skeleton/skeleton.component.css +2 -8
- package/src/lib/standings/standings-pick.component.css +13 -21
- package/src/lib/standings/standings.component.css +24 -30
- package/src/lib/stat-tile/stat-tile-sparkline.component.css +2 -2
- package/src/lib/stat-tile/stat-tile.component.css +5 -5
- package/src/lib/stream/consent/stream-consent.component.css +2 -2
- package/src/lib/stream/error/stream-player-error.component.css +2 -2
- package/src/lib/stream/loading/stream-player-loading.component.css +3 -3
- package/src/lib/stream/pip/pip-slot-placeholder.component.css +2 -2
- package/src/lib/stream/pip/pip-stage-styles.component.css +3 -6
- package/src/lib/stream/pip/pip-window.component.css +4 -5
- package/src/lib/stream/stream-overlay-card-styles.component.css +4 -4
- package/src/lib/stream/stream-player-slot-styles.component.css +1 -1
- package/src/lib/table/table-column-menu-trigger.component.css +1 -1
- package/src/lib/table/table-expander-cell.component.css +2 -2
- package/src/lib/table/table-filter-trigger.component.css +4 -4
- package/src/lib/table/table-group-header-row.component.css +1 -1
- package/src/lib/table/table-reorder-overlay.component.css +4 -4
- package/src/lib/table/table-resize-grip.component.css +4 -5
- package/src/lib/table/table-row-box-styles.component.css +7 -11
- package/src/lib/table/table-select-cell.component.css +7 -7
- package/src/lib/table/table-sort-priority-styles.component.css +1 -1
- package/src/lib/table/table.component.css +37 -49
- package/src/lib/tabs/tab-bar-styles.component.css +44 -8
- package/src/lib/time-picker/time-picker.component.css +16 -25
- package/src/lib/timeline/timeline-item.component.css +7 -10
- package/src/lib/timeline/timeline.component.css +1 -1
- package/src/lib/toggletip/toggletip.component.css +6 -1
- package/src/lib/toolbar/toolbar.component.css +1 -1
- package/src/lib/tooltip/tooltip.component.css +4 -4
- package/src/lib/tree/tree.component.css +18 -18
- package/types/ethlete-components.d.ts +85 -28
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
min-inline-size: var(--et-match-card-min-inline-size);
|
|
158
158
|
border-radius: var(--et-match-card-border-radius);
|
|
159
159
|
/* Set rather than inherited, so a card on an `<a>` doesn't come out link-blue and underlined. */
|
|
160
|
-
color: var(--et-surface-
|
|
160
|
+
color: var(--et-surface-text, currentColor);
|
|
161
161
|
text-decoration: none;
|
|
162
162
|
}
|
|
163
163
|
|
|
@@ -181,8 +181,8 @@
|
|
|
181
181
|
gap: var(--_et-match-card-gap);
|
|
182
182
|
box-sizing: border-box;
|
|
183
183
|
padding: var(--_et-match-card-padding);
|
|
184
|
-
background: var(--et-surface-background
|
|
185
|
-
border: 1px solid var(--et-surface-border
|
|
184
|
+
background: var(--et-surface-background, transparent);
|
|
185
|
+
border: 1px solid var(--et-surface-border, rgb(255 255 255 / 0.1));
|
|
186
186
|
font-family: var(--et-match-card-font-family, inherit);
|
|
187
187
|
border-radius: inherit;
|
|
188
188
|
}
|
|
@@ -291,7 +291,7 @@
|
|
|
291
291
|
min-inline-size: 0;
|
|
292
292
|
font-size: var(--et-match-card-meta-font-size);
|
|
293
293
|
line-height: 1.4;
|
|
294
|
-
color: var(--et-surface-
|
|
294
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
295
295
|
}
|
|
296
296
|
|
|
297
297
|
.et-match-card-label {
|
|
@@ -326,8 +326,8 @@
|
|
|
326
326
|
font-weight: var(--et-match-card-status-font-weight);
|
|
327
327
|
letter-spacing: 0.04em;
|
|
328
328
|
text-transform: uppercase;
|
|
329
|
-
color: var(--et-
|
|
330
|
-
background: color-mix(in srgb, var(--et-
|
|
329
|
+
color: var(--et-tone-text, currentColor);
|
|
330
|
+
background: color-mix(in srgb, var(--et-tone-fill, currentColor) 14%, transparent);
|
|
331
331
|
border-radius: 4px;
|
|
332
332
|
}
|
|
333
333
|
|
|
@@ -338,7 +338,7 @@
|
|
|
338
338
|
font-weight: var(--et-match-card-status-font-weight);
|
|
339
339
|
letter-spacing: 0.04em;
|
|
340
340
|
text-transform: uppercase;
|
|
341
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
341
|
+
background: color-mix(in srgb, var(--et-surface-tint, gray) 12%, transparent);
|
|
342
342
|
border-radius: 4px;
|
|
343
343
|
}
|
|
344
344
|
|
|
@@ -350,7 +350,7 @@
|
|
|
350
350
|
flex: none;
|
|
351
351
|
inline-size: 6px;
|
|
352
352
|
block-size: 6px;
|
|
353
|
-
background: light-dark(var(--et-
|
|
353
|
+
background: light-dark(var(--et-tone-text), var(--et-tone-fill));
|
|
354
354
|
border-radius: 50%;
|
|
355
355
|
animation: et-match-card-live-pulse 2s ease-in-out infinite;
|
|
356
356
|
}
|
|
@@ -381,7 +381,7 @@
|
|
|
381
381
|
}
|
|
382
382
|
|
|
383
383
|
.et-match-card-side {
|
|
384
|
-
--_et-match-card-side-color: var(--et-surface-
|
|
384
|
+
--_et-match-card-side-color: var(--et-surface-text, currentColor);
|
|
385
385
|
display: flex;
|
|
386
386
|
align-items: center;
|
|
387
387
|
gap: 8px;
|
|
@@ -427,7 +427,7 @@
|
|
|
427
427
|
font-weight: 600;
|
|
428
428
|
letter-spacing: 0.06em;
|
|
429
429
|
text-transform: uppercase;
|
|
430
|
-
color: var(--et-surface-
|
|
430
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
431
431
|
}
|
|
432
432
|
|
|
433
433
|
/* The other form the result slot takes — never together with a score, so it can share its metrics. */
|
|
@@ -482,17 +482,14 @@
|
|
|
482
482
|
winner keeps full weight and color and gets the accent bar, the other side steps back. A draw
|
|
483
483
|
emphasizes neither, and draws no bars at all. */
|
|
484
484
|
.et-match-card:where([data-winner]) .et-match-card-side {
|
|
485
|
-
--_et-match-card-side-color: var(--et-surface-
|
|
485
|
+
--_et-match-card-side-color: var(--et-surface-text-muted, currentColor);
|
|
486
486
|
--_et-match-card-side-marker-display: block;
|
|
487
487
|
}
|
|
488
488
|
|
|
489
489
|
.et-match-card:where([data-winner='home']) .et-match-card-side:where([data-side='home']),
|
|
490
490
|
.et-match-card:where([data-winner='away']) .et-match-card-side:where([data-side='away']) {
|
|
491
|
-
--_et-match-card-side-color: var(--et-surface-
|
|
492
|
-
--_et-match-card-side-marker-color: light-dark(
|
|
493
|
-
var(--et-theme-color-ink-solid),
|
|
494
|
-
var(--et-theme-color-primary-solid)
|
|
495
|
-
);
|
|
491
|
+
--_et-match-card-side-color: var(--et-surface-text, currentColor);
|
|
492
|
+
--_et-match-card-side-marker-color: light-dark(var(--et-tone-text), var(--et-tone-fill));
|
|
496
493
|
--_et-match-card-side-marker-display: block;
|
|
497
494
|
|
|
498
495
|
.et-match-participant-name {
|
|
@@ -502,7 +499,7 @@
|
|
|
502
499
|
|
|
503
500
|
/* Called off: no result to emphasize, so both sides step back and neither gets a bar. */
|
|
504
501
|
.et-match-card:where([data-status='cancelled']) .et-match-card-side {
|
|
505
|
-
--_et-match-card-side-color: var(--et-surface-
|
|
502
|
+
--_et-match-card-side-color: var(--et-surface-text-muted, currentColor);
|
|
506
503
|
--_et-match-card-side-marker-display: none;
|
|
507
504
|
}
|
|
508
505
|
|
|
@@ -522,7 +519,7 @@
|
|
|
522
519
|
margin: 0;
|
|
523
520
|
padding: 0;
|
|
524
521
|
font-size: var(--et-match-card-games-font-size);
|
|
525
|
-
color: var(--et-surface-
|
|
522
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
526
523
|
list-style: none;
|
|
527
524
|
}
|
|
528
525
|
|
|
@@ -531,7 +528,7 @@
|
|
|
531
528
|
padding-inline: 5px;
|
|
532
529
|
font-variant-numeric: tabular-nums;
|
|
533
530
|
line-height: 18px;
|
|
534
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
531
|
+
background: color-mix(in srgb, var(--et-surface-tint, gray) 10%, transparent);
|
|
535
532
|
border-radius: 4px;
|
|
536
533
|
}
|
|
537
534
|
|
|
@@ -542,15 +539,7 @@
|
|
|
542
539
|
/* Bare rather than `:where()`-flattened: an interaction state is meant to escalate over the config
|
|
543
540
|
modifiers above it. */
|
|
544
541
|
.et-match-card:where([data-interactive]):hover .et-match-card-content {
|
|
545
|
-
background: color-mix(
|
|
546
|
-
|
|
547
|
-
var(--et-surface-interaction-solid, gray) 6%,
|
|
548
|
-
var(--et-surface-background-solid, transparent)
|
|
549
|
-
);
|
|
550
|
-
border-color: color-mix(
|
|
551
|
-
in srgb,
|
|
552
|
-
var(--et-surface-interaction-solid, gray) 24%,
|
|
553
|
-
var(--et-surface-border-solid, transparent)
|
|
554
|
-
);
|
|
542
|
+
background: color-mix(in srgb, var(--et-surface-tint, gray) 6%, var(--et-surface-background, transparent));
|
|
543
|
+
border-color: color-mix(in srgb, var(--et-surface-tint, gray) 24%, var(--et-surface-border, transparent));
|
|
555
544
|
}
|
|
556
545
|
}
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
gap: var(--et-match-participant-gap);
|
|
42
42
|
min-inline-size: 0;
|
|
43
43
|
/* Set rather than inherited, so this on an `<a>` doesn't come out link-blue and underlined. */
|
|
44
|
-
color: var(--et-surface-
|
|
44
|
+
color: var(--et-surface-text, currentColor);
|
|
45
45
|
text-decoration: none;
|
|
46
46
|
}
|
|
47
47
|
|
|
@@ -72,9 +72,9 @@
|
|
|
72
72
|
overflow: hidden;
|
|
73
73
|
box-sizing: border-box;
|
|
74
74
|
border: var(--et-match-participant-emblem-border-width) solid
|
|
75
|
-
var(--et-match-participant-emblem-border-color, var(--et-surface-border
|
|
75
|
+
var(--et-match-participant-emblem-border-color, var(--et-surface-border, currentColor));
|
|
76
76
|
border-radius: var(--et-match-participant-emblem-radius);
|
|
77
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
77
|
+
background: color-mix(in srgb, var(--et-surface-tint, gray) 10%, transparent);
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
.et-match-participant:where([data-tbd]) .et-match-participant-emblem {
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
/* Stands in for an emblem that is absent or failed to load — a letter rather than an empty disc, so
|
|
96
96
|
the frame still points at somebody. Sized off the frame, so it shrinks with a compact row. */
|
|
97
97
|
.et-match-participant-emblem-mark {
|
|
98
|
-
color: var(--et-surface-
|
|
98
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
99
99
|
font-size: calc(var(--et-match-participant-emblem-size) * 0.45);
|
|
100
100
|
font-weight: 600;
|
|
101
101
|
line-height: 1;
|
|
@@ -133,8 +133,8 @@
|
|
|
133
133
|
inline-size: 100%;
|
|
134
134
|
block-size: 100%;
|
|
135
135
|
overflow: visible;
|
|
136
|
-
fill: color-mix(in srgb, var(--et-surface-
|
|
137
|
-
stroke: var(--et-surface-border
|
|
136
|
+
fill: color-mix(in srgb, var(--et-surface-tint, gray) 10%, transparent);
|
|
137
|
+
stroke: var(--et-surface-border, currentColor);
|
|
138
138
|
stroke-width: 1.5;
|
|
139
139
|
stroke-linejoin: round;
|
|
140
140
|
}
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
overflow: hidden;
|
|
179
179
|
font-size: max(10px, calc(var(--et-match-participant-font-size) - 4px));
|
|
180
180
|
line-height: 1.3;
|
|
181
|
-
color: var(--et-surface-
|
|
181
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
182
182
|
text-overflow: ellipsis;
|
|
183
183
|
white-space: nowrap;
|
|
184
184
|
}
|
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
min-inline-size: 0;
|
|
191
191
|
font-size: max(10px, calc(var(--et-match-participant-font-size) - 3px));
|
|
192
192
|
line-height: 1.3;
|
|
193
|
-
color: var(--et-surface-
|
|
193
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
194
194
|
}
|
|
195
195
|
|
|
196
196
|
.et-match-participant-flag {
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
|
|
211
211
|
/* A slot waiting to be filled reads as secondary — it is not the name of anything yet. */
|
|
212
212
|
.et-match-participant-name--tbd {
|
|
213
|
-
color: var(--et-surface-
|
|
213
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
214
214
|
}
|
|
215
215
|
|
|
216
216
|
.et-match-participant-name-bone {
|
|
@@ -223,8 +223,8 @@
|
|
|
223
223
|
font-size: 11px;
|
|
224
224
|
line-height: 16px;
|
|
225
225
|
font-variant-numeric: tabular-nums;
|
|
226
|
-
color: var(--et-surface-
|
|
227
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
226
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
227
|
+
background: color-mix(in srgb, var(--et-surface-tint, gray) 12%, transparent);
|
|
228
228
|
border-radius: 4px;
|
|
229
229
|
}
|
|
230
230
|
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
/* Inside the clip box rather than bleeding past it: `overflow: hidden` is what makes the digits roll,
|
|
35
35
|
and it would cut a wider glow into a rectangle anyway. */
|
|
36
36
|
inset: 0;
|
|
37
|
-
background: var(--et-
|
|
37
|
+
background: var(--et-tone-fill, currentColor);
|
|
38
38
|
border-radius: 6px;
|
|
39
39
|
opacity: 0;
|
|
40
40
|
animation: et-match-score-flash 520ms ease-out;
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
flex-direction: column;
|
|
29
29
|
align-items: center;
|
|
30
30
|
gap: var(--et-match-scoreline-gap);
|
|
31
|
-
color: var(--et-surface-
|
|
31
|
+
color: var(--et-surface-text, currentColor);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.et-match-scoreline-scores {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
.et-match-scoreline-separator {
|
|
43
|
-
color: var(--et-surface-
|
|
43
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
.et-match-scoreline-time {
|
|
@@ -48,6 +48,6 @@
|
|
|
48
48
|
font-weight: 700;
|
|
49
49
|
letter-spacing: 0.03em;
|
|
50
50
|
text-transform: uppercase;
|
|
51
|
-
color: var(--et-surface-
|
|
51
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
display: block;
|
|
4
4
|
padding-block: 6px 4px;
|
|
5
5
|
padding-inline: var(--et-menu-item-padding-inline, 10px);
|
|
6
|
-
color: var(--_et-menu-muted-color, var(--et-surface-
|
|
6
|
+
color: var(--_et-menu-muted-color, var(--et-surface-text-muted, rgb(255 255 255 / 0.55)));
|
|
7
7
|
font-size: var(--et-menu-group-label-font-size, 12px);
|
|
8
8
|
font-weight: 600;
|
|
9
9
|
letter-spacing: 0.02em;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
.et-menu-item-shortcut {
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
align-items: center;
|
|
5
|
-
color: var(--_et-menu-muted-color, var(--et-surface-
|
|
5
|
+
color: var(--_et-menu-muted-color, var(--et-surface-text-muted, rgb(255 255 255 / 0.55)));
|
|
6
6
|
font-size: 12px;
|
|
7
7
|
font-variant-numeric: tabular-nums;
|
|
8
8
|
letter-spacing: 0.04em;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
flex: none;
|
|
7
7
|
inline-size: var(--et-menu-item-submenu-icon-size);
|
|
8
8
|
block-size: var(--et-menu-item-submenu-icon-size);
|
|
9
|
-
color: var(--_et-menu-muted-color, var(--et-surface-
|
|
9
|
+
color: var(--_et-menu-muted-color, var(--et-surface-text-muted, rgb(255 255 255 / 0.55)));
|
|
10
10
|
/* the registered chevron points up natively - rotate it to point into the submenu */
|
|
11
11
|
rotate: 90deg;
|
|
12
12
|
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
margin: 6px 2px 0;
|
|
42
42
|
font-size: 12px;
|
|
43
43
|
/* the element carries the error color theme via etProvideColor */
|
|
44
|
-
color: var(--et-
|
|
44
|
+
color: var(--et-tone-text, rgb(248 113 113));
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
input[etmenusearch] {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
padding-inline: var(--et-menu-item-padding-inline);
|
|
51
51
|
border-radius: var(--et-menu-item-border-radius);
|
|
52
52
|
border: 1px solid var(--_et-menu-border);
|
|
53
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
53
|
+
background: color-mix(in srgb, var(--et-surface-tint, rgb(255 255 255)) 6%, transparent);
|
|
54
54
|
color: inherit;
|
|
55
55
|
font: inherit;
|
|
56
56
|
outline: none;
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
background 120ms ease;
|
|
61
61
|
|
|
62
62
|
&:focus-visible {
|
|
63
|
-
border-color: var(--et-
|
|
63
|
+
border-color: var(--et-tone-fill, rgb(255 255 255 / 0.3));
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
&::placeholder {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
flex: none;
|
|
11
11
|
inline-size: var(--et-menu-item-icon-size, 16px);
|
|
12
12
|
block-size: var(--et-menu-item-icon-size, 16px);
|
|
13
|
-
color: var(--et-
|
|
13
|
+
color: var(--et-tone-text, currentColor);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
&[data-loading] .et-menu-item-check::before {
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
|
|
80
80
|
&[aria-checked='true'] .et-menu-item-check,
|
|
81
81
|
&[aria-checked='mixed'] .et-menu-item-check {
|
|
82
|
-
color: var(--et-
|
|
82
|
+
color: var(--et-tone-fill, currentColor);
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
|
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
block-size: 1px;
|
|
5
5
|
margin-block: var(--et-menu-separator-margin-block, 6px);
|
|
6
6
|
margin-inline: calc(var(--et-menu-item-padding-inline, 10px) * -0.5);
|
|
7
|
-
background: var(--_et-menu-separator-color, var(--et-surface-border
|
|
7
|
+
background: var(--_et-menu-separator-color, var(--et-surface-border, rgb(255 255 255 / 0.1)));
|
|
8
8
|
}
|
|
9
9
|
}
|
|
@@ -124,22 +124,25 @@
|
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
.et-menu {
|
|
127
|
-
--_et-menu-background: var(--et-surface-background
|
|
128
|
-
--_et-menu-color: var(--et-surface-
|
|
129
|
-
--_et-menu-border: var(--et-surface-border
|
|
130
|
-
--_et-menu-shadow: var(
|
|
127
|
+
--_et-menu-background: var(--et-surface-background, rgb(32 32 32));
|
|
128
|
+
--_et-menu-color: var(--et-surface-text, rgb(244 244 245));
|
|
129
|
+
--_et-menu-border: var(--et-surface-border, rgb(255 255 255 / 0.1));
|
|
130
|
+
--_et-menu-shadow: var(
|
|
131
|
+
--et-anchored-panel-shadow,
|
|
132
|
+
0 10px 24px color-mix(in srgb, var(--et-shadow-color, rgb(0 0 0)) 16%, transparent)
|
|
133
|
+
);
|
|
131
134
|
--_et-menu-item-active-background: color-mix(
|
|
132
135
|
in srgb,
|
|
133
|
-
var(--et-surface-
|
|
136
|
+
var(--et-surface-control-text, rgb(255 255 255)) 12%,
|
|
134
137
|
transparent
|
|
135
138
|
);
|
|
136
139
|
--_et-menu-item-pressed-background: color-mix(
|
|
137
140
|
in srgb,
|
|
138
|
-
var(--et-surface-
|
|
141
|
+
var(--et-surface-control-text, rgb(255 255 255)) 20%,
|
|
139
142
|
transparent
|
|
140
143
|
);
|
|
141
|
-
--_et-menu-muted-color: var(--et-surface-
|
|
142
|
-
--_et-menu-separator-color: var(--et-surface-border
|
|
144
|
+
--_et-menu-muted-color: var(--et-surface-text-muted, rgb(255 255 255 / 0.55));
|
|
145
|
+
--_et-menu-separator-color: var(--et-surface-border, rgb(255 255 255 / 0.1));
|
|
143
146
|
|
|
144
147
|
display: flex;
|
|
145
148
|
flex-direction: column;
|
|
@@ -252,7 +255,7 @@
|
|
|
252
255
|
opacity 120ms ease;
|
|
253
256
|
|
|
254
257
|
&[data-active]:where([data-active-source='keyboard']):focus-visible {
|
|
255
|
-
outline: 2px solid var(--et-
|
|
258
|
+
outline: 2px solid var(--et-tone-text);
|
|
256
259
|
outline-offset: -2px;
|
|
257
260
|
}
|
|
258
261
|
|
|
@@ -287,7 +290,7 @@
|
|
|
287
290
|
|
|
288
291
|
&[data-variant='destructive'] {
|
|
289
292
|
/* the item forces the error color theme onto itself while destructive */
|
|
290
|
-
color: var(--et-
|
|
293
|
+
color: var(--et-tone-text, rgb(248 113 113));
|
|
291
294
|
}
|
|
292
295
|
|
|
293
296
|
/* Every kind of item has a label — a plain one, a checkbox, a radio — so its layout lives here
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
syntax: '*';
|
|
28
28
|
inherits: true;
|
|
29
29
|
initial-value:
|
|
30
|
-
0 4px 16px
|
|
31
|
-
0 0 0 1px
|
|
30
|
+
0 4px 16px color-mix(in srgb, var(--et-shadow-color, rgb(0 0 0)) 10%, transparent),
|
|
31
|
+
0 0 0 1px color-mix(in srgb, var(--et-shadow-color, rgb(0 0 0)) 5%, transparent);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
@property --et-notification-border-width {
|
|
@@ -97,14 +97,14 @@
|
|
|
97
97
|
/* Fades under a swipe. Set inline by the gesture, so the leave/enter rules — which are more
|
|
98
98
|
specific — still win when the notification animates in or out. */
|
|
99
99
|
opacity: var(--_et-notification-swipe-opacity, 1);
|
|
100
|
-
background: var(--et-surface-background
|
|
101
|
-
color: var(--et-surface-
|
|
100
|
+
background: var(--et-surface-background, #fff);
|
|
101
|
+
color: var(--et-surface-text, #111);
|
|
102
102
|
border-radius: var(--et-notification-border-radius);
|
|
103
103
|
padding: var(--et-notification-padding);
|
|
104
104
|
box-shadow: var(--et-notification-shadow);
|
|
105
105
|
min-width: var(--et-notification-min-width);
|
|
106
106
|
max-width: var(--et-notification-max-width);
|
|
107
|
-
border-inline-start: var(--et-notification-border-width) solid var(--et-
|
|
107
|
+
border-inline-start: var(--et-notification-border-width) solid var(--et-tone-fill, #d1d5db);
|
|
108
108
|
font-family: var(--et-font-family, inherit);
|
|
109
109
|
font-size: var(--et-notification-font-size);
|
|
110
110
|
line-height: var(--et-notification-line-height);
|
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
|
|
185
185
|
.et-notification-spinner {
|
|
186
186
|
flex-shrink: 0;
|
|
187
|
-
--et-spinner-color: var(--et-
|
|
187
|
+
--et-spinner-color: var(--et-tone-fill, currentColor);
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
/* The status glyph reads in the status color, which the manager's `statusColorMapping` resolves —
|
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
flex-shrink: 0;
|
|
194
194
|
width: var(--et-notification-icon-size);
|
|
195
195
|
height: var(--et-notification-icon-size);
|
|
196
|
-
color: var(--et-
|
|
196
|
+
color: var(--et-tone-fill, currentColor);
|
|
197
197
|
}
|
|
198
198
|
|
|
199
199
|
.et-notification-title {
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
|
|
218
218
|
.et-notification-message {
|
|
219
219
|
margin: 0.4rem 0 0;
|
|
220
|
-
color: var(--et-surface-
|
|
220
|
+
color: var(--et-surface-text-muted, inherit);
|
|
221
221
|
opacity: var(--et-notification-message-opacity);
|
|
222
222
|
font-size: var(--et-notification-message-font-size);
|
|
223
223
|
line-height: var(--et-notification-message-line-height);
|
|
@@ -229,7 +229,7 @@
|
|
|
229
229
|
|
|
230
230
|
.et-notification-progress-bar {
|
|
231
231
|
margin-top: 0.8rem;
|
|
232
|
-
color: var(--et-
|
|
232
|
+
color: var(--et-tone-fill, currentColor);
|
|
233
233
|
--et-progress-bar-height: var(--et-notification-progress-bar-height);
|
|
234
234
|
}
|
|
235
235
|
|
|
@@ -244,7 +244,7 @@
|
|
|
244
244
|
Scoped through `.et-notification` to outweigh the text button's own `color` — the two stylesheets
|
|
245
245
|
share a layer, so their relative order depends on which component renders first. */
|
|
246
246
|
.et-notification .et-notification-secondary-action {
|
|
247
|
-
color: var(--et-surface-
|
|
247
|
+
color: var(--et-surface-text-muted, inherit);
|
|
248
248
|
}
|
|
249
249
|
|
|
250
250
|
/* The stack goes edge to edge below this width (see `notification-stack.component.css`), so the card
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
.et-alert-dialog {
|
|
27
27
|
--et-overlay-body-min-block-size: 0px;
|
|
28
28
|
|
|
29
|
-
color: var(--et-surface-
|
|
29
|
+
color: var(--et-surface-text, currentColor);
|
|
30
30
|
|
|
31
31
|
.et-alert-dialog-title {
|
|
32
32
|
margin: 0;
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
.et-alert-dialog-message {
|
|
38
38
|
margin: 0;
|
|
39
39
|
font-size: var(--et-alert-dialog-message-font-size);
|
|
40
|
-
color: var(--et-surface-
|
|
40
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
41
41
|
white-space: pre-line;
|
|
42
42
|
}
|
|
43
43
|
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
|
|
22
22
|
.et-tooltip,
|
|
23
23
|
.et-toggletip {
|
|
24
|
-
--_et-floating-tip-background: var(--et-floating-tip-background, var(--et-surface-background
|
|
25
|
-
--_et-floating-tip-color: var(--et-floating-tip-color, var(--et-surface-
|
|
26
|
-
--_et-floating-tip-border: var(--et-floating-tip-border, var(--et-surface-border
|
|
24
|
+
--_et-floating-tip-background: var(--et-floating-tip-background, var(--et-surface-background, rgb(32 32 32)));
|
|
25
|
+
--_et-floating-tip-color: var(--et-floating-tip-color, var(--et-surface-text, rgb(244 244 245)));
|
|
26
|
+
--_et-floating-tip-border: var(--et-floating-tip-border, var(--et-surface-border, rgb(255 255 255 / 0.1)));
|
|
27
27
|
--_et-floating-tip-shadow: var(
|
|
28
28
|
--et-anchored-panel-shadow,
|
|
29
|
-
0 10px 24px
|
|
29
|
+
0 10px 24px color-mix(in srgb, var(--et-shadow-color, rgb(0 0 0)) 16%, transparent)
|
|
30
30
|
);
|
|
31
31
|
--_et-floating-tip-radius: var(--et-floating-tip-radius);
|
|
32
32
|
--_et-floating-tip-max-width: var(--et-floating-tip-max-width, min(34ch, calc(100vw - 24px)));
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
--et-overlay-body-padding-block: 0;
|
|
8
8
|
--et-overlay-footer-padding-block-start: 16px;
|
|
9
9
|
|
|
10
|
-
--et-overlay-body-divider-color: var(--et-surface-border
|
|
10
|
+
--et-overlay-body-divider-color: var(--et-surface-border, #565656);
|
|
11
11
|
|
|
12
12
|
--et-overlay-body-min-block-size: 100px;
|
|
13
13
|
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
a static fallback for theme-less setups. Kept as tokens so a specific overlay (e.g. the RTE
|
|
17
17
|
link editor, the date-picker sheet) can override radius/border per instance. Anchored/centered
|
|
18
18
|
panes are deliberately excluded — their content paints its own surface. */
|
|
19
|
-
--et-overlay-surface-background: var(--et-surface-background
|
|
20
|
-
--et-overlay-surface-color: var(--et-surface-
|
|
21
|
-
--et-overlay-surface-border-color: var(--et-surface-border
|
|
19
|
+
--et-overlay-surface-background: var(--et-surface-background, rgb(32 32 32));
|
|
20
|
+
--et-overlay-surface-color: var(--et-surface-text, rgb(244 244 245));
|
|
21
|
+
--et-overlay-surface-border-color: var(--et-surface-border, rgb(255 255 255 / 0.1));
|
|
22
22
|
--et-overlay-surface-border-width: 0.1rem;
|
|
23
23
|
--_et-overlay-radius: var(--et-overlay-radius, 1.6rem);
|
|
24
24
|
|
|
@@ -146,7 +146,10 @@
|
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
.et-overlay-runtime-backdrop {
|
|
149
|
-
background-color: var(
|
|
149
|
+
background-color: var(
|
|
150
|
+
--et-overlay-backdrop-color,
|
|
151
|
+
color-mix(in srgb, var(--et-scrim-color, rgb(0 0 0)) 32%, transparent)
|
|
152
|
+
);
|
|
150
153
|
backdrop-filter: var(--et-overlay-backdrop-filter, none);
|
|
151
154
|
opacity: 0;
|
|
152
155
|
transition: opacity 200ms linear;
|
|
@@ -165,6 +168,6 @@
|
|
|
165
168
|
}
|
|
166
169
|
|
|
167
170
|
.et-overlay--dialog .et-button:where([data-variant='filled']) {
|
|
168
|
-
--et-button-shadow: inset 0 0 0 1px light-dark(var(--et-
|
|
171
|
+
--et-button-shadow: inset 0 0 0 1px light-dark(var(--et-tone-text), transparent);
|
|
169
172
|
}
|
|
170
173
|
}
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
themed arrow border without repeating this per component */
|
|
24
24
|
--_et-overlay-arrow-border-color: var(
|
|
25
25
|
--et-overlay-arrow-border,
|
|
26
|
-
var(--_et-overlay-arrow-pane-border-color, var(--et-surface-border
|
|
26
|
+
var(--_et-overlay-arrow-pane-border-color, var(--et-surface-border, rgb(255 255 255 / 0.1)))
|
|
27
27
|
);
|
|
28
28
|
/* Cut the arrow off at the *inner* edge of the pane's border: everything below the widest corners is
|
|
29
29
|
unbordered silhouette, and the only part of it worth keeping is the sliver that covers the pane's
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
renders (custom panelClass, themed pane) instead of re-deriving a possibly-divergent color */
|
|
36
36
|
--_et-overlay-arrow-fill: var(
|
|
37
37
|
--et-overlay-arrow-background,
|
|
38
|
-
var(--_et-overlay-arrow-pane-background, var(--et-surface-background
|
|
38
|
+
var(--_et-overlay-arrow-pane-background, var(--et-surface-background, rgb(32 32 32)))
|
|
39
39
|
);
|
|
40
40
|
|
|
41
41
|
position: absolute;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
--_et-overlay-drag-handle-inline-size: 32px;
|
|
4
4
|
--_et-overlay-drag-handle-block-size: 4px;
|
|
5
5
|
--_et-overlay-drag-handle-block-margin: 22px;
|
|
6
|
-
--_et-overlay-drag-handle-color: var(--et-surface-border
|
|
6
|
+
--_et-overlay-drag-handle-color: var(--et-surface-border, #565656);
|
|
7
7
|
--_et-overlay-drag-handle-radius: 5px;
|
|
8
8
|
}
|
|
9
9
|
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
the host by elevation — because most sheet content (e.g. a date picker) paints its background
|
|
14
14
|
on a nested element, leaving the host itself transparent, so `inherit` would paint nothing.
|
|
15
15
|
Falls back to transparent (no filler) for overlays opened without surface themes. */
|
|
16
|
-
--_et-overlay-overshoot-fill: var(--et-surface-background
|
|
16
|
+
--_et-overlay-overshoot-fill: var(--et-surface-background, transparent);
|
|
17
17
|
|
|
18
18
|
@media (pointer: coarse) {
|
|
19
19
|
&:where(.et-overlay--bottom-sheet, .et-overlay--top-sheet, .et-overlay--left-sheet, .et-overlay--right-sheet) {
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
inline-size: 100%;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
/* Touch gets the comfortable 44px target. `:where()` holds this at zero specificity so the `sm`
|
|
34
|
-
|
|
33
|
+
/* Touch gets the comfortable 44px target. `:where()` holds this at zero specificity so the `sm` rule
|
|
34
|
+
below - which floors the size on purpose - still wins over it. */
|
|
35
35
|
@media (pointer: coarse) {
|
|
36
36
|
:where(.et-pagination-host) {
|
|
37
37
|
--et-pagination-item-size: 44px;
|
|
@@ -78,6 +78,8 @@
|
|
|
78
78
|
--_et-button-padding: 0;
|
|
79
79
|
--_et-button-border-radius: var(--et-pagination-radius);
|
|
80
80
|
|
|
81
|
+
align-items: center;
|
|
82
|
+
|
|
81
83
|
/* Page numbers grow past the square only when the digits demand it (100+). */
|
|
82
84
|
padding-inline: 4px;
|
|
83
85
|
min-inline-size: var(--et-pagination-item-size);
|
|
@@ -108,7 +110,7 @@
|
|
|
108
110
|
justify-content: center;
|
|
109
111
|
min-inline-size: var(--et-pagination-item-size);
|
|
110
112
|
block-size: var(--et-pagination-item-size);
|
|
111
|
-
color: var(--et-surface-
|
|
113
|
+
color: var(--et-surface-text-muted, CanvasText);
|
|
112
114
|
-webkit-user-select: none;
|
|
113
115
|
user-select: none;
|
|
114
116
|
}
|
|
@@ -117,7 +119,7 @@
|
|
|
117
119
|
margin: 0;
|
|
118
120
|
font-size: 14px;
|
|
119
121
|
font-variant-numeric: tabular-nums;
|
|
120
|
-
color: var(--et-surface-
|
|
122
|
+
color: var(--et-surface-text-muted, CanvasText);
|
|
121
123
|
}
|
|
122
124
|
|
|
123
125
|
/* Both readouts stack their live text over an invisible copy of the widest string they can ever show
|
|
@@ -162,11 +164,8 @@
|
|
|
162
164
|
/* Compact pager: when the paginator's own width can't hold a comfortable numbered window, it renders
|
|
163
165
|
just previous/next around a "page X of Y" readout (see `compact` in the component). Driven by the
|
|
164
166
|
measured container width — not a viewport media query — so it collapses per instance, wherever it
|
|
165
|
-
sits.
|
|
167
|
+
sits. */
|
|
166
168
|
.et-pagination-host:where([data-compact]) {
|
|
167
|
-
/* Modest chevrons that sit level with a small page-size select — floored so touch stays usable
|
|
168
|
-
without the bulky whitespace of a full 44px target. */
|
|
169
|
-
--et-pagination-item-size: 34px;
|
|
170
169
|
--et-pagination-gap: 2px;
|
|
171
170
|
}
|
|
172
171
|
|
|
@@ -177,10 +176,10 @@
|
|
|
177
176
|
font-size: 14px;
|
|
178
177
|
font-variant-numeric: tabular-nums;
|
|
179
178
|
white-space: nowrap;
|
|
180
|
-
color: var(--et-surface-
|
|
179
|
+
color: var(--et-surface-text-muted, CanvasText);
|
|
181
180
|
}
|
|
182
181
|
|
|
183
182
|
.et-pagination-host .et-pagination-button:where([aria-current='page']) {
|
|
184
|
-
--_et-button-shadow: inset 0 0 0 1px light-dark(var(--et-
|
|
183
|
+
--_et-button-shadow: inset 0 0 0 1px light-dark(var(--et-tone-text), transparent);
|
|
185
184
|
}
|
|
186
185
|
}
|