sherick-ui 2.11.0 → 2.13.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/cjs/components/Badge.cjs +21 -2
- package/dist/cjs/components/Badge.cjs.map +1 -1
- package/dist/cjs/components/Card.cjs +3 -3
- package/dist/cjs/components/Card.cjs.map +1 -1
- package/dist/cjs/components/CheckboxGroup.cjs.map +1 -1
- package/dist/cjs/components/Chip.cjs +9 -6
- package/dist/cjs/components/Chip.cjs.map +1 -1
- package/dist/cjs/components/ChipGroup.cjs +21 -2
- package/dist/cjs/components/ChipGroup.cjs.map +1 -1
- package/dist/cjs/components/Combobox.cjs +4 -4
- package/dist/cjs/components/Combobox.cjs.map +1 -1
- package/dist/cjs/components/Command.cjs +1 -1
- package/dist/cjs/components/Command.cjs.map +1 -1
- package/dist/cjs/components/DatePicker.cjs +1 -1
- package/dist/cjs/components/DatePicker.cjs.map +1 -1
- package/dist/cjs/components/DateRangePicker.cjs +1 -1
- package/dist/cjs/components/DateRangePicker.cjs.map +1 -1
- package/dist/cjs/components/DateTimePicker.cjs +1 -1
- package/dist/cjs/components/DateTimePicker.cjs.map +1 -1
- package/dist/cjs/components/Drawer.cjs +10 -4
- package/dist/cjs/components/Drawer.cjs.map +1 -1
- package/dist/cjs/components/Field.cjs +10 -0
- package/dist/cjs/components/Field.cjs.map +1 -1
- package/dist/cjs/components/Input.cjs +2 -2
- package/dist/cjs/components/Input.cjs.map +1 -1
- package/dist/cjs/components/NumberField.cjs +2 -2
- package/dist/cjs/components/NumberField.cjs.map +1 -1
- package/dist/cjs/components/RadioGroup.cjs.map +1 -1
- package/dist/cjs/components/Search.cjs +1 -1
- package/dist/cjs/components/Search.cjs.map +1 -1
- package/dist/cjs/components/Select.cjs +1 -1
- package/dist/cjs/components/Select.cjs.map +1 -1
- package/dist/cjs/components/Table.cjs +23 -5
- package/dist/cjs/components/Table.cjs.map +1 -1
- package/dist/cjs/components/Textarea.cjs +1 -1
- package/dist/cjs/components/Textarea.cjs.map +1 -1
- package/dist/cjs/components/choice-row.cjs +1 -1
- package/dist/cjs/components/choice-row.cjs.map +1 -1
- package/dist/cjs/components/date-field.cjs +7 -4
- package/dist/cjs/components/date-field.cjs.map +1 -1
- package/dist/cjs/components/edge-fade.cjs +1 -1
- package/dist/cjs/components/edge-fade.cjs.map +1 -1
- package/dist/cjs/components/ui.common.cjs +100 -56
- package/dist/cjs/components/ui.common.cjs.map +1 -1
- package/dist/cjs/components/ui.motion.cjs +2 -3
- package/dist/cjs/components/ui.motion.cjs.map +1 -1
- package/dist/cjs/dev.cjs +4 -0
- package/dist/cjs/dev.cjs.map +1 -1
- package/dist/esm/components/Badge.js +22 -3
- package/dist/esm/components/Badge.js.map +1 -1
- package/dist/esm/components/Card.js +4 -4
- package/dist/esm/components/Card.js.map +1 -1
- package/dist/esm/components/CheckboxGroup.js.map +1 -1
- package/dist/esm/components/Chip.js +9 -6
- package/dist/esm/components/Chip.js.map +1 -1
- package/dist/esm/components/ChipGroup.js +22 -3
- package/dist/esm/components/ChipGroup.js.map +1 -1
- package/dist/esm/components/Combobox.js +6 -6
- package/dist/esm/components/Combobox.js.map +1 -1
- package/dist/esm/components/Command.js +2 -2
- package/dist/esm/components/Command.js.map +1 -1
- package/dist/esm/components/DatePicker.js +1 -1
- package/dist/esm/components/DatePicker.js.map +1 -1
- package/dist/esm/components/DateRangePicker.js +1 -1
- package/dist/esm/components/DateRangePicker.js.map +1 -1
- package/dist/esm/components/DateTimePicker.js +1 -1
- package/dist/esm/components/DateTimePicker.js.map +1 -1
- package/dist/esm/components/Drawer.js +11 -5
- package/dist/esm/components/Drawer.js.map +1 -1
- package/dist/esm/components/Field.js +10 -1
- package/dist/esm/components/Field.js.map +1 -1
- package/dist/esm/components/Input.js +3 -3
- package/dist/esm/components/Input.js.map +1 -1
- package/dist/esm/components/NumberField.js +4 -4
- package/dist/esm/components/NumberField.js.map +1 -1
- package/dist/esm/components/RadioGroup.js.map +1 -1
- package/dist/esm/components/Search.js +2 -2
- package/dist/esm/components/Search.js.map +1 -1
- package/dist/esm/components/Select.js +2 -2
- package/dist/esm/components/Select.js.map +1 -1
- package/dist/esm/components/Table.js +24 -6
- package/dist/esm/components/Table.js.map +1 -1
- package/dist/esm/components/Textarea.js +2 -2
- package/dist/esm/components/Textarea.js.map +1 -1
- package/dist/esm/components/choice-row.js +2 -2
- package/dist/esm/components/choice-row.js.map +1 -1
- package/dist/esm/components/date-field.js +8 -5
- package/dist/esm/components/date-field.js.map +1 -1
- package/dist/esm/components/edge-fade.js +1 -1
- package/dist/esm/components/edge-fade.js.map +1 -1
- package/dist/esm/components/ui.common.js +98 -58
- package/dist/esm/components/ui.common.js.map +1 -1
- package/dist/esm/components/ui.motion.js +2 -3
- package/dist/esm/components/ui.motion.js.map +1 -1
- package/dist/esm/dev.js +1 -1
- package/dist/styles.css +149 -53
- package/dist/theme.css +40 -28
- package/dist/types/dev.d.cts +19 -7
- package/dist/types/dev.d.ts +19 -7
- package/dist/types/index.d.cts +59 -9
- package/dist/types/index.d.ts +59 -9
- package/package.json +5 -3
package/dist/esm/dev.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { codeWell, currentDestination, density, detail, disclosure, edge, edgeTone, elevation, fieldLabel, fieldLayout, fieldMessage, focusRing, focusRingDrag, focusRingHeld, focusRingInset, focusRingWithin, forcedBoundary, groupFocusRing, headingRhythm, hitArea, iconSlot, iconStroke, list, material, matteInset, mediaCanvas, overlay, parentFocusRingInset, puck, recessedTop, recipeAlphas, richText, rim, selectable, selectableRowSupporting, selectableRowSurface, shape, stacking, state, stateLayer, stateLayerQuietComposite, text, tone, type } from './components/ui.common.js';
|
|
1
|
+
export { codeWell, currentDestination, density, detail, disclosure, edge, edgeTone, elevation, fieldLabel, fieldLayout, fieldMessage, fieldWell, fieldWellError, focusRing, focusRingDrag, focusRingHeld, focusRingInset, focusRingWithin, forcedBoundary, groupFocusRing, headingRhythm, hitArea, iconSlot, iconStroke, list, material, matteInset, mediaCanvas, overlay, parentFocusRingInset, puck, recessedTop, recipeAlphas, richText, rim, rowTarget, selectable, selectableRowRest, selectableRowSupporting, selectableRowSurface, shape, stacking, state, stateLayer, stateLayerQuietComposite, text, tone, type } from './components/ui.common.js';
|
|
2
2
|
export { motionActivityIndeterminate, motionActivityIndeterminateReduced, motionActivityPulse, motionActivitySpin, motionArrive, motionDirect, motionDisclose, motionFeedback, motionInkPress, motionOrient, motionPresenceAnchored, motionPresenceModal, motionPresenceScrim, motionPresenceScrimUtility, motionPresenceSheet, motionPresenceToast, motionPresenceTooltip, motionPresenceUtility, motionRelocate, motionRelocateLong, motionRim, motionRowLayer, motionStateLayer, motionTactile, motionTactileField, motionTactileWide } from './components/ui.motion.js';
|
|
3
3
|
export { cn } from './libs/utils.js';
|
|
4
4
|
//# sourceMappingURL=dev.js.map
|
package/dist/styles.css
CHANGED
|
@@ -3,10 +3,12 @@
|
|
|
3
3
|
:root,
|
|
4
4
|
[data-sherick-theme="light"] {
|
|
5
5
|
color-scheme: light;
|
|
6
|
-
--sui-canvas: 0.
|
|
6
|
+
--sui-canvas: 0.960 0.011 290;
|
|
7
7
|
--sui-surface: 0.998 0.001 290;
|
|
8
|
-
--sui-surface-high: 0.
|
|
9
|
-
--sui-tray
|
|
8
|
+
--sui-surface-high: 0.932 0.014 290;
|
|
9
|
+
--sui-tray: 0.949 0.011 290;
|
|
10
|
+
--sui-tray-deep: 0.920 0.015 290;
|
|
11
|
+
--sui-mark-well: 0.902 0.016 290;
|
|
10
12
|
--sui-surface-float: 0.999 0.001 290;
|
|
11
13
|
--sui-puck: 1 0 0;
|
|
12
14
|
--sui-media: 0.200 0.008 285;
|
|
@@ -16,8 +18,8 @@
|
|
|
16
18
|
--sui-rim: 0.625 0.012 285;
|
|
17
19
|
--sui-primary: 0.490 0.205 292;
|
|
18
20
|
--sui-primary-strong: 0.430 0.200 292;
|
|
19
|
-
--sui-primary-soft: 0.
|
|
20
|
-
--sui-primary-selected: 0.
|
|
21
|
+
--sui-primary-soft: 0.944 0.040 292;
|
|
22
|
+
--sui-primary-selected: 0.895 0.070 292;
|
|
21
23
|
--sui-danger-soft: 0.952 0.020 30;
|
|
22
24
|
--sui-danger-selected: 0.900 0.042 30;
|
|
23
25
|
--sui-warning-soft: 0.955 0.032 82;
|
|
@@ -39,12 +41,14 @@
|
|
|
39
41
|
--sui-light-top: 1 0 0;
|
|
40
42
|
--sui-light-bottom: 0.280 0.025 290;
|
|
41
43
|
--sui-elevation-flat: none;
|
|
44
|
+
--sui-elevation-resting: 0 1px 2px oklch(var(--sui-light-bottom) / 0.05), 0 3px 8px -3px oklch(var(--sui-light-bottom) / 0.08);
|
|
42
45
|
--sui-elevation-raised: 0 1px 1px oklch(var(--sui-light-bottom) / 0.10), 0 2px 5px -1px oklch(var(--sui-light-bottom) / 0.12), inset 0 1px 0 oklch(var(--sui-light-top) / 0.24);
|
|
43
46
|
--sui-elevation-floating: 0 0 0 1px oklch(var(--sui-light-bottom) / 0.07), 0 4px 10px -2px oklch(var(--sui-light-bottom) / 0.08), 0 22px 48px -10px oklch(var(--sui-light-bottom) / 0.24), inset 0 1px 0 oklch(var(--sui-light-top) / 0.80);
|
|
44
47
|
--sui-elevation-control: 0 0 0 0.5px oklch(var(--sui-light-bottom) / 0.10), 0 1px 3px oklch(var(--sui-light-bottom) / 0.16), inset 0 1px 0 oklch(var(--sui-light-top) / 0.70);
|
|
45
48
|
--sui-elevation-recessed: inset 0 1px 2px oklch(var(--sui-light-bottom) / 0.18), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.55);
|
|
46
49
|
--sui-elevation-recessed-top: inset 0 5px 8px -5px oklch(var(--sui-light-bottom) / 0.18);
|
|
47
|
-
--sui-elevation-well: inset 0 2px 4px oklch(var(--sui-light-bottom) / 0.34), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.
|
|
50
|
+
--sui-elevation-well: inset 0 2px 4px oklch(var(--sui-light-bottom) / 0.34), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.80);
|
|
51
|
+
--sui-elevation-mark: inset 0 1px 3px oklch(var(--sui-light-bottom) / 0.30), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.80);
|
|
48
52
|
--sui-glass-fill: 0.98;
|
|
49
53
|
--sui-glass-blur: 28px;
|
|
50
54
|
--sui-glass-saturation: 1.10;
|
|
@@ -73,12 +77,14 @@
|
|
|
73
77
|
|
|
74
78
|
[data-sherick-theme="dark"] {
|
|
75
79
|
color-scheme: dark;
|
|
76
|
-
--sui-canvas: 0.
|
|
77
|
-
--sui-surface: 0.
|
|
78
|
-
--sui-surface-high: 0.
|
|
79
|
-
--sui-tray
|
|
80
|
-
--sui-
|
|
81
|
-
--sui-
|
|
80
|
+
--sui-canvas: 0.145 0.016 285;
|
|
81
|
+
--sui-surface: 0.212 0.018 285;
|
|
82
|
+
--sui-surface-high: 0.310 0.022 285;
|
|
83
|
+
--sui-tray: 0.262 0.020 285;
|
|
84
|
+
--sui-tray-deep: 0.300 0.022 285;
|
|
85
|
+
--sui-mark-well: 0.335 0.024 285;
|
|
86
|
+
--sui-surface-float: 0.238 0.019 285;
|
|
87
|
+
--sui-puck: 0.335 0.024 285;
|
|
82
88
|
--sui-media: 0.160 0.006 285;
|
|
83
89
|
--sui-ink: 0.950 0.004 285;
|
|
84
90
|
--sui-ink-muted: 0.745 0.010 285;
|
|
@@ -86,8 +92,8 @@
|
|
|
86
92
|
--sui-rim: 0.535 0.010 285;
|
|
87
93
|
--sui-primary: 0.780 0.125 292;
|
|
88
94
|
--sui-primary-strong: 0.720 0.160 292;
|
|
89
|
-
--sui-primary-soft: 0.
|
|
90
|
-
--sui-primary-selected: 0.
|
|
95
|
+
--sui-primary-soft: 0.310 0.098 292;
|
|
96
|
+
--sui-primary-selected: 0.385 0.128 292;
|
|
91
97
|
--sui-danger-soft: 0.260 0.040 25;
|
|
92
98
|
--sui-danger-selected: 0.330 0.062 25;
|
|
93
99
|
--sui-warning-soft: 0.260 0.040 75;
|
|
@@ -109,12 +115,14 @@
|
|
|
109
115
|
--sui-light-top: 1 0 0;
|
|
110
116
|
--sui-light-bottom: 0.070 0.008 285;
|
|
111
117
|
--sui-elevation-flat: none;
|
|
112
|
-
--sui-elevation-
|
|
118
|
+
--sui-elevation-resting: 0 1px 2px oklch(var(--sui-light-bottom) / 0.45), 0 3px 8px -3px oklch(var(--sui-light-bottom) / 0.45);
|
|
119
|
+
--sui-elevation-raised: 0 1px 2px oklch(var(--sui-light-bottom) / 0.40), 0 3px 8px -2px oklch(var(--sui-light-bottom) / 0.30), inset 0 1px 0 oklch(var(--sui-light-top) / 0.13);
|
|
113
120
|
--sui-elevation-floating: 0 0 0 1px oklch(var(--sui-light-top) / 0.08), 0 6px 14px -4px oklch(var(--sui-light-bottom) / 0.40), 0 26px 56px -12px oklch(var(--sui-light-bottom) / 0.65), inset 0 1px 0 oklch(var(--sui-light-top) / 0.06);
|
|
114
121
|
--sui-elevation-control: 0 0 0 0.5px oklch(var(--sui-light-bottom) / 0.40), 0 1px 3px oklch(var(--sui-light-bottom) / 0.45), inset 0 1px 0 oklch(var(--sui-light-top) / 0.09);
|
|
115
122
|
--sui-elevation-recessed: inset 0 1px 3px oklch(var(--sui-light-bottom) / 0.42), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.05);
|
|
116
123
|
--sui-elevation-recessed-top: inset 0 5px 8px -5px oklch(var(--sui-light-bottom) / 0.40);
|
|
117
|
-
--sui-elevation-well: inset 0 2px 4px oklch(var(--sui-light-bottom) / 0.
|
|
124
|
+
--sui-elevation-well: inset 0 2px 4px oklch(var(--sui-light-bottom) / 0.80), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.12);
|
|
125
|
+
--sui-elevation-mark: inset 0 1px 3px oklch(var(--sui-light-bottom) / 0.65), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.12);
|
|
118
126
|
--sui-glass-fill: 0.98;
|
|
119
127
|
--sui-glass-blur: 32px;
|
|
120
128
|
--sui-glass-saturation: 1.12;
|
|
@@ -129,7 +137,7 @@
|
|
|
129
137
|
--sui-glass-hero-saturation: 1.03;
|
|
130
138
|
--sui-glass-hero-brightness: 1.0;
|
|
131
139
|
--sui-glass-hero-gradient: linear-gradient(180deg, rgb(255 255 255 / 0.035) 0%, rgb(255 255 255 / 0.01) 12%, rgb(255 255 255 / 0) 44%, rgb(0 0 0 / 0.16) 100%);
|
|
132
|
-
--sui-surface-overlay: 0.
|
|
140
|
+
--sui-surface-overlay: 0.226 0.018 285;
|
|
133
141
|
--sui-overlay-fill: 0.99;
|
|
134
142
|
--sui-scrim-blur: 8px;
|
|
135
143
|
--sui-code-text: #dfdee6;
|
|
@@ -144,12 +152,14 @@
|
|
|
144
152
|
@media (prefers-color-scheme: dark) {
|
|
145
153
|
:root:not([data-sherick-theme]) {
|
|
146
154
|
color-scheme: dark;
|
|
147
|
-
--sui-canvas: 0.
|
|
148
|
-
--sui-surface: 0.
|
|
149
|
-
--sui-surface-high: 0.
|
|
150
|
-
--sui-tray
|
|
151
|
-
--sui-
|
|
152
|
-
--sui-
|
|
155
|
+
--sui-canvas: 0.145 0.016 285;
|
|
156
|
+
--sui-surface: 0.212 0.018 285;
|
|
157
|
+
--sui-surface-high: 0.310 0.022 285;
|
|
158
|
+
--sui-tray: 0.262 0.020 285;
|
|
159
|
+
--sui-tray-deep: 0.300 0.022 285;
|
|
160
|
+
--sui-mark-well: 0.335 0.024 285;
|
|
161
|
+
--sui-surface-float: 0.238 0.019 285;
|
|
162
|
+
--sui-puck: 0.335 0.024 285;
|
|
153
163
|
--sui-media: 0.160 0.006 285;
|
|
154
164
|
--sui-ink: 0.950 0.004 285;
|
|
155
165
|
--sui-ink-muted: 0.745 0.010 285;
|
|
@@ -157,8 +167,8 @@
|
|
|
157
167
|
--sui-rim: 0.535 0.010 285;
|
|
158
168
|
--sui-primary: 0.780 0.125 292;
|
|
159
169
|
--sui-primary-strong: 0.720 0.160 292;
|
|
160
|
-
--sui-primary-soft: 0.
|
|
161
|
-
--sui-primary-selected: 0.
|
|
170
|
+
--sui-primary-soft: 0.310 0.098 292;
|
|
171
|
+
--sui-primary-selected: 0.385 0.128 292;
|
|
162
172
|
--sui-danger-soft: 0.260 0.040 25;
|
|
163
173
|
--sui-danger-selected: 0.330 0.062 25;
|
|
164
174
|
--sui-warning-soft: 0.260 0.040 75;
|
|
@@ -180,12 +190,14 @@
|
|
|
180
190
|
--sui-light-top: 1 0 0;
|
|
181
191
|
--sui-light-bottom: 0.070 0.008 285;
|
|
182
192
|
--sui-elevation-flat: none;
|
|
183
|
-
--sui-elevation-
|
|
193
|
+
--sui-elevation-resting: 0 1px 2px oklch(var(--sui-light-bottom) / 0.45), 0 3px 8px -3px oklch(var(--sui-light-bottom) / 0.45);
|
|
194
|
+
--sui-elevation-raised: 0 1px 2px oklch(var(--sui-light-bottom) / 0.40), 0 3px 8px -2px oklch(var(--sui-light-bottom) / 0.30), inset 0 1px 0 oklch(var(--sui-light-top) / 0.13);
|
|
184
195
|
--sui-elevation-floating: 0 0 0 1px oklch(var(--sui-light-top) / 0.08), 0 6px 14px -4px oklch(var(--sui-light-bottom) / 0.40), 0 26px 56px -12px oklch(var(--sui-light-bottom) / 0.65), inset 0 1px 0 oklch(var(--sui-light-top) / 0.06);
|
|
185
196
|
--sui-elevation-control: 0 0 0 0.5px oklch(var(--sui-light-bottom) / 0.40), 0 1px 3px oklch(var(--sui-light-bottom) / 0.45), inset 0 1px 0 oklch(var(--sui-light-top) / 0.09);
|
|
186
197
|
--sui-elevation-recessed: inset 0 1px 3px oklch(var(--sui-light-bottom) / 0.42), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.05);
|
|
187
198
|
--sui-elevation-recessed-top: inset 0 5px 8px -5px oklch(var(--sui-light-bottom) / 0.40);
|
|
188
|
-
--sui-elevation-well: inset 0 2px 4px oklch(var(--sui-light-bottom) / 0.
|
|
199
|
+
--sui-elevation-well: inset 0 2px 4px oklch(var(--sui-light-bottom) / 0.80), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.12);
|
|
200
|
+
--sui-elevation-mark: inset 0 1px 3px oklch(var(--sui-light-bottom) / 0.65), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.12);
|
|
189
201
|
--sui-glass-fill: 0.98;
|
|
190
202
|
--sui-glass-blur: 32px;
|
|
191
203
|
--sui-glass-saturation: 1.12;
|
|
@@ -200,7 +212,7 @@
|
|
|
200
212
|
--sui-glass-hero-saturation: 1.03;
|
|
201
213
|
--sui-glass-hero-brightness: 1.0;
|
|
202
214
|
--sui-glass-hero-gradient: linear-gradient(180deg, rgb(255 255 255 / 0.035) 0%, rgb(255 255 255 / 0.01) 12%, rgb(255 255 255 / 0) 44%, rgb(0 0 0 / 0.16) 100%);
|
|
203
|
-
--sui-surface-overlay: 0.
|
|
215
|
+
--sui-surface-overlay: 0.226 0.018 285;
|
|
204
216
|
--sui-overlay-fill: 0.99;
|
|
205
217
|
--sui-scrim-blur: 8px;
|
|
206
218
|
--sui-code-text: #dfdee6;
|
|
@@ -323,6 +335,10 @@
|
|
|
323
335
|
:where(.sui-scope).inset-0 {
|
|
324
336
|
inset: 0px
|
|
325
337
|
}
|
|
338
|
+
:where(.sui-scope).inset-x-0 {
|
|
339
|
+
left: 0px;
|
|
340
|
+
right: 0px
|
|
341
|
+
}
|
|
326
342
|
:where(.sui-scope).inset-y-0 {
|
|
327
343
|
top: 0px;
|
|
328
344
|
bottom: 0px
|
|
@@ -412,14 +428,26 @@
|
|
|
412
428
|
:where(.sui-scope).m-0 {
|
|
413
429
|
margin: 0px
|
|
414
430
|
}
|
|
431
|
+
:where(.sui-scope).-mx-1\.5 {
|
|
432
|
+
margin-left: -0.375rem;
|
|
433
|
+
margin-right: -0.375rem
|
|
434
|
+
}
|
|
415
435
|
:where(.sui-scope).-mx-2 {
|
|
416
436
|
margin-left: -0.5rem;
|
|
417
437
|
margin-right: -0.5rem
|
|
418
438
|
}
|
|
439
|
+
:where(.sui-scope).-mx-3 {
|
|
440
|
+
margin-left: -0.75rem;
|
|
441
|
+
margin-right: -0.75rem
|
|
442
|
+
}
|
|
419
443
|
:where(.sui-scope).-mx-4 {
|
|
420
444
|
margin-left: -1rem;
|
|
421
445
|
margin-right: -1rem
|
|
422
446
|
}
|
|
447
|
+
:where(.sui-scope).-my-0\.5 {
|
|
448
|
+
margin-top: -0.125rem;
|
|
449
|
+
margin-bottom: -0.125rem
|
|
450
|
+
}
|
|
423
451
|
:where(.sui-scope).-my-2 {
|
|
424
452
|
margin-top: -0.5rem;
|
|
425
453
|
margin-bottom: -0.5rem
|
|
@@ -436,6 +464,10 @@
|
|
|
436
464
|
margin-left: 1rem;
|
|
437
465
|
margin-right: 1rem
|
|
438
466
|
}
|
|
467
|
+
:where(.sui-scope).mx-auto {
|
|
468
|
+
margin-left: auto;
|
|
469
|
+
margin-right: auto
|
|
470
|
+
}
|
|
439
471
|
:where(.sui-scope).my-0\.5 {
|
|
440
472
|
margin-top: 0.125rem;
|
|
441
473
|
margin-bottom: 0.125rem
|
|
@@ -497,6 +529,9 @@
|
|
|
497
529
|
:where(.sui-scope).mr-4 {
|
|
498
530
|
margin-right: 1rem
|
|
499
531
|
}
|
|
532
|
+
:where(.sui-scope).ms-0\.5 {
|
|
533
|
+
margin-inline-start: 0.125rem
|
|
534
|
+
}
|
|
500
535
|
:where(.sui-scope).ms-1 {
|
|
501
536
|
margin-inline-start: 0.25rem
|
|
502
537
|
}
|
|
@@ -617,6 +652,9 @@
|
|
|
617
652
|
:where(.sui-scope).h-0 {
|
|
618
653
|
height: 0px
|
|
619
654
|
}
|
|
655
|
+
:where(.sui-scope).h-1 {
|
|
656
|
+
height: 0.25rem
|
|
657
|
+
}
|
|
620
658
|
:where(.sui-scope).h-1\.5 {
|
|
621
659
|
height: 0.375rem
|
|
622
660
|
}
|
|
@@ -695,6 +733,9 @@
|
|
|
695
733
|
:where(.sui-scope).min-h-28 {
|
|
696
734
|
min-height: 7rem
|
|
697
735
|
}
|
|
736
|
+
:where(.sui-scope).min-h-5 {
|
|
737
|
+
min-height: 1.25rem
|
|
738
|
+
}
|
|
698
739
|
:where(.sui-scope).min-h-7 {
|
|
699
740
|
min-height: 1.75rem
|
|
700
741
|
}
|
|
@@ -710,6 +751,9 @@
|
|
|
710
751
|
:where(.sui-scope).w-1\.5 {
|
|
711
752
|
width: 0.375rem
|
|
712
753
|
}
|
|
754
|
+
:where(.sui-scope).w-10 {
|
|
755
|
+
width: 2.5rem
|
|
756
|
+
}
|
|
713
757
|
:where(.sui-scope).w-16 {
|
|
714
758
|
width: 4rem
|
|
715
759
|
}
|
|
@@ -734,6 +778,9 @@
|
|
|
734
778
|
:where(.sui-scope).w-\[3\.25rem\] {
|
|
735
779
|
width: 3.25rem
|
|
736
780
|
}
|
|
781
|
+
:where(.sui-scope).w-\[calc\(100\%\+1\.5rem\)\] {
|
|
782
|
+
width: calc(100% + 1.5rem)
|
|
783
|
+
}
|
|
737
784
|
:where(.sui-scope).w-\[calc\(100\%\+1rem\)\] {
|
|
738
785
|
width: calc(100% + 1rem)
|
|
739
786
|
}
|
|
@@ -929,6 +976,10 @@
|
|
|
929
976
|
:where(.sui-scope).resize {
|
|
930
977
|
resize: both
|
|
931
978
|
}
|
|
979
|
+
:where(.sui-scope).scroll-px-5 {
|
|
980
|
+
scroll-padding-left: 1.25rem;
|
|
981
|
+
scroll-padding-right: 1.25rem
|
|
982
|
+
}
|
|
932
983
|
:where(.sui-scope).scroll-py-11 {
|
|
933
984
|
scroll-padding-top: 2.75rem;
|
|
934
985
|
scroll-padding-bottom: 2.75rem
|
|
@@ -957,6 +1008,9 @@
|
|
|
957
1008
|
:where(.sui-scope).flex-wrap {
|
|
958
1009
|
flex-wrap: wrap
|
|
959
1010
|
}
|
|
1011
|
+
:where(.sui-scope).flex-nowrap {
|
|
1012
|
+
flex-wrap: nowrap
|
|
1013
|
+
}
|
|
960
1014
|
:where(.sui-scope).items-start {
|
|
961
1015
|
align-items: flex-start
|
|
962
1016
|
}
|
|
@@ -1129,9 +1183,6 @@
|
|
|
1129
1183
|
:where(.sui-scope).border-0 {
|
|
1130
1184
|
border-width: 0px
|
|
1131
1185
|
}
|
|
1132
|
-
:where(.sui-scope).border-\[1\.5px\] {
|
|
1133
|
-
border-width: 1.5px
|
|
1134
|
-
}
|
|
1135
1186
|
:where(.sui-scope).border-b {
|
|
1136
1187
|
border-bottom-width: 1px
|
|
1137
1188
|
}
|
|
@@ -1163,9 +1214,6 @@
|
|
|
1163
1214
|
:where(.sui-scope).border-sherick-primary\/\[0\.45\] {
|
|
1164
1215
|
border-color: oklch(var(--sui-primary) / 0.45)
|
|
1165
1216
|
}
|
|
1166
|
-
:where(.sui-scope).border-transparent {
|
|
1167
|
-
border-color: transparent
|
|
1168
|
-
}
|
|
1169
1217
|
:where(.sui-scope).border-e-transparent {
|
|
1170
1218
|
border-inline-end-color: transparent
|
|
1171
1219
|
}
|
|
@@ -1176,9 +1224,6 @@
|
|
|
1176
1224
|
--tw-bg-opacity: 1;
|
|
1177
1225
|
background-color: oklch(var(--sui-canvas) / var(--tw-bg-opacity, 1))
|
|
1178
1226
|
}
|
|
1179
|
-
:where(.sui-scope).bg-sherick-canvas\/\[0\.7\] {
|
|
1180
|
-
background-color: oklch(var(--sui-canvas) / 0.7)
|
|
1181
|
-
}
|
|
1182
1227
|
:where(.sui-scope).bg-sherick-danger {
|
|
1183
1228
|
--tw-bg-opacity: 1;
|
|
1184
1229
|
background-color: oklch(var(--sui-danger) / var(--tw-bg-opacity, 1))
|
|
@@ -1199,6 +1244,10 @@
|
|
|
1199
1244
|
--tw-bg-opacity: 1;
|
|
1200
1245
|
background-color: oklch(var(--sui-ink-muted) / var(--tw-bg-opacity, 1))
|
|
1201
1246
|
}
|
|
1247
|
+
:where(.sui-scope).bg-sherick-mark-well {
|
|
1248
|
+
--tw-bg-opacity: 1;
|
|
1249
|
+
background-color: oklch(var(--sui-mark-well) / var(--tw-bg-opacity, 1))
|
|
1250
|
+
}
|
|
1202
1251
|
:where(.sui-scope).bg-sherick-media {
|
|
1203
1252
|
--tw-bg-opacity: 1;
|
|
1204
1253
|
background-color: oklch(var(--sui-media) / var(--tw-bg-opacity, 1))
|
|
@@ -1231,6 +1280,10 @@
|
|
|
1231
1280
|
--tw-bg-opacity: 1;
|
|
1232
1281
|
background-color: oklch(var(--sui-success-soft) / var(--tw-bg-opacity, 1))
|
|
1233
1282
|
}
|
|
1283
|
+
:where(.sui-scope).bg-sherick-surface {
|
|
1284
|
+
--tw-bg-opacity: 1;
|
|
1285
|
+
background-color: oklch(var(--sui-surface) / var(--tw-bg-opacity, 1))
|
|
1286
|
+
}
|
|
1234
1287
|
:where(.sui-scope).bg-sherick-surface-float\/\[var\(--sui-glass-dense-fill\)\] {
|
|
1235
1288
|
background-color: oklch(var(--sui-surface-float) / var(--sui-glass-dense-fill))
|
|
1236
1289
|
}
|
|
@@ -1259,8 +1312,9 @@
|
|
|
1259
1312
|
:where(.sui-scope).bg-sherick-surface\/\[0\.42\] {
|
|
1260
1313
|
background-color: oklch(var(--sui-surface) / 0.42)
|
|
1261
1314
|
}
|
|
1262
|
-
:where(.sui-scope).bg-sherick-
|
|
1263
|
-
|
|
1315
|
+
:where(.sui-scope).bg-sherick-tray {
|
|
1316
|
+
--tw-bg-opacity: 1;
|
|
1317
|
+
background-color: oklch(var(--sui-tray) / var(--tw-bg-opacity, 1))
|
|
1264
1318
|
}
|
|
1265
1319
|
:where(.sui-scope).bg-sherick-tray-deep {
|
|
1266
1320
|
--tw-bg-opacity: 1;
|
|
@@ -1392,6 +1446,10 @@
|
|
|
1392
1446
|
padding-top: 0.5rem;
|
|
1393
1447
|
padding-bottom: 0.5rem
|
|
1394
1448
|
}
|
|
1449
|
+
:where(.sui-scope).py-2\.5 {
|
|
1450
|
+
padding-top: 0.625rem;
|
|
1451
|
+
padding-bottom: 0.625rem
|
|
1452
|
+
}
|
|
1395
1453
|
:where(.sui-scope).py-3 {
|
|
1396
1454
|
padding-top: 0.75rem;
|
|
1397
1455
|
padding-bottom: 0.75rem
|
|
@@ -1404,6 +1462,10 @@
|
|
|
1404
1462
|
padding-top: 1rem;
|
|
1405
1463
|
padding-bottom: 1rem
|
|
1406
1464
|
}
|
|
1465
|
+
:where(.sui-scope).py-5 {
|
|
1466
|
+
padding-top: 1.25rem;
|
|
1467
|
+
padding-bottom: 1.25rem
|
|
1468
|
+
}
|
|
1407
1469
|
:where(.sui-scope).py-6 {
|
|
1408
1470
|
padding-top: 1.5rem;
|
|
1409
1471
|
padding-bottom: 1.5rem
|
|
@@ -1486,6 +1548,9 @@
|
|
|
1486
1548
|
:where(.sui-scope).text-start {
|
|
1487
1549
|
text-align: start
|
|
1488
1550
|
}
|
|
1551
|
+
:where(.sui-scope).text-end {
|
|
1552
|
+
text-align: end
|
|
1553
|
+
}
|
|
1489
1554
|
:where(.sui-scope).align-top {
|
|
1490
1555
|
vertical-align: top
|
|
1491
1556
|
}
|
|
@@ -1669,6 +1734,11 @@
|
|
|
1669
1734
|
--tw-shadow-colored: var(--sui-elevation-floating);
|
|
1670
1735
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
|
|
1671
1736
|
}
|
|
1737
|
+
:where(.sui-scope).shadow-sherick-mark {
|
|
1738
|
+
--tw-shadow: var(--sui-elevation-mark);
|
|
1739
|
+
--tw-shadow-colored: var(--sui-elevation-mark);
|
|
1740
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
|
|
1741
|
+
}
|
|
1672
1742
|
:where(.sui-scope).shadow-sherick-raised {
|
|
1673
1743
|
--tw-shadow: var(--sui-elevation-raised);
|
|
1674
1744
|
--tw-shadow-colored: var(--sui-elevation-raised);
|
|
@@ -1684,6 +1754,11 @@
|
|
|
1684
1754
|
--tw-shadow-colored: var(--sui-elevation-recessed-top);
|
|
1685
1755
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
|
|
1686
1756
|
}
|
|
1757
|
+
:where(.sui-scope).shadow-sherick-resting {
|
|
1758
|
+
--tw-shadow: var(--sui-elevation-resting);
|
|
1759
|
+
--tw-shadow-colored: var(--sui-elevation-resting);
|
|
1760
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
|
|
1761
|
+
}
|
|
1687
1762
|
:where(.sui-scope).shadow-sherick-well {
|
|
1688
1763
|
--tw-shadow: var(--sui-elevation-well);
|
|
1689
1764
|
--tw-shadow-colored: var(--sui-elevation-well);
|
|
@@ -2014,11 +2089,6 @@
|
|
|
2014
2089
|
content: var(--tw-content);
|
|
2015
2090
|
border-width: 1.5px
|
|
2016
2091
|
}
|
|
2017
|
-
:where(.sui-scope).after\:border-sherick-rim::after {
|
|
2018
|
-
content: var(--tw-content);
|
|
2019
|
-
--tw-border-opacity: 1;
|
|
2020
|
-
border-color: oklch(var(--sui-rim) / var(--tw-border-opacity, 1))
|
|
2021
|
-
}
|
|
2022
2092
|
:where(.sui-scope).after\:border-transparent::after {
|
|
2023
2093
|
content: var(--tw-content);
|
|
2024
2094
|
border-color: transparent
|
|
@@ -2242,6 +2312,9 @@
|
|
|
2242
2312
|
:where(.sui-scope).has-\[\[data-disabled\]\]\:cursor-not-allowed:has([data-disabled]) {
|
|
2243
2313
|
cursor: not-allowed
|
|
2244
2314
|
}
|
|
2315
|
+
:where(.sui-scope).has-\[\:focus-visible\]\:bg-sherick-ink\/\[0\.05\]:has(:focus-visible) {
|
|
2316
|
+
background-color: oklch(var(--sui-ink) / 0.05)
|
|
2317
|
+
}
|
|
2245
2318
|
:where(.sui-scope).has-\[\[data-checked\]\]\:bg-sherick-primary-soft:has([data-checked]) {
|
|
2246
2319
|
--tw-bg-opacity: 1;
|
|
2247
2320
|
background-color: oklch(var(--sui-primary-soft) / var(--tw-bg-opacity, 1))
|
|
@@ -2249,16 +2322,17 @@
|
|
|
2249
2322
|
:where(.sui-scope).has-\[\[data-sui-value-chip\]\]\:ps-2\.5:has([data-sui-value-chip]) {
|
|
2250
2323
|
padding-inline-start: 0.625rem
|
|
2251
2324
|
}
|
|
2252
|
-
:where(.sui-scope).has-\[\[data-checked\]\]\:text-sherick-ink:has([data-checked]) {
|
|
2253
|
-
--tw-text-opacity: 1;
|
|
2254
|
-
color: oklch(var(--sui-ink) / var(--tw-text-opacity, 1))
|
|
2255
|
-
}
|
|
2256
2325
|
:where(.sui-scope).has-\[\[aria-disabled\=true\]\]\:opacity-45:has([aria-disabled=true]) {
|
|
2257
2326
|
opacity: 0.45
|
|
2258
2327
|
}
|
|
2259
2328
|
:where(.sui-scope).has-\[\[data-disabled\]\]\:opacity-45:has([data-disabled]) {
|
|
2260
2329
|
opacity: 0.45
|
|
2261
2330
|
}
|
|
2331
|
+
:where(.sui-scope).has-\[\[data-checked\]\]\:shadow-sherick-control:has([data-checked]) {
|
|
2332
|
+
--tw-shadow: var(--sui-elevation-control);
|
|
2333
|
+
--tw-shadow-colored: var(--sui-elevation-control);
|
|
2334
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
|
|
2335
|
+
}
|
|
2262
2336
|
:where(.sui-scope).has-\[\:focus-visible\]\:outline:has(:focus-visible) {
|
|
2263
2337
|
outline-style: solid
|
|
2264
2338
|
}
|
|
@@ -2730,6 +2804,9 @@
|
|
|
2730
2804
|
:where(.sui-scope).forced-colors\:border {
|
|
2731
2805
|
border-width: 1px
|
|
2732
2806
|
}
|
|
2807
|
+
:where(.sui-scope).forced-colors\:border-\[1\.5px\] {
|
|
2808
|
+
border-width: 1.5px
|
|
2809
|
+
}
|
|
2733
2810
|
:where(.sui-scope).forced-colors\:outline {
|
|
2734
2811
|
outline-style: solid
|
|
2735
2812
|
}
|
|
@@ -2759,6 +2836,9 @@
|
|
|
2759
2836
|
--tw-bg-opacity: 1;
|
|
2760
2837
|
background-color: oklch(var(--sui-tray-deep) / var(--tw-bg-opacity, 1))
|
|
2761
2838
|
}
|
|
2839
|
+
:where(.sui-scope).\[\&\&\]\:active\:bg-sherick-ink\/\[0\.09\]:active.\[\&\&\]\:active\:bg-sherick-ink\/\[0\.09\]:active {
|
|
2840
|
+
background-color: oklch(var(--sui-ink) / 0.09)
|
|
2841
|
+
}
|
|
2762
2842
|
:where(.sui-scope).\[\&\&\]\:data-\[invalid\]\:focus-within\:bg-sherick-danger-soft:focus-within[data-invalid].\[\&\&\]\:data-\[invalid\]\:focus-within\:bg-sherick-danger-soft:focus-within[data-invalid] {
|
|
2763
2843
|
--tw-bg-opacity: 1;
|
|
2764
2844
|
background-color: oklch(var(--sui-danger-soft) / var(--tw-bg-opacity, 1))
|
|
@@ -2833,6 +2913,9 @@
|
|
|
2833
2913
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
|
|
2834
2914
|
}
|
|
2835
2915
|
}
|
|
2916
|
+
:where(.sui-scope).\[\&\>\*\]\:shrink-0>* {
|
|
2917
|
+
flex-shrink: 0
|
|
2918
|
+
}
|
|
2836
2919
|
:where(.sui-scope).\[\&\>label\+p\]\:-mt-1>label+p {
|
|
2837
2920
|
margin-top: -0.25rem
|
|
2838
2921
|
}
|
|
@@ -2856,6 +2939,24 @@
|
|
|
2856
2939
|
width: 1.75rem;
|
|
2857
2940
|
height: 1.75rem
|
|
2858
2941
|
}
|
|
2942
|
+
:where(.sui-scope).\[\&\>td_\:is\(a\2c button\2c input\2c select\2c textarea\2c \[tabindex\]\)\]\:relative>td :is(a,button,input,select,textarea,[tabindex]) {
|
|
2943
|
+
position: relative
|
|
2944
|
+
}
|
|
2945
|
+
:where(.sui-scope).\[\&\>td_\:is\(a\2c button\2c input\2c select\2c textarea\2c \[tabindex\]\)\]\:z-\[1\]>td :is(a,button,input,select,textarea,[tabindex]) {
|
|
2946
|
+
z-index: 1
|
|
2947
|
+
}
|
|
2948
|
+
:where(.sui-scope).\[\&\>th\[scope\=row\]_\:is\(a\2c button\)\]\:after\:absolute>th[scope=row] :is(a,button)::after {
|
|
2949
|
+
content: var(--tw-content);
|
|
2950
|
+
position: absolute
|
|
2951
|
+
}
|
|
2952
|
+
:where(.sui-scope).\[\&\>th\[scope\=row\]_\:is\(a\2c button\)\]\:after\:inset-0>th[scope=row] :is(a,button)::after {
|
|
2953
|
+
content: var(--tw-content);
|
|
2954
|
+
inset: 0px
|
|
2955
|
+
}
|
|
2956
|
+
:where(.sui-scope).\[\&\>th\[scope\=row\]_\:is\(a\2c button\)\]\:after\:content-\[\'\'\]>th[scope=row] :is(a,button)::after {
|
|
2957
|
+
--tw-content: '';
|
|
2958
|
+
content: var(--tw-content)
|
|
2959
|
+
}
|
|
2859
2960
|
:where(.sui-scope).\[\&\[data-ending-style\]\:not\(\[data-swipe-direction\]\)\]\:\[transform\:translateY\(var\(--sui-toast-from-y\2c 150\%\)\)\][data-ending-style]:not([data-swipe-direction]) {
|
|
2860
2961
|
transform: translateY(var(--sui-toast-from-y,150%))
|
|
2861
2962
|
}
|
|
@@ -2925,11 +3026,6 @@
|
|
|
2925
3026
|
content: var(--tw-content);
|
|
2926
3027
|
opacity: 0.09
|
|
2927
3028
|
}
|
|
2928
|
-
:where(.sui-scope).group:not([data-disabled]):not([data-readonly]):not(:disabled):hover :where(.sui-scope).\[\@media\(hover\:hover\)_and_\(pointer\:fine\)\]\:group-\[\:not\(\[data-disabled\]\)\:not\(\[data-readonly\]\)\:not\(\:disabled\)\:hover\]\:after\:border-sherick-ink-muted::after {
|
|
2929
|
-
content: var(--tw-content);
|
|
2930
|
-
--tw-border-opacity: 1;
|
|
2931
|
-
border-color: oklch(var(--sui-ink-muted) / var(--tw-border-opacity, 1))
|
|
2932
|
-
}
|
|
2933
3029
|
:where(.sui-scope).\[\@media\(hover\:hover\)_and_\(pointer\:fine\)\]\:\[\&\:not\(\[data-open\]\)\:hover\+\*\]\:border-transparent:not([data-open]):hover+* {
|
|
2934
3030
|
border-color: transparent
|
|
2935
3031
|
}
|
package/dist/theme.css
CHANGED
|
@@ -3,10 +3,12 @@
|
|
|
3
3
|
:root,
|
|
4
4
|
[data-sherick-theme="light"] {
|
|
5
5
|
color-scheme: light;
|
|
6
|
-
--sui-canvas: 0.
|
|
6
|
+
--sui-canvas: 0.960 0.011 290;
|
|
7
7
|
--sui-surface: 0.998 0.001 290;
|
|
8
|
-
--sui-surface-high: 0.
|
|
9
|
-
--sui-tray
|
|
8
|
+
--sui-surface-high: 0.932 0.014 290;
|
|
9
|
+
--sui-tray: 0.949 0.011 290;
|
|
10
|
+
--sui-tray-deep: 0.920 0.015 290;
|
|
11
|
+
--sui-mark-well: 0.902 0.016 290;
|
|
10
12
|
--sui-surface-float: 0.999 0.001 290;
|
|
11
13
|
--sui-puck: 1 0 0;
|
|
12
14
|
--sui-media: 0.200 0.008 285;
|
|
@@ -16,8 +18,8 @@
|
|
|
16
18
|
--sui-rim: 0.625 0.012 285;
|
|
17
19
|
--sui-primary: 0.490 0.205 292;
|
|
18
20
|
--sui-primary-strong: 0.430 0.200 292;
|
|
19
|
-
--sui-primary-soft: 0.
|
|
20
|
-
--sui-primary-selected: 0.
|
|
21
|
+
--sui-primary-soft: 0.944 0.040 292;
|
|
22
|
+
--sui-primary-selected: 0.895 0.070 292;
|
|
21
23
|
--sui-danger-soft: 0.952 0.020 30;
|
|
22
24
|
--sui-danger-selected: 0.900 0.042 30;
|
|
23
25
|
--sui-warning-soft: 0.955 0.032 82;
|
|
@@ -39,12 +41,14 @@
|
|
|
39
41
|
--sui-light-top: 1 0 0;
|
|
40
42
|
--sui-light-bottom: 0.280 0.025 290;
|
|
41
43
|
--sui-elevation-flat: none;
|
|
44
|
+
--sui-elevation-resting: 0 1px 2px oklch(var(--sui-light-bottom) / 0.05), 0 3px 8px -3px oklch(var(--sui-light-bottom) / 0.08);
|
|
42
45
|
--sui-elevation-raised: 0 1px 1px oklch(var(--sui-light-bottom) / 0.10), 0 2px 5px -1px oklch(var(--sui-light-bottom) / 0.12), inset 0 1px 0 oklch(var(--sui-light-top) / 0.24);
|
|
43
46
|
--sui-elevation-floating: 0 0 0 1px oklch(var(--sui-light-bottom) / 0.07), 0 4px 10px -2px oklch(var(--sui-light-bottom) / 0.08), 0 22px 48px -10px oklch(var(--sui-light-bottom) / 0.24), inset 0 1px 0 oklch(var(--sui-light-top) / 0.80);
|
|
44
47
|
--sui-elevation-control: 0 0 0 0.5px oklch(var(--sui-light-bottom) / 0.10), 0 1px 3px oklch(var(--sui-light-bottom) / 0.16), inset 0 1px 0 oklch(var(--sui-light-top) / 0.70);
|
|
45
48
|
--sui-elevation-recessed: inset 0 1px 2px oklch(var(--sui-light-bottom) / 0.18), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.55);
|
|
46
49
|
--sui-elevation-recessed-top: inset 0 5px 8px -5px oklch(var(--sui-light-bottom) / 0.18);
|
|
47
|
-
--sui-elevation-well: inset 0 2px 4px oklch(var(--sui-light-bottom) / 0.34), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.
|
|
50
|
+
--sui-elevation-well: inset 0 2px 4px oklch(var(--sui-light-bottom) / 0.34), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.80);
|
|
51
|
+
--sui-elevation-mark: inset 0 1px 3px oklch(var(--sui-light-bottom) / 0.30), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.80);
|
|
48
52
|
--sui-glass-fill: 0.98;
|
|
49
53
|
--sui-glass-blur: 28px;
|
|
50
54
|
--sui-glass-saturation: 1.10;
|
|
@@ -73,12 +77,14 @@
|
|
|
73
77
|
|
|
74
78
|
[data-sherick-theme="dark"] {
|
|
75
79
|
color-scheme: dark;
|
|
76
|
-
--sui-canvas: 0.
|
|
77
|
-
--sui-surface: 0.
|
|
78
|
-
--sui-surface-high: 0.
|
|
79
|
-
--sui-tray
|
|
80
|
-
--sui-
|
|
81
|
-
--sui-
|
|
80
|
+
--sui-canvas: 0.145 0.016 285;
|
|
81
|
+
--sui-surface: 0.212 0.018 285;
|
|
82
|
+
--sui-surface-high: 0.310 0.022 285;
|
|
83
|
+
--sui-tray: 0.262 0.020 285;
|
|
84
|
+
--sui-tray-deep: 0.300 0.022 285;
|
|
85
|
+
--sui-mark-well: 0.335 0.024 285;
|
|
86
|
+
--sui-surface-float: 0.238 0.019 285;
|
|
87
|
+
--sui-puck: 0.335 0.024 285;
|
|
82
88
|
--sui-media: 0.160 0.006 285;
|
|
83
89
|
--sui-ink: 0.950 0.004 285;
|
|
84
90
|
--sui-ink-muted: 0.745 0.010 285;
|
|
@@ -86,8 +92,8 @@
|
|
|
86
92
|
--sui-rim: 0.535 0.010 285;
|
|
87
93
|
--sui-primary: 0.780 0.125 292;
|
|
88
94
|
--sui-primary-strong: 0.720 0.160 292;
|
|
89
|
-
--sui-primary-soft: 0.
|
|
90
|
-
--sui-primary-selected: 0.
|
|
95
|
+
--sui-primary-soft: 0.310 0.098 292;
|
|
96
|
+
--sui-primary-selected: 0.385 0.128 292;
|
|
91
97
|
--sui-danger-soft: 0.260 0.040 25;
|
|
92
98
|
--sui-danger-selected: 0.330 0.062 25;
|
|
93
99
|
--sui-warning-soft: 0.260 0.040 75;
|
|
@@ -109,12 +115,14 @@
|
|
|
109
115
|
--sui-light-top: 1 0 0;
|
|
110
116
|
--sui-light-bottom: 0.070 0.008 285;
|
|
111
117
|
--sui-elevation-flat: none;
|
|
112
|
-
--sui-elevation-
|
|
118
|
+
--sui-elevation-resting: 0 1px 2px oklch(var(--sui-light-bottom) / 0.45), 0 3px 8px -3px oklch(var(--sui-light-bottom) / 0.45);
|
|
119
|
+
--sui-elevation-raised: 0 1px 2px oklch(var(--sui-light-bottom) / 0.40), 0 3px 8px -2px oklch(var(--sui-light-bottom) / 0.30), inset 0 1px 0 oklch(var(--sui-light-top) / 0.13);
|
|
113
120
|
--sui-elevation-floating: 0 0 0 1px oklch(var(--sui-light-top) / 0.08), 0 6px 14px -4px oklch(var(--sui-light-bottom) / 0.40), 0 26px 56px -12px oklch(var(--sui-light-bottom) / 0.65), inset 0 1px 0 oklch(var(--sui-light-top) / 0.06);
|
|
114
121
|
--sui-elevation-control: 0 0 0 0.5px oklch(var(--sui-light-bottom) / 0.40), 0 1px 3px oklch(var(--sui-light-bottom) / 0.45), inset 0 1px 0 oklch(var(--sui-light-top) / 0.09);
|
|
115
122
|
--sui-elevation-recessed: inset 0 1px 3px oklch(var(--sui-light-bottom) / 0.42), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.05);
|
|
116
123
|
--sui-elevation-recessed-top: inset 0 5px 8px -5px oklch(var(--sui-light-bottom) / 0.40);
|
|
117
|
-
--sui-elevation-well: inset 0 2px 4px oklch(var(--sui-light-bottom) / 0.
|
|
124
|
+
--sui-elevation-well: inset 0 2px 4px oklch(var(--sui-light-bottom) / 0.80), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.12);
|
|
125
|
+
--sui-elevation-mark: inset 0 1px 3px oklch(var(--sui-light-bottom) / 0.65), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.12);
|
|
118
126
|
--sui-glass-fill: 0.98;
|
|
119
127
|
--sui-glass-blur: 32px;
|
|
120
128
|
--sui-glass-saturation: 1.12;
|
|
@@ -129,7 +137,7 @@
|
|
|
129
137
|
--sui-glass-hero-saturation: 1.03;
|
|
130
138
|
--sui-glass-hero-brightness: 1.0;
|
|
131
139
|
--sui-glass-hero-gradient: linear-gradient(180deg, rgb(255 255 255 / 0.035) 0%, rgb(255 255 255 / 0.01) 12%, rgb(255 255 255 / 0) 44%, rgb(0 0 0 / 0.16) 100%);
|
|
132
|
-
--sui-surface-overlay: 0.
|
|
140
|
+
--sui-surface-overlay: 0.226 0.018 285;
|
|
133
141
|
--sui-overlay-fill: 0.99;
|
|
134
142
|
--sui-scrim-blur: 8px;
|
|
135
143
|
--sui-code-text: #dfdee6;
|
|
@@ -144,12 +152,14 @@
|
|
|
144
152
|
@media (prefers-color-scheme: dark) {
|
|
145
153
|
:root:not([data-sherick-theme]) {
|
|
146
154
|
color-scheme: dark;
|
|
147
|
-
--sui-canvas: 0.
|
|
148
|
-
--sui-surface: 0.
|
|
149
|
-
--sui-surface-high: 0.
|
|
150
|
-
--sui-tray
|
|
151
|
-
--sui-
|
|
152
|
-
--sui-
|
|
155
|
+
--sui-canvas: 0.145 0.016 285;
|
|
156
|
+
--sui-surface: 0.212 0.018 285;
|
|
157
|
+
--sui-surface-high: 0.310 0.022 285;
|
|
158
|
+
--sui-tray: 0.262 0.020 285;
|
|
159
|
+
--sui-tray-deep: 0.300 0.022 285;
|
|
160
|
+
--sui-mark-well: 0.335 0.024 285;
|
|
161
|
+
--sui-surface-float: 0.238 0.019 285;
|
|
162
|
+
--sui-puck: 0.335 0.024 285;
|
|
153
163
|
--sui-media: 0.160 0.006 285;
|
|
154
164
|
--sui-ink: 0.950 0.004 285;
|
|
155
165
|
--sui-ink-muted: 0.745 0.010 285;
|
|
@@ -157,8 +167,8 @@
|
|
|
157
167
|
--sui-rim: 0.535 0.010 285;
|
|
158
168
|
--sui-primary: 0.780 0.125 292;
|
|
159
169
|
--sui-primary-strong: 0.720 0.160 292;
|
|
160
|
-
--sui-primary-soft: 0.
|
|
161
|
-
--sui-primary-selected: 0.
|
|
170
|
+
--sui-primary-soft: 0.310 0.098 292;
|
|
171
|
+
--sui-primary-selected: 0.385 0.128 292;
|
|
162
172
|
--sui-danger-soft: 0.260 0.040 25;
|
|
163
173
|
--sui-danger-selected: 0.330 0.062 25;
|
|
164
174
|
--sui-warning-soft: 0.260 0.040 75;
|
|
@@ -180,12 +190,14 @@
|
|
|
180
190
|
--sui-light-top: 1 0 0;
|
|
181
191
|
--sui-light-bottom: 0.070 0.008 285;
|
|
182
192
|
--sui-elevation-flat: none;
|
|
183
|
-
--sui-elevation-
|
|
193
|
+
--sui-elevation-resting: 0 1px 2px oklch(var(--sui-light-bottom) / 0.45), 0 3px 8px -3px oklch(var(--sui-light-bottom) / 0.45);
|
|
194
|
+
--sui-elevation-raised: 0 1px 2px oklch(var(--sui-light-bottom) / 0.40), 0 3px 8px -2px oklch(var(--sui-light-bottom) / 0.30), inset 0 1px 0 oklch(var(--sui-light-top) / 0.13);
|
|
184
195
|
--sui-elevation-floating: 0 0 0 1px oklch(var(--sui-light-top) / 0.08), 0 6px 14px -4px oklch(var(--sui-light-bottom) / 0.40), 0 26px 56px -12px oklch(var(--sui-light-bottom) / 0.65), inset 0 1px 0 oklch(var(--sui-light-top) / 0.06);
|
|
185
196
|
--sui-elevation-control: 0 0 0 0.5px oklch(var(--sui-light-bottom) / 0.40), 0 1px 3px oklch(var(--sui-light-bottom) / 0.45), inset 0 1px 0 oklch(var(--sui-light-top) / 0.09);
|
|
186
197
|
--sui-elevation-recessed: inset 0 1px 3px oklch(var(--sui-light-bottom) / 0.42), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.05);
|
|
187
198
|
--sui-elevation-recessed-top: inset 0 5px 8px -5px oklch(var(--sui-light-bottom) / 0.40);
|
|
188
|
-
--sui-elevation-well: inset 0 2px 4px oklch(var(--sui-light-bottom) / 0.
|
|
199
|
+
--sui-elevation-well: inset 0 2px 4px oklch(var(--sui-light-bottom) / 0.80), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.12);
|
|
200
|
+
--sui-elevation-mark: inset 0 1px 3px oklch(var(--sui-light-bottom) / 0.65), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.12);
|
|
189
201
|
--sui-glass-fill: 0.98;
|
|
190
202
|
--sui-glass-blur: 32px;
|
|
191
203
|
--sui-glass-saturation: 1.12;
|
|
@@ -200,7 +212,7 @@
|
|
|
200
212
|
--sui-glass-hero-saturation: 1.03;
|
|
201
213
|
--sui-glass-hero-brightness: 1.0;
|
|
202
214
|
--sui-glass-hero-gradient: linear-gradient(180deg, rgb(255 255 255 / 0.035) 0%, rgb(255 255 255 / 0.01) 12%, rgb(255 255 255 / 0) 44%, rgb(0 0 0 / 0.16) 100%);
|
|
203
|
-
--sui-surface-overlay: 0.
|
|
215
|
+
--sui-surface-overlay: 0.226 0.018 285;
|
|
204
216
|
--sui-overlay-fill: 0.99;
|
|
205
217
|
--sui-scrim-blur: 8px;
|
|
206
218
|
--sui-code-text: #dfdee6;
|