@xds/solid 1.1.0 → 1.2.0
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/dist/dom/Breadcrumb.js +87 -0
- package/dist/dom/Checkbox.js +12 -6
- package/dist/dom/Combobox.js +295 -0
- package/dist/dom/Link.js +62 -0
- package/dist/dom/Menu.js +15 -14
- package/dist/dom/Pagination.js +132 -0
- package/dist/dom/Popover.js +126 -0
- package/dist/dom/Select.js +75 -48
- package/dist/dom/Table.js +150 -0
- package/dist/dom/TimePicker.js +245 -0
- package/dist/dom/ToastQueue.js +59 -0
- package/dist/dom/base.js +16 -0
- package/dist/dom/index.js +9 -1
- package/dist/dom/modal-popover.js +2 -2
- package/dist/dom/presence.js +3 -2
- package/dist/dom/preview.js +19 -2
- package/dist/dom/rows.js +13 -0
- package/dist/source/Breadcrumb.d.ts +9 -0
- package/dist/source/Breadcrumb.jsx +26 -0
- package/dist/source/Checkbox.d.ts +1 -1
- package/dist/source/Checkbox.jsx +9 -3
- package/dist/source/Combobox.d.ts +16 -0
- package/dist/source/Combobox.jsx +137 -0
- package/dist/source/Link.d.ts +20 -0
- package/dist/source/Link.jsx +21 -0
- package/dist/source/Menu.jsx +8 -2
- package/dist/source/Pagination.d.ts +12 -0
- package/dist/source/Pagination.jsx +51 -0
- package/dist/source/Popover.d.ts +19 -0
- package/dist/source/Popover.jsx +65 -0
- package/dist/source/Select.d.ts +6 -0
- package/dist/source/Select.jsx +32 -8
- package/dist/source/Table.d.ts +17 -0
- package/dist/source/Table.jsx +46 -0
- package/dist/source/TimePicker.d.ts +19 -0
- package/dist/source/TimePicker.jsx +137 -0
- package/dist/source/ToastQueue.d.ts +19 -0
- package/dist/source/ToastQueue.jsx +27 -0
- package/dist/source/base.d.ts +15 -0
- package/dist/source/base.js +15 -0
- package/dist/source/controllable.d.ts +1 -1
- package/dist/source/index.d.ts +9 -1
- package/dist/source/index.js +8 -0
- package/dist/source/modal-popover.js +2 -2
- package/dist/source/presence.js +3 -2
- package/dist/source/preview.d.ts +10 -2
- package/dist/source/preview.jsx +12 -3
- package/dist/source/rows.d.ts +8 -0
- package/dist/source/rows.js +5 -0
- package/eject/files/Accordion.tsx +138 -0
- package/eject/files/Avatar.tsx +48 -0
- package/eject/files/AvatarStack.tsx +51 -0
- package/eject/files/Badge.tsx +39 -0
- package/eject/files/Banner.tsx +80 -0
- package/eject/files/Breadcrumb.tsx +57 -0
- package/eject/files/Button.tsx +90 -0
- package/eject/files/Card.tsx +100 -0
- package/eject/files/Checkbox.tsx +100 -0
- package/eject/files/Chip.tsx +40 -0
- package/eject/files/ChipBar.tsx +34 -0
- package/eject/files/Combobox.tsx +200 -0
- package/eject/files/CountBadge.tsx +55 -0
- package/eject/files/DatePicker.tsx +225 -0
- package/eject/files/DateRangePicker.tsx +319 -0
- package/eject/files/Dialog.tsx +117 -0
- package/eject/files/Divider.tsx +21 -0
- package/eject/files/EmptyState.tsx +39 -0
- package/eject/files/Icon.tsx +37 -0
- package/eject/files/IconButton.tsx +76 -0
- package/eject/files/Link.tsx +61 -0
- package/eject/files/ListRow.tsx +94 -0
- package/eject/files/MediaCard.tsx +116 -0
- package/eject/files/Menu.tsx +190 -0
- package/eject/files/Pagination.tsx +109 -0
- package/eject/files/Popover.tsx +124 -0
- package/eject/files/ProgressBar.tsx +37 -0
- package/eject/files/RadioGroup.tsx +138 -0
- package/eject/files/SearchField.tsx +124 -0
- package/eject/files/SectionHeader.tsx +59 -0
- package/eject/files/SegmentedControl.tsx +79 -0
- package/eject/files/Select.tsx +290 -0
- package/eject/files/Sidebar.tsx +156 -0
- package/eject/files/Skeleton.tsx +33 -0
- package/eject/files/Slider.tsx +131 -0
- package/eject/files/Spinner.tsx +44 -0
- package/eject/files/Switch.tsx +88 -0
- package/eject/files/Table.tsx +98 -0
- package/eject/files/Tabs.tsx +87 -0
- package/eject/files/Text.tsx +38 -0
- package/eject/files/TextField.tsx +171 -0
- package/eject/files/Thumbnail.tsx +84 -0
- package/eject/files/TimePicker.tsx +237 -0
- package/eject/files/Toast.tsx +100 -0
- package/eject/files/ToastQueue.tsx +62 -0
- package/eject/files/Tooltip.tsx +135 -0
- package/eject/files/accordion.css +89 -0
- package/eject/files/accordion.ts +67 -0
- package/eject/files/avatar-stack.ts +57 -0
- package/eject/files/avatar.ts +42 -0
- package/eject/files/badge.ts +30 -0
- package/eject/files/banner.ts +71 -0
- package/eject/files/base.css +38 -0
- package/eject/files/breadcrumb.css +51 -0
- package/eject/files/breadcrumb.ts +42 -0
- package/eject/files/button.css +241 -0
- package/eject/files/button.ts +106 -0
- package/eject/files/card.ts +58 -0
- package/eject/files/checkbox.ts +52 -0
- package/eject/files/chip-bar.ts +16 -0
- package/eject/files/chip.ts +35 -0
- package/eject/files/combobox.css +269 -0
- package/eject/files/combobox.ts +85 -0
- package/eject/files/count-badge.ts +32 -0
- package/eject/files/date-picker.css +375 -0
- package/eject/files/date-picker.ts +280 -0
- package/eject/files/date-range-picker.ts +338 -0
- package/eject/files/dialog.css +139 -0
- package/eject/files/dialog.ts +15 -0
- package/eject/files/divider.ts +5 -0
- package/eject/files/empty-state.ts +22 -0
- package/eject/files/icon.ts +36 -0
- package/eject/files/link.css +64 -0
- package/eject/files/link.ts +63 -0
- package/eject/files/list-row.ts +66 -0
- package/eject/files/media-card.ts +66 -0
- package/eject/files/menu.css +192 -0
- package/eject/files/menu.ts +84 -0
- package/eject/files/overlay.css +40 -0
- package/eject/files/pagination.css +106 -0
- package/eject/files/pagination.ts +68 -0
- package/eject/files/parts.ts +17 -0
- package/eject/files/popover.css +101 -0
- package/eject/files/popover.ts +37 -0
- package/eject/files/progress-bar.ts +26 -0
- package/eject/files/radio-group.css +184 -0
- package/eject/files/radio-group.ts +30 -0
- package/eject/files/section-header.ts +32 -0
- package/eject/files/segmented-control.ts +33 -0
- package/eject/files/select.css +347 -0
- package/eject/files/select.ts +77 -0
- package/eject/files/sidebar.ts +75 -0
- package/eject/files/skeleton.ts +51 -0
- package/eject/files/slider.css +160 -0
- package/eject/files/slider.ts +80 -0
- package/eject/files/spinner.ts +22 -0
- package/eject/files/switch.ts +45 -0
- package/eject/files/table.css +107 -0
- package/eject/files/table.ts +84 -0
- package/eject/files/tabs.css +120 -0
- package/eject/files/tabs.ts +37 -0
- package/eject/files/text-field.css +225 -0
- package/eject/files/text-field.ts +64 -0
- package/eject/files/text.ts +38 -0
- package/eject/files/thumbnail.ts +51 -0
- package/eject/files/time-picker.ts +113 -0
- package/eject/files/toast-queue.ts +64 -0
- package/eject/files/toast.ts +31 -0
- package/eject/files/tooltip.css +111 -0
- package/eject/files/tooltip.ts +21 -0
- package/eject/manifest.json +1027 -0
- package/package.json +12 -4
- package/styles.css +1064 -169
- package/tailwind.css +1295 -218
package/tailwind.css
CHANGED
|
@@ -59,35 +59,15 @@
|
|
|
59
59
|
--color-xds-glass-shadow: var(--xds-color-glass-shadow);
|
|
60
60
|
--color-xds-glass-fallback: var(--xds-color-glass-fallback);
|
|
61
61
|
--color-xds-glass-foreground: var(--xds-color-glass-foreground);
|
|
62
|
-
--color-xds-
|
|
63
|
-
--color-xds-
|
|
64
|
-
--color-xds-
|
|
65
|
-
--color-xds-
|
|
66
|
-
--color-xds-
|
|
67
|
-
--color-xds-
|
|
68
|
-
--color-xds-
|
|
69
|
-
--color-xds-
|
|
70
|
-
--color-xds-
|
|
71
|
-
--color-xds-button-ghost-background-hover: var(--xds-color-button-ghost-background-hover);
|
|
72
|
-
--color-xds-button-ghost-background-pressed: var(--xds-color-button-ghost-background-pressed);
|
|
73
|
-
--color-xds-button-ghost-text: var(--xds-color-button-ghost-text);
|
|
74
|
-
--color-xds-button-danger-background: var(--xds-color-button-danger-background);
|
|
75
|
-
--color-xds-button-danger-background-hover: var(--xds-color-button-danger-background-hover);
|
|
76
|
-
--color-xds-button-danger-background-pressed: var(--xds-color-button-danger-background-pressed);
|
|
77
|
-
--color-xds-button-danger-text: var(--xds-color-button-danger-text);
|
|
78
|
-
--color-xds-button-selected-background: var(--xds-color-button-selected-background);
|
|
79
|
-
--color-xds-button-selected-background-hover: var(--xds-color-button-selected-background-hover);
|
|
80
|
-
--color-xds-button-selected-background-pressed: var(--xds-color-button-selected-background-pressed);
|
|
81
|
-
--color-xds-button-selected-border: var(--xds-color-button-selected-border);
|
|
82
|
-
--color-xds-button-selected-text: var(--xds-color-button-selected-text);
|
|
83
|
-
--color-xds-button-disabled-background: var(--xds-color-button-disabled-background);
|
|
84
|
-
--color-xds-button-disabled-text: var(--xds-color-button-disabled-text);
|
|
85
|
-
--color-xds-field-background: var(--xds-color-field-background);
|
|
86
|
-
--color-xds-field-border: var(--xds-color-field-border);
|
|
87
|
-
--color-xds-field-border-focus: var(--xds-color-field-border-focus);
|
|
88
|
-
--color-xds-field-border-invalid: var(--xds-color-field-border-invalid);
|
|
89
|
-
--color-xds-field-text: var(--xds-color-field-text);
|
|
90
|
-
--color-xds-field-placeholder: var(--xds-color-field-placeholder);
|
|
62
|
+
--color-xds-accordion-border: var(--xds-color-accordion-border);
|
|
63
|
+
--color-xds-accordion-header-background-hover: var(--xds-color-accordion-header-background-hover);
|
|
64
|
+
--color-xds-accordion-header-background-pressed: var(--xds-color-accordion-header-background-pressed);
|
|
65
|
+
--color-xds-accordion-icon: var(--xds-color-accordion-icon);
|
|
66
|
+
--color-xds-avatar-background: var(--xds-color-avatar-background);
|
|
67
|
+
--color-xds-avatar-text: var(--xds-color-avatar-text);
|
|
68
|
+
--color-xds-avatar-ring: var(--xds-color-avatar-ring);
|
|
69
|
+
--color-xds-avatar-overflow-background: var(--xds-color-avatar-overflow-background);
|
|
70
|
+
--color-xds-avatar-overflow-text: var(--xds-color-avatar-overflow-text);
|
|
91
71
|
--color-xds-badge-neutral-background: var(--xds-color-badge-neutral-background);
|
|
92
72
|
--color-xds-badge-neutral-text: var(--xds-color-badge-neutral-text);
|
|
93
73
|
--color-xds-badge-accent-background: var(--xds-color-badge-accent-background);
|
|
@@ -111,29 +91,39 @@
|
|
|
111
91
|
--color-xds-banner-info-background: var(--xds-color-banner-info-background);
|
|
112
92
|
--color-xds-banner-info-accent: var(--xds-color-banner-info-accent);
|
|
113
93
|
--color-xds-banner-text: var(--xds-color-banner-text);
|
|
94
|
+
--color-xds-breadcrumb-separator: var(--xds-color-breadcrumb-separator);
|
|
95
|
+
--color-xds-breadcrumb-current: var(--xds-color-breadcrumb-current);
|
|
96
|
+
--color-xds-button-primary-background: var(--xds-color-button-primary-background);
|
|
97
|
+
--color-xds-button-primary-background-hover: var(--xds-color-button-primary-background-hover);
|
|
98
|
+
--color-xds-button-primary-background-pressed: var(--xds-color-button-primary-background-pressed);
|
|
99
|
+
--color-xds-button-primary-text: var(--xds-color-button-primary-text);
|
|
100
|
+
--color-xds-button-secondary-background: var(--xds-color-button-secondary-background);
|
|
101
|
+
--color-xds-button-secondary-background-hover: var(--xds-color-button-secondary-background-hover);
|
|
102
|
+
--color-xds-button-secondary-background-pressed: var(--xds-color-button-secondary-background-pressed);
|
|
103
|
+
--color-xds-button-secondary-border: var(--xds-color-button-secondary-border);
|
|
104
|
+
--color-xds-button-secondary-text: var(--xds-color-button-secondary-text);
|
|
105
|
+
--color-xds-button-ghost-background-hover: var(--xds-color-button-ghost-background-hover);
|
|
106
|
+
--color-xds-button-ghost-background-pressed: var(--xds-color-button-ghost-background-pressed);
|
|
107
|
+
--color-xds-button-ghost-text: var(--xds-color-button-ghost-text);
|
|
108
|
+
--color-xds-button-danger-background: var(--xds-color-button-danger-background);
|
|
109
|
+
--color-xds-button-danger-background-hover: var(--xds-color-button-danger-background-hover);
|
|
110
|
+
--color-xds-button-danger-background-pressed: var(--xds-color-button-danger-background-pressed);
|
|
111
|
+
--color-xds-button-danger-text: var(--xds-color-button-danger-text);
|
|
112
|
+
--color-xds-button-selected-background: var(--xds-color-button-selected-background);
|
|
113
|
+
--color-xds-button-selected-background-hover: var(--xds-color-button-selected-background-hover);
|
|
114
|
+
--color-xds-button-selected-background-pressed: var(--xds-color-button-selected-background-pressed);
|
|
115
|
+
--color-xds-button-selected-border: var(--xds-color-button-selected-border);
|
|
116
|
+
--color-xds-button-selected-text: var(--xds-color-button-selected-text);
|
|
117
|
+
--color-xds-button-disabled-background: var(--xds-color-button-disabled-background);
|
|
118
|
+
--color-xds-button-disabled-text: var(--xds-color-button-disabled-text);
|
|
114
119
|
--color-xds-card-background-hover: var(--xds-color-card-background-hover);
|
|
115
120
|
--color-xds-card-background-pressed: var(--xds-color-card-background-pressed);
|
|
116
121
|
--color-xds-card-border-selected: var(--xds-color-card-border-selected);
|
|
117
|
-
--color-xds-switch-track: var(--xds-color-switch-track);
|
|
118
|
-
--color-xds-switch-track-on: var(--xds-color-switch-track-on);
|
|
119
|
-
--color-xds-switch-thumb: var(--xds-color-switch-thumb);
|
|
120
|
-
--color-xds-switch-disabled-track: var(--xds-color-switch-disabled-track);
|
|
121
|
-
--color-xds-switch-disabled-thumb: var(--xds-color-switch-disabled-thumb);
|
|
122
122
|
--color-xds-checkbox-border: var(--xds-color-checkbox-border);
|
|
123
123
|
--color-xds-checkbox-background-checked: var(--xds-color-checkbox-background-checked);
|
|
124
124
|
--color-xds-checkbox-mark: var(--xds-color-checkbox-mark);
|
|
125
125
|
--color-xds-checkbox-disabled-background: var(--xds-color-checkbox-disabled-background);
|
|
126
126
|
--color-xds-checkbox-disabled-mark: var(--xds-color-checkbox-disabled-mark);
|
|
127
|
-
--color-xds-radio-border: var(--xds-color-radio-border);
|
|
128
|
-
--color-xds-radio-border-checked: var(--xds-color-radio-border-checked);
|
|
129
|
-
--color-xds-radio-dot: var(--xds-color-radio-dot);
|
|
130
|
-
--color-xds-radio-disabled-background: var(--xds-color-radio-disabled-background);
|
|
131
|
-
--color-xds-radio-disabled-dot: var(--xds-color-radio-disabled-dot);
|
|
132
|
-
--color-xds-segmented-track: var(--xds-color-segmented-track);
|
|
133
|
-
--color-xds-segmented-text: var(--xds-color-segmented-text);
|
|
134
|
-
--color-xds-segmented-selected-background: var(--xds-color-segmented-selected-background);
|
|
135
|
-
--color-xds-segmented-selected-border: var(--xds-color-segmented-selected-border);
|
|
136
|
-
--color-xds-segmented-selected-text: var(--xds-color-segmented-selected-text);
|
|
137
127
|
--color-xds-chip-background: var(--xds-color-chip-background);
|
|
138
128
|
--color-xds-chip-background-hover: var(--xds-color-chip-background-hover);
|
|
139
129
|
--color-xds-chip-background-pressed: var(--xds-color-chip-background-pressed);
|
|
@@ -145,20 +135,6 @@
|
|
|
145
135
|
--color-xds-chip-selected-text: var(--xds-color-chip-selected-text);
|
|
146
136
|
--color-xds-chip-disabled-background: var(--xds-color-chip-disabled-background);
|
|
147
137
|
--color-xds-chip-disabled-text: var(--xds-color-chip-disabled-text);
|
|
148
|
-
--color-xds-tabs-border: var(--xds-color-tabs-border);
|
|
149
|
-
--color-xds-tabs-text: var(--xds-color-tabs-text);
|
|
150
|
-
--color-xds-tabs-text-hover: var(--xds-color-tabs-text-hover);
|
|
151
|
-
--color-xds-tabs-text-selected: var(--xds-color-tabs-text-selected);
|
|
152
|
-
--color-xds-tabs-indicator: var(--xds-color-tabs-indicator);
|
|
153
|
-
--color-xds-menu-background: var(--xds-color-menu-background);
|
|
154
|
-
--color-xds-menu-border: var(--xds-color-menu-border);
|
|
155
|
-
--color-xds-menu-text: var(--xds-color-menu-text);
|
|
156
|
-
--color-xds-menu-icon: var(--xds-color-menu-icon);
|
|
157
|
-
--color-xds-menu-text-disabled: var(--xds-color-menu-text-disabled);
|
|
158
|
-
--color-xds-menu-item-background-hover: var(--xds-color-menu-item-background-hover);
|
|
159
|
-
--color-xds-menu-item-background-pressed: var(--xds-color-menu-item-background-pressed);
|
|
160
|
-
--color-xds-menu-danger-text: var(--xds-color-menu-danger-text);
|
|
161
|
-
--color-xds-menu-danger-background-hover: var(--xds-color-menu-danger-background-hover);
|
|
162
138
|
--color-xds-date-picker-background: var(--xds-color-date-picker-background);
|
|
163
139
|
--color-xds-date-picker-heading: var(--xds-color-date-picker-heading);
|
|
164
140
|
--color-xds-date-picker-weekday: var(--xds-color-date-picker-weekday);
|
|
@@ -180,50 +156,98 @@
|
|
|
180
156
|
--color-xds-dialog-border: var(--xds-color-dialog-border);
|
|
181
157
|
--color-xds-dialog-title: var(--xds-color-dialog-title);
|
|
182
158
|
--color-xds-dialog-text: var(--xds-color-dialog-text);
|
|
183
|
-
--color-xds-toast-background: var(--xds-color-toast-background);
|
|
184
|
-
--color-xds-toast-text: var(--xds-color-toast-text);
|
|
185
|
-
--color-xds-toast-action: var(--xds-color-toast-action);
|
|
186
|
-
--color-xds-tooltip-background: var(--xds-color-tooltip-background);
|
|
187
|
-
--color-xds-tooltip-text: var(--xds-color-tooltip-text);
|
|
188
|
-
--color-xds-skeleton-background: var(--xds-color-skeleton-background);
|
|
189
|
-
--color-xds-skeleton-highlight: var(--xds-color-skeleton-highlight);
|
|
190
|
-
--color-xds-thumbnail-background: var(--xds-color-thumbnail-background);
|
|
191
|
-
--color-xds-thumbnail-icon: var(--xds-color-thumbnail-icon);
|
|
192
|
-
--color-xds-sidebar-background: var(--xds-color-sidebar-background);
|
|
193
|
-
--color-xds-sidebar-border: var(--xds-color-sidebar-border);
|
|
194
|
-
--color-xds-sidebar-section-title: var(--xds-color-sidebar-section-title);
|
|
195
159
|
--color-xds-empty-state-icon: var(--xds-color-empty-state-icon);
|
|
196
|
-
--color-xds-
|
|
197
|
-
--color-xds-
|
|
198
|
-
--color-xds-
|
|
199
|
-
--color-xds-
|
|
200
|
-
--color-xds-
|
|
201
|
-
--color-xds-
|
|
202
|
-
--color-xds-
|
|
203
|
-
--color-xds-
|
|
204
|
-
--color-xds-
|
|
160
|
+
--color-xds-field-background: var(--xds-color-field-background);
|
|
161
|
+
--color-xds-field-border: var(--xds-color-field-border);
|
|
162
|
+
--color-xds-field-border-focus: var(--xds-color-field-border-focus);
|
|
163
|
+
--color-xds-field-border-invalid: var(--xds-color-field-border-invalid);
|
|
164
|
+
--color-xds-field-text: var(--xds-color-field-text);
|
|
165
|
+
--color-xds-field-placeholder: var(--xds-color-field-placeholder);
|
|
166
|
+
--color-xds-link-text: var(--xds-color-link-text);
|
|
167
|
+
--color-xds-link-text-hover: var(--xds-color-link-text-hover);
|
|
168
|
+
--color-xds-link-text-pressed: var(--xds-color-link-text-pressed);
|
|
169
|
+
--color-xds-link-disabled-text: var(--xds-color-link-disabled-text);
|
|
170
|
+
--color-xds-list-row-background-hover: var(--xds-color-list-row-background-hover);
|
|
171
|
+
--color-xds-list-row-background-pressed: var(--xds-color-list-row-background-pressed);
|
|
172
|
+
--color-xds-list-row-background-selected: var(--xds-color-list-row-background-selected);
|
|
173
|
+
--color-xds-list-row-background-selected-hover: var(--xds-color-list-row-background-selected-hover);
|
|
174
|
+
--color-xds-menu-background: var(--xds-color-menu-background);
|
|
175
|
+
--color-xds-menu-border: var(--xds-color-menu-border);
|
|
176
|
+
--color-xds-menu-text: var(--xds-color-menu-text);
|
|
177
|
+
--color-xds-menu-icon: var(--xds-color-menu-icon);
|
|
178
|
+
--color-xds-menu-text-disabled: var(--xds-color-menu-text-disabled);
|
|
179
|
+
--color-xds-menu-item-background-hover: var(--xds-color-menu-item-background-hover);
|
|
180
|
+
--color-xds-menu-item-background-pressed: var(--xds-color-menu-item-background-pressed);
|
|
181
|
+
--color-xds-menu-danger-text: var(--xds-color-menu-danger-text);
|
|
182
|
+
--color-xds-menu-danger-background-hover: var(--xds-color-menu-danger-background-hover);
|
|
183
|
+
--color-xds-pagination-text: var(--xds-color-pagination-text);
|
|
184
|
+
--color-xds-pagination-background-hover: var(--xds-color-pagination-background-hover);
|
|
185
|
+
--color-xds-pagination-background-pressed: var(--xds-color-pagination-background-pressed);
|
|
186
|
+
--color-xds-pagination-background-current: var(--xds-color-pagination-background-current);
|
|
187
|
+
--color-xds-pagination-border-current: var(--xds-color-pagination-border-current);
|
|
188
|
+
--color-xds-pagination-text-current: var(--xds-color-pagination-text-current);
|
|
189
|
+
--color-xds-pagination-text-disabled: var(--xds-color-pagination-text-disabled);
|
|
190
|
+
--color-xds-pagination-gap: var(--xds-color-pagination-gap);
|
|
191
|
+
--color-xds-popover-background: var(--xds-color-popover-background);
|
|
192
|
+
--color-xds-popover-border: var(--xds-color-popover-border);
|
|
193
|
+
--color-xds-popover-title: var(--xds-color-popover-title);
|
|
194
|
+
--color-xds-popover-text: var(--xds-color-popover-text);
|
|
205
195
|
--color-xds-progress-track: var(--xds-color-progress-track);
|
|
206
196
|
--color-xds-progress-fill: var(--xds-color-progress-fill);
|
|
197
|
+
--color-xds-radio-border: var(--xds-color-radio-border);
|
|
198
|
+
--color-xds-radio-border-checked: var(--xds-color-radio-border-checked);
|
|
199
|
+
--color-xds-radio-dot: var(--xds-color-radio-dot);
|
|
200
|
+
--color-xds-radio-disabled-background: var(--xds-color-radio-disabled-background);
|
|
201
|
+
--color-xds-radio-disabled-dot: var(--xds-color-radio-disabled-dot);
|
|
202
|
+
--color-xds-segmented-track: var(--xds-color-segmented-track);
|
|
203
|
+
--color-xds-segmented-text: var(--xds-color-segmented-text);
|
|
204
|
+
--color-xds-segmented-selected-background: var(--xds-color-segmented-selected-background);
|
|
205
|
+
--color-xds-segmented-selected-border: var(--xds-color-segmented-selected-border);
|
|
206
|
+
--color-xds-segmented-selected-text: var(--xds-color-segmented-selected-text);
|
|
207
|
+
--color-xds-sheet-background: var(--xds-color-sheet-background);
|
|
208
|
+
--color-xds-sheet-handle: var(--xds-color-sheet-handle);
|
|
209
|
+
--color-xds-sidebar-background: var(--xds-color-sidebar-background);
|
|
210
|
+
--color-xds-sidebar-border: var(--xds-color-sidebar-border);
|
|
211
|
+
--color-xds-sidebar-section-title: var(--xds-color-sidebar-section-title);
|
|
212
|
+
--color-xds-skeleton-background: var(--xds-color-skeleton-background);
|
|
213
|
+
--color-xds-skeleton-highlight: var(--xds-color-skeleton-highlight);
|
|
207
214
|
--color-xds-slider-track: var(--xds-color-slider-track);
|
|
208
215
|
--color-xds-slider-fill: var(--xds-color-slider-fill);
|
|
209
216
|
--color-xds-slider-thumb: var(--xds-color-slider-thumb);
|
|
210
217
|
--color-xds-slider-thumb-border: var(--xds-color-slider-thumb-border);
|
|
211
218
|
--color-xds-slider-disabled-fill: var(--xds-color-slider-disabled-fill);
|
|
212
|
-
--color-xds-
|
|
213
|
-
--color-xds-
|
|
214
|
-
--color-xds-
|
|
215
|
-
--color-xds-
|
|
216
|
-
--color-xds-
|
|
217
|
-
--color-xds-top-bar-text: var(--xds-color-top-bar-text);
|
|
218
|
-
--color-xds-top-bar-action: var(--xds-color-top-bar-action);
|
|
219
|
-
--color-xds-top-bar-action-background: var(--xds-color-top-bar-action-background);
|
|
219
|
+
--color-xds-switch-track: var(--xds-color-switch-track);
|
|
220
|
+
--color-xds-switch-track-on: var(--xds-color-switch-track-on);
|
|
221
|
+
--color-xds-switch-thumb: var(--xds-color-switch-thumb);
|
|
222
|
+
--color-xds-switch-disabled-track: var(--xds-color-switch-disabled-track);
|
|
223
|
+
--color-xds-switch-disabled-thumb: var(--xds-color-switch-disabled-thumb);
|
|
220
224
|
--color-xds-tab-bar-background: var(--xds-color-tab-bar-background);
|
|
221
225
|
--color-xds-tab-bar-border: var(--xds-color-tab-bar-border);
|
|
222
226
|
--color-xds-tab-bar-text: var(--xds-color-tab-bar-text);
|
|
223
227
|
--color-xds-tab-bar-text-selected: var(--xds-color-tab-bar-text-selected);
|
|
224
228
|
--color-xds-tab-bar-selected-background: var(--xds-color-tab-bar-selected-background);
|
|
225
|
-
--color-xds-
|
|
226
|
-
--color-xds-
|
|
229
|
+
--color-xds-table-background: var(--xds-color-table-background);
|
|
230
|
+
--color-xds-table-header-background: var(--xds-color-table-header-background);
|
|
231
|
+
--color-xds-table-header-text: var(--xds-color-table-header-text);
|
|
232
|
+
--color-xds-table-header-text-hover: var(--xds-color-table-header-text-hover);
|
|
233
|
+
--color-xds-table-text: var(--xds-color-table-text);
|
|
234
|
+
--color-xds-table-border: var(--xds-color-table-border);
|
|
235
|
+
--color-xds-tabs-border: var(--xds-color-tabs-border);
|
|
236
|
+
--color-xds-tabs-text: var(--xds-color-tabs-text);
|
|
237
|
+
--color-xds-tabs-text-hover: var(--xds-color-tabs-text-hover);
|
|
238
|
+
--color-xds-tabs-text-selected: var(--xds-color-tabs-text-selected);
|
|
239
|
+
--color-xds-tabs-indicator: var(--xds-color-tabs-indicator);
|
|
240
|
+
--color-xds-thumbnail-background: var(--xds-color-thumbnail-background);
|
|
241
|
+
--color-xds-thumbnail-icon: var(--xds-color-thumbnail-icon);
|
|
242
|
+
--color-xds-toast-background: var(--xds-color-toast-background);
|
|
243
|
+
--color-xds-toast-text: var(--xds-color-toast-text);
|
|
244
|
+
--color-xds-toast-action: var(--xds-color-toast-action);
|
|
245
|
+
--color-xds-tooltip-background: var(--xds-color-tooltip-background);
|
|
246
|
+
--color-xds-tooltip-text: var(--xds-color-tooltip-text);
|
|
247
|
+
--color-xds-top-bar-background: var(--xds-color-top-bar-background);
|
|
248
|
+
--color-xds-top-bar-text: var(--xds-color-top-bar-text);
|
|
249
|
+
--color-xds-top-bar-action: var(--xds-color-top-bar-action);
|
|
250
|
+
--color-xds-top-bar-action-background: var(--xds-color-top-bar-action-background);
|
|
227
251
|
|
|
228
252
|
--radius-xds-sm: var(--xds-radius-sm);
|
|
229
253
|
--radius-xds-md: var(--xds-radius-md);
|
|
@@ -374,35 +398,15 @@
|
|
|
374
398
|
--xds-color-glass-shadow: light-dark(rgb(0 0 0 / 0.12), rgb(0 0 0 / 0.35));
|
|
375
399
|
--xds-color-glass-fallback: light-dark(#ffffff, #222228);
|
|
376
400
|
--xds-color-glass-foreground: light-dark(#18181c, #f5f5f7);
|
|
377
|
-
--xds-color-
|
|
378
|
-
--xds-color-
|
|
379
|
-
--xds-color-
|
|
380
|
-
--xds-color-
|
|
381
|
-
--xds-color-
|
|
382
|
-
--xds-color-
|
|
383
|
-
--xds-color-
|
|
384
|
-
--xds-color-
|
|
385
|
-
--xds-color-
|
|
386
|
-
--xds-color-button-ghost-background-hover: light-dark(#ececf0, #2c2c33);
|
|
387
|
-
--xds-color-button-ghost-background-pressed: light-dark(#e2e2e8, #44444c);
|
|
388
|
-
--xds-color-button-ghost-text: light-dark(#18181c, #f5f5f7);
|
|
389
|
-
--xds-color-button-danger-background: #d92d20;
|
|
390
|
-
--xds-color-button-danger-background-hover: #b42318;
|
|
391
|
-
--xds-color-button-danger-background-pressed: #912018;
|
|
392
|
-
--xds-color-button-danger-text: #ffffff;
|
|
393
|
-
--xds-color-button-selected-background: light-dark(#eef2ff, #1e1b4b);
|
|
394
|
-
--xds-color-button-selected-background-hover: light-dark(#e0e7ff, #312e81);
|
|
395
|
-
--xds-color-button-selected-background-pressed: light-dark(#c7d2fe, #3730a3);
|
|
396
|
-
--xds-color-button-selected-border: light-dark(#4f46e5, #5b5ef0);
|
|
397
|
-
--xds-color-button-selected-text: light-dark(#18181c, #f5f5f7);
|
|
398
|
-
--xds-color-button-disabled-background: light-dark(#ececf0, #2c2c33);
|
|
399
|
-
--xds-color-button-disabled-text: light-dark(#a9a9b4, #5c5c66);
|
|
400
|
-
--xds-color-field-background: light-dark(#ffffff, #0e0e11);
|
|
401
|
-
--xds-color-field-border: #84848f;
|
|
402
|
-
--xds-color-field-border-focus: light-dark(#4f46e5, #818cf8);
|
|
403
|
-
--xds-color-field-border-invalid: light-dark(#b42318, #f97066);
|
|
404
|
-
--xds-color-field-text: light-dark(#18181c, #f5f5f7);
|
|
405
|
-
--xds-color-field-placeholder: light-dark(#6e6e79, #84848f);
|
|
401
|
+
--xds-color-accordion-border: light-dark(#e2e2e8, #2c2c33);
|
|
402
|
+
--xds-color-accordion-header-background-hover: light-dark(#ececf0, #222228);
|
|
403
|
+
--xds-color-accordion-header-background-pressed: light-dark(#e2e2e8, #2c2c33);
|
|
404
|
+
--xds-color-accordion-icon: light-dark(#5c5c66, #a9a9b4);
|
|
405
|
+
--xds-color-avatar-background: light-dark(#eef2ff, #1e1b4b);
|
|
406
|
+
--xds-color-avatar-text: light-dark(#4f46e5, #a5b4fc);
|
|
407
|
+
--xds-color-avatar-ring: light-dark(#ffffff, #18181c);
|
|
408
|
+
--xds-color-avatar-overflow-background: light-dark(#ececf0, #2c2c33);
|
|
409
|
+
--xds-color-avatar-overflow-text: light-dark(#5c5c66, #a9a9b4);
|
|
406
410
|
--xds-color-badge-neutral-background: light-dark(#ececf0, #2c2c33);
|
|
407
411
|
--xds-color-badge-neutral-text: light-dark(#5c5c66, #a9a9b4);
|
|
408
412
|
--xds-color-badge-accent-background: light-dark(#eef2ff, #1e1b4b);
|
|
@@ -426,29 +430,39 @@
|
|
|
426
430
|
--xds-color-banner-info-background: light-dark(#eff8ff, #102a56);
|
|
427
431
|
--xds-color-banner-info-accent: light-dark(#175cd3, #53b1fd);
|
|
428
432
|
--xds-color-banner-text: light-dark(#18181c, #f5f5f7);
|
|
433
|
+
--xds-color-breadcrumb-separator: light-dark(#5c5c66, #a9a9b4);
|
|
434
|
+
--xds-color-breadcrumb-current: light-dark(#18181c, #f5f5f7);
|
|
435
|
+
--xds-color-button-primary-background: light-dark(#4f46e5, #5b5ef0);
|
|
436
|
+
--xds-color-button-primary-background-hover: light-dark(#4338ca, #4f46e5);
|
|
437
|
+
--xds-color-button-primary-background-pressed: light-dark(#3730a3, #4338ca);
|
|
438
|
+
--xds-color-button-primary-text: #ffffff;
|
|
439
|
+
--xds-color-button-secondary-background: light-dark(#ffffff, #2c2c33);
|
|
440
|
+
--xds-color-button-secondary-background-hover: light-dark(#ececf0, #44444c);
|
|
441
|
+
--xds-color-button-secondary-background-pressed: light-dark(#e2e2e8, #5c5c66);
|
|
442
|
+
--xds-color-button-secondary-border: light-dark(#c9c9d1, #44444c);
|
|
443
|
+
--xds-color-button-secondary-text: light-dark(#18181c, #f5f5f7);
|
|
444
|
+
--xds-color-button-ghost-background-hover: light-dark(#ececf0, #2c2c33);
|
|
445
|
+
--xds-color-button-ghost-background-pressed: light-dark(#e2e2e8, #44444c);
|
|
446
|
+
--xds-color-button-ghost-text: light-dark(#18181c, #f5f5f7);
|
|
447
|
+
--xds-color-button-danger-background: #d92d20;
|
|
448
|
+
--xds-color-button-danger-background-hover: #b42318;
|
|
449
|
+
--xds-color-button-danger-background-pressed: #912018;
|
|
450
|
+
--xds-color-button-danger-text: #ffffff;
|
|
451
|
+
--xds-color-button-selected-background: light-dark(#eef2ff, #1e1b4b);
|
|
452
|
+
--xds-color-button-selected-background-hover: light-dark(#e0e7ff, #312e81);
|
|
453
|
+
--xds-color-button-selected-background-pressed: light-dark(#c7d2fe, #3730a3);
|
|
454
|
+
--xds-color-button-selected-border: light-dark(#4f46e5, #5b5ef0);
|
|
455
|
+
--xds-color-button-selected-text: light-dark(#18181c, #f5f5f7);
|
|
456
|
+
--xds-color-button-disabled-background: light-dark(#ececf0, #2c2c33);
|
|
457
|
+
--xds-color-button-disabled-text: light-dark(#a9a9b4, #5c5c66);
|
|
429
458
|
--xds-color-card-background-hover: light-dark(#ececf0, #222228);
|
|
430
459
|
--xds-color-card-background-pressed: light-dark(#e2e2e8, #2c2c33);
|
|
431
460
|
--xds-color-card-border-selected: light-dark(#4f46e5, #5b5ef0);
|
|
432
|
-
--xds-color-switch-track: #84848f;
|
|
433
|
-
--xds-color-switch-track-on: light-dark(#4f46e5, #5b5ef0);
|
|
434
|
-
--xds-color-switch-thumb: #ffffff;
|
|
435
|
-
--xds-color-switch-disabled-track: light-dark(#ececf0, #2c2c33);
|
|
436
|
-
--xds-color-switch-disabled-thumb: light-dark(#a9a9b4, #5c5c66);
|
|
437
461
|
--xds-color-checkbox-border: #84848f;
|
|
438
462
|
--xds-color-checkbox-background-checked: light-dark(#4f46e5, #5b5ef0);
|
|
439
463
|
--xds-color-checkbox-mark: #ffffff;
|
|
440
464
|
--xds-color-checkbox-disabled-background: light-dark(#ececf0, #2c2c33);
|
|
441
465
|
--xds-color-checkbox-disabled-mark: light-dark(#a9a9b4, #5c5c66);
|
|
442
|
-
--xds-color-radio-border: #84848f;
|
|
443
|
-
--xds-color-radio-border-checked: light-dark(#4f46e5, #5b5ef0);
|
|
444
|
-
--xds-color-radio-dot: light-dark(#4f46e5, #5b5ef0);
|
|
445
|
-
--xds-color-radio-disabled-background: light-dark(#ececf0, #2c2c33);
|
|
446
|
-
--xds-color-radio-disabled-dot: light-dark(#a9a9b4, #5c5c66);
|
|
447
|
-
--xds-color-segmented-track: light-dark(#ececf0, #2c2c33);
|
|
448
|
-
--xds-color-segmented-text: light-dark(#5c5c66, #a9a9b4);
|
|
449
|
-
--xds-color-segmented-selected-background: light-dark(#ffffff, #222228);
|
|
450
|
-
--xds-color-segmented-selected-border: light-dark(#c9c9d1, #44444c);
|
|
451
|
-
--xds-color-segmented-selected-text: light-dark(#18181c, #f5f5f7);
|
|
452
466
|
--xds-color-chip-background: light-dark(#ececf0, #2c2c33);
|
|
453
467
|
--xds-color-chip-background-hover: light-dark(#e2e2e8, #44444c);
|
|
454
468
|
--xds-color-chip-background-pressed: light-dark(#c9c9d1, #5c5c66);
|
|
@@ -460,20 +474,6 @@
|
|
|
460
474
|
--xds-color-chip-selected-text: light-dark(#18181c, #f5f5f7);
|
|
461
475
|
--xds-color-chip-disabled-background: light-dark(#ececf0, #2c2c33);
|
|
462
476
|
--xds-color-chip-disabled-text: light-dark(#a9a9b4, #5c5c66);
|
|
463
|
-
--xds-color-tabs-border: light-dark(#e2e2e8, #2c2c33);
|
|
464
|
-
--xds-color-tabs-text: light-dark(#5c5c66, #a9a9b4);
|
|
465
|
-
--xds-color-tabs-text-hover: light-dark(#18181c, #f5f5f7);
|
|
466
|
-
--xds-color-tabs-text-selected: light-dark(#18181c, #f5f5f7);
|
|
467
|
-
--xds-color-tabs-indicator: light-dark(#4f46e5, #5b5ef0);
|
|
468
|
-
--xds-color-menu-background: light-dark(#ffffff, #222228);
|
|
469
|
-
--xds-color-menu-border: light-dark(#e2e2e8, #2c2c33);
|
|
470
|
-
--xds-color-menu-text: light-dark(#18181c, #f5f5f7);
|
|
471
|
-
--xds-color-menu-icon: light-dark(#5c5c66, #a9a9b4);
|
|
472
|
-
--xds-color-menu-text-disabled: light-dark(#a9a9b4, #5c5c66);
|
|
473
|
-
--xds-color-menu-item-background-hover: light-dark(#ececf0, #2c2c33);
|
|
474
|
-
--xds-color-menu-item-background-pressed: light-dark(#e2e2e8, #2c2c33);
|
|
475
|
-
--xds-color-menu-danger-text: light-dark(#b42318, #f97066);
|
|
476
|
-
--xds-color-menu-danger-background-hover: light-dark(#fef3f2, #55160c);
|
|
477
477
|
--xds-color-date-picker-background: light-dark(#ffffff, #222228);
|
|
478
478
|
--xds-color-date-picker-heading: light-dark(#18181c, #f5f5f7);
|
|
479
479
|
--xds-color-date-picker-weekday: light-dark(#5c5c66, #a9a9b4);
|
|
@@ -495,50 +495,98 @@
|
|
|
495
495
|
--xds-color-dialog-border: light-dark(#e2e2e8, #2c2c33);
|
|
496
496
|
--xds-color-dialog-title: light-dark(#18181c, #f5f5f7);
|
|
497
497
|
--xds-color-dialog-text: light-dark(#5c5c66, #a9a9b4);
|
|
498
|
-
--xds-color-toast-background: light-dark(#18181c, #f5f5f7);
|
|
499
|
-
--xds-color-toast-text: light-dark(#f5f5f7, #18181c);
|
|
500
|
-
--xds-color-toast-action: light-dark(#a5b4fc, #4f46e5);
|
|
501
|
-
--xds-color-tooltip-background: light-dark(#18181c, #f5f5f7);
|
|
502
|
-
--xds-color-tooltip-text: light-dark(#f5f5f7, #18181c);
|
|
503
|
-
--xds-color-skeleton-background: light-dark(#ececf0, #2c2c33);
|
|
504
|
-
--xds-color-skeleton-highlight: light-dark(#e2e2e8, #44444c);
|
|
505
|
-
--xds-color-thumbnail-background: light-dark(#ececf0, #2c2c33);
|
|
506
|
-
--xds-color-thumbnail-icon: light-dark(#6e6e79, #84848f);
|
|
507
|
-
--xds-color-sidebar-background: light-dark(#f5f5f7, #0e0e11);
|
|
508
|
-
--xds-color-sidebar-border: light-dark(#e2e2e8, #2c2c33);
|
|
509
|
-
--xds-color-sidebar-section-title: light-dark(#6e6e79, #84848f);
|
|
510
498
|
--xds-color-empty-state-icon: light-dark(#6e6e79, #84848f);
|
|
511
|
-
--xds-color-
|
|
512
|
-
--xds-color-
|
|
513
|
-
--xds-color-
|
|
514
|
-
--xds-color-
|
|
515
|
-
--xds-color-
|
|
516
|
-
--xds-color-
|
|
517
|
-
--xds-color-
|
|
518
|
-
--xds-color-
|
|
519
|
-
--xds-color-
|
|
499
|
+
--xds-color-field-background: light-dark(#ffffff, #0e0e11);
|
|
500
|
+
--xds-color-field-border: #84848f;
|
|
501
|
+
--xds-color-field-border-focus: light-dark(#4f46e5, #818cf8);
|
|
502
|
+
--xds-color-field-border-invalid: light-dark(#b42318, #f97066);
|
|
503
|
+
--xds-color-field-text: light-dark(#18181c, #f5f5f7);
|
|
504
|
+
--xds-color-field-placeholder: light-dark(#6e6e79, #84848f);
|
|
505
|
+
--xds-color-link-text: light-dark(#4f46e5, #a5b4fc);
|
|
506
|
+
--xds-color-link-text-hover: light-dark(#4338ca, #c7d2fe);
|
|
507
|
+
--xds-color-link-text-pressed: light-dark(#3730a3, #e0e7ff);
|
|
508
|
+
--xds-color-link-disabled-text: light-dark(#a9a9b4, #5c5c66);
|
|
509
|
+
--xds-color-list-row-background-hover: light-dark(#ececf0, #222228);
|
|
510
|
+
--xds-color-list-row-background-pressed: light-dark(#e2e2e8, #2c2c33);
|
|
511
|
+
--xds-color-list-row-background-selected: light-dark(#eef2ff, #1e1b4b);
|
|
512
|
+
--xds-color-list-row-background-selected-hover: light-dark(#e0e7ff, #312e81);
|
|
513
|
+
--xds-color-menu-background: light-dark(#ffffff, #222228);
|
|
514
|
+
--xds-color-menu-border: light-dark(#e2e2e8, #2c2c33);
|
|
515
|
+
--xds-color-menu-text: light-dark(#18181c, #f5f5f7);
|
|
516
|
+
--xds-color-menu-icon: light-dark(#5c5c66, #a9a9b4);
|
|
517
|
+
--xds-color-menu-text-disabled: light-dark(#a9a9b4, #5c5c66);
|
|
518
|
+
--xds-color-menu-item-background-hover: light-dark(#ececf0, #2c2c33);
|
|
519
|
+
--xds-color-menu-item-background-pressed: light-dark(#e2e2e8, #2c2c33);
|
|
520
|
+
--xds-color-menu-danger-text: light-dark(#b42318, #f97066);
|
|
521
|
+
--xds-color-menu-danger-background-hover: light-dark(#fef3f2, #55160c);
|
|
522
|
+
--xds-color-pagination-text: light-dark(#18181c, #f5f5f7);
|
|
523
|
+
--xds-color-pagination-background-hover: light-dark(#ececf0, #2c2c33);
|
|
524
|
+
--xds-color-pagination-background-pressed: light-dark(#e2e2e8, #44444c);
|
|
525
|
+
--xds-color-pagination-background-current: light-dark(#eef2ff, #1e1b4b);
|
|
526
|
+
--xds-color-pagination-border-current: light-dark(#4f46e5, #5b5ef0);
|
|
527
|
+
--xds-color-pagination-text-current: light-dark(#18181c, #f5f5f7);
|
|
528
|
+
--xds-color-pagination-text-disabled: light-dark(#a9a9b4, #5c5c66);
|
|
529
|
+
--xds-color-pagination-gap: light-dark(#5c5c66, #a9a9b4);
|
|
530
|
+
--xds-color-popover-background: light-dark(#ffffff, #222228);
|
|
531
|
+
--xds-color-popover-border: light-dark(#e2e2e8, #2c2c33);
|
|
532
|
+
--xds-color-popover-title: light-dark(#18181c, #f5f5f7);
|
|
533
|
+
--xds-color-popover-text: light-dark(#18181c, #f5f5f7);
|
|
520
534
|
--xds-color-progress-track: light-dark(#ececf0, #2c2c33);
|
|
521
535
|
--xds-color-progress-fill: light-dark(#4f46e5, #a5b4fc);
|
|
536
|
+
--xds-color-radio-border: #84848f;
|
|
537
|
+
--xds-color-radio-border-checked: light-dark(#4f46e5, #5b5ef0);
|
|
538
|
+
--xds-color-radio-dot: light-dark(#4f46e5, #5b5ef0);
|
|
539
|
+
--xds-color-radio-disabled-background: light-dark(#ececf0, #2c2c33);
|
|
540
|
+
--xds-color-radio-disabled-dot: light-dark(#a9a9b4, #5c5c66);
|
|
541
|
+
--xds-color-segmented-track: light-dark(#ececf0, #2c2c33);
|
|
542
|
+
--xds-color-segmented-text: light-dark(#5c5c66, #a9a9b4);
|
|
543
|
+
--xds-color-segmented-selected-background: light-dark(#ffffff, #222228);
|
|
544
|
+
--xds-color-segmented-selected-border: light-dark(#c9c9d1, #44444c);
|
|
545
|
+
--xds-color-segmented-selected-text: light-dark(#18181c, #f5f5f7);
|
|
546
|
+
--xds-color-sheet-background: light-dark(#ffffff, #222228);
|
|
547
|
+
--xds-color-sheet-handle: #84848f;
|
|
548
|
+
--xds-color-sidebar-background: light-dark(#f5f5f7, #0e0e11);
|
|
549
|
+
--xds-color-sidebar-border: light-dark(#e2e2e8, #2c2c33);
|
|
550
|
+
--xds-color-sidebar-section-title: light-dark(#6e6e79, #84848f);
|
|
551
|
+
--xds-color-skeleton-background: light-dark(#ececf0, #2c2c33);
|
|
552
|
+
--xds-color-skeleton-highlight: light-dark(#e2e2e8, #44444c);
|
|
522
553
|
--xds-color-slider-track: light-dark(#ececf0, #2c2c33);
|
|
523
554
|
--xds-color-slider-fill: light-dark(#4f46e5, #a5b4fc);
|
|
524
555
|
--xds-color-slider-thumb: light-dark(#ffffff, #222228);
|
|
525
556
|
--xds-color-slider-thumb-border: light-dark(#4f46e5, #a5b4fc);
|
|
526
557
|
--xds-color-slider-disabled-fill: light-dark(#a9a9b4, #5c5c66);
|
|
527
|
-
--xds-color-
|
|
528
|
-
--xds-color-
|
|
529
|
-
--xds-color-
|
|
530
|
-
--xds-color-
|
|
531
|
-
--xds-color-
|
|
532
|
-
--xds-color-top-bar-text: light-dark(#18181c, #f5f5f7);
|
|
533
|
-
--xds-color-top-bar-action: light-dark(#4f46e5, #a5b4fc);
|
|
534
|
-
--xds-color-top-bar-action-background: light-dark(#ececf0, #2c2c33);
|
|
558
|
+
--xds-color-switch-track: #84848f;
|
|
559
|
+
--xds-color-switch-track-on: light-dark(#4f46e5, #5b5ef0);
|
|
560
|
+
--xds-color-switch-thumb: #ffffff;
|
|
561
|
+
--xds-color-switch-disabled-track: light-dark(#ececf0, #2c2c33);
|
|
562
|
+
--xds-color-switch-disabled-thumb: light-dark(#a9a9b4, #5c5c66);
|
|
535
563
|
--xds-color-tab-bar-background: light-dark(#ffffff, #222228);
|
|
536
564
|
--xds-color-tab-bar-border: light-dark(#e2e2e8, #2c2c33);
|
|
537
565
|
--xds-color-tab-bar-text: light-dark(#5c5c66, #a9a9b4);
|
|
538
566
|
--xds-color-tab-bar-text-selected: light-dark(#4f46e5, #a5b4fc);
|
|
539
567
|
--xds-color-tab-bar-selected-background: light-dark(#eef2ff, #1e1b4b);
|
|
540
|
-
--xds-color-
|
|
541
|
-
--xds-color-
|
|
568
|
+
--xds-color-table-background: light-dark(#ffffff, #18181c);
|
|
569
|
+
--xds-color-table-header-background: light-dark(#f5f5f7, #222228);
|
|
570
|
+
--xds-color-table-header-text: light-dark(#5c5c66, #a9a9b4);
|
|
571
|
+
--xds-color-table-header-text-hover: light-dark(#18181c, #f5f5f7);
|
|
572
|
+
--xds-color-table-text: light-dark(#18181c, #f5f5f7);
|
|
573
|
+
--xds-color-table-border: light-dark(#e2e2e8, #2c2c33);
|
|
574
|
+
--xds-color-tabs-border: light-dark(#e2e2e8, #2c2c33);
|
|
575
|
+
--xds-color-tabs-text: light-dark(#5c5c66, #a9a9b4);
|
|
576
|
+
--xds-color-tabs-text-hover: light-dark(#18181c, #f5f5f7);
|
|
577
|
+
--xds-color-tabs-text-selected: light-dark(#18181c, #f5f5f7);
|
|
578
|
+
--xds-color-tabs-indicator: light-dark(#4f46e5, #5b5ef0);
|
|
579
|
+
--xds-color-thumbnail-background: light-dark(#ececf0, #2c2c33);
|
|
580
|
+
--xds-color-thumbnail-icon: light-dark(#6e6e79, #84848f);
|
|
581
|
+
--xds-color-toast-background: light-dark(#18181c, #f5f5f7);
|
|
582
|
+
--xds-color-toast-text: light-dark(#f5f5f7, #18181c);
|
|
583
|
+
--xds-color-toast-action: light-dark(#a5b4fc, #4f46e5);
|
|
584
|
+
--xds-color-tooltip-background: light-dark(#18181c, #f5f5f7);
|
|
585
|
+
--xds-color-tooltip-text: light-dark(#f5f5f7, #18181c);
|
|
586
|
+
--xds-color-top-bar-background: light-dark(#f5f5f7, #0e0e11);
|
|
587
|
+
--xds-color-top-bar-text: light-dark(#18181c, #f5f5f7);
|
|
588
|
+
--xds-color-top-bar-action: light-dark(#4f46e5, #a5b4fc);
|
|
589
|
+
--xds-color-top-bar-action-background: light-dark(#ececf0, #2c2c33);
|
|
542
590
|
|
|
543
591
|
--xds-space-1: 4px;
|
|
544
592
|
--xds-space-2: 8px;
|
|
@@ -709,6 +757,254 @@
|
|
|
709
757
|
}
|
|
710
758
|
}
|
|
711
759
|
|
|
760
|
+
/* More contrast, for a person whose system asks for it, or wherever data-contrast="more" is
|
|
761
|
+
set: on the root element for the whole page or on any element for what is inside it.
|
|
762
|
+
data-contrast="standard" keeps the standard contrast in the same way. */
|
|
763
|
+
@media (prefers-contrast: more) {
|
|
764
|
+
:root {
|
|
765
|
+
--xds-color-text-secondary: light-dark(#44444c, #e2e2e8);
|
|
766
|
+
--xds-color-text-tertiary: light-dark(#44444c, #c9c9d1);
|
|
767
|
+
--xds-color-text-disabled: #84848f;
|
|
768
|
+
--xds-color-text-accent: light-dark(#4338ca, #c7d2fe);
|
|
769
|
+
--xds-color-border-default: light-dark(#84848f, #5c5c66);
|
|
770
|
+
--xds-color-border-control: light-dark(#5c5c66, #a9a9b4);
|
|
771
|
+
--xds-color-border-strong: light-dark(#44444c, #c9c9d1);
|
|
772
|
+
--xds-color-border-focus: light-dark(#4338ca, #a5b4fc);
|
|
773
|
+
--xds-color-accent-default: light-dark(#4338ca, #5b5ef0);
|
|
774
|
+
--xds-color-accent-hover: light-dark(#3730a3, #4f46e5);
|
|
775
|
+
--xds-color-accent-pressed: light-dark(#312e81, #4338ca);
|
|
776
|
+
--xds-color-accordion-border: light-dark(#84848f, #5c5c66);
|
|
777
|
+
--xds-color-accordion-icon: light-dark(#44444c, #e2e2e8);
|
|
778
|
+
--xds-color-avatar-text: light-dark(#4338ca, #c7d2fe);
|
|
779
|
+
--xds-color-avatar-overflow-text: light-dark(#44444c, #e2e2e8);
|
|
780
|
+
--xds-color-badge-neutral-text: light-dark(#44444c, #e2e2e8);
|
|
781
|
+
--xds-color-badge-accent-text: light-dark(#4338ca, #c7d2fe);
|
|
782
|
+
--xds-color-breadcrumb-separator: light-dark(#44444c, #e2e2e8);
|
|
783
|
+
--xds-color-button-primary-background: light-dark(#4338ca, #5b5ef0);
|
|
784
|
+
--xds-color-button-primary-background-hover: light-dark(#3730a3, #4f46e5);
|
|
785
|
+
--xds-color-button-primary-background-pressed: light-dark(#312e81, #4338ca);
|
|
786
|
+
--xds-color-button-secondary-border: light-dark(#5c5c66, #a9a9b4);
|
|
787
|
+
--xds-color-button-selected-border: light-dark(#4338ca, #5b5ef0);
|
|
788
|
+
--xds-color-button-disabled-text: #84848f;
|
|
789
|
+
--xds-color-card-border-selected: light-dark(#4338ca, #5b5ef0);
|
|
790
|
+
--xds-color-checkbox-border: light-dark(#44444c, #c9c9d1);
|
|
791
|
+
--xds-color-checkbox-background-checked: light-dark(#4338ca, #5b5ef0);
|
|
792
|
+
--xds-color-checkbox-disabled-mark: #84848f;
|
|
793
|
+
--xds-color-chip-selected-border: light-dark(#4338ca, #5b5ef0);
|
|
794
|
+
--xds-color-chip-disabled-text: #84848f;
|
|
795
|
+
--xds-color-date-picker-weekday: light-dark(#44444c, #e2e2e8);
|
|
796
|
+
--xds-color-date-picker-today-text: light-dark(#4338ca, #c7d2fe);
|
|
797
|
+
--xds-color-date-picker-today-border: light-dark(#4338ca, #5b5ef0);
|
|
798
|
+
--xds-color-date-picker-selected-background: light-dark(#4338ca, #5b5ef0);
|
|
799
|
+
--xds-color-date-picker-selected-background-hover: light-dark(#3730a3, #4f46e5);
|
|
800
|
+
--xds-color-date-picker-selected-background-pressed: light-dark(#312e81, #4338ca);
|
|
801
|
+
--xds-color-date-picker-disabled-text: #84848f;
|
|
802
|
+
--xds-color-dialog-border: light-dark(#84848f, #5c5c66);
|
|
803
|
+
--xds-color-dialog-text: light-dark(#44444c, #e2e2e8);
|
|
804
|
+
--xds-color-empty-state-icon: light-dark(#44444c, #c9c9d1);
|
|
805
|
+
--xds-color-field-border: light-dark(#44444c, #c9c9d1);
|
|
806
|
+
--xds-color-field-border-focus: light-dark(#4338ca, #a5b4fc);
|
|
807
|
+
--xds-color-field-placeholder: light-dark(#44444c, #c9c9d1);
|
|
808
|
+
--xds-color-link-text: light-dark(#4338ca, #c7d2fe);
|
|
809
|
+
--xds-color-link-disabled-text: #84848f;
|
|
810
|
+
--xds-color-menu-border: light-dark(#84848f, #5c5c66);
|
|
811
|
+
--xds-color-menu-icon: light-dark(#44444c, #e2e2e8);
|
|
812
|
+
--xds-color-menu-text-disabled: #84848f;
|
|
813
|
+
--xds-color-pagination-border-current: light-dark(#4338ca, #5b5ef0);
|
|
814
|
+
--xds-color-pagination-text-disabled: #84848f;
|
|
815
|
+
--xds-color-pagination-gap: light-dark(#44444c, #e2e2e8);
|
|
816
|
+
--xds-color-popover-border: light-dark(#84848f, #5c5c66);
|
|
817
|
+
--xds-color-progress-fill: light-dark(#4338ca, #c7d2fe);
|
|
818
|
+
--xds-color-radio-border: light-dark(#44444c, #c9c9d1);
|
|
819
|
+
--xds-color-radio-border-checked: light-dark(#4338ca, #5b5ef0);
|
|
820
|
+
--xds-color-radio-dot: light-dark(#4338ca, #5b5ef0);
|
|
821
|
+
--xds-color-radio-disabled-dot: #84848f;
|
|
822
|
+
--xds-color-segmented-text: light-dark(#44444c, #e2e2e8);
|
|
823
|
+
--xds-color-segmented-selected-border: light-dark(#5c5c66, #a9a9b4);
|
|
824
|
+
--xds-color-sheet-handle: light-dark(#44444c, #c9c9d1);
|
|
825
|
+
--xds-color-sidebar-border: light-dark(#84848f, #5c5c66);
|
|
826
|
+
--xds-color-sidebar-section-title: light-dark(#44444c, #c9c9d1);
|
|
827
|
+
--xds-color-slider-fill: light-dark(#4338ca, #c7d2fe);
|
|
828
|
+
--xds-color-slider-thumb-border: light-dark(#4338ca, #c7d2fe);
|
|
829
|
+
--xds-color-slider-disabled-fill: #84848f;
|
|
830
|
+
--xds-color-switch-track: light-dark(#44444c, #84848f);
|
|
831
|
+
--xds-color-switch-track-on: light-dark(#4338ca, #5b5ef0);
|
|
832
|
+
--xds-color-switch-disabled-thumb: #84848f;
|
|
833
|
+
--xds-color-tab-bar-border: light-dark(#84848f, #5c5c66);
|
|
834
|
+
--xds-color-tab-bar-text: light-dark(#44444c, #e2e2e8);
|
|
835
|
+
--xds-color-tab-bar-text-selected: light-dark(#4338ca, #c7d2fe);
|
|
836
|
+
--xds-color-table-header-text: light-dark(#44444c, #e2e2e8);
|
|
837
|
+
--xds-color-table-border: light-dark(#84848f, #5c5c66);
|
|
838
|
+
--xds-color-tabs-border: light-dark(#84848f, #5c5c66);
|
|
839
|
+
--xds-color-tabs-text: light-dark(#44444c, #e2e2e8);
|
|
840
|
+
--xds-color-tabs-indicator: light-dark(#4338ca, #5b5ef0);
|
|
841
|
+
--xds-color-thumbnail-icon: light-dark(#44444c, #c9c9d1);
|
|
842
|
+
--xds-color-top-bar-action: light-dark(#4338ca, #c7d2fe);
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
[data-contrast="more"] {
|
|
847
|
+
--xds-color-text-secondary: light-dark(#44444c, #e2e2e8);
|
|
848
|
+
--xds-color-text-tertiary: light-dark(#44444c, #c9c9d1);
|
|
849
|
+
--xds-color-text-disabled: #84848f;
|
|
850
|
+
--xds-color-text-accent: light-dark(#4338ca, #c7d2fe);
|
|
851
|
+
--xds-color-border-default: light-dark(#84848f, #5c5c66);
|
|
852
|
+
--xds-color-border-control: light-dark(#5c5c66, #a9a9b4);
|
|
853
|
+
--xds-color-border-strong: light-dark(#44444c, #c9c9d1);
|
|
854
|
+
--xds-color-border-focus: light-dark(#4338ca, #a5b4fc);
|
|
855
|
+
--xds-color-accent-default: light-dark(#4338ca, #5b5ef0);
|
|
856
|
+
--xds-color-accent-hover: light-dark(#3730a3, #4f46e5);
|
|
857
|
+
--xds-color-accent-pressed: light-dark(#312e81, #4338ca);
|
|
858
|
+
--xds-color-accordion-border: light-dark(#84848f, #5c5c66);
|
|
859
|
+
--xds-color-accordion-icon: light-dark(#44444c, #e2e2e8);
|
|
860
|
+
--xds-color-avatar-text: light-dark(#4338ca, #c7d2fe);
|
|
861
|
+
--xds-color-avatar-overflow-text: light-dark(#44444c, #e2e2e8);
|
|
862
|
+
--xds-color-badge-neutral-text: light-dark(#44444c, #e2e2e8);
|
|
863
|
+
--xds-color-badge-accent-text: light-dark(#4338ca, #c7d2fe);
|
|
864
|
+
--xds-color-breadcrumb-separator: light-dark(#44444c, #e2e2e8);
|
|
865
|
+
--xds-color-button-primary-background: light-dark(#4338ca, #5b5ef0);
|
|
866
|
+
--xds-color-button-primary-background-hover: light-dark(#3730a3, #4f46e5);
|
|
867
|
+
--xds-color-button-primary-background-pressed: light-dark(#312e81, #4338ca);
|
|
868
|
+
--xds-color-button-secondary-border: light-dark(#5c5c66, #a9a9b4);
|
|
869
|
+
--xds-color-button-selected-border: light-dark(#4338ca, #5b5ef0);
|
|
870
|
+
--xds-color-button-disabled-text: #84848f;
|
|
871
|
+
--xds-color-card-border-selected: light-dark(#4338ca, #5b5ef0);
|
|
872
|
+
--xds-color-checkbox-border: light-dark(#44444c, #c9c9d1);
|
|
873
|
+
--xds-color-checkbox-background-checked: light-dark(#4338ca, #5b5ef0);
|
|
874
|
+
--xds-color-checkbox-disabled-mark: #84848f;
|
|
875
|
+
--xds-color-chip-selected-border: light-dark(#4338ca, #5b5ef0);
|
|
876
|
+
--xds-color-chip-disabled-text: #84848f;
|
|
877
|
+
--xds-color-date-picker-weekday: light-dark(#44444c, #e2e2e8);
|
|
878
|
+
--xds-color-date-picker-today-text: light-dark(#4338ca, #c7d2fe);
|
|
879
|
+
--xds-color-date-picker-today-border: light-dark(#4338ca, #5b5ef0);
|
|
880
|
+
--xds-color-date-picker-selected-background: light-dark(#4338ca, #5b5ef0);
|
|
881
|
+
--xds-color-date-picker-selected-background-hover: light-dark(#3730a3, #4f46e5);
|
|
882
|
+
--xds-color-date-picker-selected-background-pressed: light-dark(#312e81, #4338ca);
|
|
883
|
+
--xds-color-date-picker-disabled-text: #84848f;
|
|
884
|
+
--xds-color-dialog-border: light-dark(#84848f, #5c5c66);
|
|
885
|
+
--xds-color-dialog-text: light-dark(#44444c, #e2e2e8);
|
|
886
|
+
--xds-color-empty-state-icon: light-dark(#44444c, #c9c9d1);
|
|
887
|
+
--xds-color-field-border: light-dark(#44444c, #c9c9d1);
|
|
888
|
+
--xds-color-field-border-focus: light-dark(#4338ca, #a5b4fc);
|
|
889
|
+
--xds-color-field-placeholder: light-dark(#44444c, #c9c9d1);
|
|
890
|
+
--xds-color-link-text: light-dark(#4338ca, #c7d2fe);
|
|
891
|
+
--xds-color-link-disabled-text: #84848f;
|
|
892
|
+
--xds-color-menu-border: light-dark(#84848f, #5c5c66);
|
|
893
|
+
--xds-color-menu-icon: light-dark(#44444c, #e2e2e8);
|
|
894
|
+
--xds-color-menu-text-disabled: #84848f;
|
|
895
|
+
--xds-color-pagination-border-current: light-dark(#4338ca, #5b5ef0);
|
|
896
|
+
--xds-color-pagination-text-disabled: #84848f;
|
|
897
|
+
--xds-color-pagination-gap: light-dark(#44444c, #e2e2e8);
|
|
898
|
+
--xds-color-popover-border: light-dark(#84848f, #5c5c66);
|
|
899
|
+
--xds-color-progress-fill: light-dark(#4338ca, #c7d2fe);
|
|
900
|
+
--xds-color-radio-border: light-dark(#44444c, #c9c9d1);
|
|
901
|
+
--xds-color-radio-border-checked: light-dark(#4338ca, #5b5ef0);
|
|
902
|
+
--xds-color-radio-dot: light-dark(#4338ca, #5b5ef0);
|
|
903
|
+
--xds-color-radio-disabled-dot: #84848f;
|
|
904
|
+
--xds-color-segmented-text: light-dark(#44444c, #e2e2e8);
|
|
905
|
+
--xds-color-segmented-selected-border: light-dark(#5c5c66, #a9a9b4);
|
|
906
|
+
--xds-color-sheet-handle: light-dark(#44444c, #c9c9d1);
|
|
907
|
+
--xds-color-sidebar-border: light-dark(#84848f, #5c5c66);
|
|
908
|
+
--xds-color-sidebar-section-title: light-dark(#44444c, #c9c9d1);
|
|
909
|
+
--xds-color-slider-fill: light-dark(#4338ca, #c7d2fe);
|
|
910
|
+
--xds-color-slider-thumb-border: light-dark(#4338ca, #c7d2fe);
|
|
911
|
+
--xds-color-slider-disabled-fill: #84848f;
|
|
912
|
+
--xds-color-switch-track: light-dark(#44444c, #84848f);
|
|
913
|
+
--xds-color-switch-track-on: light-dark(#4338ca, #5b5ef0);
|
|
914
|
+
--xds-color-switch-disabled-thumb: #84848f;
|
|
915
|
+
--xds-color-tab-bar-border: light-dark(#84848f, #5c5c66);
|
|
916
|
+
--xds-color-tab-bar-text: light-dark(#44444c, #e2e2e8);
|
|
917
|
+
--xds-color-tab-bar-text-selected: light-dark(#4338ca, #c7d2fe);
|
|
918
|
+
--xds-color-table-header-text: light-dark(#44444c, #e2e2e8);
|
|
919
|
+
--xds-color-table-border: light-dark(#84848f, #5c5c66);
|
|
920
|
+
--xds-color-tabs-border: light-dark(#84848f, #5c5c66);
|
|
921
|
+
--xds-color-tabs-text: light-dark(#44444c, #e2e2e8);
|
|
922
|
+
--xds-color-tabs-indicator: light-dark(#4338ca, #5b5ef0);
|
|
923
|
+
--xds-color-thumbnail-icon: light-dark(#44444c, #c9c9d1);
|
|
924
|
+
--xds-color-top-bar-action: light-dark(#4338ca, #c7d2fe);
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
[data-contrast="standard"] {
|
|
928
|
+
--xds-color-text-secondary: light-dark(#5c5c66, #a9a9b4);
|
|
929
|
+
--xds-color-text-tertiary: light-dark(#6e6e79, #84848f);
|
|
930
|
+
--xds-color-text-disabled: light-dark(#a9a9b4, #5c5c66);
|
|
931
|
+
--xds-color-text-accent: light-dark(#4f46e5, #a5b4fc);
|
|
932
|
+
--xds-color-border-default: light-dark(#e2e2e8, #2c2c33);
|
|
933
|
+
--xds-color-border-control: light-dark(#c9c9d1, #44444c);
|
|
934
|
+
--xds-color-border-strong: #84848f;
|
|
935
|
+
--xds-color-border-focus: light-dark(#4f46e5, #818cf8);
|
|
936
|
+
--xds-color-accent-default: light-dark(#4f46e5, #5b5ef0);
|
|
937
|
+
--xds-color-accent-hover: light-dark(#4338ca, #4f46e5);
|
|
938
|
+
--xds-color-accent-pressed: light-dark(#3730a3, #4338ca);
|
|
939
|
+
--xds-color-accordion-border: light-dark(#e2e2e8, #2c2c33);
|
|
940
|
+
--xds-color-accordion-icon: light-dark(#5c5c66, #a9a9b4);
|
|
941
|
+
--xds-color-avatar-text: light-dark(#4f46e5, #a5b4fc);
|
|
942
|
+
--xds-color-avatar-overflow-text: light-dark(#5c5c66, #a9a9b4);
|
|
943
|
+
--xds-color-badge-neutral-text: light-dark(#5c5c66, #a9a9b4);
|
|
944
|
+
--xds-color-badge-accent-text: light-dark(#4f46e5, #a5b4fc);
|
|
945
|
+
--xds-color-breadcrumb-separator: light-dark(#5c5c66, #a9a9b4);
|
|
946
|
+
--xds-color-button-primary-background: light-dark(#4f46e5, #5b5ef0);
|
|
947
|
+
--xds-color-button-primary-background-hover: light-dark(#4338ca, #4f46e5);
|
|
948
|
+
--xds-color-button-primary-background-pressed: light-dark(#3730a3, #4338ca);
|
|
949
|
+
--xds-color-button-secondary-border: light-dark(#c9c9d1, #44444c);
|
|
950
|
+
--xds-color-button-selected-border: light-dark(#4f46e5, #5b5ef0);
|
|
951
|
+
--xds-color-button-disabled-text: light-dark(#a9a9b4, #5c5c66);
|
|
952
|
+
--xds-color-card-border-selected: light-dark(#4f46e5, #5b5ef0);
|
|
953
|
+
--xds-color-checkbox-border: #84848f;
|
|
954
|
+
--xds-color-checkbox-background-checked: light-dark(#4f46e5, #5b5ef0);
|
|
955
|
+
--xds-color-checkbox-disabled-mark: light-dark(#a9a9b4, #5c5c66);
|
|
956
|
+
--xds-color-chip-selected-border: light-dark(#4f46e5, #5b5ef0);
|
|
957
|
+
--xds-color-chip-disabled-text: light-dark(#a9a9b4, #5c5c66);
|
|
958
|
+
--xds-color-date-picker-weekday: light-dark(#5c5c66, #a9a9b4);
|
|
959
|
+
--xds-color-date-picker-today-text: light-dark(#4f46e5, #a5b4fc);
|
|
960
|
+
--xds-color-date-picker-today-border: light-dark(#4f46e5, #5b5ef0);
|
|
961
|
+
--xds-color-date-picker-selected-background: light-dark(#4f46e5, #5b5ef0);
|
|
962
|
+
--xds-color-date-picker-selected-background-hover: light-dark(#4338ca, #4f46e5);
|
|
963
|
+
--xds-color-date-picker-selected-background-pressed: light-dark(#3730a3, #4338ca);
|
|
964
|
+
--xds-color-date-picker-disabled-text: light-dark(#a9a9b4, #5c5c66);
|
|
965
|
+
--xds-color-dialog-border: light-dark(#e2e2e8, #2c2c33);
|
|
966
|
+
--xds-color-dialog-text: light-dark(#5c5c66, #a9a9b4);
|
|
967
|
+
--xds-color-empty-state-icon: light-dark(#6e6e79, #84848f);
|
|
968
|
+
--xds-color-field-border: #84848f;
|
|
969
|
+
--xds-color-field-border-focus: light-dark(#4f46e5, #818cf8);
|
|
970
|
+
--xds-color-field-placeholder: light-dark(#6e6e79, #84848f);
|
|
971
|
+
--xds-color-link-text: light-dark(#4f46e5, #a5b4fc);
|
|
972
|
+
--xds-color-link-disabled-text: light-dark(#a9a9b4, #5c5c66);
|
|
973
|
+
--xds-color-menu-border: light-dark(#e2e2e8, #2c2c33);
|
|
974
|
+
--xds-color-menu-icon: light-dark(#5c5c66, #a9a9b4);
|
|
975
|
+
--xds-color-menu-text-disabled: light-dark(#a9a9b4, #5c5c66);
|
|
976
|
+
--xds-color-pagination-border-current: light-dark(#4f46e5, #5b5ef0);
|
|
977
|
+
--xds-color-pagination-text-disabled: light-dark(#a9a9b4, #5c5c66);
|
|
978
|
+
--xds-color-pagination-gap: light-dark(#5c5c66, #a9a9b4);
|
|
979
|
+
--xds-color-popover-border: light-dark(#e2e2e8, #2c2c33);
|
|
980
|
+
--xds-color-progress-fill: light-dark(#4f46e5, #a5b4fc);
|
|
981
|
+
--xds-color-radio-border: #84848f;
|
|
982
|
+
--xds-color-radio-border-checked: light-dark(#4f46e5, #5b5ef0);
|
|
983
|
+
--xds-color-radio-dot: light-dark(#4f46e5, #5b5ef0);
|
|
984
|
+
--xds-color-radio-disabled-dot: light-dark(#a9a9b4, #5c5c66);
|
|
985
|
+
--xds-color-segmented-text: light-dark(#5c5c66, #a9a9b4);
|
|
986
|
+
--xds-color-segmented-selected-border: light-dark(#c9c9d1, #44444c);
|
|
987
|
+
--xds-color-sheet-handle: #84848f;
|
|
988
|
+
--xds-color-sidebar-border: light-dark(#e2e2e8, #2c2c33);
|
|
989
|
+
--xds-color-sidebar-section-title: light-dark(#6e6e79, #84848f);
|
|
990
|
+
--xds-color-slider-fill: light-dark(#4f46e5, #a5b4fc);
|
|
991
|
+
--xds-color-slider-thumb-border: light-dark(#4f46e5, #a5b4fc);
|
|
992
|
+
--xds-color-slider-disabled-fill: light-dark(#a9a9b4, #5c5c66);
|
|
993
|
+
--xds-color-switch-track: #84848f;
|
|
994
|
+
--xds-color-switch-track-on: light-dark(#4f46e5, #5b5ef0);
|
|
995
|
+
--xds-color-switch-disabled-thumb: light-dark(#a9a9b4, #5c5c66);
|
|
996
|
+
--xds-color-tab-bar-border: light-dark(#e2e2e8, #2c2c33);
|
|
997
|
+
--xds-color-tab-bar-text: light-dark(#5c5c66, #a9a9b4);
|
|
998
|
+
--xds-color-tab-bar-text-selected: light-dark(#4f46e5, #a5b4fc);
|
|
999
|
+
--xds-color-table-header-text: light-dark(#5c5c66, #a9a9b4);
|
|
1000
|
+
--xds-color-table-border: light-dark(#e2e2e8, #2c2c33);
|
|
1001
|
+
--xds-color-tabs-border: light-dark(#e2e2e8, #2c2c33);
|
|
1002
|
+
--xds-color-tabs-text: light-dark(#5c5c66, #a9a9b4);
|
|
1003
|
+
--xds-color-tabs-indicator: light-dark(#4f46e5, #5b5ef0);
|
|
1004
|
+
--xds-color-thumbnail-icon: light-dark(#6e6e79, #84848f);
|
|
1005
|
+
--xds-color-top-bar-action: light-dark(#4f46e5, #a5b4fc);
|
|
1006
|
+
}
|
|
1007
|
+
|
|
712
1008
|
/* Set data-theme to override the system color scheme, on the root element for the whole
|
|
713
1009
|
page or on any element for what is inside it. */
|
|
714
1010
|
[data-theme="light"] {
|
|
@@ -858,6 +1154,47 @@
|
|
|
858
1154
|
}
|
|
859
1155
|
}
|
|
860
1156
|
|
|
1157
|
+
@layer components {
|
|
1158
|
+
.xds-breadcrumb {
|
|
1159
|
+
font-size: var(--xds-typography-detail-size);
|
|
1160
|
+
line-height: var(--xds-typography-detail-line-height);
|
|
1161
|
+
font-weight: var(--xds-typography-detail-weight);
|
|
1162
|
+
letter-spacing: var(--xds-typography-detail-letter-spacing);
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
/* A long trail wraps between places, never inside a chevron and the place before it. */
|
|
1166
|
+
.xds-breadcrumb__list {
|
|
1167
|
+
display: flex;
|
|
1168
|
+
flex-wrap: wrap;
|
|
1169
|
+
align-items: center;
|
|
1170
|
+
column-gap: var(--xds-space-1);
|
|
1171
|
+
margin: 0;
|
|
1172
|
+
padding: 0;
|
|
1173
|
+
list-style: none;
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
.xds-breadcrumb__item {
|
|
1177
|
+
display: inline-flex;
|
|
1178
|
+
align-items: center;
|
|
1179
|
+
gap: var(--xds-space-1);
|
|
1180
|
+
min-width: 0;
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
.xds-breadcrumb__separator {
|
|
1184
|
+
color: var(--xds-color-breadcrumb-separator);
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
/* It points onward, so it turns with the reading direction. */
|
|
1188
|
+
.xds-breadcrumb__separator:dir(rtl) {
|
|
1189
|
+
transform: scaleX(-1);
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
/* Told from the places above it by not being a link: no underline, not in the link color. */
|
|
1193
|
+
.xds-breadcrumb__current {
|
|
1194
|
+
color: var(--xds-color-breadcrumb-current);
|
|
1195
|
+
}
|
|
1196
|
+
}
|
|
1197
|
+
|
|
861
1198
|
@layer components {
|
|
862
1199
|
.xds-button {
|
|
863
1200
|
/* The fill and the text color of the current state. Variants and states set these. */
|
|
@@ -1077,14 +1414,268 @@
|
|
|
1077
1414
|
translate: -50% -50%;
|
|
1078
1415
|
}
|
|
1079
1416
|
|
|
1080
|
-
/* ------------------------------------------------------------ focus */
|
|
1081
|
-
|
|
1082
|
-
/* A ring a gap away from the button, in the page's color, so it shows on any fill. It
|
|
1083
|
-
replaces the shadow of the variant and of a selected toggle, so it comes last. */
|
|
1084
|
-
.xds-button:focus-visible {
|
|
1085
|
-
box-shadow:
|
|
1086
|
-
0 0 0 var(--xds-focus-offset) var(--xds-color-background-base),
|
|
1087
|
-
0 0 0 calc(var(--xds-focus-width) + var(--xds-focus-offset)) var(--xds-color-border-focus);
|
|
1417
|
+
/* ------------------------------------------------------------ focus */
|
|
1418
|
+
|
|
1419
|
+
/* A ring a gap away from the button, in the page's color, so it shows on any fill. It
|
|
1420
|
+
replaces the shadow of the variant and of a selected toggle, so it comes last. */
|
|
1421
|
+
.xds-button:focus-visible {
|
|
1422
|
+
box-shadow:
|
|
1423
|
+
0 0 0 var(--xds-focus-offset) var(--xds-color-background-base),
|
|
1424
|
+
0 0 0 calc(var(--xds-focus-width) + var(--xds-focus-offset)) var(--xds-color-border-focus);
|
|
1425
|
+
}
|
|
1426
|
+
}
|
|
1427
|
+
|
|
1428
|
+
@layer components {
|
|
1429
|
+
.xds-combobox {
|
|
1430
|
+
display: flex;
|
|
1431
|
+
flex-direction: column;
|
|
1432
|
+
gap: var(--xds-space-1);
|
|
1433
|
+
width: 100%;
|
|
1434
|
+
}
|
|
1435
|
+
|
|
1436
|
+
.xds-combobox__label {
|
|
1437
|
+
width: fit-content;
|
|
1438
|
+
font-size: var(--xds-typography-label-size);
|
|
1439
|
+
font-weight: var(--xds-typography-label-weight);
|
|
1440
|
+
line-height: var(--xds-typography-label-line-height);
|
|
1441
|
+
color: var(--xds-color-text-primary);
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
.xds-combobox:has(.xds-combobox__input:disabled) .xds-combobox__label {
|
|
1445
|
+
opacity: 0.5;
|
|
1446
|
+
cursor: not-allowed;
|
|
1447
|
+
pointer-events: none;
|
|
1448
|
+
}
|
|
1449
|
+
|
|
1450
|
+
/* ------------------------------------------------------------ the field */
|
|
1451
|
+
|
|
1452
|
+
/* A text field's box, with the chevrons at the end that say a list opens from it. */
|
|
1453
|
+
.xds-combobox__control {
|
|
1454
|
+
display: flex;
|
|
1455
|
+
align-items: center;
|
|
1456
|
+
gap: var(--xds-space-2);
|
|
1457
|
+
min-height: var(--xds-size-control-md);
|
|
1458
|
+
padding-inline-end: var(--xds-space-3);
|
|
1459
|
+
border: var(--xds-border-width-thin) solid var(--xds-color-field-border);
|
|
1460
|
+
border-radius: var(--xds-radius-md);
|
|
1461
|
+
background-color: var(--xds-color-field-background);
|
|
1462
|
+
color: var(--xds-color-field-text);
|
|
1463
|
+
transition-property: background-color, border-color, box-shadow;
|
|
1464
|
+
transition-duration: var(--xds-motion-duration-fast);
|
|
1465
|
+
transition-timing-function: var(--xds-motion-easing-standard);
|
|
1466
|
+
}
|
|
1467
|
+
|
|
1468
|
+
.xds-combobox__control:has(> .xds-combobox__input:focus) {
|
|
1469
|
+
border-color: var(--xds-color-field-border-focus);
|
|
1470
|
+
}
|
|
1471
|
+
|
|
1472
|
+
/* Thicker as well as red, so the state does not depend on telling colors apart. Focused, it
|
|
1473
|
+
keeps the red border and outline and drops the inner line. */
|
|
1474
|
+
.xds-combobox__control:has(> .xds-combobox__input[aria-invalid="true"]) {
|
|
1475
|
+
border-color: var(--xds-color-field-border-invalid);
|
|
1476
|
+
box-shadow: inset 0 0 0 var(--xds-border-width-thin) var(--xds-color-field-border-invalid);
|
|
1477
|
+
outline: var(--xds-border-width-thin) solid var(--xds-color-danger-default);
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
.xds-combobox__control:has(> .xds-combobox__input[aria-invalid="true"]:focus) {
|
|
1481
|
+
box-shadow: none;
|
|
1482
|
+
}
|
|
1483
|
+
|
|
1484
|
+
/* After the error, which it outranks. */
|
|
1485
|
+
@media (hover: hover) {
|
|
1486
|
+
.xds-combobox__control:hover:not(:has(:focus)) {
|
|
1487
|
+
border-color: var(--xds-color-text-primary);
|
|
1488
|
+
}
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
.xds-combobox__control:has(> .xds-combobox__input:disabled) {
|
|
1492
|
+
opacity: 0.5;
|
|
1493
|
+
cursor: not-allowed;
|
|
1494
|
+
pointer-events: none;
|
|
1495
|
+
}
|
|
1496
|
+
|
|
1497
|
+
.xds-combobox__input {
|
|
1498
|
+
flex: 1 1 0%;
|
|
1499
|
+
min-width: 0;
|
|
1500
|
+
align-self: stretch;
|
|
1501
|
+
padding-block: 0;
|
|
1502
|
+
padding-inline: var(--xds-space-3) 0;
|
|
1503
|
+
border: none;
|
|
1504
|
+
background: transparent;
|
|
1505
|
+
color: inherit;
|
|
1506
|
+
/* 16px on every screen: below that, iOS zooms the page when the field takes focus. */
|
|
1507
|
+
font-size: var(--xds-typography-body-size);
|
|
1508
|
+
line-height: var(--xds-typography-body-line-height);
|
|
1509
|
+
outline-style: none;
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1512
|
+
.xds-combobox__input::placeholder {
|
|
1513
|
+
color: var(--xds-color-field-placeholder);
|
|
1514
|
+
}
|
|
1515
|
+
|
|
1516
|
+
.xds-combobox__icon {
|
|
1517
|
+
flex: none;
|
|
1518
|
+
color: var(--xds-color-field-placeholder);
|
|
1519
|
+
pointer-events: none;
|
|
1520
|
+
}
|
|
1521
|
+
|
|
1522
|
+
/* One line under the box, as under a TextField: the help or the error. Empty, it takes no
|
|
1523
|
+
room, and the error stays mounted as a live region. */
|
|
1524
|
+
.xds-combobox__footer {
|
|
1525
|
+
display: flex;
|
|
1526
|
+
align-items: baseline;
|
|
1527
|
+
gap: var(--xds-space-3);
|
|
1528
|
+
}
|
|
1529
|
+
|
|
1530
|
+
.xds-combobox__footer:not(:has(> :not(:empty))) {
|
|
1531
|
+
position: absolute;
|
|
1532
|
+
}
|
|
1533
|
+
|
|
1534
|
+
.xds-combobox__description,
|
|
1535
|
+
.xds-combobox__error {
|
|
1536
|
+
font-size: var(--xds-typography-detail-size);
|
|
1537
|
+
line-height: var(--xds-typography-detail-line-height);
|
|
1538
|
+
overflow-wrap: break-word;
|
|
1539
|
+
}
|
|
1540
|
+
|
|
1541
|
+
.xds-combobox__description {
|
|
1542
|
+
color: var(--xds-color-text-secondary);
|
|
1543
|
+
}
|
|
1544
|
+
|
|
1545
|
+
.xds-combobox__error {
|
|
1546
|
+
color: var(--xds-color-status-danger);
|
|
1547
|
+
}
|
|
1548
|
+
|
|
1549
|
+
.xds-combobox__error:empty {
|
|
1550
|
+
position: absolute;
|
|
1551
|
+
}
|
|
1552
|
+
|
|
1553
|
+
/* ------------------------------------------------------------ the list */
|
|
1554
|
+
|
|
1555
|
+
/* Zag sets the position, and the width: the field's. */
|
|
1556
|
+
.xds-combobox__positioner {
|
|
1557
|
+
z-index: calc(var(--xds-layer-overlay) + var(--layer-index, 0));
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
/* A menu's surface. It scrolls when the window has no room for all of it. */
|
|
1561
|
+
.xds-combobox__content {
|
|
1562
|
+
max-height: min(var(--available-height), 20rem);
|
|
1563
|
+
overflow-y: auto;
|
|
1564
|
+
overscroll-behavior: contain;
|
|
1565
|
+
scroll-padding-block: var(--xds-space-1);
|
|
1566
|
+
scrollbar-width: thin;
|
|
1567
|
+
scrollbar-color: color-mix(in oklab, var(--xds-color-text-primary) 15%, transparent)
|
|
1568
|
+
transparent;
|
|
1569
|
+
padding: var(--xds-space-1);
|
|
1570
|
+
border: var(--xds-border-width-thin) solid var(--xds-color-menu-border);
|
|
1571
|
+
border-radius: var(--xds-radius-md);
|
|
1572
|
+
background: var(--xds-color-menu-background);
|
|
1573
|
+
box-shadow: var(--xds-shadow-raised);
|
|
1574
|
+
outline: none;
|
|
1575
|
+
transform-origin: var(--transform-origin);
|
|
1576
|
+
animation: xds-combobox-enter var(--xds-motion-duration-fast) var(--xds-motion-easing-enter);
|
|
1577
|
+
}
|
|
1578
|
+
|
|
1579
|
+
.xds-combobox__content[data-side="top"] {
|
|
1580
|
+
animation-name: xds-combobox-enter-above;
|
|
1581
|
+
}
|
|
1582
|
+
|
|
1583
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1584
|
+
.xds-combobox__content {
|
|
1585
|
+
animation: none;
|
|
1586
|
+
}
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
.xds-combobox__list {
|
|
1590
|
+
outline: none;
|
|
1591
|
+
}
|
|
1592
|
+
|
|
1593
|
+
/* A compact list row, at least the smallest pressable size on a touch screen. */
|
|
1594
|
+
.xds-combobox__item {
|
|
1595
|
+
display: flex;
|
|
1596
|
+
align-items: center;
|
|
1597
|
+
gap: var(--xds-space-2);
|
|
1598
|
+
min-height: max(var(--xds-size-list-row-compact), var(--xds-size-target-min));
|
|
1599
|
+
padding: var(--xds-space-1) var(--xds-space-2);
|
|
1600
|
+
border-radius: var(--xds-radius-sm);
|
|
1601
|
+
white-space: nowrap;
|
|
1602
|
+
font-size: var(--xds-typography-detail-size);
|
|
1603
|
+
font-weight: var(--xds-typography-detail-weight);
|
|
1604
|
+
line-height: var(--xds-typography-detail-line-height);
|
|
1605
|
+
color: var(--xds-color-menu-text);
|
|
1606
|
+
cursor: pointer;
|
|
1607
|
+
touch-action: manipulation;
|
|
1608
|
+
transition: background-color var(--xds-motion-duration-fast) var(--xds-motion-easing-standard);
|
|
1609
|
+
}
|
|
1610
|
+
|
|
1611
|
+
/* The keys and the pointer move one highlight, which the focus does not: it stays in the
|
|
1612
|
+
field, where the person types. */
|
|
1613
|
+
.xds-combobox__item[data-highlighted] {
|
|
1614
|
+
background: var(--xds-color-menu-item-background-hover);
|
|
1615
|
+
}
|
|
1616
|
+
|
|
1617
|
+
.xds-combobox__item:active {
|
|
1618
|
+
background: var(--xds-color-menu-item-background-pressed);
|
|
1619
|
+
}
|
|
1620
|
+
|
|
1621
|
+
.xds-combobox__item-words {
|
|
1622
|
+
display: flex;
|
|
1623
|
+
flex: 1 1 0%;
|
|
1624
|
+
flex-direction: column;
|
|
1625
|
+
min-width: 0;
|
|
1626
|
+
}
|
|
1627
|
+
|
|
1628
|
+
.xds-combobox__item-label,
|
|
1629
|
+
.xds-combobox__item-description {
|
|
1630
|
+
overflow: hidden;
|
|
1631
|
+
text-overflow: ellipsis;
|
|
1632
|
+
white-space: nowrap;
|
|
1633
|
+
}
|
|
1634
|
+
|
|
1635
|
+
.xds-combobox__item-description {
|
|
1636
|
+
font-size: var(--xds-typography-footnote-size);
|
|
1637
|
+
font-weight: var(--xds-typography-footnote-weight);
|
|
1638
|
+
line-height: var(--xds-typography-footnote-line-height);
|
|
1639
|
+
color: var(--xds-color-text-secondary);
|
|
1640
|
+
}
|
|
1641
|
+
|
|
1642
|
+
/* In the place of the rows, as quiet as a row's help line. */
|
|
1643
|
+
.xds-combobox__empty {
|
|
1644
|
+
padding: var(--xds-space-2);
|
|
1645
|
+
font-size: var(--xds-typography-detail-size);
|
|
1646
|
+
line-height: var(--xds-typography-detail-line-height);
|
|
1647
|
+
color: var(--xds-color-text-secondary);
|
|
1648
|
+
}
|
|
1649
|
+
|
|
1650
|
+
/* Forced colors draw every fill in the page's color, so the highlighted row takes the system's
|
|
1651
|
+
highlight, as a Select's does. The browser draws a backplate in the page's color behind text in
|
|
1652
|
+
forced colors, which would hide the highlight's text, so these keep their colors, which are the
|
|
1653
|
+
system's. */
|
|
1654
|
+
@media (forced-colors: active) {
|
|
1655
|
+
.xds-combobox__item[data-highlighted] {
|
|
1656
|
+
forced-color-adjust: none;
|
|
1657
|
+
background-color: Highlight;
|
|
1658
|
+
color: HighlightText;
|
|
1659
|
+
}
|
|
1660
|
+
|
|
1661
|
+
.xds-combobox__item[data-highlighted] * {
|
|
1662
|
+
color: inherit;
|
|
1663
|
+
}
|
|
1664
|
+
}
|
|
1665
|
+
}
|
|
1666
|
+
|
|
1667
|
+
/* As a Select's list, from the side of the field it opens on. */
|
|
1668
|
+
@keyframes xds-combobox-enter {
|
|
1669
|
+
from {
|
|
1670
|
+
opacity: 0;
|
|
1671
|
+
transform: translate3d(0, -0.25rem, 0) scale(0.95);
|
|
1672
|
+
}
|
|
1673
|
+
}
|
|
1674
|
+
|
|
1675
|
+
@keyframes xds-combobox-enter-above {
|
|
1676
|
+
from {
|
|
1677
|
+
opacity: 0;
|
|
1678
|
+
transform: translate3d(0, 0.25rem, 0) scale(0.95);
|
|
1088
1679
|
}
|
|
1089
1680
|
}
|
|
1090
1681
|
|
|
@@ -1410,6 +2001,29 @@
|
|
|
1410
2001
|
border-start-end-radius: var(--xds-radius-full);
|
|
1411
2002
|
border-end-end-radius: var(--xds-radius-full);
|
|
1412
2003
|
}
|
|
2004
|
+
|
|
2005
|
+
/* Forced colors draw every fill in the page's color: a chosen day, and the band of a range,
|
|
2006
|
+
take the system's highlight, as a chosen row of a list does. The browser draws a backplate in the page's color behind text in forced colors,
|
|
2007
|
+
which would hide the highlight's text, so these keep their colors, which are the system's. */
|
|
2008
|
+
@media (forced-colors: active) {
|
|
2009
|
+
.xds-date-picker__day[data-selected],
|
|
2010
|
+
.xds-date-picker__day[data-in-range]:not([data-outside-range]) {
|
|
2011
|
+
forced-color-adjust: none;
|
|
2012
|
+
color: HighlightText;
|
|
2013
|
+
}
|
|
2014
|
+
|
|
2015
|
+
.xds-date-picker__day[data-selected] {
|
|
2016
|
+
background-color: Highlight;
|
|
2017
|
+
}
|
|
2018
|
+
|
|
2019
|
+
.xds-date-picker__day[data-in-range]:not([data-selected], [data-outside-range]) {
|
|
2020
|
+
background-color: transparent;
|
|
2021
|
+
}
|
|
2022
|
+
|
|
2023
|
+
.xds-date-picker__cell:has(> [data-in-range]:not([data-outside-range]))::before {
|
|
2024
|
+
background: Highlight;
|
|
2025
|
+
}
|
|
2026
|
+
}
|
|
1413
2027
|
}
|
|
1414
2028
|
|
|
1415
2029
|
@layer components {
|
|
@@ -1540,6 +2154,61 @@
|
|
|
1540
2154
|
}
|
|
1541
2155
|
}
|
|
1542
2156
|
|
|
2157
|
+
@layer components {
|
|
2158
|
+
/* Inline text in the type of the text around it, so a link reads as part of its sentence.
|
|
2159
|
+
Underlined in every state, so it does not depend on color alone. A button keeps none of
|
|
2160
|
+
its own look. */
|
|
2161
|
+
.xds-link {
|
|
2162
|
+
display: inline;
|
|
2163
|
+
margin: 0;
|
|
2164
|
+
padding: 0;
|
|
2165
|
+
border: 0;
|
|
2166
|
+
border-radius: var(--xds-radius-sm);
|
|
2167
|
+
background: none;
|
|
2168
|
+
color: var(--xds-color-link-text);
|
|
2169
|
+
font: inherit;
|
|
2170
|
+
letter-spacing: inherit;
|
|
2171
|
+
text-align: inherit;
|
|
2172
|
+
text-decoration-line: underline;
|
|
2173
|
+
text-decoration-thickness: from-font;
|
|
2174
|
+
cursor: pointer;
|
|
2175
|
+
outline: none;
|
|
2176
|
+
-webkit-tap-highlight-color: transparent;
|
|
2177
|
+
transition: color var(--xds-motion-duration-fast) var(--xds-motion-easing-standard);
|
|
2178
|
+
}
|
|
2179
|
+
|
|
2180
|
+
@media (hover: hover) {
|
|
2181
|
+
.xds-link:hover {
|
|
2182
|
+
color: var(--xds-color-link-text-hover);
|
|
2183
|
+
}
|
|
2184
|
+
}
|
|
2185
|
+
|
|
2186
|
+
/* After the hover, so a press under a pointer shows too. */
|
|
2187
|
+
.xds-link:active {
|
|
2188
|
+
color: var(--xds-color-link-text-pressed);
|
|
2189
|
+
}
|
|
2190
|
+
|
|
2191
|
+
.xds-link:focus-visible {
|
|
2192
|
+
outline: var(--xds-focus-width) solid var(--xds-color-border-focus);
|
|
2193
|
+
outline-offset: var(--xds-focus-offset);
|
|
2194
|
+
}
|
|
2195
|
+
|
|
2196
|
+
/* Last, so neither the hover nor a press recolors it. Still underlined: it is a link that
|
|
2197
|
+
cannot be followed now, not text. */
|
|
2198
|
+
.xds-link[aria-disabled="true"] {
|
|
2199
|
+
color: var(--xds-color-link-disabled-text);
|
|
2200
|
+
cursor: not-allowed;
|
|
2201
|
+
}
|
|
2202
|
+
|
|
2203
|
+
/* Underlines do not reach an inline-block, so the icon stands clear of the line under the
|
|
2204
|
+
text. Its bottom sits on the bottom of the text, as a letter's descender does. */
|
|
2205
|
+
.xds-link__icon {
|
|
2206
|
+
display: inline-block;
|
|
2207
|
+
margin-inline-start: var(--xds-space-1);
|
|
2208
|
+
vertical-align: text-bottom;
|
|
2209
|
+
}
|
|
2210
|
+
}
|
|
2211
|
+
|
|
1543
2212
|
@layer components {
|
|
1544
2213
|
/* The trigger stays pressed while its menu is open, which ties the menu to the control it
|
|
1545
2214
|
came from. The underlay is over it, so the pointer does not turn it back to its hover
|
|
@@ -1682,6 +2351,22 @@
|
|
|
1682
2351
|
margin-block: var(--xds-space-1);
|
|
1683
2352
|
background: var(--xds-color-menu-border);
|
|
1684
2353
|
}
|
|
2354
|
+
|
|
2355
|
+
/* Forced colors draw every fill in the page's color, so the row under the pointer or the
|
|
2356
|
+
keyboard takes the system's highlight. The browser draws a backplate in the page's color behind text in forced colors,
|
|
2357
|
+
which would hide the highlight's text, so these keep their colors, which are the system's. */
|
|
2358
|
+
@media (forced-colors: active) {
|
|
2359
|
+
.xds-menu__item[data-highlighted],
|
|
2360
|
+
.xds-menu__item--danger[data-highlighted] {
|
|
2361
|
+
forced-color-adjust: none;
|
|
2362
|
+
background-color: Highlight;
|
|
2363
|
+
color: HighlightText;
|
|
2364
|
+
}
|
|
2365
|
+
|
|
2366
|
+
.xds-menu__item[data-highlighted] * {
|
|
2367
|
+
color: inherit;
|
|
2368
|
+
}
|
|
2369
|
+
}
|
|
1685
2370
|
}
|
|
1686
2371
|
|
|
1687
2372
|
/* Literal offsets and scales: a custom property inside a keyframe keeps WebKit from running the
|
|
@@ -1700,6 +2385,188 @@
|
|
|
1700
2385
|
}
|
|
1701
2386
|
}
|
|
1702
2387
|
|
|
2388
|
+
@layer components {
|
|
2389
|
+
.xds-pagination__list {
|
|
2390
|
+
display: flex;
|
|
2391
|
+
align-items: center;
|
|
2392
|
+
gap: var(--xds-space-1);
|
|
2393
|
+
margin: 0;
|
|
2394
|
+
padding: 0;
|
|
2395
|
+
list-style: none;
|
|
2396
|
+
}
|
|
2397
|
+
|
|
2398
|
+
.xds-pagination__list > li {
|
|
2399
|
+
display: flex;
|
|
2400
|
+
}
|
|
2401
|
+
|
|
2402
|
+
.xds-pagination__page,
|
|
2403
|
+
.xds-pagination__step,
|
|
2404
|
+
.xds-pagination__gap {
|
|
2405
|
+
display: inline-flex;
|
|
2406
|
+
align-items: center;
|
|
2407
|
+
justify-content: center;
|
|
2408
|
+
min-width: var(--xds-size-control-sm);
|
|
2409
|
+
height: var(--xds-size-control-sm);
|
|
2410
|
+
font-size: var(--xds-typography-label-size);
|
|
2411
|
+
font-weight: var(--xds-typography-label-weight);
|
|
2412
|
+
line-height: var(--xds-typography-label-line-height);
|
|
2413
|
+
font-variant-numeric: tabular-nums;
|
|
2414
|
+
}
|
|
2415
|
+
|
|
2416
|
+
.xds-pagination__page,
|
|
2417
|
+
.xds-pagination__step {
|
|
2418
|
+
padding-inline: var(--xds-space-2);
|
|
2419
|
+
/* Transparent until it is the page shown, so the outline never changes its size. */
|
|
2420
|
+
border: var(--xds-border-width-thin) solid transparent;
|
|
2421
|
+
border-radius: var(--xds-radius-md);
|
|
2422
|
+
background-color: transparent;
|
|
2423
|
+
color: var(--xds-color-pagination-text);
|
|
2424
|
+
outline: none;
|
|
2425
|
+
cursor: pointer;
|
|
2426
|
+
user-select: none;
|
|
2427
|
+
-webkit-tap-highlight-color: transparent;
|
|
2428
|
+
transition-property: background-color, border-color;
|
|
2429
|
+
transition-duration: var(--xds-motion-duration-fast);
|
|
2430
|
+
transition-timing-function: var(--xds-motion-easing-standard);
|
|
2431
|
+
}
|
|
2432
|
+
|
|
2433
|
+
.xds-pagination__step {
|
|
2434
|
+
padding-inline: 0;
|
|
2435
|
+
}
|
|
2436
|
+
|
|
2437
|
+
.xds-pagination__step svg {
|
|
2438
|
+
pointer-events: none;
|
|
2439
|
+
}
|
|
2440
|
+
|
|
2441
|
+
/* They point back and on, so they turn with the reading direction. */
|
|
2442
|
+
.xds-pagination__step svg:dir(rtl) {
|
|
2443
|
+
transform: scaleX(-1);
|
|
2444
|
+
}
|
|
2445
|
+
|
|
2446
|
+
@media (hover: hover) {
|
|
2447
|
+
.xds-pagination__page:not([aria-current]):hover,
|
|
2448
|
+
.xds-pagination__step:not([aria-disabled="true"]):hover {
|
|
2449
|
+
background-color: var(--xds-color-pagination-background-hover);
|
|
2450
|
+
}
|
|
2451
|
+
}
|
|
2452
|
+
|
|
2453
|
+
.xds-pagination__page:not([aria-current]):active,
|
|
2454
|
+
.xds-pagination__step:not([aria-disabled="true"]):active {
|
|
2455
|
+
background-color: var(--xds-color-pagination-background-pressed);
|
|
2456
|
+
}
|
|
2457
|
+
|
|
2458
|
+
/* The page shown: an outline as well as a tint, so it does not depend on color. */
|
|
2459
|
+
.xds-pagination__page[aria-current="page"] {
|
|
2460
|
+
border-color: var(--xds-color-pagination-border-current);
|
|
2461
|
+
background-color: var(--xds-color-pagination-background-current);
|
|
2462
|
+
color: var(--xds-color-pagination-text-current);
|
|
2463
|
+
cursor: default;
|
|
2464
|
+
}
|
|
2465
|
+
|
|
2466
|
+
.xds-pagination__step[aria-disabled="true"] {
|
|
2467
|
+
color: var(--xds-color-pagination-text-disabled);
|
|
2468
|
+
cursor: not-allowed;
|
|
2469
|
+
}
|
|
2470
|
+
|
|
2471
|
+
.xds-pagination__gap {
|
|
2472
|
+
color: var(--xds-color-pagination-gap);
|
|
2473
|
+
}
|
|
2474
|
+
|
|
2475
|
+
.xds-pagination__page:focus-visible,
|
|
2476
|
+
.xds-pagination__step:focus-visible {
|
|
2477
|
+
box-shadow:
|
|
2478
|
+
0 0 0 var(--xds-focus-offset) var(--xds-color-background-base),
|
|
2479
|
+
0 0 0 calc(var(--xds-focus-width) + var(--xds-focus-offset)) var(--xds-color-border-focus);
|
|
2480
|
+
}
|
|
2481
|
+
}
|
|
2482
|
+
|
|
2483
|
+
@layer components {
|
|
2484
|
+
/* The trigger stays pressed while its popover is open, which ties the popover to the control
|
|
2485
|
+
it came from, as a menu's does. */
|
|
2486
|
+
.xds-popover__trigger[aria-expanded="true"] {
|
|
2487
|
+
background-color: var(--button-bg-pressed);
|
|
2488
|
+
}
|
|
2489
|
+
|
|
2490
|
+
.xds-popover__positioner {
|
|
2491
|
+
z-index: var(--xds-layer-overlay);
|
|
2492
|
+
}
|
|
2493
|
+
|
|
2494
|
+
.xds-popover {
|
|
2495
|
+
display: flex;
|
|
2496
|
+
flex-direction: column;
|
|
2497
|
+
gap: var(--xds-space-2);
|
|
2498
|
+
/* Six times `space.12`: room for a short form or a few lines of text. */
|
|
2499
|
+
width: min(calc(6 * var(--xds-space-12)), calc(100svw - 2 * var(--xds-space-4)));
|
|
2500
|
+
max-height: var(--available-height);
|
|
2501
|
+
padding: var(--xds-space-4);
|
|
2502
|
+
overflow-y: auto;
|
|
2503
|
+
overscroll-behavior: contain;
|
|
2504
|
+
border: var(--xds-border-width-thin) solid var(--xds-color-popover-border);
|
|
2505
|
+
border-radius: var(--xds-radius-lg);
|
|
2506
|
+
background: var(--xds-color-popover-background);
|
|
2507
|
+
color: var(--xds-color-popover-text);
|
|
2508
|
+
box-shadow: var(--xds-shadow-raised);
|
|
2509
|
+
outline: none;
|
|
2510
|
+
font-size: var(--xds-typography-body-size);
|
|
2511
|
+
line-height: var(--xds-typography-body-line-height);
|
|
2512
|
+
transform-origin: var(--transform-origin);
|
|
2513
|
+
}
|
|
2514
|
+
|
|
2515
|
+
.xds-popover[data-state="open"] {
|
|
2516
|
+
animation: xds-popover-in var(--xds-motion-duration-fast) var(--xds-motion-easing-standard);
|
|
2517
|
+
}
|
|
2518
|
+
|
|
2519
|
+
.xds-popover[data-state="closed"] {
|
|
2520
|
+
animation: xds-popover-out var(--xds-motion-duration-fast) var(--xds-motion-easing-standard)
|
|
2521
|
+
forwards;
|
|
2522
|
+
}
|
|
2523
|
+
|
|
2524
|
+
@keyframes xds-popover-in {
|
|
2525
|
+
from {
|
|
2526
|
+
opacity: 0;
|
|
2527
|
+
transform: scale(var(--xds-motion-press-scale));
|
|
2528
|
+
}
|
|
2529
|
+
}
|
|
2530
|
+
|
|
2531
|
+
@keyframes xds-popover-out {
|
|
2532
|
+
to {
|
|
2533
|
+
opacity: 0;
|
|
2534
|
+
transform: scale(var(--xds-motion-press-scale));
|
|
2535
|
+
}
|
|
2536
|
+
}
|
|
2537
|
+
|
|
2538
|
+
@media (prefers-reduced-motion: reduce) {
|
|
2539
|
+
.xds-popover[data-state] {
|
|
2540
|
+
animation: none;
|
|
2541
|
+
}
|
|
2542
|
+
}
|
|
2543
|
+
|
|
2544
|
+
.xds-popover__header {
|
|
2545
|
+
display: flex;
|
|
2546
|
+
align-items: center;
|
|
2547
|
+
justify-content: space-between;
|
|
2548
|
+
gap: var(--xds-space-2);
|
|
2549
|
+
/* The close button's own room around its icon, so its icon lines up with the edge. */
|
|
2550
|
+
margin-inline-end: calc(-1 * var(--xds-space-2));
|
|
2551
|
+
margin-block: calc(-1 * var(--xds-space-1));
|
|
2552
|
+
}
|
|
2553
|
+
|
|
2554
|
+
.xds-popover__title {
|
|
2555
|
+
margin: 0;
|
|
2556
|
+
color: var(--xds-color-popover-title);
|
|
2557
|
+
font-size: var(--xds-typography-heading-size);
|
|
2558
|
+
font-weight: var(--xds-typography-heading-weight);
|
|
2559
|
+
line-height: var(--xds-typography-heading-line-height);
|
|
2560
|
+
letter-spacing: var(--xds-typography-heading-letter-spacing);
|
|
2561
|
+
}
|
|
2562
|
+
|
|
2563
|
+
.xds-popover__body {
|
|
2564
|
+
display: flex;
|
|
2565
|
+
flex-direction: column;
|
|
2566
|
+
gap: var(--xds-space-3);
|
|
2567
|
+
}
|
|
2568
|
+
}
|
|
2569
|
+
|
|
1703
2570
|
@layer components {
|
|
1704
2571
|
.xds-radio-group {
|
|
1705
2572
|
display: flex;
|
|
@@ -1846,11 +2713,36 @@
|
|
|
1846
2713
|
.xds-radio-group__description {
|
|
1847
2714
|
color: var(--xds-color-text-disabled);
|
|
1848
2715
|
}
|
|
2716
|
+
|
|
2717
|
+
/* Forced colors draw every fill in the page's color, which would hide the dot and a disabled
|
|
2718
|
+
circle: the dot takes the system's highlight, and a disabled group the system's gray, its
|
|
2719
|
+
circle outlined. */
|
|
2720
|
+
@media (forced-colors: active) {
|
|
2721
|
+
.xds-radio-group__dot {
|
|
2722
|
+
background-color: Highlight;
|
|
2723
|
+
}
|
|
2724
|
+
|
|
2725
|
+
.xds-radio-group__option:has(> .xds-radio-group__input:disabled) .xds-radio-group__circle {
|
|
2726
|
+
border: var(--xds-border-width-thin) solid GrayText;
|
|
2727
|
+
}
|
|
2728
|
+
|
|
2729
|
+
.xds-radio-group__option:has(> .xds-radio-group__input:disabled) .xds-radio-group__dot {
|
|
2730
|
+
background-color: GrayText;
|
|
2731
|
+
}
|
|
2732
|
+
|
|
2733
|
+
.xds-radio-group:has(.xds-radio-group__input:disabled) .xds-radio-group__label,
|
|
2734
|
+
.xds-radio-group__option:has(> .xds-radio-group__input:disabled) .xds-radio-group__text,
|
|
2735
|
+
.xds-radio-group__option:has(> .xds-radio-group__input:disabled)
|
|
2736
|
+
.xds-radio-group__description {
|
|
2737
|
+
color: GrayText;
|
|
2738
|
+
}
|
|
2739
|
+
}
|
|
1849
2740
|
}
|
|
1850
2741
|
|
|
1851
2742
|
@layer components {
|
|
1852
2743
|
.xds-select,
|
|
1853
|
-
.xds-date-picker
|
|
2744
|
+
.xds-date-picker,
|
|
2745
|
+
.xds-time-picker {
|
|
1854
2746
|
display: flex;
|
|
1855
2747
|
flex-direction: column;
|
|
1856
2748
|
gap: var(--xds-space-1);
|
|
@@ -1858,7 +2750,8 @@
|
|
|
1858
2750
|
}
|
|
1859
2751
|
|
|
1860
2752
|
.xds-select__label,
|
|
1861
|
-
.xds-date-picker__label
|
|
2753
|
+
.xds-date-picker__label,
|
|
2754
|
+
.xds-time-picker__label {
|
|
1862
2755
|
width: fit-content;
|
|
1863
2756
|
font-size: var(--xds-typography-label-size);
|
|
1864
2757
|
font-weight: var(--xds-typography-label-weight);
|
|
@@ -1867,7 +2760,8 @@
|
|
|
1867
2760
|
}
|
|
1868
2761
|
|
|
1869
2762
|
.xds-select:has(.xds-select__trigger:disabled) .xds-select__label,
|
|
1870
|
-
.xds-date-picker:has(.xds-date-picker__trigger:disabled) .xds-date-picker__label
|
|
2763
|
+
.xds-date-picker:has(.xds-date-picker__trigger:disabled) .xds-date-picker__label,
|
|
2764
|
+
.xds-time-picker:has(.xds-time-picker__trigger:disabled) .xds-time-picker__label {
|
|
1871
2765
|
opacity: 0.5;
|
|
1872
2766
|
cursor: not-allowed;
|
|
1873
2767
|
pointer-events: none;
|
|
@@ -1876,9 +2770,10 @@
|
|
|
1876
2770
|
/* ------------------------------------------------------------ the field */
|
|
1877
2771
|
|
|
1878
2772
|
/* A text field's box: the same height, inset, corners and type, with the icon at the end
|
|
1879
|
-
(the chevrons, or a
|
|
2773
|
+
(the chevrons, a DatePicker's calendar or a TimePicker's clock) a gap away from the value. */
|
|
1880
2774
|
.xds-select__trigger,
|
|
1881
|
-
.xds-date-picker__trigger
|
|
2775
|
+
.xds-date-picker__trigger,
|
|
2776
|
+
.xds-time-picker__trigger {
|
|
1882
2777
|
position: relative;
|
|
1883
2778
|
isolation: isolate;
|
|
1884
2779
|
display: flex;
|
|
@@ -1905,34 +2800,39 @@
|
|
|
1905
2800
|
|
|
1906
2801
|
/* A text field's ring sits on its border, not a gap away from it. */
|
|
1907
2802
|
.xds-select__trigger:focus-visible,
|
|
1908
|
-
.xds-date-picker__trigger:focus-visible
|
|
2803
|
+
.xds-date-picker__trigger:focus-visible,
|
|
2804
|
+
.xds-time-picker__trigger:focus-visible {
|
|
1909
2805
|
border-color: var(--xds-color-field-border-focus);
|
|
1910
2806
|
}
|
|
1911
2807
|
|
|
1912
2808
|
/* Invalid as a text field is: red, and thicker, so the state does not depend on telling
|
|
1913
2809
|
colors apart. Focused, it stays red and the inner line goes. */
|
|
1914
2810
|
.xds-select__trigger[data-invalid],
|
|
1915
|
-
.xds-date-picker__trigger[data-invalid]
|
|
2811
|
+
.xds-date-picker__trigger[data-invalid],
|
|
2812
|
+
.xds-time-picker__trigger[data-invalid] {
|
|
1916
2813
|
border-color: var(--xds-color-field-border-invalid);
|
|
1917
2814
|
box-shadow: inset 0 0 0 var(--xds-border-width-thin) var(--xds-color-field-border-invalid);
|
|
1918
2815
|
outline: var(--xds-border-width-thin) solid var(--xds-color-danger-default);
|
|
1919
2816
|
}
|
|
1920
2817
|
|
|
1921
2818
|
.xds-select__trigger[data-invalid]:focus,
|
|
1922
|
-
.xds-date-picker__trigger[data-invalid]:focus
|
|
2819
|
+
.xds-date-picker__trigger[data-invalid]:focus,
|
|
2820
|
+
.xds-time-picker__trigger[data-invalid]:focus {
|
|
1923
2821
|
box-shadow: none;
|
|
1924
2822
|
}
|
|
1925
2823
|
|
|
1926
2824
|
/* After focus and the error, which it outranks. */
|
|
1927
2825
|
@media (hover: hover) {
|
|
1928
2826
|
.xds-select__trigger:hover,
|
|
1929
|
-
.xds-date-picker__trigger:hover
|
|
2827
|
+
.xds-date-picker__trigger:hover,
|
|
2828
|
+
.xds-time-picker__trigger:hover {
|
|
1930
2829
|
border-color: var(--xds-color-text-primary);
|
|
1931
2830
|
}
|
|
1932
2831
|
}
|
|
1933
2832
|
|
|
1934
2833
|
.xds-select__trigger:disabled,
|
|
1935
|
-
.xds-date-picker__trigger:disabled
|
|
2834
|
+
.xds-date-picker__trigger:disabled,
|
|
2835
|
+
.xds-time-picker__trigger:disabled {
|
|
1936
2836
|
opacity: 0.5;
|
|
1937
2837
|
cursor: not-allowed;
|
|
1938
2838
|
pointer-events: none;
|
|
@@ -1940,7 +2840,8 @@
|
|
|
1940
2840
|
|
|
1941
2841
|
/* One line, cut short with an ellipsis, so a long option does not make the field taller. */
|
|
1942
2842
|
.xds-select__value,
|
|
1943
|
-
.xds-date-picker__value
|
|
2843
|
+
.xds-date-picker__value,
|
|
2844
|
+
.xds-time-picker__value {
|
|
1944
2845
|
flex: 1 1 0%;
|
|
1945
2846
|
min-width: 0;
|
|
1946
2847
|
overflow: hidden;
|
|
@@ -1952,45 +2853,53 @@
|
|
|
1952
2853
|
}
|
|
1953
2854
|
|
|
1954
2855
|
.xds-select__trigger[data-placeholder-shown] .xds-select__value,
|
|
1955
|
-
.xds-date-picker__trigger[data-placeholder-shown] .xds-date-picker__value
|
|
2856
|
+
.xds-date-picker__trigger[data-placeholder-shown] .xds-date-picker__value,
|
|
2857
|
+
.xds-time-picker__trigger[data-placeholder-shown] .xds-time-picker__value {
|
|
1956
2858
|
color: var(--xds-color-field-placeholder);
|
|
1957
2859
|
}
|
|
1958
2860
|
|
|
1959
2861
|
/* One line under the box, as under a TextField: the help or the error. When nothing is shown
|
|
1960
2862
|
the line takes no room so the empty live error region stays mounted without shifting layout. */
|
|
1961
2863
|
.xds-select__footer,
|
|
1962
|
-
.xds-date-picker__footer
|
|
2864
|
+
.xds-date-picker__footer,
|
|
2865
|
+
.xds-time-picker__footer {
|
|
1963
2866
|
display: flex;
|
|
1964
2867
|
align-items: baseline;
|
|
1965
2868
|
gap: var(--xds-space-3);
|
|
1966
2869
|
}
|
|
1967
2870
|
|
|
1968
2871
|
.xds-select__footer:not(:has(> :not(:empty))),
|
|
1969
|
-
.xds-date-picker__footer:not(:has(> :not(:empty)))
|
|
2872
|
+
.xds-date-picker__footer:not(:has(> :not(:empty))),
|
|
2873
|
+
.xds-time-picker__footer:not(:has(> :not(:empty))) {
|
|
1970
2874
|
position: absolute;
|
|
1971
2875
|
}
|
|
1972
2876
|
|
|
1973
2877
|
.xds-select__description,
|
|
1974
2878
|
.xds-select__error,
|
|
1975
2879
|
.xds-date-picker__description,
|
|
1976
|
-
.xds-date-picker__error
|
|
2880
|
+
.xds-date-picker__error,
|
|
2881
|
+
.xds-time-picker__description,
|
|
2882
|
+
.xds-time-picker__error {
|
|
1977
2883
|
font-size: var(--xds-typography-detail-size);
|
|
1978
2884
|
line-height: var(--xds-typography-detail-line-height);
|
|
1979
2885
|
overflow-wrap: break-word;
|
|
1980
2886
|
}
|
|
1981
2887
|
|
|
1982
2888
|
.xds-select__description,
|
|
1983
|
-
.xds-date-picker__description
|
|
2889
|
+
.xds-date-picker__description,
|
|
2890
|
+
.xds-time-picker__description {
|
|
1984
2891
|
color: var(--xds-color-text-secondary);
|
|
1985
2892
|
}
|
|
1986
2893
|
|
|
1987
2894
|
.xds-select__error,
|
|
1988
|
-
.xds-date-picker__error
|
|
2895
|
+
.xds-date-picker__error,
|
|
2896
|
+
.xds-time-picker__error {
|
|
1989
2897
|
color: var(--xds-color-status-danger);
|
|
1990
2898
|
}
|
|
1991
2899
|
|
|
1992
2900
|
.xds-select__error:empty,
|
|
1993
|
-
.xds-date-picker__error:empty
|
|
2901
|
+
.xds-date-picker__error:empty,
|
|
2902
|
+
.xds-time-picker__error:empty {
|
|
1994
2903
|
position: absolute;
|
|
1995
2904
|
}
|
|
1996
2905
|
|
|
@@ -1998,19 +2907,22 @@
|
|
|
1998
2907
|
|
|
1999
2908
|
/* Over the page and under the open list, as under a Menu: a press outside only closes the
|
|
2000
2909
|
list, and the field under the pointer keeps its own border meanwhile. */
|
|
2001
|
-
.xds-select__underlay
|
|
2910
|
+
.xds-select__underlay,
|
|
2911
|
+
.xds-time-picker__underlay {
|
|
2002
2912
|
position: fixed;
|
|
2003
2913
|
inset: 0;
|
|
2004
2914
|
z-index: calc(var(--xds-layer-overlay) + var(--layer-index, 0));
|
|
2005
2915
|
}
|
|
2006
2916
|
|
|
2007
2917
|
/* Zag sets the position, and the width: exactly the field's, however short the options. */
|
|
2008
|
-
.xds-select__positioner
|
|
2918
|
+
.xds-select__positioner,
|
|
2919
|
+
.xds-time-picker__positioner {
|
|
2009
2920
|
z-index: calc(var(--xds-layer-overlay) + var(--layer-index, 0));
|
|
2010
2921
|
}
|
|
2011
2922
|
|
|
2012
2923
|
/* A menu's surface. It scrolls when the window has no room for all of it. */
|
|
2013
|
-
.xds-select__content
|
|
2924
|
+
.xds-select__content,
|
|
2925
|
+
.xds-time-picker__content {
|
|
2014
2926
|
max-height: var(--available-height);
|
|
2015
2927
|
overflow-y: auto;
|
|
2016
2928
|
overscroll-behavior: contain;
|
|
@@ -2027,12 +2939,14 @@
|
|
|
2027
2939
|
animation: xds-select-enter var(--xds-motion-duration-fast) var(--xds-motion-easing-enter);
|
|
2028
2940
|
}
|
|
2029
2941
|
|
|
2030
|
-
.xds-select__content[data-side="top"]
|
|
2942
|
+
.xds-select__content[data-side="top"],
|
|
2943
|
+
.xds-time-picker__content[data-side="top"] {
|
|
2031
2944
|
animation-name: xds-select-enter-above;
|
|
2032
2945
|
}
|
|
2033
2946
|
|
|
2034
2947
|
/* After the rules above, which it replaces. A closing list takes no more presses. */
|
|
2035
|
-
.xds-select__content[data-state="closed"]
|
|
2948
|
+
.xds-select__content[data-state="closed"],
|
|
2949
|
+
.xds-time-picker__content[data-state="closed"] {
|
|
2036
2950
|
animation: xds-overlay-exit var(--xds-motion-duration-fast) var(--xds-motion-easing-exit)
|
|
2037
2951
|
forwards;
|
|
2038
2952
|
pointer-events: none;
|
|
@@ -2040,13 +2954,16 @@
|
|
|
2040
2954
|
|
|
2041
2955
|
@media (prefers-reduced-motion: reduce) {
|
|
2042
2956
|
.xds-select__content,
|
|
2043
|
-
.xds-select__content[data-state="closed"]
|
|
2957
|
+
.xds-select__content[data-state="closed"],
|
|
2958
|
+
.xds-time-picker__content,
|
|
2959
|
+
.xds-time-picker__content[data-state="closed"] {
|
|
2044
2960
|
animation: none;
|
|
2045
2961
|
}
|
|
2046
2962
|
}
|
|
2047
2963
|
|
|
2048
2964
|
/* Focus stays on the list while the arrow keys move the highlight, which is what shows. */
|
|
2049
|
-
.xds-select__list
|
|
2965
|
+
.xds-select__list,
|
|
2966
|
+
.xds-time-picker__list {
|
|
2050
2967
|
position: relative;
|
|
2051
2968
|
overflow: clip;
|
|
2052
2969
|
padding: var(--xds-space-1);
|
|
@@ -2056,7 +2973,8 @@
|
|
|
2056
2973
|
/* A row looks like a compact list row. A compact row is shorter than a finger needs, so on
|
|
2057
2974
|
a touch screen it grows to the smallest pressable size. The padding above and below only
|
|
2058
2975
|
shows on a row of two lines, an option with a description. */
|
|
2059
|
-
.xds-select__item
|
|
2976
|
+
.xds-select__item,
|
|
2977
|
+
.xds-time-picker__item {
|
|
2060
2978
|
position: relative;
|
|
2061
2979
|
display: flex;
|
|
2062
2980
|
align-items: center;
|
|
@@ -2077,15 +2995,18 @@
|
|
|
2077
2995
|
|
|
2078
2996
|
/* The pointer moves the same highlight as the arrow keys, so one rule draws both. The
|
|
2079
2997
|
highlight is a fill, which shows inside the list where a focus ring would be clipped. */
|
|
2080
|
-
.xds-select__item[data-highlighted]
|
|
2998
|
+
.xds-select__item[data-highlighted],
|
|
2999
|
+
.xds-time-picker__item[data-highlighted] {
|
|
2081
3000
|
background: var(--xds-color-menu-item-background-hover);
|
|
2082
3001
|
}
|
|
2083
3002
|
|
|
2084
|
-
.xds-select__item:active
|
|
3003
|
+
.xds-select__item:active,
|
|
3004
|
+
.xds-time-picker__item:active {
|
|
2085
3005
|
background: var(--xds-color-menu-item-background-pressed);
|
|
2086
3006
|
}
|
|
2087
3007
|
|
|
2088
|
-
.xds-select__item-words
|
|
3008
|
+
.xds-select__item-words,
|
|
3009
|
+
.xds-time-picker__item-words {
|
|
2089
3010
|
display: flex;
|
|
2090
3011
|
flex: 1 1 0%;
|
|
2091
3012
|
flex-direction: column;
|
|
@@ -2093,18 +3014,38 @@
|
|
|
2093
3014
|
}
|
|
2094
3015
|
|
|
2095
3016
|
.xds-select__item-label,
|
|
2096
|
-
.xds-select__item-description
|
|
3017
|
+
.xds-select__item-description,
|
|
3018
|
+
.xds-time-picker__item-label,
|
|
3019
|
+
.xds-time-picker__item-description {
|
|
2097
3020
|
overflow: hidden;
|
|
2098
3021
|
text-overflow: ellipsis;
|
|
2099
3022
|
white-space: nowrap;
|
|
2100
3023
|
}
|
|
2101
3024
|
|
|
2102
|
-
.xds-select__item-description
|
|
3025
|
+
.xds-select__item-description,
|
|
3026
|
+
.xds-time-picker__item-description {
|
|
2103
3027
|
font-size: var(--xds-typography-footnote-size);
|
|
2104
3028
|
font-weight: var(--xds-typography-footnote-weight);
|
|
2105
3029
|
line-height: var(--xds-typography-footnote-line-height);
|
|
2106
3030
|
color: var(--xds-color-text-secondary);
|
|
2107
3031
|
}
|
|
3032
|
+
|
|
3033
|
+
/* Forced colors draw every fill in the page's color, so the row under the pointer or the
|
|
3034
|
+
keyboard takes the system's highlight. The browser draws a backplate in the page's color behind text in forced colors,
|
|
3035
|
+
which would hide the highlight's text, so these keep their colors, which are the system's. */
|
|
3036
|
+
@media (forced-colors: active) {
|
|
3037
|
+
.xds-select__item[data-highlighted],
|
|
3038
|
+
.xds-time-picker__item[data-highlighted] {
|
|
3039
|
+
forced-color-adjust: none;
|
|
3040
|
+
background-color: Highlight;
|
|
3041
|
+
color: HighlightText;
|
|
3042
|
+
}
|
|
3043
|
+
|
|
3044
|
+
.xds-select__item[data-highlighted] *,
|
|
3045
|
+
.xds-time-picker__item[data-highlighted] * {
|
|
3046
|
+
color: inherit;
|
|
3047
|
+
}
|
|
3048
|
+
}
|
|
2108
3049
|
}
|
|
2109
3050
|
|
|
2110
3051
|
/* The list grows a little as it fades in, from the side of the field it opens on. The scale
|
|
@@ -2252,6 +3193,127 @@
|
|
|
2252
3193
|
.xds-slider[data-disabled] .xds-slider__control {
|
|
2253
3194
|
cursor: default;
|
|
2254
3195
|
}
|
|
3196
|
+
|
|
3197
|
+
/* Forced colors draw every fill in the page's color: the line and the thumb's edge take the
|
|
3198
|
+
text's, and the part before the thumb the system's highlight. */
|
|
3199
|
+
@media (forced-colors: active) {
|
|
3200
|
+
.xds-slider__track::before {
|
|
3201
|
+
background: CanvasText;
|
|
3202
|
+
}
|
|
3203
|
+
|
|
3204
|
+
.xds-slider__range {
|
|
3205
|
+
background: Highlight;
|
|
3206
|
+
}
|
|
3207
|
+
|
|
3208
|
+
.xds-slider__thumb {
|
|
3209
|
+
border-color: CanvasText;
|
|
3210
|
+
background: Canvas;
|
|
3211
|
+
}
|
|
3212
|
+
|
|
3213
|
+
.xds-slider[data-disabled] .xds-slider__track::before,
|
|
3214
|
+
.xds-slider[data-disabled] .xds-slider__range,
|
|
3215
|
+
.xds-slider[data-disabled] .xds-slider__thumb {
|
|
3216
|
+
border-color: GrayText;
|
|
3217
|
+
background: GrayText;
|
|
3218
|
+
}
|
|
3219
|
+
}
|
|
3220
|
+
}
|
|
3221
|
+
|
|
3222
|
+
@layer components {
|
|
3223
|
+
.xds-table {
|
|
3224
|
+
overflow-x: auto;
|
|
3225
|
+
border: var(--xds-border-width-thin) solid var(--xds-color-table-border);
|
|
3226
|
+
/* A card's corners: a table is a card of rows. */
|
|
3227
|
+
border-radius: var(--xds-radius-lg);
|
|
3228
|
+
background-color: var(--xds-color-table-background);
|
|
3229
|
+
}
|
|
3230
|
+
|
|
3231
|
+
.xds-table__table {
|
|
3232
|
+
width: 100%;
|
|
3233
|
+
border-collapse: collapse;
|
|
3234
|
+
color: var(--xds-color-table-text);
|
|
3235
|
+
font-size: var(--xds-typography-body-size);
|
|
3236
|
+
font-weight: var(--xds-typography-body-weight);
|
|
3237
|
+
line-height: var(--xds-typography-body-line-height);
|
|
3238
|
+
}
|
|
3239
|
+
|
|
3240
|
+
.xds-table__header,
|
|
3241
|
+
.xds-table__cell,
|
|
3242
|
+
.xds-table__empty {
|
|
3243
|
+
padding: var(--xds-space-2) var(--xds-space-3);
|
|
3244
|
+
text-align: start;
|
|
3245
|
+
vertical-align: middle;
|
|
3246
|
+
}
|
|
3247
|
+
|
|
3248
|
+
.xds-table__header {
|
|
3249
|
+
background-color: var(--xds-color-table-header-background);
|
|
3250
|
+
color: var(--xds-color-table-header-text);
|
|
3251
|
+
font-size: var(--xds-typography-label-size);
|
|
3252
|
+
font-weight: var(--xds-typography-label-weight);
|
|
3253
|
+
line-height: var(--xds-typography-label-line-height);
|
|
3254
|
+
white-space: nowrap;
|
|
3255
|
+
}
|
|
3256
|
+
|
|
3257
|
+
.xds-table__header[aria-sort] {
|
|
3258
|
+
color: var(--xds-color-table-header-text-hover);
|
|
3259
|
+
}
|
|
3260
|
+
|
|
3261
|
+
/* Rows apart by a line between them, which the frame's outline closes at the ends. */
|
|
3262
|
+
.xds-table__row + .xds-table__row > *,
|
|
3263
|
+
thead + tbody > .xds-table__row:first-child > * {
|
|
3264
|
+
border-top: var(--xds-border-width-thin) solid var(--xds-color-table-border);
|
|
3265
|
+
}
|
|
3266
|
+
|
|
3267
|
+
.xds-table__cell--end {
|
|
3268
|
+
text-align: end;
|
|
3269
|
+
font-variant-numeric: tabular-nums;
|
|
3270
|
+
}
|
|
3271
|
+
|
|
3272
|
+
/* As wide as the header's text, with the arrow after it, and the header's own type. */
|
|
3273
|
+
.xds-table__sort {
|
|
3274
|
+
display: inline-flex;
|
|
3275
|
+
align-items: center;
|
|
3276
|
+
gap: var(--xds-space-1);
|
|
3277
|
+
margin: 0;
|
|
3278
|
+
padding: 0;
|
|
3279
|
+
border: none;
|
|
3280
|
+
border-radius: var(--xds-radius-sm);
|
|
3281
|
+
background: none;
|
|
3282
|
+
color: inherit;
|
|
3283
|
+
font: inherit;
|
|
3284
|
+
text-align: inherit;
|
|
3285
|
+
outline: none;
|
|
3286
|
+
cursor: pointer;
|
|
3287
|
+
user-select: none;
|
|
3288
|
+
-webkit-tap-highlight-color: transparent;
|
|
3289
|
+
}
|
|
3290
|
+
|
|
3291
|
+
/* A header aligned to the end has its arrow before its text, so the text lines up with the numbers. */
|
|
3292
|
+
.xds-table__cell--end > .xds-table__sort {
|
|
3293
|
+
flex-direction: row-reverse;
|
|
3294
|
+
}
|
|
3295
|
+
|
|
3296
|
+
.xds-table__sort svg {
|
|
3297
|
+
flex-shrink: 0;
|
|
3298
|
+
pointer-events: none;
|
|
3299
|
+
}
|
|
3300
|
+
|
|
3301
|
+
@media (hover: hover) {
|
|
3302
|
+
.xds-table__sort:hover {
|
|
3303
|
+
color: var(--xds-color-table-header-text-hover);
|
|
3304
|
+
}
|
|
3305
|
+
}
|
|
3306
|
+
|
|
3307
|
+
.xds-table__sort:focus-visible {
|
|
3308
|
+
box-shadow:
|
|
3309
|
+
0 0 0 var(--xds-focus-offset) var(--xds-color-table-header-background),
|
|
3310
|
+
0 0 0 calc(var(--xds-focus-width) + var(--xds-focus-offset)) var(--xds-color-border-focus);
|
|
3311
|
+
}
|
|
3312
|
+
|
|
3313
|
+
.xds-table__empty {
|
|
3314
|
+
color: var(--xds-color-text-secondary);
|
|
3315
|
+
text-align: center;
|
|
3316
|
+
}
|
|
2255
3317
|
}
|
|
2256
3318
|
|
|
2257
3319
|
@layer components {
|
|
@@ -2353,6 +3415,14 @@
|
|
|
2353
3415
|
transition: none;
|
|
2354
3416
|
}
|
|
2355
3417
|
}
|
|
3418
|
+
|
|
3419
|
+
/* Forced colors draw every fill in the page's color, which would hide the bar under the
|
|
3420
|
+
selected tab: it takes the system's highlight. */
|
|
3421
|
+
@media (forced-colors: active) {
|
|
3422
|
+
.xds-tabs__indicator {
|
|
3423
|
+
background: Highlight;
|
|
3424
|
+
}
|
|
3425
|
+
}
|
|
2356
3426
|
}
|
|
2357
3427
|
|
|
2358
3428
|
@layer components {
|
|
@@ -2635,6 +3705,13 @@
|
|
|
2635
3705
|
border-radius: calc(var(--xds-radius-sm) - var(--xds-space-0-5));
|
|
2636
3706
|
font: inherit;
|
|
2637
3707
|
}
|
|
3708
|
+
|
|
3709
|
+
/* Forced colors draw no shadow and fill the tooltip in the page's color, so its edge is drawn. */
|
|
3710
|
+
@media (forced-colors: active) {
|
|
3711
|
+
.xds-tooltip {
|
|
3712
|
+
outline: var(--xds-border-width-thin) solid CanvasText;
|
|
3713
|
+
}
|
|
3714
|
+
}
|
|
2638
3715
|
}
|
|
2639
3716
|
|
|
2640
3717
|
/* Literal offsets and scales: a custom property inside a keyframe keeps WebKit from running the
|
|
@@ -2669,4 +3746,4 @@
|
|
|
2669
3746
|
|
|
2670
3747
|
}
|
|
2671
3748
|
|
|
2672
|
-
@source inline("*:opacity-0 -m-1 -me-1 -mt-4 -mx-4 -mx-6 -my-2 [&::-webkit-scrollbar]:hidden [&:popover-open]:flex [scrollbar-width:none] absolute active:bg-xds-card-background-pressed active:bg-xds-list-row-background-pressed active:bg-xds-list-row-background-selected-hover after:-inset-(--xds-border-width-thin) after:absolute after:border-(length:--xds-border-width-thick) after:border-xds-card-border-selected after:pointer-events-none after:rounded-xds-lg animate-[xds-skeleton-pulse_var(--xds-motion-duration-pulse)_var(--xds-motion-easing-standard)_infinite] animate-[xds-toast-enter_var(--xds-motion-duration-normal)_var(--xds-motion-easing-enter)] animate-spin aspect-[4/3] aspect-[9/16] aspect-square aspect-video before:-translate-y-1/2 before:absolute before:h-[max(100%,var(--xds-size-target-min))] before:inset-x-0 before:top-1/2 bg-xds-accent-default bg-xds-avatar-background bg-xds-avatar-overflow-background bg-xds-background-base bg-xds-background-surface bg-xds-badge-accent-background bg-xds-badge-count-background bg-xds-badge-danger-background bg-xds-badge-neutral-background bg-xds-badge-overlay-background bg-xds-badge-success-background bg-xds-badge-warning-background bg-xds-banner-danger-background bg-xds-banner-info-background bg-xds-banner-success-background bg-xds-banner-warning-background bg-xds-border-default bg-xds-chip-background bg-xds-chip-selected-background bg-xds-list-row-background-selected bg-xds-overlay-accent bg-xds-overlay-background bg-xds-progress-fill bg-xds-progress-track bg-xds-segmented-track bg-xds-sidebar-background bg-xds-sidebar-border bg-xds-skeleton-background bg-xds-switch-thumb bg-xds-switch-track bg-xds-thumbnail-background bg-xds-toast-background bg-current bg-transparent block blur border border-0 border-2 border-xds-border-default border-xds-border-strong border-xds-card-border-selected border-xds-checkbox-border border-xds-chip-selected-border border-xds-sidebar-border border-b border-e border-transparent bottom-0 bottom-2 bottom-[calc(var(--xds-space-1)+var(--xds-space-2))] break-all container contents cursor-pointer disabled:bg-xds-chip-disabled-background disabled:border-transparent disabled:cursor-not-allowed disabled:hover:bg-xds-list-row-background-selected disabled:hover:bg-transparent disabled:text-xds-chip-disabled-text duration-(--xds-motion-duration-fast) duration-(--xds-motion-duration-normal) ease-(--xds-motion-easing-standard) enabled:active:bg-xds-chip-background-pressed enabled:active:bg-xds-chip-selected-background-pressed enabled:hover:bg-xds-chip-background-hover enabled:hover:bg-xds-chip-selected-background-hover end-2 end-[calc(var(--xds-size-count-badge)/-4)] filter fixed flex flex-1 flex-col flex-wrap focus-visible:-outline-offset-(--xds-focus-offset) focus-visible:outline-(length:--xds-focus-width) focus-visible:outline-xds-border-focus focus-visible:outline-current focus-visible:outline-offset-(--xds-focus-offset) focus-visible:outline-solid gap-0.5 gap-1 gap-1.5 gap-12 gap-2 gap-3 gap-4 gap-6 gap-8 gap-x-8 gap-y-6 grid grid-cols-2 grid-cols-[repeat(auto-fill,minmax(8rem,1fr))] group-aria-expanded:rotate-180 h-(--xds-border-width-thin) h-(--xds-space-1) h-(--xds-typography-body-size) h-24 h-28 h-[28rem] h-xds-badge h-xds-chip h-xds-control-md h-xds-count-badge h-xds-progress h-xds-switch-height h-full h-lh h-px has-disabled:cursor-not-allowed hidden hover:bg-xds-card-background-hover hover:bg-xds-control-default hover:bg-xds-list-row-background-hover hover:bg-xds-list-row-background-selected-hover hover:text-xds-field-text hover:text-xds-text-primary hover:underline inline-flex inset-0 inset-x-0 invisible items-center items-end items-start justify-between justify-center line-clamp-2 m-0 m-auto max-w-4xl max-w-xds-dialog max-w-xds-toast max-w-md max-w-none max-w-sm max-w-xs mb-2 mb-4 min-h-0 min-h-[calc(var(--xds-size-target-min)+var(--xds-space-2))] min-h-xds-list-row min-h-xds-list-row-compact min-h-xds-target-min min-w-0 min-w-xds-count-badge min-w-xds-target-min motion-reduce:animate-none motion-reduce:animate-pulse motion-reduce:transition-none ms-auto mt-0.5 mt-2 mt-4 mt-6 mx-2 mx-auto not-first:ms-[calc(var(--xds-size-avatar-lg)/-4)] not-first:ms-[calc(var(--xds-size-avatar-md)/-4)] not-first:ms-[calc(var(--xds-size-avatar-sm)/-4)] not-first:ms-[calc(var(--xds-size-avatar-xl)/-4)] object-cover outline outline-(length:--xds-border-width-thick) outline-xds-avatar-ring outline-solid overflow-hidden overflow-visible overflow-x-auto overflow-y-auto p-0.5 p-1 p-2 p-3 p-4 p-6 pb-1 pb-[calc(var(--xds-space-4)+env(safe-area-inset-bottom))] peer-checked:*:opacity-100 peer-checked:*:translate-x-[calc(var(--xds-size-switch-width)-var(--xds-size-switch-height))] peer-checked:bg-xds-checkbox-background-checked peer-checked:bg-xds-segmented-selected-background peer-checked:bg-xds-switch-track-on peer-checked:border-0 peer-checked:border-xds-segmented-selected-border peer-checked:shadow-xds-subtle peer-checked:text-xds-segmented-selected-text peer-disabled:*:bg-xds-switch-disabled-thumb peer-disabled:bg-xds-checkbox-disabled-background peer-disabled:bg-xds-switch-disabled-track peer-disabled:border-0 peer-disabled:text-xds-checkbox-disabled-mark peer-disabled:text-xds-text-secondary peer-focus-visible:outline-(length:--xds-focus-width) peer-focus-visible:outline-xds-border-focus peer-focus-visible:outline-offset-(--xds-focus-offset) peer-focus-visible:outline-solid pointer-events-auto pointer-events-none ps-3 px-1 px-2 px-2.5 px-3 px-4 px-6 py-1 py-2 py-3 py-8 relative rounded-[calc(var(--xds-radius-lg)-var(--xds-border-width-thin))] rounded-[calc(var(--xds-radius-md)-2px)] rounded-xds-full rounded-xds-lg rounded-xds-md rounded-xds-sm rounded-full rounded-t-[calc(var(--xds-radius-lg)-var(--xds-border-width-thin))] rtl:-scale-x-100 scroll-mt-20 select-none self-center shadow shadow-xds-raised shadow-xds-subtle shrink-0 size-1.5 size-12 size-3/4 size-8 size-xds-avatar-lg size-xds-avatar-md size-xds-avatar-sm size-xds-avatar-xl size-xds-checkbox size-xds-icon-lg size-xds-icon-md size-xds-icon-sm size-xds-icon-xl size-xds-icon-xs size-xds-spinner-lg size-xds-spinner-md size-xds-spinner-sm size-xds-target-min size-full sm:grid-cols-2 sm:grid-cols-3 sm:grid-cols-4 sm:grid-cols-5 sr-only start-2 static sticky table tabular-nums text-xds-accordion-icon text-xds-avatar-overflow-text text-xds-avatar-text text-xds-badge-accent-text text-xds-badge-count-text text-xds-badge-danger-text text-xds-badge-neutral-text text-xds-badge-overlay-text text-xds-badge-success-text text-xds-badge-warning-text text-xds-banner-danger-accent text-xds-banner-info-accent text-xds-banner-success-accent text-xds-banner-text text-xds-banner-warning-accent text-xds-body text-xds-body-strong text-xds-checkbox-mark text-xds-chip-selected-text text-xds-chip-text text-xds-detail text-xds-display text-xds-empty-state-icon text-xds-field-placeholder text-xds-footnote text-xds-heading text-xds-label text-xds-segmented-text text-xds-sidebar-section-title text-xds-status-danger text-xds-status-success text-xds-status-warning text-xds-text-accent text-xds-text-on-accent text-xds-text-primary text-xds-text-secondary text-xds-text-tertiary text-xds-thumbnail-icon text-xds-title text-xds-toast-action text-xds-toast-text text-center text-start top-0 top-2 top-[calc(var(--xds-size-count-badge)/-4)] top-auto transition-[width] transition-colors transition-transform truncate underline visible w-16 w-2/5 w-24 w-28 w-36 w-48 w-xds-sidebar w-xds-sidebar-rail w-xds-switch-width w-fit w-full whitespace-nowrap z-10");
|
|
3749
|
+
@source inline("*:opacity-0 -m-1 -me-1 -mt-4 -mx-4 -mx-6 -my-2 [&::-webkit-scrollbar]:hidden [&:popover-open]:flex [scrollbar-width:none] absolute active:bg-xds-card-background-pressed active:bg-xds-list-row-background-pressed active:bg-xds-list-row-background-selected-hover after:-inset-(--xds-border-width-thin) after:absolute after:border-(length:--xds-border-width-thick) after:border-xds-card-border-selected after:pointer-events-none after:rounded-xds-lg animate-[xds-skeleton-pulse_var(--xds-motion-duration-pulse)_var(--xds-motion-easing-standard)_infinite] animate-[xds-toast-enter_var(--xds-motion-duration-normal)_var(--xds-motion-easing-enter)] animate-spin aspect-[4/3] aspect-[9/16] aspect-square aspect-video before:-translate-y-1/2 before:absolute before:h-[max(100%,var(--xds-size-target-min))] before:inset-x-0 before:top-1/2 bg-xds-accent-default bg-xds-avatar-background bg-xds-avatar-overflow-background bg-xds-background-base bg-xds-background-surface bg-xds-badge-accent-background bg-xds-badge-count-background bg-xds-badge-danger-background bg-xds-badge-neutral-background bg-xds-badge-overlay-background bg-xds-badge-success-background bg-xds-badge-warning-background bg-xds-banner-danger-background bg-xds-banner-info-background bg-xds-banner-success-background bg-xds-banner-warning-background bg-xds-border-default bg-xds-chip-background bg-xds-chip-selected-background bg-xds-list-row-background-selected bg-xds-overlay-accent bg-xds-overlay-background bg-xds-progress-fill bg-xds-progress-track bg-xds-segmented-track bg-xds-sidebar-background bg-xds-sidebar-border bg-xds-skeleton-background bg-xds-switch-thumb bg-xds-switch-track bg-xds-thumbnail-background bg-xds-toast-background bg-current bg-transparent block blur border border-0 border-2 border-xds-border-default border-xds-border-strong border-xds-card-border-selected border-xds-checkbox-border border-xds-chip-selected-border border-xds-sidebar-border border-b border-e border-transparent bottom-0 bottom-2 bottom-[calc(var(--xds-space-1)+var(--xds-space-2))] break-all container contents cursor-pointer disabled:bg-xds-chip-disabled-background disabled:border-transparent disabled:cursor-not-allowed disabled:hover:bg-xds-list-row-background-selected disabled:hover:bg-transparent disabled:text-xds-chip-disabled-text duration-(--xds-motion-duration-fast) duration-(--xds-motion-duration-normal) ease-(--xds-motion-easing-standard) enabled:active:bg-xds-chip-background-pressed enabled:active:bg-xds-chip-selected-background-pressed enabled:hover:bg-xds-chip-background-hover enabled:hover:bg-xds-chip-selected-background-hover end-2 end-[calc(var(--xds-size-count-badge)/-4)] filter fixed flex flex-1 flex-col flex-wrap focus-visible:-outline-offset-(--xds-focus-offset) focus-visible:outline-(length:--xds-focus-width) focus-visible:outline-xds-border-focus focus-visible:outline-current focus-visible:outline-offset-(--xds-focus-offset) focus-visible:outline-solid forced-colors:*:bg-[CanvasText] forced-colors:bg-[Highlight] forced-colors:border forced-colors:border-[CanvasText] forced-colors:outline forced-colors:outline-(length:--xds-border-width-thin) forced-colors:outline-[CanvasText] forced-colors:p-px forced-colors:peer-checked:*:bg-[HighlightText] forced-colors:peer-checked:bg-[Highlight] forced-colors:peer-checked:border-[Highlight] forced-colors:peer-checked:forced-color-adjust-none forced-colors:peer-checked:text-[HighlightText] forced-colors:peer-disabled:*:bg-[GrayText] forced-colors:peer-disabled:border-2 forced-colors:peer-disabled:border-[GrayText] forced-colors:peer-disabled:text-[GrayText] forced-colors:peer-indeterminate:bg-[Highlight] forced-colors:peer-indeterminate:text-[HighlightText] gap-0.5 gap-1 gap-1.5 gap-12 gap-2 gap-3 gap-4 gap-6 gap-8 gap-x-8 gap-y-6 grid grid-cols-2 grid-cols-[repeat(auto-fill,minmax(8rem,1fr))] group-aria-expanded:rotate-180 h-(--xds-border-width-thin) h-(--xds-space-1) h-(--xds-typography-body-size) h-24 h-28 h-[28rem] h-xds-badge h-xds-chip h-xds-control-md h-xds-count-badge h-xds-progress h-xds-switch-height h-full h-lh h-px has-disabled:cursor-not-allowed hidden hover:bg-xds-card-background-hover hover:bg-xds-control-default hover:bg-xds-list-row-background-hover hover:bg-xds-list-row-background-selected-hover hover:text-xds-field-text hover:text-xds-text-primary hover:underline inline-flex inset-0 inset-x-0 invisible items-center items-end items-start justify-between justify-center line-clamp-2 m-0 m-auto max-w-4xl max-w-56 max-w-xds-dialog max-w-xds-toast max-w-md max-w-none max-w-sm max-w-xs mb-2 mb-4 min-h-0 min-h-[calc(var(--xds-size-target-min)+var(--xds-space-2))] min-h-xds-list-row min-h-xds-list-row-compact min-h-xds-target-min min-w-0 min-w-xds-count-badge min-w-xds-target-min motion-reduce:animate-none motion-reduce:animate-pulse motion-reduce:transition-none ms-auto mt-0.5 mt-2 mt-4 mt-6 mx-2 mx-auto not-first:ms-[calc(var(--xds-size-avatar-lg)/-4)] not-first:ms-[calc(var(--xds-size-avatar-md)/-4)] not-first:ms-[calc(var(--xds-size-avatar-sm)/-4)] not-first:ms-[calc(var(--xds-size-avatar-xl)/-4)] object-cover outline outline-(length:--xds-border-width-thick) outline-xds-avatar-ring outline-solid overflow-hidden overflow-visible overflow-x-auto overflow-y-auto p-0.5 p-1 p-2 p-3 p-4 p-6 pb-1 pb-[calc(var(--xds-space-4)+env(safe-area-inset-bottom))] peer-checked:*:opacity-100 peer-checked:*:translate-x-[calc(var(--xds-size-switch-width)-var(--xds-size-switch-height))] peer-checked:bg-xds-checkbox-background-checked peer-checked:bg-xds-segmented-selected-background peer-checked:bg-xds-switch-track-on peer-checked:border-0 peer-checked:border-xds-segmented-selected-border peer-checked:shadow-xds-subtle peer-checked:text-xds-segmented-selected-text peer-disabled:*:bg-xds-switch-disabled-thumb peer-disabled:bg-xds-checkbox-disabled-background peer-disabled:bg-xds-switch-disabled-track peer-disabled:border-0 peer-disabled:text-xds-checkbox-disabled-mark peer-disabled:text-xds-text-secondary peer-focus-visible:outline-(length:--xds-focus-width) peer-focus-visible:outline-xds-border-focus peer-focus-visible:outline-offset-(--xds-focus-offset) peer-focus-visible:outline-solid peer-indeterminate:*:opacity-100 peer-indeterminate:bg-xds-checkbox-background-checked peer-indeterminate:border-0 pointer-events-auto pointer-events-none ps-3 px-1 px-2 px-2.5 px-3 px-4 px-6 py-1 py-2 py-3 py-8 relative rounded-[calc(var(--xds-radius-lg)-var(--xds-border-width-thin))] rounded-[calc(var(--xds-radius-md)-2px)] rounded-xds-full rounded-xds-lg rounded-xds-md rounded-xds-sm rounded-full rounded-t-[calc(var(--xds-radius-lg)-var(--xds-border-width-thin))] rtl:-scale-x-100 scroll-mt-20 select-none self-center shadow shadow-xds-raised shadow-xds-subtle shrink-0 size-1.5 size-12 size-3/4 size-8 size-xds-avatar-lg size-xds-avatar-md size-xds-avatar-sm size-xds-avatar-xl size-xds-checkbox size-xds-icon-lg size-xds-icon-md size-xds-icon-sm size-xds-icon-xl size-xds-icon-xs size-xds-spinner-lg size-xds-spinner-md size-xds-spinner-sm size-xds-target-min size-full sm:grid-cols-2 sm:grid-cols-3 sm:grid-cols-4 sm:grid-cols-5 sr-only start-2 static sticky table tabular-nums text-xds-accordion-icon text-xds-avatar-overflow-text text-xds-avatar-text text-xds-badge-accent-text text-xds-badge-count-text text-xds-badge-danger-text text-xds-badge-neutral-text text-xds-badge-overlay-text text-xds-badge-success-text text-xds-badge-warning-text text-xds-banner-danger-accent text-xds-banner-info-accent text-xds-banner-success-accent text-xds-banner-text text-xds-banner-warning-accent text-xds-body text-xds-body-strong text-xds-checkbox-mark text-xds-chip-selected-text text-xds-chip-text text-xds-detail text-xds-display text-xds-empty-state-icon text-xds-field-placeholder text-xds-footnote text-xds-heading text-xds-label text-xds-segmented-text text-xds-sidebar-section-title text-xds-status-danger text-xds-status-success text-xds-status-warning text-xds-text-accent text-xds-text-on-accent text-xds-text-primary text-xds-text-secondary text-xds-text-tertiary text-xds-thumbnail-icon text-xds-title text-xds-toast-action text-xds-toast-text text-center text-start top-0 top-2 top-[calc(var(--xds-size-count-badge)/-4)] top-auto transition-[width] transition-colors transition-transform truncate underline visible w-16 w-2/5 w-24 w-28 w-36 w-48 w-xds-sidebar w-xds-sidebar-rail w-xds-switch-width w-fit w-full whitespace-nowrap z-10");
|