@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
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
inline-size: 100%;
|
|
14
14
|
block-size: 100%;
|
|
15
15
|
overflow: hidden;
|
|
16
|
-
border: 1px solid var(--et-surface-border
|
|
16
|
+
border: 1px solid var(--et-surface-border, rgb(255 255 255 / 0.1));
|
|
17
17
|
border-radius: var(--et-bracket-pick-card-border-radius, 10px);
|
|
18
|
-
background: var(--et-surface-background
|
|
19
|
-
color: var(--et-surface-
|
|
18
|
+
background: var(--et-surface-background, #fff);
|
|
19
|
+
color: var(--et-surface-text, #111);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.et-bracket-pick-card-sides {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
gap: var(--et-bracket-pick-card-gap, 8px);
|
|
35
35
|
box-sizing: border-box;
|
|
36
36
|
border: 0;
|
|
37
|
-
border-block-end: 1px solid var(--et-surface-border
|
|
37
|
+
border-block-end: 1px solid var(--et-surface-border, rgb(255 255 255 / 0.1));
|
|
38
38
|
padding: var(--et-bracket-pick-card-padding, 8px 10px);
|
|
39
39
|
background: transparent;
|
|
40
40
|
color: inherit;
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
inset-inline-start: 0;
|
|
53
53
|
inline-size: 3px;
|
|
54
54
|
border-radius: 999px;
|
|
55
|
-
background: var(--et-
|
|
55
|
+
background: var(--et-tone-fill, #555);
|
|
56
56
|
opacity: 0;
|
|
57
57
|
transition:
|
|
58
58
|
opacity 120ms ease,
|
|
@@ -64,15 +64,15 @@
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
&:where(button):hover {
|
|
67
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
67
|
+
background: color-mix(in srgb, var(--et-surface-tint, #777) 12%, transparent);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
&:where(button)[aria-pressed='true']:hover {
|
|
71
|
-
background: color-mix(in srgb, var(--et-
|
|
71
|
+
background: color-mix(in srgb, var(--et-tone-fill, #555) 20%, transparent);
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
&:where([aria-pressed='true'], [data-selected]) {
|
|
75
|
-
background: color-mix(in srgb, var(--et-
|
|
75
|
+
background: color-mix(in srgb, var(--et-tone-fill, #555) 12%, transparent);
|
|
76
76
|
|
|
77
77
|
&::before {
|
|
78
78
|
opacity: 1;
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
&:where([data-side-state='predicted']) {
|
|
83
|
-
color: var(--et-
|
|
83
|
+
color: var(--et-tone-text, currentColor);
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
&:where([data-dimmed]) {
|
|
@@ -114,11 +114,11 @@
|
|
|
114
114
|
/* `et-match-participant` sets its own colour rather than inheriting one, so the state's colour has
|
|
115
115
|
to be applied to it directly - on the side alone it would never reach the name. */
|
|
116
116
|
.et-bracket-pick-card-side:where([data-side-state='predicted']) > et-match-participant {
|
|
117
|
-
color: var(--et-
|
|
117
|
+
color: var(--et-tone-text, currentColor);
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
.et-bracket-pick-card-empty {
|
|
121
|
-
color: var(--et-surface-
|
|
121
|
+
color: var(--et-surface-text-muted, #666);
|
|
122
122
|
font-size: var(--et-bracket-pick-card-slot-font-size, 13px);
|
|
123
123
|
}
|
|
124
124
|
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
flex: none;
|
|
137
137
|
inline-size: var(--et-bracket-pick-card-mark-size, 14px);
|
|
138
138
|
block-size: var(--et-bracket-pick-card-mark-size, 14px);
|
|
139
|
-
border: 1px solid var(--et-surface-border
|
|
139
|
+
border: 1px solid var(--et-surface-border, rgb(255 255 255 / 0.2));
|
|
140
140
|
border-radius: 50%;
|
|
141
141
|
transition: border-color 120ms ease;
|
|
142
142
|
animation: et-bracket-pick-card-mark-in 120ms ease;
|
|
@@ -146,32 +146,32 @@
|
|
|
146
146
|
inline-size: 50%;
|
|
147
147
|
block-size: 50%;
|
|
148
148
|
border-radius: 50%;
|
|
149
|
-
background: var(--et-surface-
|
|
149
|
+
background: var(--et-surface-control-text, #777);
|
|
150
150
|
opacity: 0;
|
|
151
151
|
transition: opacity 120ms ease;
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
.et-bracket-pick-card-side:where([aria-pressed='true'], [data-selected]) .et-bracket-pick-card-mark {
|
|
156
|
-
border-color: var(--et-
|
|
156
|
+
border-color: var(--et-tone-fill, #555);
|
|
157
157
|
|
|
158
158
|
&::after {
|
|
159
|
-
background: var(--et-
|
|
159
|
+
background: var(--et-tone-fill, #555);
|
|
160
160
|
opacity: 1;
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
.et-bracket-pick-card:where([data-locked]) .et-bracket-pick-card-side:where([data-selected])::before {
|
|
165
|
-
background: var(--et-surface-
|
|
165
|
+
background: var(--et-surface-text-muted, #666);
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
.et-bracket-pick-card:where([data-locked])
|
|
169
169
|
.et-bracket-pick-card-side:where([data-selected])
|
|
170
170
|
.et-bracket-pick-card-mark {
|
|
171
|
-
border-color: var(--et-surface-
|
|
171
|
+
border-color: var(--et-surface-text-muted, #666);
|
|
172
172
|
|
|
173
173
|
&::after {
|
|
174
|
-
background: var(--et-surface-
|
|
174
|
+
background: var(--et-surface-text-muted, #666);
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
177
|
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
.et-bracket-pick-card-invalid-outline {
|
|
190
190
|
position: absolute;
|
|
191
191
|
inset: 0;
|
|
192
|
-
border: 1px solid var(--et-
|
|
192
|
+
border: 1px solid var(--et-tone-text, currentColor);
|
|
193
193
|
border-radius: var(--et-bracket-pick-card-border-radius, 10px);
|
|
194
194
|
}
|
|
195
195
|
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
display: block;
|
|
201
201
|
margin-block-start: var(--et-bracket-pick-card-note-offset, 4px);
|
|
202
202
|
overflow: hidden;
|
|
203
|
-
color: var(--et-surface-
|
|
203
|
+
color: var(--et-surface-text-muted, #666);
|
|
204
204
|
font-size: var(--et-bracket-pick-card-note-font-size, 10px);
|
|
205
205
|
line-height: 1.4;
|
|
206
206
|
text-overflow: ellipsis;
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
.et-bracket-pick-card:where([data-note-tone='invalid']) .et-bracket-pick-card-note {
|
|
211
|
-
color: var(--et-
|
|
211
|
+
color: var(--et-tone-text, currentColor);
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
@keyframes et-bracket-pick-card-mark-in {
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
* @property initial-value cannot contain a var() (see the theming skill).
|
|
63
63
|
*/
|
|
64
64
|
path {
|
|
65
|
-
color: var(--et-bracket-line-color, var(--et-surface-border
|
|
65
|
+
color: var(--et-bracket-line-color, var(--et-surface-border, rgb(255 255 255 / 0.1)));
|
|
66
66
|
transition:
|
|
67
67
|
d var(--et-bracket-move-duration, 0.2s) var(--et-bracket-move-easing, ease),
|
|
68
68
|
opacity 0.2s;
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
.et-bracket-journey-endpoint {
|
|
105
105
|
outline: var(
|
|
106
106
|
--et-bracket-journey-endpoint-outline,
|
|
107
|
-
1px dashed var(--et-bracket-line-color, var(--et-surface-border
|
|
107
|
+
1px dashed var(--et-bracket-line-color, var(--et-surface-border, rgb(255 255 255 / 0.1)))
|
|
108
108
|
);
|
|
109
109
|
outline-offset: 2px;
|
|
110
110
|
border-radius: var(--et-match-card-border-radius, 10px);
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
@layer components.sdk {
|
|
2
|
+
.et-bracket-swiss-round-header-host {
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: flex-end;
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
inline-size: 100%;
|
|
7
|
+
block-size: 100%;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.et-bracket-swiss-round-header {
|
|
11
|
+
--_et-bracket-swiss-round-header-tone: var(--et-surface-text-muted, currentColor);
|
|
12
|
+
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
gap: 10px;
|
|
16
|
+
inline-size: 100%;
|
|
17
|
+
font-size: 10px;
|
|
18
|
+
font-weight: 800;
|
|
19
|
+
line-height: 1.2;
|
|
20
|
+
color: var(
|
|
21
|
+
--et-bracket-swiss-group-border-color,
|
|
22
|
+
var(--et-bracket-swiss-neutral-color, var(--_et-bracket-swiss-round-header-tone))
|
|
23
|
+
);
|
|
24
|
+
letter-spacing: 0.08em;
|
|
25
|
+
text-transform: uppercase;
|
|
26
|
+
text-rendering: geometricPrecision;
|
|
27
|
+
white-space: nowrap;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.et-bracket-swiss-round-header[data-swiss-toned] {
|
|
31
|
+
--_et-bracket-swiss-round-header-tone: var(--et-tone-text);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.et-bracket-swiss-round-header[data-swiss-tone='positive'] {
|
|
35
|
+
color: var(
|
|
36
|
+
--et-bracket-swiss-group-border-color,
|
|
37
|
+
var(--et-bracket-swiss-positive-color, var(--_et-bracket-swiss-round-header-tone))
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.et-bracket-swiss-round-header[data-swiss-tone='warning'] {
|
|
42
|
+
color: var(
|
|
43
|
+
--et-bracket-swiss-group-border-color,
|
|
44
|
+
var(--et-bracket-swiss-warning-color, var(--_et-bracket-swiss-round-header-tone))
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.et-bracket-swiss-round-header[data-swiss-tone='negative'] {
|
|
49
|
+
color: var(
|
|
50
|
+
--et-bracket-swiss-group-border-color,
|
|
51
|
+
var(--et-bracket-swiss-negative-color, var(--_et-bracket-swiss-round-header-tone))
|
|
52
|
+
);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.et-bracket-swiss-round-header-name,
|
|
56
|
+
.et-bracket-swiss-round-header-record {
|
|
57
|
+
flex: none;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.et-bracket-swiss-round-header-rule {
|
|
61
|
+
flex: 1;
|
|
62
|
+
block-size: 1px;
|
|
63
|
+
background: currentColor;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -3,8 +3,12 @@
|
|
|
3
3
|
.et-bracket-swiss-group-border {
|
|
4
4
|
color: var(
|
|
5
5
|
--et-bracket-swiss-group-border-color,
|
|
6
|
-
var(--et-bracket-line-color, var(--et-surface-border
|
|
6
|
+
var(--et-bracket-line-color, var(--et-surface-border, rgb(255 255 255 / 0.1)))
|
|
7
7
|
);
|
|
8
8
|
}
|
|
9
|
+
|
|
10
|
+
[data-swiss-toned] > .et-bracket-swiss-group-border {
|
|
11
|
+
color: var(--et-bracket-swiss-group-border-color, color-mix(in srgb, var(--et-tone-text) 55%, transparent));
|
|
12
|
+
}
|
|
9
13
|
}
|
|
10
14
|
}
|
|
@@ -20,18 +20,18 @@
|
|
|
20
20
|
.et-breadcrumb-item {
|
|
21
21
|
display: block;
|
|
22
22
|
padding: 4px 8px;
|
|
23
|
-
color: var(--et-surface-
|
|
23
|
+
color: var(--et-surface-text, CanvasText);
|
|
24
24
|
transition:
|
|
25
25
|
background 120ms ease,
|
|
26
26
|
color 120ms ease;
|
|
27
27
|
|
|
28
28
|
&:where(a, button):hover {
|
|
29
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
29
|
+
background: color-mix(in srgb, var(--et-surface-tint) 12%, transparent);
|
|
30
30
|
text-decoration-color: transparent;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
&:where(a, button):active {
|
|
34
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
34
|
+
background: color-mix(in srgb, var(--et-surface-tint) 20%, transparent);
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
}
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
/* Room for the focus ring (the overflow trigger's 2px outline + 3px offset) inside the clip; the negative margin keeps the layout height. */
|
|
32
32
|
padding-block: 5px;
|
|
33
33
|
margin-block: -5px;
|
|
34
|
-
color: var(--et-breadcrumb-item-color, var(--et-surface-
|
|
34
|
+
color: var(--et-breadcrumb-item-color, var(--et-surface-text-muted, GrayText));
|
|
35
35
|
font-size: var(--et-breadcrumb-font-size);
|
|
36
36
|
line-height: var(--et-breadcrumb-line-height);
|
|
37
37
|
letter-spacing: var(--et-breadcrumb-letter-spacing);
|
|
@@ -92,18 +92,17 @@
|
|
|
92
92
|
text-decoration-color 120ms ease;
|
|
93
93
|
|
|
94
94
|
&:where(a, button):hover {
|
|
95
|
-
color: var(--et-breadcrumb-item-hover-color, var(--et-surface-
|
|
95
|
+
color: var(--et-breadcrumb-item-hover-color, var(--et-surface-text, CanvasText));
|
|
96
96
|
text-decoration-color: currentColor;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
&:where(a, button):focus-visible {
|
|
100
|
-
outline: 2px solid
|
|
101
|
-
light-dark(var(--et-theme-color-ink-solid, currentColor), var(--et-theme-color-primary-solid, currentColor));
|
|
100
|
+
outline: 2px solid light-dark(var(--et-tone-text, currentColor), var(--et-tone-fill, currentColor));
|
|
102
101
|
outline-offset: 2px;
|
|
103
102
|
}
|
|
104
103
|
|
|
105
104
|
&:where([aria-current='page']) {
|
|
106
|
-
color: var(--et-breadcrumb-current-color, var(--et-surface-
|
|
105
|
+
color: var(--et-breadcrumb-current-color, var(--et-surface-text, CanvasText));
|
|
107
106
|
font-weight: 500;
|
|
108
107
|
}
|
|
109
108
|
}
|
|
@@ -112,7 +111,7 @@
|
|
|
112
111
|
display: inline-flex;
|
|
113
112
|
align-items: center;
|
|
114
113
|
flex: none;
|
|
115
|
-
color: var(--et-breadcrumb-separator-color, var(--et-surface-
|
|
114
|
+
color: var(--et-breadcrumb-separator-color, var(--et-surface-text-subtle, GrayText));
|
|
116
115
|
}
|
|
117
116
|
|
|
118
117
|
.et-breadcrumb-chevron {
|
|
@@ -83,20 +83,20 @@
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
:is(.et-button, .et-fab, .et-icon-button):where([data-variant='outline'], [data-variant='transparent']) {
|
|
86
|
-
--
|
|
86
|
+
--_et-tone-fill-opacity: 0;
|
|
87
87
|
|
|
88
88
|
@media (hover: hover) {
|
|
89
89
|
&:not([disabled], [aria-disabled='true']):hover {
|
|
90
|
-
--
|
|
90
|
+
--_et-tone-fill-opacity: var(--et-button-variant-opacity-hover-delta);
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
&:focus-visible {
|
|
95
|
-
--
|
|
95
|
+
--_et-tone-fill-opacity: var(--et-button-variant-opacity-focus-delta);
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
&:not([disabled], [aria-disabled='true']):active {
|
|
99
|
-
--
|
|
99
|
+
--_et-tone-fill-opacity: var(--et-button-variant-opacity-active-delta);
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
|
|
@@ -142,39 +142,39 @@
|
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
:is(.et-button, .et-fab, .et-icon-button):where([data-variant='tonal']) {
|
|
145
|
-
--
|
|
145
|
+
--_et-tone-fill-opacity: 0.16;
|
|
146
146
|
|
|
147
147
|
@media (hover: hover) {
|
|
148
148
|
&:not([disabled], [aria-disabled='true']):hover {
|
|
149
|
-
--
|
|
149
|
+
--_et-tone-fill-opacity: calc(0.16 + var(--et-button-variant-opacity-hover-delta));
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
&:focus-visible {
|
|
154
|
-
--
|
|
154
|
+
--_et-tone-fill-opacity: calc(0.16 + var(--et-button-variant-opacity-focus-delta));
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
&:not([disabled], [aria-disabled='true']):active {
|
|
158
|
-
--
|
|
158
|
+
--_et-tone-fill-opacity: calc(0.16 + var(--et-button-variant-opacity-active-delta));
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
:is(.et-button, .et-icon-button)[data-pressed='true']:where([data-pressed-variant='tonal']),
|
|
163
163
|
.et-icon-button[data-pressed='true']:where([data-pressed-variant='transparent']) {
|
|
164
|
-
--
|
|
164
|
+
--_et-tone-fill-opacity: 0.16;
|
|
165
165
|
|
|
166
166
|
@media (hover: hover) {
|
|
167
167
|
&:not([disabled], [aria-disabled='true']):hover {
|
|
168
|
-
--
|
|
168
|
+
--_et-tone-fill-opacity: calc(0.16 + var(--et-button-variant-opacity-hover-delta));
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
&:focus-visible {
|
|
173
|
-
--
|
|
173
|
+
--_et-tone-fill-opacity: calc(0.16 + var(--et-button-variant-opacity-focus-delta));
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
&:not([disabled], [aria-disabled='true']):active {
|
|
177
|
-
--
|
|
177
|
+
--_et-tone-fill-opacity: calc(0.16 + var(--et-button-variant-opacity-active-delta));
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
180
|
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
@layer components.sdk {
|
|
2
2
|
.et-button {
|
|
3
|
-
--_et-button-background:
|
|
4
|
-
|
|
3
|
+
--_et-button-background: color-mix(
|
|
4
|
+
in srgb,
|
|
5
|
+
var(--et-tone-fill) calc(var(--_et-tone-fill-opacity, 1) * 100%),
|
|
6
|
+
transparent
|
|
7
|
+
);
|
|
8
|
+
--_et-button-color: var(--et-tone-on-fill);
|
|
5
9
|
--_et-button-border-color: transparent;
|
|
6
10
|
--_et-button-gap: var(--et-button-gap);
|
|
7
11
|
--_et-button-padding: var(--et-button-padding);
|
|
@@ -98,90 +102,103 @@
|
|
|
98
102
|
}
|
|
99
103
|
|
|
100
104
|
&:where([data-variant='outline']) {
|
|
101
|
-
--_et-button-background:
|
|
102
|
-
|
|
103
|
-
|
|
105
|
+
--_et-button-background: color-mix(
|
|
106
|
+
in srgb,
|
|
107
|
+
var(--et-tone-fill) calc(var(--_et-tone-fill-opacity, 1) * 100%),
|
|
108
|
+
transparent
|
|
109
|
+
);
|
|
110
|
+
--_et-button-color: var(--et-tone-text);
|
|
111
|
+
--_et-button-border-color: var(--et-button-outline-border-color, var(--et-tone-text));
|
|
104
112
|
}
|
|
105
113
|
|
|
106
114
|
&[data-pressed='true']:where([data-pressed-variant='outline']) {
|
|
107
|
-
--
|
|
108
|
-
--_et-button-background:
|
|
109
|
-
|
|
110
|
-
|
|
115
|
+
--_et-tone-fill-opacity: 0;
|
|
116
|
+
--_et-button-background: color-mix(
|
|
117
|
+
in srgb,
|
|
118
|
+
var(--et-tone-fill) calc(var(--_et-tone-fill-opacity, 1) * 100%),
|
|
119
|
+
transparent
|
|
120
|
+
);
|
|
121
|
+
--_et-button-color: var(--et-tone-text);
|
|
122
|
+
--_et-button-border-color: var(--et-button-outline-border-color, var(--et-tone-text));
|
|
111
123
|
|
|
112
124
|
@media (hover: hover) {
|
|
113
125
|
&:not([disabled], [aria-disabled='true']):hover {
|
|
114
|
-
--
|
|
126
|
+
--_et-tone-fill-opacity: var(--et-button-variant-opacity-hover-delta);
|
|
115
127
|
}
|
|
116
128
|
}
|
|
117
129
|
|
|
118
130
|
&:focus-visible {
|
|
119
|
-
--
|
|
131
|
+
--_et-tone-fill-opacity: var(--et-button-variant-opacity-focus-delta);
|
|
120
132
|
}
|
|
121
133
|
|
|
122
134
|
&:not([disabled], [aria-disabled='true']):active {
|
|
123
|
-
--
|
|
135
|
+
--_et-tone-fill-opacity: var(--et-button-variant-opacity-active-delta);
|
|
124
136
|
}
|
|
125
137
|
|
|
126
138
|
&[data-loading='true']:not([disabled], [aria-disabled='true']) {
|
|
127
|
-
--_et-button-color: var(--et-
|
|
128
|
-
--_et-button-border-color: var(--et-
|
|
139
|
+
--_et-button-color: var(--et-tone-fill);
|
|
140
|
+
--_et-button-border-color: var(--et-tone-fill);
|
|
129
141
|
}
|
|
130
142
|
}
|
|
131
143
|
|
|
132
144
|
&:where([data-variant='tonal']),
|
|
133
145
|
&[data-pressed='true']:where([data-pressed-variant='tonal']) {
|
|
134
|
-
--_et-button-background:
|
|
135
|
-
|
|
146
|
+
--_et-button-background: color-mix(
|
|
147
|
+
in srgb,
|
|
148
|
+
var(--et-tone-fill) calc(var(--_et-tone-fill-opacity, 1) * 100%),
|
|
149
|
+
transparent
|
|
150
|
+
);
|
|
151
|
+
--_et-button-color: var(--et-tone-text);
|
|
136
152
|
--_et-button-border-color: transparent;
|
|
137
153
|
}
|
|
138
154
|
|
|
139
155
|
&:where([data-variant='transparent']) {
|
|
140
|
-
--_et-button-background:
|
|
141
|
-
|
|
156
|
+
--_et-button-background: color-mix(
|
|
157
|
+
in srgb,
|
|
158
|
+
var(--et-tone-fill) calc(var(--_et-tone-fill-opacity, 1) * 100%),
|
|
159
|
+
transparent
|
|
160
|
+
);
|
|
161
|
+
--_et-button-color: var(--et-tone-text);
|
|
142
162
|
--_et-button-border-color: transparent;
|
|
143
163
|
}
|
|
144
164
|
|
|
145
165
|
&:where([data-variant='filled']) {
|
|
146
166
|
@media (hover: hover) {
|
|
147
167
|
&:not([disabled], [aria-disabled='true']):hover {
|
|
148
|
-
--et-
|
|
149
|
-
--et-button-filled-hover
|
|
150
|
-
var(
|
|
151
|
-
--et-color-primary-active,
|
|
152
|
-
var(--et-color-primary-focus, var(--et-color-primary-hover, var(--et-color-primary)))
|
|
153
|
-
)
|
|
168
|
+
--et-tone-fill: var(
|
|
169
|
+
--et-button-filled-hover,
|
|
170
|
+
var(--et-tone-fill-active, var(--et-tone-fill-focus, var(--et-tone-fill-hover, var(--et-tone-fill-rest))))
|
|
154
171
|
);
|
|
155
172
|
}
|
|
156
173
|
}
|
|
157
174
|
|
|
158
175
|
&:not([disabled], [aria-disabled='true']):active {
|
|
159
|
-
--_et-button-background: color-mix(
|
|
160
|
-
in srgb,
|
|
161
|
-
rgb(var(--et-color-primary)) 96%,
|
|
162
|
-
var(--et-theme-color-on-primary-solid)
|
|
163
|
-
);
|
|
176
|
+
--_et-button-background: color-mix(in srgb, var(--et-tone-fill-rest) 96%, var(--et-tone-on-fill));
|
|
164
177
|
}
|
|
165
178
|
}
|
|
166
179
|
|
|
167
180
|
&[data-pressed='true']:where([data-pressed-variant='filled']) {
|
|
168
|
-
--
|
|
169
|
-
--_et-button-background:
|
|
170
|
-
|
|
181
|
+
--_et-tone-fill-opacity: 1;
|
|
182
|
+
--_et-button-background: color-mix(
|
|
183
|
+
in srgb,
|
|
184
|
+
var(--et-tone-fill) calc(var(--_et-tone-fill-opacity, 1) * 100%),
|
|
185
|
+
transparent
|
|
186
|
+
);
|
|
187
|
+
--_et-button-color: var(--et-tone-on-fill);
|
|
171
188
|
--_et-button-border-color: transparent;
|
|
172
189
|
|
|
173
190
|
@media (hover: hover) {
|
|
174
191
|
&:not([disabled], [aria-disabled='true']):hover {
|
|
175
|
-
--
|
|
192
|
+
--_et-tone-fill-opacity: 1;
|
|
176
193
|
}
|
|
177
194
|
}
|
|
178
195
|
|
|
179
196
|
&:focus-visible {
|
|
180
|
-
--
|
|
197
|
+
--_et-tone-fill-opacity: 1;
|
|
181
198
|
}
|
|
182
199
|
|
|
183
200
|
&:not([disabled], [aria-disabled='true']):active {
|
|
184
|
-
--
|
|
201
|
+
--_et-tone-fill-opacity: 1;
|
|
185
202
|
}
|
|
186
203
|
}
|
|
187
204
|
|
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
--_et-fab-contents-padding: 0 var(--et-fab-contents-gap) 0 0;
|
|
34
34
|
|
|
35
35
|
--et-button-shadow:
|
|
36
|
-
0 0.3rem 0.8rem
|
|
37
|
-
0 0.1rem 0.3rem
|
|
36
|
+
0 0.3rem 0.8rem color-mix(in srgb, var(--et-shadow-color, rgb(0 0 0)) 20%, transparent),
|
|
37
|
+
0 0.1rem 0.3rem color-mix(in srgb, var(--et-shadow-color, rgb(0 0 0)) 12%, transparent);
|
|
38
38
|
|
|
39
39
|
display: inline-flex;
|
|
40
40
|
position: relative;
|
|
41
41
|
align-items: center;
|
|
42
42
|
|
|
43
|
-
background:
|
|
44
|
-
color: var(--et-
|
|
43
|
+
background: color-mix(in srgb, var(--et-tone-fill) calc(var(--_et-tone-fill-opacity, 1) * 100%), transparent);
|
|
44
|
+
color: var(--et-tone-on-fill);
|
|
45
45
|
border: none;
|
|
46
46
|
border-radius: 9999px;
|
|
47
47
|
padding: 0;
|
|
@@ -85,20 +85,20 @@
|
|
|
85
85
|
&:where([data-variant='filled']) {
|
|
86
86
|
@media (hover: hover) {
|
|
87
87
|
&:hover::after {
|
|
88
|
-
background:
|
|
88
|
+
background: color-mix(in srgb, var(--et-tone-on-fill) 8%, transparent);
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
&:focus-visible::after {
|
|
93
|
-
background:
|
|
93
|
+
background: color-mix(in srgb, var(--et-tone-on-fill) 12%, transparent);
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
&:active::after {
|
|
97
|
-
background:
|
|
97
|
+
background: color-mix(in srgb, var(--et-tone-on-fill) 16%, transparent);
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
&:focus-visible:active::after {
|
|
101
|
-
background:
|
|
101
|
+
background: color-mix(in srgb, var(--et-tone-on-fill) 16%, transparent);
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
|
|
@@ -140,21 +140,21 @@
|
|
|
140
140
|
@media (hover: hover) {
|
|
141
141
|
&:hover {
|
|
142
142
|
--et-button-shadow:
|
|
143
|
-
0 0.6rem 1.2rem
|
|
144
|
-
0 0.2rem 0.4rem
|
|
143
|
+
0 0.6rem 1.2rem color-mix(in srgb, var(--et-shadow-color, rgb(0 0 0)) 22%, transparent),
|
|
144
|
+
0 0.2rem 0.4rem color-mix(in srgb, var(--et-shadow-color, rgb(0 0 0)) 14%, transparent);
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
&:active {
|
|
149
149
|
--et-button-shadow:
|
|
150
|
-
0 0.2rem 0.6rem
|
|
151
|
-
0 0.1rem 0.2rem
|
|
150
|
+
0 0.2rem 0.6rem color-mix(in srgb, var(--et-shadow-color, rgb(0 0 0)) 18%, transparent),
|
|
151
|
+
0 0.1rem 0.2rem color-mix(in srgb, var(--et-shadow-color, rgb(0 0 0)) 10%, transparent);
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
&:focus-visible:active {
|
|
155
155
|
--et-button-shadow:
|
|
156
|
-
0 0.2rem 0.6rem
|
|
157
|
-
0 0.1rem 0.2rem
|
|
156
|
+
0 0.2rem 0.6rem color-mix(in srgb, var(--et-shadow-color, rgb(0 0 0)) 18%, transparent),
|
|
157
|
+
0 0.1rem 0.2rem color-mix(in srgb, var(--et-shadow-color, rgb(0 0 0)) 10%, transparent);
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
&:where([disabled]),
|
|
@@ -168,9 +168,9 @@
|
|
|
168
168
|
--et-button-shadow: none;
|
|
169
169
|
background: var(
|
|
170
170
|
--_et-button-state-background,
|
|
171
|
-
|
|
171
|
+
color-mix(in srgb, var(--et-tone-fill) calc(var(--_et-tone-fill-opacity, 1) * 100%), transparent)
|
|
172
172
|
);
|
|
173
|
-
color: var(--et-
|
|
173
|
+
color: var(--et-tone-text);
|
|
174
174
|
|
|
175
175
|
@media (hover: hover) {
|
|
176
176
|
&:hover {
|
|
@@ -186,10 +186,7 @@
|
|
|
186
186
|
|
|
187
187
|
&:where([data-variant='outline'])::after {
|
|
188
188
|
border-width: var(--et-button-border-width, 0.1rem);
|
|
189
|
-
border-color: var(
|
|
190
|
-
--_et-button-state-border-color,
|
|
191
|
-
var(--et-button-outline-border-color, var(--et-theme-color-ink-solid))
|
|
192
|
-
);
|
|
189
|
+
border-color: var(--_et-button-state-border-color, var(--et-button-outline-border-color, var(--et-tone-text)));
|
|
193
190
|
}
|
|
194
191
|
|
|
195
192
|
&[data-icon-alignment='end'] {
|