@ethlete/components 1.0.0-next.100 → 1.0.0-next.101
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 +39 -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 +2 -2
- 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
|
@@ -33,19 +33,16 @@
|
|
|
33
33
|
block-size: var(--et-multi-language-rich-text-editor-dot-size);
|
|
34
34
|
border-radius: 50%;
|
|
35
35
|
/* empty: a hollow ring in a muted neutral — reads as "not filled in yet" */
|
|
36
|
-
border: 1.5px solid var(--et-surface-
|
|
36
|
+
border: 1.5px solid var(--et-surface-text-muted, color-mix(in srgb, currentColor 40%, transparent));
|
|
37
37
|
background: transparent;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.et-ml-rte-lang-dot--filled {
|
|
41
41
|
/* has content: a solid accent dot */
|
|
42
|
-
border-color: var(--et-
|
|
43
|
-
background: var(--et-
|
|
42
|
+
border-color: var(--et-tone-fill, var(--et-surface-text, currentColor));
|
|
43
|
+
background: var(--et-tone-fill, var(--et-surface-text, currentColor));
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
/* A square, neutral toolbar control that mirrors the icon buttons beside it (same size, same
|
|
47
|
-
muted-until-pressed surface-interaction tint) — it just shows the active language code instead
|
|
48
|
-
of an icon. A badge dot appears while any language is still empty. */
|
|
49
46
|
.et-ml-rte-lang-trigger {
|
|
50
47
|
display: inline-flex;
|
|
51
48
|
position: relative;
|
|
@@ -66,16 +63,16 @@
|
|
|
66
63
|
|
|
67
64
|
@media (hover: hover) {
|
|
68
65
|
.et-ml-rte-lang-trigger:hover:not(:disabled) {
|
|
69
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
66
|
+
background: color-mix(in srgb, var(--et-surface-tint) 12%, transparent);
|
|
70
67
|
}
|
|
71
68
|
}
|
|
72
69
|
|
|
73
70
|
.et-ml-rte-lang-trigger:focus-visible {
|
|
74
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
71
|
+
background: color-mix(in srgb, var(--et-surface-tint) 16%, transparent);
|
|
75
72
|
}
|
|
76
73
|
|
|
77
74
|
.et-ml-rte-lang-trigger:active:not(:disabled) {
|
|
78
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
75
|
+
background: color-mix(in srgb, var(--et-surface-tint) 20%, transparent);
|
|
79
76
|
}
|
|
80
77
|
|
|
81
78
|
.et-ml-rte-lang-trigger:disabled {
|
|
@@ -99,6 +96,6 @@
|
|
|
99
96
|
inline-size: var(--et-multi-language-rich-text-editor-badge-size);
|
|
100
97
|
block-size: var(--et-multi-language-rich-text-editor-badge-size);
|
|
101
98
|
border-radius: 50%;
|
|
102
|
-
background: var(--et-
|
|
99
|
+
background: var(--et-tone-fill, var(--et-surface-control-text, currentColor));
|
|
103
100
|
}
|
|
104
101
|
}
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
gap: 6px;
|
|
64
64
|
max-inline-size: 100%;
|
|
65
65
|
min-inline-size: 0;
|
|
66
|
-
color: var(--et-surface-
|
|
66
|
+
color: var(--et-surface-text, currentColor);
|
|
67
67
|
|
|
68
68
|
--et-form-support-duration: var(--et-otp-input-support-duration);
|
|
69
69
|
--et-form-support-error-font-size: var(--et-otp-input-error-font-size);
|
|
@@ -75,13 +75,13 @@
|
|
|
75
75
|
font-weight: 500;
|
|
76
76
|
line-height: 1.2;
|
|
77
77
|
letter-spacing: -0.01em;
|
|
78
|
-
color: var(--et-surface-
|
|
78
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
79
79
|
-webkit-user-select: none;
|
|
80
80
|
user-select: none;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
> et-label .et-label-required-marker {
|
|
84
|
-
color: light-dark(var(--et-
|
|
84
|
+
color: light-dark(var(--et-tone-text), var(--et-tone-fill));
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
.et-otp-input-field {
|
|
@@ -104,11 +104,7 @@
|
|
|
104
104
|
min-inline-size: 0;
|
|
105
105
|
aspect-ratio: 1;
|
|
106
106
|
border: 1px solid
|
|
107
|
-
color-mix(
|
|
108
|
-
in oklab,
|
|
109
|
-
var(--et-surface-color-solid, currentColor) 43%,
|
|
110
|
-
var(--et-surface-background-solid, transparent)
|
|
111
|
-
);
|
|
107
|
+
color-mix(in oklab, var(--et-surface-text, currentColor) 43%, var(--et-surface-background, transparent));
|
|
112
108
|
border-radius: var(--et-otp-input-segment-radius);
|
|
113
109
|
font-size: calc(var(--et-otp-input-segment-size) * 0.45);
|
|
114
110
|
font-variant-numeric: tabular-nums;
|
|
@@ -116,8 +112,8 @@
|
|
|
116
112
|
user-select: none;
|
|
117
113
|
|
|
118
114
|
&[data-caret] {
|
|
119
|
-
border-color: var(--et-
|
|
120
|
-
outline: 1px solid var(--et-
|
|
115
|
+
border-color: var(--et-tone-text, currentColor);
|
|
116
|
+
outline: 1px solid var(--et-tone-text, currentColor);
|
|
121
117
|
outline-offset: -1px;
|
|
122
118
|
}
|
|
123
119
|
|
|
@@ -130,7 +126,7 @@
|
|
|
130
126
|
inline-size: 2px;
|
|
131
127
|
block-size: 1.1em;
|
|
132
128
|
border-radius: 1px;
|
|
133
|
-
background: var(--et-
|
|
129
|
+
background: var(--et-tone-text, currentColor);
|
|
134
130
|
animation: et-otp-input-caret-blink 1.1s steps(2, jump-none) infinite;
|
|
135
131
|
}
|
|
136
132
|
}
|
|
@@ -167,20 +163,20 @@
|
|
|
167
163
|
}
|
|
168
164
|
|
|
169
165
|
&[data-error] .et-otp-input-segment {
|
|
170
|
-
border-color: var(--et-
|
|
166
|
+
border-color: var(--et-tone-fill, currentColor);
|
|
171
167
|
}
|
|
172
168
|
|
|
173
169
|
@media (hover: hover) {
|
|
174
170
|
&:not(:has(.et-otp-input-native:read-only)):hover .et-otp-input-segment:not([data-caret]) {
|
|
175
|
-
border-color: var(--et-surface-
|
|
171
|
+
border-color: var(--et-surface-text, currentColor);
|
|
176
172
|
}
|
|
177
173
|
|
|
178
174
|
&:not([data-error]):not(:has(.et-otp-input-native:read-only)):hover > et-label {
|
|
179
|
-
color: var(--et-surface-
|
|
175
|
+
color: var(--et-surface-text, currentColor);
|
|
180
176
|
}
|
|
181
177
|
|
|
182
178
|
&[data-error]:not(:has(.et-otp-input-native:read-only)):hover .et-otp-input-segment:not([data-caret]) {
|
|
183
|
-
border-color: var(--et-
|
|
179
|
+
border-color: var(--et-tone-text);
|
|
184
180
|
}
|
|
185
181
|
}
|
|
186
182
|
|
|
@@ -27,8 +27,7 @@
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
&:focus-visible {
|
|
30
|
-
outline: 2px solid
|
|
31
|
-
light-dark(var(--et-theme-color-ink-solid, currentColor), var(--et-theme-color-primary-solid, currentColor));
|
|
30
|
+
outline: 2px solid light-dark(var(--et-tone-text, currentColor), var(--et-tone-fill, currentColor));
|
|
32
31
|
outline-offset: 2px;
|
|
33
32
|
border-radius: 4px;
|
|
34
33
|
}
|
|
@@ -45,7 +44,7 @@
|
|
|
45
44
|
}
|
|
46
45
|
|
|
47
46
|
.et-phone-input-dial-code {
|
|
48
|
-
color: var(--et-surface-
|
|
47
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
49
48
|
font-variant-numeric: tabular-nums;
|
|
50
49
|
}
|
|
51
50
|
|
|
@@ -58,7 +57,7 @@
|
|
|
58
57
|
font: inherit;
|
|
59
58
|
color: inherit;
|
|
60
59
|
padding: 0;
|
|
61
|
-
caret-color: var(--et-
|
|
60
|
+
caret-color: var(--et-tone-fill, currentColor);
|
|
62
61
|
font-variant-numeric: tabular-nums;
|
|
63
62
|
|
|
64
63
|
&::placeholder {
|
|
@@ -113,7 +112,7 @@
|
|
|
113
112
|
|
|
114
113
|
.et-phone-input-option-dial {
|
|
115
114
|
flex: none;
|
|
116
|
-
color: var(--et-surface-
|
|
115
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
117
116
|
font-variant-numeric: tabular-nums;
|
|
118
117
|
}
|
|
119
118
|
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
display: inline-flex;
|
|
46
46
|
flex-direction: column;
|
|
47
47
|
gap: 6px;
|
|
48
|
-
color: var(--et-surface-
|
|
48
|
+
color: var(--et-surface-text, currentColor);
|
|
49
49
|
outline: none;
|
|
50
50
|
|
|
51
51
|
--et-form-support-duration: var(--et-rating-support-duration);
|
|
@@ -58,14 +58,13 @@
|
|
|
58
58
|
font-weight: 500;
|
|
59
59
|
line-height: 1.2;
|
|
60
60
|
letter-spacing: -0.01em;
|
|
61
|
-
color: var(--et-surface-
|
|
61
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
62
62
|
-webkit-user-select: none;
|
|
63
63
|
user-select: none;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
&:focus-visible .et-rating-icons {
|
|
67
|
-
outline: 2px solid
|
|
68
|
-
light-dark(var(--et-theme-color-ink-solid, currentColor), var(--et-theme-color-primary-solid, currentColor));
|
|
67
|
+
outline: 2px solid light-dark(var(--et-tone-text, currentColor), var(--et-tone-fill, currentColor));
|
|
69
68
|
outline-offset: 2px;
|
|
70
69
|
border-radius: 4px;
|
|
71
70
|
}
|
|
@@ -133,11 +132,11 @@
|
|
|
133
132
|
}
|
|
134
133
|
|
|
135
134
|
.et-rating-icon-base {
|
|
136
|
-
color: color-mix(in srgb, var(--et-surface-
|
|
135
|
+
color: color-mix(in srgb, var(--et-surface-tint, currentColor) 32%, transparent);
|
|
137
136
|
}
|
|
138
137
|
|
|
139
138
|
.et-rating-icon-fill {
|
|
140
|
-
color: var(--et-
|
|
139
|
+
color: var(--et-tone-fill, currentColor);
|
|
141
140
|
}
|
|
142
141
|
|
|
143
142
|
/* an unresolved bulk-edit rating fills nothing — the stars themselves become a dashed accent
|
|
@@ -159,7 +158,7 @@
|
|
|
159
158
|
}
|
|
160
159
|
|
|
161
160
|
.et-rating-icon-base {
|
|
162
|
-
color: var(--et-
|
|
161
|
+
color: var(--et-tone-fill, currentColor);
|
|
163
162
|
|
|
164
163
|
/* Stroke widths are in the icon's own viewBox units, so the dash keeps its weight at every
|
|
165
164
|
--et-rating-icon-size rather than needing a knob per size. */
|
|
@@ -175,11 +174,11 @@
|
|
|
175
174
|
|
|
176
175
|
/* custom icon templates render per-step — expose the state for their own styling */
|
|
177
176
|
.et-rating-icon[data-state] {
|
|
178
|
-
color: color-mix(in srgb, var(--et-surface-
|
|
177
|
+
color: color-mix(in srgb, var(--et-surface-tint, currentColor) 32%, transparent);
|
|
179
178
|
|
|
180
179
|
&[data-state='full'],
|
|
181
180
|
&[data-state='half'] {
|
|
182
|
-
color: var(--et-
|
|
181
|
+
color: var(--et-tone-fill, currentColor);
|
|
183
182
|
}
|
|
184
183
|
}
|
|
185
184
|
|
|
@@ -140,14 +140,14 @@
|
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
a {
|
|
143
|
-
color: var(--et-
|
|
143
|
+
color: var(--et-tone-text, currentColor);
|
|
144
144
|
text-decoration: underline;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
code {
|
|
148
148
|
padding: 0.1em 0.3em;
|
|
149
149
|
border-radius: 4px;
|
|
150
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
150
|
+
background: color-mix(in srgb, var(--et-surface-tint, currentColor) 14%, transparent);
|
|
151
151
|
font-family: var(--et-font-family-mono, ui-monospace, monospace);
|
|
152
152
|
font-size: 0.9em;
|
|
153
153
|
}
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
margin-block-end: 0;
|
|
158
158
|
padding-inline-start: var(--et-rich-text-editor-quote-indent);
|
|
159
159
|
border-inline-start: var(--et-rich-text-editor-quote-bar-width) solid
|
|
160
|
-
color-mix(in srgb, var(--et-surface-border
|
|
160
|
+
color-mix(in srgb, var(--et-surface-border, currentColor) 80%, transparent);
|
|
161
161
|
color: color-mix(in srgb, currentColor 82%, transparent);
|
|
162
162
|
}
|
|
163
163
|
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
margin-block-end: 0;
|
|
171
171
|
padding: 8px 10px;
|
|
172
172
|
border-radius: var(--et-rich-text-editor-code-block-radius);
|
|
173
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
173
|
+
background: color-mix(in srgb, var(--et-surface-tint, currentColor) 10%, transparent);
|
|
174
174
|
font-family: var(--et-font-family-mono, ui-monospace, monospace);
|
|
175
175
|
font-size: 0.9em;
|
|
176
176
|
/* pre-wrap, not pre: newlines are the block's content (Enter inserts one), but a long line
|
|
@@ -187,14 +187,14 @@
|
|
|
187
187
|
}
|
|
188
188
|
|
|
189
189
|
.et-rte-token {
|
|
190
|
-
--_et-rte-token-accent: var(--et-
|
|
190
|
+
--_et-rte-token-accent: var(--et-tone-fill, var(--et-surface-control-text, currentColor));
|
|
191
191
|
|
|
192
192
|
display: inline;
|
|
193
193
|
padding-inline: var(--et-rich-text-editor-token-padding-inline);
|
|
194
194
|
border-radius: var(--et-rich-text-editor-token-radius);
|
|
195
195
|
background: color-mix(in srgb, var(--_et-rte-token-accent) 22%, transparent);
|
|
196
196
|
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--_et-rte-token-accent) 45%, transparent);
|
|
197
|
-
color: var(--et-
|
|
197
|
+
color: var(--et-tone-text, inherit);
|
|
198
198
|
font-weight: 500;
|
|
199
199
|
white-space: nowrap;
|
|
200
200
|
-webkit-user-select: all;
|
|
@@ -74,10 +74,13 @@
|
|
|
74
74
|
gap: var(--et-rich-text-editor-toolbar-gap, 2px);
|
|
75
75
|
padding: var(--et-rich-text-editor-toolbar-padding, 4px);
|
|
76
76
|
border-radius: 10px;
|
|
77
|
-
border: 1px solid var(--et-surface-border
|
|
78
|
-
background: var(--et-surface-background
|
|
79
|
-
color: var(--et-surface-
|
|
80
|
-
box-shadow: var(
|
|
77
|
+
border: 1px solid var(--et-surface-border, rgb(255 255 255 / 0.1));
|
|
78
|
+
background: var(--et-surface-background, rgb(38 38 38));
|
|
79
|
+
color: var(--et-surface-text, rgb(244 244 245));
|
|
80
|
+
box-shadow: var(
|
|
81
|
+
--et-anchored-panel-shadow,
|
|
82
|
+
0 10px 24px color-mix(in srgb, var(--et-shadow-color, rgb(0 0 0)) 16%, transparent)
|
|
83
|
+
);
|
|
81
84
|
|
|
82
85
|
.et-icon-button {
|
|
83
86
|
--_et-icon-button-border-radius: var(--et-rich-text-editor-button-radius, 4px);
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
the two are the same kind of thing to a user, and each component carries its own stylesheet, so
|
|
34
34
|
the rules cannot be shared without a third component whose only job is to hold them. */
|
|
35
35
|
.et-overlay.et-rte-image-editor-overlay {
|
|
36
|
-
background: var(--et-surface-background
|
|
37
|
-
border: 1px solid var(--et-surface-border
|
|
38
|
-
box-shadow: 0 12px 32px
|
|
36
|
+
background: var(--et-surface-background, rgb(30 30 30));
|
|
37
|
+
border: 1px solid var(--et-surface-border, rgb(255 255 255 / 0.1));
|
|
38
|
+
box-shadow: 0 12px 32px color-mix(in srgb, var(--et-shadow-color, rgb(0 0 0)) 24%, transparent);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
.et-overlay.et-rte-image-editor-overlay.et-overlay--anchored-dialog {
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
inline-size: 100%;
|
|
114
114
|
box-sizing: border-box;
|
|
115
115
|
padding: var(--et-rich-text-editor-image-editor-padding);
|
|
116
|
-
color: var(--et-surface-
|
|
116
|
+
color: var(--et-surface-text, currentColor);
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
.et-rte-image-editor-header {
|
|
@@ -142,12 +142,12 @@
|
|
|
142
142
|
block-size: var(--et-rich-text-editor-image-editor-thumb-size);
|
|
143
143
|
border-radius: 6px;
|
|
144
144
|
object-fit: cover;
|
|
145
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
145
|
+
background: color-mix(in srgb, var(--et-surface-tint, #888) 12%, transparent);
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
.et-rte-image-editor-file {
|
|
149
149
|
overflow: hidden;
|
|
150
|
-
color: var(--et-surface-
|
|
150
|
+
color: var(--et-surface-text-muted, inherit);
|
|
151
151
|
font-size: 1.2rem;
|
|
152
152
|
text-overflow: ellipsis;
|
|
153
153
|
white-space: nowrap;
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.et-overlay.et-rte-link-editor-overlay {
|
|
27
|
-
background: var(--et-surface-background
|
|
28
|
-
border: 1px solid var(--et-surface-border
|
|
29
|
-
box-shadow: 0 12px 32px
|
|
27
|
+
background: var(--et-surface-background, rgb(30 30 30));
|
|
28
|
+
border: 1px solid var(--et-surface-border, rgb(255 255 255 / 0.1));
|
|
29
|
+
box-shadow: 0 12px 32px color-mix(in srgb, var(--et-shadow-color, rgb(0 0 0)) 24%, transparent);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
/* Anchored popover (>= md): a compact, fully-rounded card pointing at the selection. */
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
inline-size: 100%;
|
|
114
114
|
box-sizing: border-box;
|
|
115
115
|
padding: var(--et-rich-text-editor-link-editor-padding);
|
|
116
|
-
color: var(--et-surface-
|
|
116
|
+
color: var(--et-surface-text, currentColor);
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
.et-rte-link-editor-header {
|
|
@@ -62,17 +62,20 @@
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
.et-rte-token-popup {
|
|
65
|
-
--_et-rte-popup-background: var(--et-surface-background
|
|
66
|
-
--_et-rte-popup-color: var(--et-surface-
|
|
67
|
-
--_et-rte-popup-border: var(--et-surface-border
|
|
68
|
-
--_et-rte-popup-shadow: var(
|
|
65
|
+
--_et-rte-popup-background: var(--et-surface-background, rgb(38 38 38));
|
|
66
|
+
--_et-rte-popup-color: var(--et-surface-text, rgb(244 244 245));
|
|
67
|
+
--_et-rte-popup-border: var(--et-surface-border, rgb(255 255 255 / 0.1));
|
|
68
|
+
--_et-rte-popup-shadow: var(
|
|
69
|
+
--et-anchored-panel-shadow,
|
|
70
|
+
0 10px 24px color-mix(in srgb, var(--et-shadow-color, rgb(0 0 0)) 16%, transparent)
|
|
71
|
+
);
|
|
69
72
|
--_et-rte-popup-radius: 10px;
|
|
70
73
|
--_et-rte-popup-option-radius: 6px;
|
|
71
74
|
--_et-rte-popup-max-block-size: 260px;
|
|
72
|
-
--_et-rte-popup-muted-color: var(--et-surface-
|
|
75
|
+
--_et-rte-popup-muted-color: var(--et-surface-text-muted, rgb(255 255 255 / 0.55));
|
|
73
76
|
--_et-rte-popup-option-active-background: color-mix(
|
|
74
77
|
in srgb,
|
|
75
|
-
var(--et-surface-
|
|
78
|
+
var(--et-surface-control-text, rgb(255 255 255)) 12%,
|
|
76
79
|
transparent
|
|
77
80
|
);
|
|
78
81
|
|
|
@@ -103,7 +106,7 @@
|
|
|
103
106
|
z-index: 1;
|
|
104
107
|
--et-progress-bar-height: 1.5px;
|
|
105
108
|
--et-progress-bar-border-radius: 0;
|
|
106
|
-
--et-progress-bar-indicator-color: var(--et-
|
|
109
|
+
--et-progress-bar-indicator-color: var(--et-tone-fill, currentColor);
|
|
107
110
|
--et-progress-bar-track-color: transparent;
|
|
108
111
|
pointer-events: none;
|
|
109
112
|
opacity: 0;
|
|
@@ -117,7 +120,7 @@
|
|
|
117
120
|
.et-rte-token-popup-error {
|
|
118
121
|
margin: 6px 8px 0;
|
|
119
122
|
font-size: 12px;
|
|
120
|
-
color: var(--et-
|
|
123
|
+
color: var(--et-tone-text, rgb(248 113 113));
|
|
121
124
|
}
|
|
122
125
|
|
|
123
126
|
.et-rte-token-popup-state {
|
|
@@ -132,7 +135,7 @@
|
|
|
132
135
|
}
|
|
133
136
|
|
|
134
137
|
.et-rte-token-popup-state--error {
|
|
135
|
-
color: var(--et-
|
|
138
|
+
color: var(--et-tone-text, rgb(248 113 113));
|
|
136
139
|
}
|
|
137
140
|
|
|
138
141
|
.et-rte-token-popup-state-icon {
|
|
@@ -86,10 +86,10 @@
|
|
|
86
86
|
in a browser without the API) the env var falls back to 0 and the measurement carries it.
|
|
87
87
|
`max()` needs no feature detection and cannot place the bar too low. */
|
|
88
88
|
padding-block-end: max(var(--_et-rte-keyboard-inset, 0px), env(keyboard-inset-height, 0px));
|
|
89
|
-
background: var(--et-surface-background
|
|
89
|
+
background: var(--et-surface-background, rgb(24 24 24));
|
|
90
90
|
border-block-start: var(--et-form-field-control-border-width, 1px) solid
|
|
91
91
|
color-mix(in srgb, currentColor 12%, transparent);
|
|
92
|
-
box-shadow: 0 -6px 20px
|
|
92
|
+
box-shadow: 0 -6px 20px color-mix(in srgb, var(--et-shadow-color, rgb(0 0 0)) 24%, transparent);
|
|
93
93
|
opacity: 0;
|
|
94
94
|
transform: translateY(100%);
|
|
95
95
|
pointer-events: none;
|
|
@@ -145,17 +145,15 @@
|
|
|
145
145
|
|
|
146
146
|
.et-rte-content {
|
|
147
147
|
/* Rendered content is display, not the field's interactive chrome. The editor frame is an
|
|
148
|
-
`et-color-interactive--has-focus` ancestor that retints `--et-
|
|
148
|
+
`et-color-interactive--has-focus` ancestor that retints `--et-tone-*` on focus, and
|
|
149
149
|
content that reads the accent — token chips (outline + fill), links, the caret — would
|
|
150
150
|
otherwise pick that shift up. Re-anchor the accent tokens to their resting (base) values
|
|
151
151
|
here so content stays stable whether or not the editor is focused. This is the same
|
|
152
152
|
immunity the interactive toolbar buttons already get from carrying `et-color-interactive`
|
|
153
153
|
themselves; content can't (a chip must not react to its own hover), so it re-anchors once
|
|
154
154
|
at the root instead. */
|
|
155
|
-
--et-
|
|
156
|
-
--et-
|
|
157
|
-
--et-theme-color-ink-rgb: var(--et-color-primary-ink, var(--et-color-primary));
|
|
158
|
-
--et-theme-color-ink-solid: rgb(var(--et-theme-color-ink-rgb));
|
|
155
|
+
--et-tone-fill: var(--et-tone-fill-rest);
|
|
156
|
+
--et-tone-text: var(--et-tone-text-rest, var(--et-tone-fill-rest));
|
|
159
157
|
|
|
160
158
|
display: block;
|
|
161
159
|
flex: 1;
|
|
@@ -165,7 +163,7 @@
|
|
|
165
163
|
min-block-size: var(--et-rich-text-editor-min-height);
|
|
166
164
|
outline: none;
|
|
167
165
|
color: inherit;
|
|
168
|
-
caret-color: var(--et-
|
|
166
|
+
caret-color: var(--et-tone-fill, currentColor);
|
|
169
167
|
|
|
170
168
|
&:empty::before {
|
|
171
169
|
content: attr(data-placeholder);
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
outline: 1px dashed color-mix(in srgb, currentColor 24%, transparent);
|
|
42
42
|
outline-offset: -1px;
|
|
43
43
|
background:
|
|
44
|
-
linear-gradient(to right, var(--et-
|
|
44
|
+
linear-gradient(to right, var(--et-tone-fill, currentColor) 0 0) no-repeat left bottom /
|
|
45
45
|
var(--_et-rte-image-progress, 0%) 3px,
|
|
46
|
-
color-mix(in srgb, var(--et-surface-
|
|
46
|
+
color-mix(in srgb, var(--et-surface-tint, currentColor) 8%, transparent);
|
|
47
47
|
-webkit-user-select: all;
|
|
48
48
|
user-select: all;
|
|
49
49
|
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
margin-inline: auto;
|
|
57
57
|
inline-size: 1.8em;
|
|
58
58
|
block-size: 1.8em;
|
|
59
|
-
border: 2px solid color-mix(in srgb, var(--et-
|
|
60
|
-
border-block-start-color: var(--et-
|
|
59
|
+
border: 2px solid color-mix(in srgb, var(--et-tone-fill, currentColor) 28%, transparent);
|
|
60
|
+
border-block-start-color: var(--et-tone-fill, currentColor);
|
|
61
61
|
border-radius: 50%;
|
|
62
62
|
animation: et-rte-image-upload-spin 800ms linear infinite;
|
|
63
63
|
}
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
position: absolute;
|
|
69
69
|
inset-inline: 0;
|
|
70
70
|
inset-block-start: calc(50% + 0.4em);
|
|
71
|
-
color: var(--et-surface-
|
|
71
|
+
color: var(--et-surface-text-muted, inherit);
|
|
72
72
|
font-size: 1.2rem;
|
|
73
73
|
text-align: center;
|
|
74
74
|
}
|
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
&[data-state='error'] {
|
|
82
|
-
outline-color: color-mix(in srgb, var(--et-
|
|
83
|
-
background: color-mix(in srgb, var(--et-
|
|
82
|
+
outline-color: color-mix(in srgb, var(--et-tone-fill, currentColor) 40%, transparent);
|
|
83
|
+
background: color-mix(in srgb, var(--et-tone-fill, currentColor) 10%, transparent);
|
|
84
84
|
|
|
85
85
|
/* A failed upload is not still working — the ring stops and becomes a cross. */
|
|
86
86
|
&::before {
|
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
|
|
9
9
|
:is(th, td) {
|
|
10
10
|
padding: 6px 8px;
|
|
11
|
-
border: 1px solid var(--et-surface-border
|
|
11
|
+
border: 1px solid var(--et-surface-border, rgb(255 255 255 / 0.15));
|
|
12
12
|
text-align: start;
|
|
13
13
|
vertical-align: top;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
th {
|
|
17
17
|
font-weight: 700;
|
|
18
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
18
|
+
background: color-mix(in srgb, var(--et-surface-tint, currentColor) 8%, transparent);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
}
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
inline-size: 16px;
|
|
24
24
|
block-size: 16px;
|
|
25
25
|
padding: 0;
|
|
26
|
-
border: 1px solid var(--et-surface-border
|
|
26
|
+
border: 1px solid var(--et-surface-border, rgb(255 255 255 / 0.2));
|
|
27
27
|
border-radius: 2px;
|
|
28
28
|
background: transparent;
|
|
29
29
|
cursor: pointer;
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
.et-rte-table-picker-cell--active {
|
|
36
|
-
border-color: var(--et-
|
|
37
|
-
background: color-mix(in srgb, var(--et-
|
|
36
|
+
border-color: var(--et-tone-fill, currentColor);
|
|
37
|
+
background: color-mix(in srgb, var(--et-tone-fill, currentColor) 35%, transparent);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.et-rte-table-picker-label {
|
|
41
41
|
font-size: 12px;
|
|
42
|
-
color: var(--et-surface-
|
|
42
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
inset-inline: 0;
|
|
7
7
|
block-size: 2px;
|
|
8
8
|
overflow: hidden;
|
|
9
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
9
|
+
background: color-mix(in srgb, var(--et-surface-tint, gray) 10%, transparent);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.et-select-busy-bar::after {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
inline-size: 40%;
|
|
16
16
|
block-size: 100%;
|
|
17
17
|
border-radius: 999px;
|
|
18
|
-
background: var(--et-
|
|
18
|
+
background: var(--et-tone-fill, currentColor);
|
|
19
19
|
animation: et-select-busy-sweep 1.1s ease-in-out infinite;
|
|
20
20
|
}
|
|
21
21
|
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
min-block-size: var(--et-select-option-height, 36px);
|
|
34
34
|
padding-inline: var(--et-select-option-padding-inline, 10px);
|
|
35
35
|
font-size: var(--et-select-option-font-size, 14px);
|
|
36
|
-
color: var(--et-surface-
|
|
36
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
37
37
|
|
|
38
38
|
&.et-select-state--error {
|
|
39
39
|
font-size: 12px;
|
|
40
40
|
/* the element carries the error color theme via etProvideColor */
|
|
41
|
-
color: var(--et-
|
|
41
|
+
color: var(--et-tone-text, rgb(248 113 113));
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
font: inherit;
|
|
77
77
|
font-size: var(--et-select-option-font-size, 14px);
|
|
78
78
|
text-align: start;
|
|
79
|
-
color: var(--et-select-panel-action-color, var(--et-
|
|
79
|
+
color: var(--et-select-panel-action-color, var(--et-tone-text, currentColor));
|
|
80
80
|
cursor: pointer;
|
|
81
81
|
appearance: none;
|
|
82
82
|
transition: background 120ms ease;
|
|
@@ -87,32 +87,29 @@
|
|
|
87
87
|
inset-inline: calc(var(--et-select-panel-padding, 6px) * -1);
|
|
88
88
|
inset-block-start: -4px;
|
|
89
89
|
block-size: 1px;
|
|
90
|
-
background: var(
|
|
91
|
-
--et-select-panel-action-separator-color,
|
|
92
|
-
var(--et-surface-border-solid, rgb(255 255 255 / 0.1))
|
|
93
|
-
);
|
|
90
|
+
background: var(--et-select-panel-action-separator-color, var(--et-surface-border, rgb(255 255 255 / 0.1)));
|
|
94
91
|
}
|
|
95
92
|
|
|
96
93
|
@media (hover: hover) {
|
|
97
94
|
&:not(:disabled):hover {
|
|
98
95
|
background: var(
|
|
99
96
|
--et-select-panel-action-background-hover,
|
|
100
|
-
color-mix(in srgb, var(--et-surface-
|
|
97
|
+
color-mix(in srgb, var(--et-surface-tint, rgb(255 255 255)) 12%, transparent)
|
|
101
98
|
);
|
|
102
99
|
}
|
|
103
100
|
}
|
|
104
101
|
|
|
105
102
|
&:not(:disabled):active {
|
|
106
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
103
|
+
background: color-mix(in srgb, var(--et-surface-tint, rgb(255 255 255)) 20%, transparent);
|
|
107
104
|
}
|
|
108
105
|
|
|
109
106
|
&:disabled {
|
|
110
|
-
color: var(--et-surface-
|
|
107
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
111
108
|
cursor: default;
|
|
112
109
|
}
|
|
113
110
|
|
|
114
111
|
&.et-select-load-more--loading {
|
|
115
|
-
color: var(--et-surface-
|
|
112
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
116
113
|
cursor: default;
|
|
117
114
|
pointer-events: none;
|
|
118
115
|
}
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
&:where(:not([data-hidden])) ~ & .et-select-option-group-label {
|
|
20
20
|
margin-block-start: 4px;
|
|
21
21
|
padding-block-start: 8px;
|
|
22
|
-
border-block-start: 1px solid var(--et-surface-border
|
|
22
|
+
border-block-start: 1px solid var(--et-surface-border, rgb(255 255 255 / 0.1));
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.et-select-option-group-label {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
font-weight: 600;
|
|
29
29
|
letter-spacing: 0.02em;
|
|
30
30
|
text-transform: uppercase;
|
|
31
|
-
color: var(--et-surface-
|
|
31
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
32
32
|
-webkit-user-select: none;
|
|
33
33
|
user-select: none;
|
|
34
34
|
}
|