@oddmash/ui 0.5.0 → 0.7.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/README.md +1 -1
- package/dist/alert.js +2 -2
- package/dist/badge.d.ts +2 -2
- package/dist/chunk-7VBNUFSJ.js +109 -0
- package/dist/{chunk-WHFF7XSS.js → chunk-EYG4MUDZ.js} +34 -6
- package/dist/{chunk-ITEJEMEF.js → chunk-GDIRM6CK.js} +7 -2
- package/dist/{chunk-Z6HKBFCS.js → chunk-NPHIUQ3M.js} +84 -0
- package/dist/{chunk-URS474NU.js → chunk-OJKYDXOE.js} +0 -5
- package/dist/{chunk-OJJPFVTC.js → chunk-PG3JE6RB.js} +7 -1
- package/dist/{chunk-FKO6T5XG.js → chunk-YTXTQWA7.js} +1 -1
- package/dist/chunk-ZRMUD4KO.js +57 -0
- package/dist/command-palette.d.ts +2 -1
- package/dist/command-palette.js +2 -1
- package/dist/docs-navigation.js +1 -1
- package/dist/index.js +15 -15
- package/dist/locale-picker.js +2 -2
- package/dist/select.js +1 -1
- package/dist/slider.js +1 -1
- package/dist/styles.css +533 -170
- package/dist/toast-provider.js +2 -2
- package/dist/toast.d.ts +2 -0
- package/dist/toast.js +1 -1
- package/dist/tokens.css +230 -0
- package/dist/tokens.d.ts +59 -0
- package/dist/tokens.js +1 -1
- package/package.json +1 -1
- package/tokens/primitive.json +374 -0
- package/tokens/semantic/dark.json +246 -0
- package/tokens/semantic/light.json +246 -0
- package/dist/chunk-OGJ3KIBM.js +0 -50
- package/dist/chunk-U2Y2DJXG.js +0 -14
- package/dist/{chunk-2H7CEOL5.js → chunk-TZHTKOPH.js} +3 -3
package/dist/styles.css
CHANGED
|
@@ -23,6 +23,8 @@
|
|
|
23
23
|
--om-primitive-color-light-action-hover: #dedede;
|
|
24
24
|
--om-primitive-color-focus-blue: #2459d3;
|
|
25
25
|
--om-primitive-color-focus-blue-dark: #91afff;
|
|
26
|
+
--om-primitive-color-amber: #8a4b00;
|
|
27
|
+
--om-primitive-color-amber-light: #ffca80;
|
|
26
28
|
--om-primitive-space-0: 0px;
|
|
27
29
|
--om-primitive-space-2: 2px;
|
|
28
30
|
--om-primitive-space-4: 4px;
|
|
@@ -49,10 +51,64 @@
|
|
|
49
51
|
--om-primitive-motion-fast: 0.12s;
|
|
50
52
|
--om-primitive-motion-ease: cubic-bezier(0.2, 0, 0, 1);
|
|
51
53
|
--om-primitive-shadow-panel: 0px 4px 16px 0px rgb(0% 0% 0% / 0.12);
|
|
54
|
+
--om-primitive-dimension-px-440: 440px;
|
|
55
|
+
--om-primitive-dimension-px-3: 3px;
|
|
56
|
+
--om-primitive-dimension-px-480: 480px;
|
|
57
|
+
--om-primitive-dimension-px-240: 240px;
|
|
58
|
+
--om-primitive-dimension-rem-1: 1rem;
|
|
59
|
+
--om-primitive-dimension-rem-0-5: 0.5rem;
|
|
60
|
+
--om-primitive-dimension-rem-0-28: 0.28rem;
|
|
61
|
+
--om-primitive-dimension-rem-0-375: 0.375rem;
|
|
62
|
+
--om-primitive-dimension-rem-2-25: 2.25rem;
|
|
63
|
+
--om-primitive-dimension-rem-1-25: 1.25rem;
|
|
64
|
+
--om-primitive-dimension-rem-0-75: 0.75rem;
|
|
65
|
+
--om-primitive-dimension-rem-1-125: 1.125rem;
|
|
66
|
+
--om-primitive-dimension-rem-2-5: 2.5rem;
|
|
67
|
+
--om-primitive-dimension-rem-12: 12rem;
|
|
68
|
+
--om-primitive-dimension-rem-22: 22rem;
|
|
69
|
+
--om-primitive-dimension-px-0: 0px;
|
|
70
|
+
--om-primitive-dimension-px-20: 20px;
|
|
71
|
+
--om-primitive-dimension-px-28: 28px;
|
|
72
|
+
--om-primitive-dimension-px-5: 5px;
|
|
73
|
+
--om-primitive-dimension-px-360: 360px;
|
|
74
|
+
--om-primitive-dimension-rem-72: 72rem;
|
|
75
|
+
--om-primitive-dimension-px-48: 48px;
|
|
76
|
+
--om-primitive-dimension-rem-4: 4rem;
|
|
77
|
+
--om-primitive-dimension-px-44: 44px;
|
|
78
|
+
--om-primitive-duration-ms-160: 0.16s;
|
|
79
|
+
--om-primitive-duration-ms-750: 0.75s;
|
|
80
|
+
--om-primitive-duration-ms-240: 0.24s;
|
|
81
|
+
--om-primitive-duration-ms-180: 0.18s;
|
|
82
|
+
--om-primitive-duration-ms-900: 0.9s;
|
|
83
|
+
--om-primitive-duration-ms-220: 0.22s;
|
|
84
|
+
--om-primitive-duration-ms-140: 0.14s;
|
|
85
|
+
--om-primitive-duration-ms-1600: 1.6s;
|
|
86
|
+
--om-primitive-duration-ms-950: 0.95s;
|
|
87
|
+
--om-primitive-number-opacity-0-5: 0.5;
|
|
88
|
+
--om-primitive-number-layer-1000: 1000;
|
|
89
|
+
--om-primitive-number-layer-1001: 1001;
|
|
90
|
+
--om-primitive-number-weight-650: 650;
|
|
91
|
+
--om-primitive-number-layer-2: 2;
|
|
92
|
+
--om-primitive-number-layer-900: 900;
|
|
93
|
+
--om-primitive-number-weight-600: 600;
|
|
94
|
+
--om-primitive-number-opacity-0-65: 0.65;
|
|
95
|
+
--om-primitive-easing-curve-0-22-0-8-0-3-1: cubic-bezier(0.22, 0.8, 0.3, 1);
|
|
96
|
+
--om-primitive-easing-curve-0-4-0-0-2-1: cubic-bezier(0.4, 0, 0.2, 1);
|
|
97
|
+
--om-primitive-easing-curve-0-2-0-8-0-2-1: cubic-bezier(0.2, 0.8, 0.2, 1);
|
|
98
|
+
--om-primitive-easing-curve-0-45-0-0-55-1: cubic-bezier(0.45, 0, 0.55, 1);
|
|
99
|
+
--om-primitive-breakpoint-compact: 48rem;
|
|
52
100
|
--om-semantic-border-style: solid;
|
|
53
101
|
--om-semantic-control-height: 36px;
|
|
54
102
|
--om-semantic-control-small: 28px;
|
|
55
103
|
--om-semantic-overlay: rgba(0, 0, 0, 0.5);
|
|
104
|
+
--om-primitive-dimension-px-2: var(--om-primitive-space-2);
|
|
105
|
+
--om-primitive-dimension-px-1: var(--om-primitive-border-width);
|
|
106
|
+
--om-primitive-dimension-px-32: var(--om-primitive-space-32);
|
|
107
|
+
--om-primitive-dimension-px-4: var(--om-primitive-space-4);
|
|
108
|
+
--om-primitive-dimension-px-16: var(--om-primitive-space-16);
|
|
109
|
+
--om-primitive-dimension-px-12: var(--om-primitive-space-12);
|
|
110
|
+
--om-primitive-dimension-px-8: var(--om-primitive-space-8);
|
|
111
|
+
--om-primitive-duration-ms-120: var(--om-primitive-motion-fast);
|
|
56
112
|
--om-semantic-color-bg: var(--om-primitive-color-paper);
|
|
57
113
|
--om-semantic-color-surface: var(--om-primitive-color-white);
|
|
58
114
|
--om-semantic-color-text: var(--om-primitive-color-ink);
|
|
@@ -62,6 +118,9 @@
|
|
|
62
118
|
--om-semantic-color-accent-hover: var(--om-primitive-color-action-hover);
|
|
63
119
|
--om-semantic-color-on-accent: var(--om-primitive-color-white);
|
|
64
120
|
--om-semantic-color-danger: var(--om-primitive-color-danger);
|
|
121
|
+
--om-semantic-color-success: var(--om-primitive-color-mint);
|
|
122
|
+
--om-semantic-color-warning: var(--om-primitive-color-amber);
|
|
123
|
+
--om-semantic-color-info: var(--om-primitive-color-focus-blue);
|
|
65
124
|
--om-semantic-color-focus: var(--om-primitive-color-focus-blue);
|
|
66
125
|
--om-semantic-color-border-subtle: var(--om-primitive-color-soft-line);
|
|
67
126
|
--om-semantic-color-action: var(--om-primitive-color-ink);
|
|
@@ -89,7 +148,63 @@
|
|
|
89
148
|
--om-semantic-shadow: var(--om-primitive-shadow-panel);
|
|
90
149
|
--om-semantic-motion-duration: var(--om-primitive-motion-fast);
|
|
91
150
|
--om-semantic-motion-ease: var(--om-primitive-motion-ease);
|
|
151
|
+
--om-semantic-control-touch-target: var(--om-primitive-dimension-px-44);
|
|
152
|
+
--om-semantic-dimension-px-440: var(--om-primitive-dimension-px-440);
|
|
153
|
+
--om-semantic-dimension-px-3: var(--om-primitive-dimension-px-3);
|
|
154
|
+
--om-semantic-dimension-px-480: var(--om-primitive-dimension-px-480);
|
|
155
|
+
--om-semantic-dimension-px-240: var(--om-primitive-dimension-px-240);
|
|
156
|
+
--om-semantic-dimension-rem-1: var(--om-primitive-dimension-rem-1);
|
|
157
|
+
--om-semantic-dimension-rem-0-5: var(--om-primitive-dimension-rem-0-5);
|
|
158
|
+
--om-semantic-dimension-rem-0-28: var(--om-primitive-dimension-rem-0-28);
|
|
159
|
+
--om-semantic-dimension-rem-0-375: var(--om-primitive-dimension-rem-0-375);
|
|
160
|
+
--om-semantic-dimension-rem-2-25: var(--om-primitive-dimension-rem-2-25);
|
|
161
|
+
--om-semantic-dimension-rem-1-25: var(--om-primitive-dimension-rem-1-25);
|
|
162
|
+
--om-semantic-dimension-rem-0-75: var(--om-primitive-dimension-rem-0-75);
|
|
163
|
+
--om-semantic-dimension-rem-1-125: var(--om-primitive-dimension-rem-1-125);
|
|
164
|
+
--om-semantic-dimension-rem-2-5: var(--om-primitive-dimension-rem-2-5);
|
|
165
|
+
--om-semantic-dimension-rem-12: var(--om-primitive-dimension-rem-12);
|
|
166
|
+
--om-semantic-dimension-rem-22: var(--om-primitive-dimension-rem-22);
|
|
167
|
+
--om-semantic-dimension-px-0: var(--om-primitive-dimension-px-0);
|
|
168
|
+
--om-semantic-dimension-px-20: var(--om-primitive-dimension-px-20);
|
|
169
|
+
--om-semantic-dimension-px-28: var(--om-primitive-dimension-px-28);
|
|
170
|
+
--om-semantic-dimension-px-5: var(--om-primitive-dimension-px-5);
|
|
171
|
+
--om-semantic-dimension-px-360: var(--om-primitive-dimension-px-360);
|
|
172
|
+
--om-semantic-dimension-rem-72: var(--om-primitive-dimension-rem-72);
|
|
173
|
+
--om-semantic-dimension-px-48: var(--om-primitive-dimension-px-48);
|
|
174
|
+
--om-semantic-dimension-rem-4: var(--om-primitive-dimension-rem-4);
|
|
175
|
+
--om-semantic-dimension-px-44: var(--om-primitive-dimension-px-44);
|
|
176
|
+
--om-semantic-duration-ms-160: var(--om-primitive-duration-ms-160);
|
|
177
|
+
--om-semantic-duration-ms-750: var(--om-primitive-duration-ms-750);
|
|
178
|
+
--om-semantic-duration-ms-240: var(--om-primitive-duration-ms-240);
|
|
179
|
+
--om-semantic-duration-ms-180: var(--om-primitive-duration-ms-180);
|
|
180
|
+
--om-semantic-duration-ms-900: var(--om-primitive-duration-ms-900);
|
|
181
|
+
--om-semantic-duration-ms-220: var(--om-primitive-duration-ms-220);
|
|
182
|
+
--om-semantic-duration-ms-140: var(--om-primitive-duration-ms-140);
|
|
183
|
+
--om-semantic-duration-ms-1600: var(--om-primitive-duration-ms-1600);
|
|
184
|
+
--om-semantic-duration-ms-950: var(--om-primitive-duration-ms-950);
|
|
185
|
+
--om-semantic-number-opacity-0-5: var(--om-primitive-number-opacity-0-5);
|
|
186
|
+
--om-semantic-number-layer-1000: var(--om-primitive-number-layer-1000);
|
|
187
|
+
--om-semantic-number-layer-1001: var(--om-primitive-number-layer-1001);
|
|
188
|
+
--om-semantic-number-weight-650: var(--om-primitive-number-weight-650);
|
|
189
|
+
--om-semantic-number-layer-2: var(--om-primitive-number-layer-2);
|
|
190
|
+
--om-semantic-number-layer-900: var(--om-primitive-number-layer-900);
|
|
191
|
+
--om-semantic-number-weight-600: var(--om-primitive-number-weight-600);
|
|
192
|
+
--om-semantic-number-opacity-0-65: var(--om-primitive-number-opacity-0-65);
|
|
193
|
+
--om-semantic-easing-curve-0-22-0-8-0-3-1: var(--om-primitive-easing-curve-0-22-0-8-0-3-1);
|
|
194
|
+
--om-semantic-easing-curve-0-4-0-0-2-1: var(--om-primitive-easing-curve-0-4-0-0-2-1);
|
|
195
|
+
--om-semantic-easing-curve-0-2-0-8-0-2-1: var(--om-primitive-easing-curve-0-2-0-8-0-2-1);
|
|
196
|
+
--om-semantic-easing-curve-0-45-0-0-55-1: var(--om-primitive-easing-curve-0-45-0-0-55-1);
|
|
92
197
|
--om-semantic-border-default: var(--om-primitive-border-width) solid var(--om-semantic-color-border);
|
|
198
|
+
--om-semantic-dimension-px-2: var(--om-primitive-dimension-px-2);
|
|
199
|
+
--om-semantic-dimension-px-1: var(--om-primitive-dimension-px-1);
|
|
200
|
+
--om-semantic-dimension-px-32: var(--om-primitive-dimension-px-32);
|
|
201
|
+
--om-semantic-dimension-px-4: var(--om-primitive-dimension-px-4);
|
|
202
|
+
--om-semantic-dimension-px-16: var(--om-primitive-dimension-px-16);
|
|
203
|
+
--om-semantic-dimension-px-12: var(--om-primitive-dimension-px-12);
|
|
204
|
+
--om-semantic-dimension-px-8: var(--om-primitive-dimension-px-8);
|
|
205
|
+
--om-semantic-duration-ms-120: var(--om-primitive-duration-ms-120);
|
|
206
|
+
--om-semantic-focus-width: var(--om-primitive-dimension-px-2);
|
|
207
|
+
--om-semantic-focus-offset: var(--om-primitive-dimension-px-2);
|
|
93
208
|
}
|
|
94
209
|
|
|
95
210
|
[data-om-theme=dark] {
|
|
@@ -116,6 +231,8 @@
|
|
|
116
231
|
--om-primitive-color-light-action-hover: #dedede;
|
|
117
232
|
--om-primitive-color-focus-blue: #2459d3;
|
|
118
233
|
--om-primitive-color-focus-blue-dark: #91afff;
|
|
234
|
+
--om-primitive-color-amber: #8a4b00;
|
|
235
|
+
--om-primitive-color-amber-light: #ffca80;
|
|
119
236
|
--om-primitive-space-0: 0px;
|
|
120
237
|
--om-primitive-space-2: 2px;
|
|
121
238
|
--om-primitive-space-4: 4px;
|
|
@@ -142,10 +259,64 @@
|
|
|
142
259
|
--om-primitive-motion-fast: 0.12s;
|
|
143
260
|
--om-primitive-motion-ease: cubic-bezier(0.2, 0, 0, 1);
|
|
144
261
|
--om-primitive-shadow-panel: 0px 4px 16px 0px rgb(0% 0% 0% / 0.12);
|
|
262
|
+
--om-primitive-dimension-px-440: 440px;
|
|
263
|
+
--om-primitive-dimension-px-3: 3px;
|
|
264
|
+
--om-primitive-dimension-px-480: 480px;
|
|
265
|
+
--om-primitive-dimension-px-240: 240px;
|
|
266
|
+
--om-primitive-dimension-rem-1: 1rem;
|
|
267
|
+
--om-primitive-dimension-rem-0-5: 0.5rem;
|
|
268
|
+
--om-primitive-dimension-rem-0-28: 0.28rem;
|
|
269
|
+
--om-primitive-dimension-rem-0-375: 0.375rem;
|
|
270
|
+
--om-primitive-dimension-rem-2-25: 2.25rem;
|
|
271
|
+
--om-primitive-dimension-rem-1-25: 1.25rem;
|
|
272
|
+
--om-primitive-dimension-rem-0-75: 0.75rem;
|
|
273
|
+
--om-primitive-dimension-rem-1-125: 1.125rem;
|
|
274
|
+
--om-primitive-dimension-rem-2-5: 2.5rem;
|
|
275
|
+
--om-primitive-dimension-rem-12: 12rem;
|
|
276
|
+
--om-primitive-dimension-rem-22: 22rem;
|
|
277
|
+
--om-primitive-dimension-px-0: 0px;
|
|
278
|
+
--om-primitive-dimension-px-20: 20px;
|
|
279
|
+
--om-primitive-dimension-px-28: 28px;
|
|
280
|
+
--om-primitive-dimension-px-5: 5px;
|
|
281
|
+
--om-primitive-dimension-px-360: 360px;
|
|
282
|
+
--om-primitive-dimension-rem-72: 72rem;
|
|
283
|
+
--om-primitive-dimension-px-48: 48px;
|
|
284
|
+
--om-primitive-dimension-rem-4: 4rem;
|
|
285
|
+
--om-primitive-dimension-px-44: 44px;
|
|
286
|
+
--om-primitive-duration-ms-160: 0.16s;
|
|
287
|
+
--om-primitive-duration-ms-750: 0.75s;
|
|
288
|
+
--om-primitive-duration-ms-240: 0.24s;
|
|
289
|
+
--om-primitive-duration-ms-180: 0.18s;
|
|
290
|
+
--om-primitive-duration-ms-900: 0.9s;
|
|
291
|
+
--om-primitive-duration-ms-220: 0.22s;
|
|
292
|
+
--om-primitive-duration-ms-140: 0.14s;
|
|
293
|
+
--om-primitive-duration-ms-1600: 1.6s;
|
|
294
|
+
--om-primitive-duration-ms-950: 0.95s;
|
|
295
|
+
--om-primitive-number-opacity-0-5: 0.5;
|
|
296
|
+
--om-primitive-number-layer-1000: 1000;
|
|
297
|
+
--om-primitive-number-layer-1001: 1001;
|
|
298
|
+
--om-primitive-number-weight-650: 650;
|
|
299
|
+
--om-primitive-number-layer-2: 2;
|
|
300
|
+
--om-primitive-number-layer-900: 900;
|
|
301
|
+
--om-primitive-number-weight-600: 600;
|
|
302
|
+
--om-primitive-number-opacity-0-65: 0.65;
|
|
303
|
+
--om-primitive-easing-curve-0-22-0-8-0-3-1: cubic-bezier(0.22, 0.8, 0.3, 1);
|
|
304
|
+
--om-primitive-easing-curve-0-4-0-0-2-1: cubic-bezier(0.4, 0, 0.2, 1);
|
|
305
|
+
--om-primitive-easing-curve-0-2-0-8-0-2-1: cubic-bezier(0.2, 0.8, 0.2, 1);
|
|
306
|
+
--om-primitive-easing-curve-0-45-0-0-55-1: cubic-bezier(0.45, 0, 0.55, 1);
|
|
307
|
+
--om-primitive-breakpoint-compact: 48rem;
|
|
145
308
|
--om-semantic-border-style: solid;
|
|
146
309
|
--om-semantic-control-height: 36px;
|
|
147
310
|
--om-semantic-control-small: 28px;
|
|
148
311
|
--om-semantic-overlay: rgba(0, 0, 0, 0.5);
|
|
312
|
+
--om-primitive-dimension-px-2: var(--om-primitive-space-2);
|
|
313
|
+
--om-primitive-dimension-px-1: var(--om-primitive-border-width);
|
|
314
|
+
--om-primitive-dimension-px-32: var(--om-primitive-space-32);
|
|
315
|
+
--om-primitive-dimension-px-4: var(--om-primitive-space-4);
|
|
316
|
+
--om-primitive-dimension-px-16: var(--om-primitive-space-16);
|
|
317
|
+
--om-primitive-dimension-px-12: var(--om-primitive-space-12);
|
|
318
|
+
--om-primitive-dimension-px-8: var(--om-primitive-space-8);
|
|
319
|
+
--om-primitive-duration-ms-120: var(--om-primitive-motion-fast);
|
|
149
320
|
--om-semantic-color-bg: var(--om-primitive-color-night);
|
|
150
321
|
--om-semantic-color-surface: var(--om-primitive-color-surface);
|
|
151
322
|
--om-semantic-color-text: var(--om-primitive-color-bright);
|
|
@@ -155,6 +326,9 @@
|
|
|
155
326
|
--om-semantic-color-accent-hover: var(--om-primitive-color-light-action-hover);
|
|
156
327
|
--om-semantic-color-on-accent: var(--om-primitive-color-ink);
|
|
157
328
|
--om-semantic-color-danger: var(--om-primitive-color-danger-dark);
|
|
329
|
+
--om-semantic-color-success: var(--om-primitive-color-pale-mint);
|
|
330
|
+
--om-semantic-color-warning: var(--om-primitive-color-amber-light);
|
|
331
|
+
--om-semantic-color-info: var(--om-primitive-color-focus-blue-dark);
|
|
158
332
|
--om-semantic-color-focus: var(--om-primitive-color-focus-blue-dark);
|
|
159
333
|
--om-semantic-color-border-subtle: var(--om-primitive-color-dark-soft-line);
|
|
160
334
|
--om-semantic-color-action: var(--om-primitive-color-bright);
|
|
@@ -182,7 +356,63 @@
|
|
|
182
356
|
--om-semantic-shadow: var(--om-primitive-shadow-panel);
|
|
183
357
|
--om-semantic-motion-duration: var(--om-primitive-motion-fast);
|
|
184
358
|
--om-semantic-motion-ease: var(--om-primitive-motion-ease);
|
|
359
|
+
--om-semantic-control-touch-target: var(--om-primitive-dimension-px-44);
|
|
360
|
+
--om-semantic-dimension-px-440: var(--om-primitive-dimension-px-440);
|
|
361
|
+
--om-semantic-dimension-px-3: var(--om-primitive-dimension-px-3);
|
|
362
|
+
--om-semantic-dimension-px-480: var(--om-primitive-dimension-px-480);
|
|
363
|
+
--om-semantic-dimension-px-240: var(--om-primitive-dimension-px-240);
|
|
364
|
+
--om-semantic-dimension-rem-1: var(--om-primitive-dimension-rem-1);
|
|
365
|
+
--om-semantic-dimension-rem-0-5: var(--om-primitive-dimension-rem-0-5);
|
|
366
|
+
--om-semantic-dimension-rem-0-28: var(--om-primitive-dimension-rem-0-28);
|
|
367
|
+
--om-semantic-dimension-rem-0-375: var(--om-primitive-dimension-rem-0-375);
|
|
368
|
+
--om-semantic-dimension-rem-2-25: var(--om-primitive-dimension-rem-2-25);
|
|
369
|
+
--om-semantic-dimension-rem-1-25: var(--om-primitive-dimension-rem-1-25);
|
|
370
|
+
--om-semantic-dimension-rem-0-75: var(--om-primitive-dimension-rem-0-75);
|
|
371
|
+
--om-semantic-dimension-rem-1-125: var(--om-primitive-dimension-rem-1-125);
|
|
372
|
+
--om-semantic-dimension-rem-2-5: var(--om-primitive-dimension-rem-2-5);
|
|
373
|
+
--om-semantic-dimension-rem-12: var(--om-primitive-dimension-rem-12);
|
|
374
|
+
--om-semantic-dimension-rem-22: var(--om-primitive-dimension-rem-22);
|
|
375
|
+
--om-semantic-dimension-px-0: var(--om-primitive-dimension-px-0);
|
|
376
|
+
--om-semantic-dimension-px-20: var(--om-primitive-dimension-px-20);
|
|
377
|
+
--om-semantic-dimension-px-28: var(--om-primitive-dimension-px-28);
|
|
378
|
+
--om-semantic-dimension-px-5: var(--om-primitive-dimension-px-5);
|
|
379
|
+
--om-semantic-dimension-px-360: var(--om-primitive-dimension-px-360);
|
|
380
|
+
--om-semantic-dimension-rem-72: var(--om-primitive-dimension-rem-72);
|
|
381
|
+
--om-semantic-dimension-px-48: var(--om-primitive-dimension-px-48);
|
|
382
|
+
--om-semantic-dimension-rem-4: var(--om-primitive-dimension-rem-4);
|
|
383
|
+
--om-semantic-dimension-px-44: var(--om-primitive-dimension-px-44);
|
|
384
|
+
--om-semantic-duration-ms-160: var(--om-primitive-duration-ms-160);
|
|
385
|
+
--om-semantic-duration-ms-750: var(--om-primitive-duration-ms-750);
|
|
386
|
+
--om-semantic-duration-ms-240: var(--om-primitive-duration-ms-240);
|
|
387
|
+
--om-semantic-duration-ms-180: var(--om-primitive-duration-ms-180);
|
|
388
|
+
--om-semantic-duration-ms-900: var(--om-primitive-duration-ms-900);
|
|
389
|
+
--om-semantic-duration-ms-220: var(--om-primitive-duration-ms-220);
|
|
390
|
+
--om-semantic-duration-ms-140: var(--om-primitive-duration-ms-140);
|
|
391
|
+
--om-semantic-duration-ms-1600: var(--om-primitive-duration-ms-1600);
|
|
392
|
+
--om-semantic-duration-ms-950: var(--om-primitive-duration-ms-950);
|
|
393
|
+
--om-semantic-number-opacity-0-5: var(--om-primitive-number-opacity-0-5);
|
|
394
|
+
--om-semantic-number-layer-1000: var(--om-primitive-number-layer-1000);
|
|
395
|
+
--om-semantic-number-layer-1001: var(--om-primitive-number-layer-1001);
|
|
396
|
+
--om-semantic-number-weight-650: var(--om-primitive-number-weight-650);
|
|
397
|
+
--om-semantic-number-layer-2: var(--om-primitive-number-layer-2);
|
|
398
|
+
--om-semantic-number-layer-900: var(--om-primitive-number-layer-900);
|
|
399
|
+
--om-semantic-number-weight-600: var(--om-primitive-number-weight-600);
|
|
400
|
+
--om-semantic-number-opacity-0-65: var(--om-primitive-number-opacity-0-65);
|
|
401
|
+
--om-semantic-easing-curve-0-22-0-8-0-3-1: var(--om-primitive-easing-curve-0-22-0-8-0-3-1);
|
|
402
|
+
--om-semantic-easing-curve-0-4-0-0-2-1: var(--om-primitive-easing-curve-0-4-0-0-2-1);
|
|
403
|
+
--om-semantic-easing-curve-0-2-0-8-0-2-1: var(--om-primitive-easing-curve-0-2-0-8-0-2-1);
|
|
404
|
+
--om-semantic-easing-curve-0-45-0-0-55-1: var(--om-primitive-easing-curve-0-45-0-0-55-1);
|
|
185
405
|
--om-semantic-border-default: var(--om-primitive-border-width) solid var(--om-semantic-color-border);
|
|
406
|
+
--om-semantic-dimension-px-2: var(--om-primitive-dimension-px-2);
|
|
407
|
+
--om-semantic-dimension-px-1: var(--om-primitive-dimension-px-1);
|
|
408
|
+
--om-semantic-dimension-px-32: var(--om-primitive-dimension-px-32);
|
|
409
|
+
--om-semantic-dimension-px-4: var(--om-primitive-dimension-px-4);
|
|
410
|
+
--om-semantic-dimension-px-16: var(--om-primitive-dimension-px-16);
|
|
411
|
+
--om-semantic-dimension-px-12: var(--om-primitive-dimension-px-12);
|
|
412
|
+
--om-semantic-dimension-px-8: var(--om-primitive-dimension-px-8);
|
|
413
|
+
--om-semantic-duration-ms-120: var(--om-primitive-duration-ms-120);
|
|
414
|
+
--om-semantic-focus-width: var(--om-primitive-dimension-px-2);
|
|
415
|
+
--om-semantic-focus-offset: var(--om-primitive-dimension-px-2);
|
|
186
416
|
}
|
|
187
417
|
|
|
188
418
|
:is(.om-textarea,
|
|
@@ -213,7 +443,7 @@
|
|
|
213
443
|
border-color: var(--om-semantic-color-danger);
|
|
214
444
|
}
|
|
215
445
|
:is(.om-textarea, .om-select):disabled {
|
|
216
|
-
opacity: 0
|
|
446
|
+
opacity: var(--om-semantic-number-opacity-0-5);
|
|
217
447
|
}
|
|
218
448
|
|
|
219
449
|
.om-textarea {
|
|
@@ -229,6 +459,13 @@ select.om-select optgroup {
|
|
|
229
459
|
color: var(--om-semantic-color-text);
|
|
230
460
|
}
|
|
231
461
|
|
|
462
|
+
select.om-select {
|
|
463
|
+
cursor: pointer;
|
|
464
|
+
}
|
|
465
|
+
select.om-select:disabled {
|
|
466
|
+
cursor: not-allowed;
|
|
467
|
+
}
|
|
468
|
+
|
|
232
469
|
.om-progress {
|
|
233
470
|
accent-color: var(--om-semantic-color-action);
|
|
234
471
|
}
|
|
@@ -240,7 +477,7 @@ select.om-select optgroup {
|
|
|
240
477
|
}
|
|
241
478
|
:is(.om-checkbox, .om-radio, .om-switch):disabled {
|
|
242
479
|
cursor: not-allowed;
|
|
243
|
-
opacity: 0
|
|
480
|
+
opacity: var(--om-semantic-number-opacity-0-5);
|
|
244
481
|
}
|
|
245
482
|
|
|
246
483
|
:is(.om-checkbox, .om-radio) {
|
|
@@ -249,9 +486,9 @@ select.om-select optgroup {
|
|
|
249
486
|
display: inline-grid;
|
|
250
487
|
place-items: center;
|
|
251
488
|
flex: none;
|
|
252
|
-
inline-size:
|
|
253
|
-
block-size:
|
|
254
|
-
border:
|
|
489
|
+
inline-size: var(--om-semantic-dimension-rem-1);
|
|
490
|
+
block-size: var(--om-semantic-dimension-rem-1);
|
|
491
|
+
border: var(--om-semantic-border-width) solid var(--om-semantic-color-border);
|
|
255
492
|
background: var(--om-semantic-color-bg);
|
|
256
493
|
color: var(--om-semantic-color-on-action);
|
|
257
494
|
}
|
|
@@ -267,11 +504,11 @@ select.om-select optgroup {
|
|
|
267
504
|
border-radius: var(--om-semantic-radius-sm);
|
|
268
505
|
}
|
|
269
506
|
.om-checkbox:checked::before {
|
|
270
|
-
inline-size: 0
|
|
271
|
-
block-size: 0
|
|
272
|
-
border-inline-start:
|
|
273
|
-
border-block-end:
|
|
274
|
-
transform: translateY(-
|
|
507
|
+
inline-size: var(--om-semantic-dimension-rem-0-5);
|
|
508
|
+
block-size: var(--om-semantic-dimension-rem-0-28);
|
|
509
|
+
border-inline-start: var(--om-semantic-dimension-px-2) solid currentColor;
|
|
510
|
+
border-block-end: var(--om-semantic-dimension-px-2) solid currentColor;
|
|
511
|
+
transform: translateY(calc(-1 * var(--om-semantic-dimension-px-1))) rotate(-45deg);
|
|
275
512
|
}
|
|
276
513
|
.om-checkbox:indeterminate {
|
|
277
514
|
background: var(--om-semantic-color-action);
|
|
@@ -279,8 +516,8 @@ select.om-select optgroup {
|
|
|
279
516
|
}
|
|
280
517
|
.om-checkbox:indeterminate::before {
|
|
281
518
|
content: "";
|
|
282
|
-
inline-size: 0
|
|
283
|
-
border-block-end:
|
|
519
|
+
inline-size: var(--om-semantic-dimension-rem-0-5);
|
|
520
|
+
border-block-end: var(--om-semantic-dimension-px-2) solid currentColor;
|
|
284
521
|
border-inline-start: 0;
|
|
285
522
|
block-size: 0;
|
|
286
523
|
transform: none;
|
|
@@ -290,8 +527,8 @@ select.om-select optgroup {
|
|
|
290
527
|
border-radius: 50%;
|
|
291
528
|
}
|
|
292
529
|
.om-radio:checked::before {
|
|
293
|
-
inline-size: 0
|
|
294
|
-
block-size: 0
|
|
530
|
+
inline-size: var(--om-semantic-dimension-rem-0-375);
|
|
531
|
+
block-size: var(--om-semantic-dimension-rem-0-375);
|
|
295
532
|
border-radius: 50%;
|
|
296
533
|
background: currentColor;
|
|
297
534
|
}
|
|
@@ -301,27 +538,27 @@ select.om-select optgroup {
|
|
|
301
538
|
box-sizing: border-box;
|
|
302
539
|
display: inline-grid;
|
|
303
540
|
align-items: center;
|
|
304
|
-
width: 2
|
|
305
|
-
height: 1
|
|
306
|
-
padding:
|
|
307
|
-
border:
|
|
541
|
+
width: var(--om-semantic-dimension-rem-2-25);
|
|
542
|
+
height: var(--om-semantic-dimension-rem-1-25);
|
|
543
|
+
padding: var(--om-semantic-dimension-px-2);
|
|
544
|
+
border: var(--om-semantic-border-width) solid var(--om-semantic-color-border);
|
|
308
545
|
border-radius: var(--om-semantic-radius-pill);
|
|
309
546
|
background: var(--om-semantic-color-bg);
|
|
310
547
|
}
|
|
311
548
|
.om-switch::before {
|
|
312
549
|
content: "";
|
|
313
|
-
width: 0
|
|
314
|
-
height: 0
|
|
550
|
+
width: var(--om-semantic-dimension-rem-0-75);
|
|
551
|
+
height: var(--om-semantic-dimension-rem-0-75);
|
|
315
552
|
border-radius: 50%;
|
|
316
553
|
background: var(--om-semantic-color-muted);
|
|
317
554
|
justify-self: start;
|
|
318
|
-
transition: transform
|
|
555
|
+
transition: transform var(--om-semantic-duration-ms-160) var(--om-semantic-motion-ease), background-color var(--om-semantic-duration-ms-160) ease-out;
|
|
319
556
|
}
|
|
320
557
|
.om-switch:checked {
|
|
321
558
|
background: var(--om-semantic-color-action);
|
|
322
559
|
}
|
|
323
560
|
.om-switch:checked::before {
|
|
324
|
-
transform: translateX(1
|
|
561
|
+
transform: translateX(var(--om-semantic-dimension-rem-1-125));
|
|
325
562
|
background: var(--om-semantic-color-on-action);
|
|
326
563
|
}
|
|
327
564
|
|
|
@@ -339,8 +576,8 @@ select.om-select optgroup {
|
|
|
339
576
|
|
|
340
577
|
.om-alert {
|
|
341
578
|
padding: var(--om-semantic-space-md);
|
|
342
|
-
border:
|
|
343
|
-
border-inline-start:
|
|
579
|
+
border: var(--om-semantic-border-width) solid var(--om-semantic-color-border-subtle);
|
|
580
|
+
border-inline-start: var(--om-semantic-dimension-px-3) solid var(--om-semantic-color-text);
|
|
344
581
|
border-radius: var(--om-semantic-radius-sm);
|
|
345
582
|
background: var(--om-semantic-color-surface);
|
|
346
583
|
}
|
|
@@ -353,10 +590,10 @@ select.om-select optgroup {
|
|
|
353
590
|
display: inline-grid;
|
|
354
591
|
place-items: center;
|
|
355
592
|
flex: none;
|
|
356
|
-
width: 2
|
|
357
|
-
height: 2
|
|
593
|
+
width: var(--om-semantic-dimension-rem-2-5);
|
|
594
|
+
height: var(--om-semantic-dimension-rem-2-5);
|
|
358
595
|
overflow: hidden;
|
|
359
|
-
border:
|
|
596
|
+
border: var(--om-semantic-border-width) solid var(--om-semantic-color-border-subtle);
|
|
360
597
|
border-radius: 50%;
|
|
361
598
|
background: var(--om-semantic-color-surface);
|
|
362
599
|
font-weight: var(--om-semantic-font-weight);
|
|
@@ -373,7 +610,7 @@ select.om-select optgroup {
|
|
|
373
610
|
width: 100%;
|
|
374
611
|
margin: var(--om-semantic-space-md) 0;
|
|
375
612
|
border: 0;
|
|
376
|
-
border-block-start:
|
|
613
|
+
border-block-start: var(--om-semantic-border-width) solid var(--om-semantic-color-border-subtle);
|
|
377
614
|
}
|
|
378
615
|
|
|
379
616
|
.om-skeleton {
|
|
@@ -387,18 +624,18 @@ select.om-select optgroup {
|
|
|
387
624
|
.om-spinner {
|
|
388
625
|
display: inline-block;
|
|
389
626
|
box-sizing: border-box;
|
|
390
|
-
width: 1
|
|
391
|
-
height: 1
|
|
392
|
-
border:
|
|
627
|
+
width: var(--om-semantic-dimension-rem-1-125);
|
|
628
|
+
height: var(--om-semantic-dimension-rem-1-125);
|
|
629
|
+
border: var(--om-semantic-dimension-px-2) solid var(--om-semantic-color-border-subtle);
|
|
393
630
|
border-block-start-color: var(--om-semantic-color-text);
|
|
394
631
|
border-radius: 50%;
|
|
395
|
-
animation: om-spinner-turn
|
|
632
|
+
animation: om-spinner-turn var(--om-semantic-duration-ms-750) linear infinite;
|
|
396
633
|
}
|
|
397
634
|
|
|
398
635
|
.om-spinner-label {
|
|
399
636
|
position: absolute;
|
|
400
|
-
width:
|
|
401
|
-
height:
|
|
637
|
+
width: var(--om-semantic-dimension-px-1);
|
|
638
|
+
height: var(--om-semantic-dimension-px-1);
|
|
402
639
|
padding: 0;
|
|
403
640
|
overflow: hidden;
|
|
404
641
|
clip-path: inset(50%);
|
|
@@ -413,11 +650,11 @@ select.om-select optgroup {
|
|
|
413
650
|
.om-progress {
|
|
414
651
|
display: block;
|
|
415
652
|
width: 100%;
|
|
416
|
-
height: 0
|
|
653
|
+
height: var(--om-semantic-dimension-rem-0-75);
|
|
417
654
|
}
|
|
418
655
|
|
|
419
656
|
.om-accordion {
|
|
420
|
-
border-block-end:
|
|
657
|
+
border-block-end: var(--om-semantic-border-width) solid var(--om-semantic-color-border-subtle);
|
|
421
658
|
}
|
|
422
659
|
.om-accordion > summary {
|
|
423
660
|
padding: var(--om-semantic-space-md) var(--om-semantic-space-xs);
|
|
@@ -456,7 +693,7 @@ select.om-select optgroup {
|
|
|
456
693
|
overflow-wrap: anywhere;
|
|
457
694
|
}
|
|
458
695
|
.om-table :is(th, td) {
|
|
459
|
-
border-block-end:
|
|
696
|
+
border-block-end: var(--om-semantic-border-width) solid var(--om-semantic-color-border-subtle);
|
|
460
697
|
}
|
|
461
698
|
.om-table thead {
|
|
462
699
|
background: var(--om-semantic-color-surface);
|
|
@@ -477,7 +714,7 @@ select.om-select optgroup {
|
|
|
477
714
|
}
|
|
478
715
|
.om-breadcrumbs > ol > li + li {
|
|
479
716
|
padding-inline-start: var(--om-semantic-space-sm);
|
|
480
|
-
border-inline-start:
|
|
717
|
+
border-inline-start: var(--om-semantic-border-width) solid var(--om-semantic-color-border);
|
|
481
718
|
}
|
|
482
719
|
|
|
483
720
|
.om-breadcrumbs a {
|
|
@@ -492,7 +729,7 @@ select.om-select optgroup {
|
|
|
492
729
|
min-width: var(--om-semantic-control-height);
|
|
493
730
|
min-height: var(--om-semantic-control-height);
|
|
494
731
|
padding-inline: var(--om-semantic-space-sm);
|
|
495
|
-
border:
|
|
732
|
+
border: var(--om-semantic-border-width) solid var(--om-semantic-color-border-subtle);
|
|
496
733
|
border-radius: var(--om-semantic-radius-sm);
|
|
497
734
|
background: var(--om-semantic-color-surface);
|
|
498
735
|
color: inherit;
|
|
@@ -507,7 +744,7 @@ select.om-select optgroup {
|
|
|
507
744
|
|
|
508
745
|
.om-empty-state {
|
|
509
746
|
padding: var(--om-semantic-space-xl);
|
|
510
|
-
border:
|
|
747
|
+
border: var(--om-semantic-border-width) dashed var(--om-semantic-color-border);
|
|
511
748
|
border-radius: var(--om-semantic-radius-md);
|
|
512
749
|
text-align: center;
|
|
513
750
|
}
|
|
@@ -518,8 +755,8 @@ select.om-select optgroup {
|
|
|
518
755
|
.om-accordion > summary,
|
|
519
756
|
.om-breadcrumbs a,
|
|
520
757
|
.om-pagination > :is(a, button)):focus-visible {
|
|
521
|
-
outline:
|
|
522
|
-
outline-offset: -
|
|
758
|
+
outline: var(--om-semantic-focus-width) solid var(--om-semantic-color-focus);
|
|
759
|
+
outline-offset: calc(-1 * var(--om-semantic-dimension-px-1));
|
|
523
760
|
}
|
|
524
761
|
|
|
525
762
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -539,7 +776,7 @@ select.om-select optgroup {
|
|
|
539
776
|
border-block-start-color: CanvasText;
|
|
540
777
|
}
|
|
541
778
|
.om-pagination > [aria-current=page] {
|
|
542
|
-
outline:
|
|
779
|
+
outline: var(--om-semantic-focus-width) solid Highlight;
|
|
543
780
|
}
|
|
544
781
|
}
|
|
545
782
|
.om-select-dropdown {
|
|
@@ -547,21 +784,33 @@ select.om-select optgroup {
|
|
|
547
784
|
min-inline-size: 0;
|
|
548
785
|
}
|
|
549
786
|
.om-select-dropdown > [role=listbox] {
|
|
787
|
+
--om-select-menu-height: var(--om-semantic-dimension-rem-12);
|
|
550
788
|
position: absolute;
|
|
551
|
-
z-index: 2;
|
|
552
|
-
inset: calc(100% +
|
|
553
|
-
max-block-size:
|
|
789
|
+
z-index: var(--om-semantic-number-layer-2);
|
|
790
|
+
inset: calc(100% + var(--om-semantic-dimension-px-4)) 0 auto;
|
|
791
|
+
max-block-size: var(--om-select-menu-height);
|
|
792
|
+
box-sizing: border-box;
|
|
554
793
|
margin: 0;
|
|
555
794
|
padding: var(--om-semantic-space-xs);
|
|
556
795
|
overflow: auto;
|
|
796
|
+
overscroll-behavior: contain;
|
|
557
797
|
list-style: none;
|
|
558
|
-
border:
|
|
798
|
+
border: var(--om-semantic-border-width) solid var(--om-semantic-color-border);
|
|
559
799
|
border-radius: var(--om-semantic-radius-md);
|
|
560
800
|
background: var(--om-semantic-color-surface);
|
|
561
801
|
box-shadow: var(--om-semantic-shadow);
|
|
562
802
|
color: var(--om-semantic-color-text);
|
|
563
803
|
font: var(--om-semantic-font-size)/var(--om-semantic-font-line) var(--om-semantic-font-family);
|
|
564
804
|
}
|
|
805
|
+
.om-select-dropdown > [role=listbox][data-positioned] {
|
|
806
|
+
position: fixed;
|
|
807
|
+
inset: calc(var(--om-select-anchor-top) + var(--om-semantic-space-xs)) auto auto var(--om-select-anchor-left);
|
|
808
|
+
inline-size: var(--om-select-anchor-width);
|
|
809
|
+
max-block-size: max(0%, min(var(--om-select-menu-height), var(--om-select-available) - var(--om-semantic-space-xs)));
|
|
810
|
+
}
|
|
811
|
+
.om-select-dropdown > [role=listbox][data-positioned][data-placement=above] {
|
|
812
|
+
inset-block: auto calc(var(--om-select-anchor-bottom) + var(--om-semantic-space-xs));
|
|
813
|
+
}
|
|
565
814
|
.om-select-dropdown > [role=listbox] > [role=option] {
|
|
566
815
|
display: flex;
|
|
567
816
|
justify-content: space-between;
|
|
@@ -578,8 +827,8 @@ select.om-select optgroup {
|
|
|
578
827
|
flex: none;
|
|
579
828
|
inline-size: 0.6em;
|
|
580
829
|
block-size: 0.35em;
|
|
581
|
-
border-inline-start:
|
|
582
|
-
border-block-end:
|
|
830
|
+
border-inline-start: var(--om-semantic-dimension-px-2) solid currentColor;
|
|
831
|
+
border-block-end: var(--om-semantic-dimension-px-2) solid currentColor;
|
|
583
832
|
transform: rotate(-45deg);
|
|
584
833
|
visibility: hidden;
|
|
585
834
|
}
|
|
@@ -594,12 +843,15 @@ select.om-select optgroup {
|
|
|
594
843
|
visibility: visible;
|
|
595
844
|
}
|
|
596
845
|
.om-select-dropdown > [role=listbox] > [role=option]:hover:not([aria-disabled=true]) {
|
|
597
|
-
background: color-mix(in srgb, var(--om-semantic-color-text)
|
|
846
|
+
background: color-mix(in srgb, var(--om-semantic-color-text) 6%, var(--om-semantic-color-surface));
|
|
598
847
|
}
|
|
599
|
-
.om-select-dropdown > [role=listbox] > [role=option][
|
|
600
|
-
background: color-mix(in srgb, var(--om-semantic-color-text)
|
|
601
|
-
|
|
602
|
-
|
|
848
|
+
.om-select-dropdown > [role=listbox] > [role=option][aria-selected=true]:hover:not([aria-disabled=true]) {
|
|
849
|
+
background: color-mix(in srgb, var(--om-semantic-color-text) 14%, var(--om-semantic-color-surface));
|
|
850
|
+
}
|
|
851
|
+
.om-select-dropdown > [role=listbox] > [role=option][data-keyboard-active] {
|
|
852
|
+
background: color-mix(in srgb, var(--om-semantic-color-focus) 12%, var(--om-semantic-color-surface));
|
|
853
|
+
outline: var(--om-semantic-border-width) solid var(--om-semantic-color-focus);
|
|
854
|
+
outline-offset: calc(-1 * var(--om-semantic-border-width));
|
|
603
855
|
}
|
|
604
856
|
|
|
605
857
|
@media (forced-colors: active) {
|
|
@@ -608,11 +860,11 @@ select.om-select optgroup {
|
|
|
608
860
|
background: Highlight;
|
|
609
861
|
color: HighlightText;
|
|
610
862
|
}
|
|
611
|
-
.om-select-dropdown > [role=listbox] > [role=option][data-active], .om-select-dropdown > [role=listbox] > [role=option]:hover:not([aria-disabled=true]) {
|
|
612
|
-
outline:
|
|
613
|
-
outline-offset: -
|
|
863
|
+
.om-select-dropdown > [role=listbox] > [role=option][data-keyboard-active], .om-select-dropdown > [role=listbox] > [role=option]:hover:not([aria-disabled=true]) {
|
|
864
|
+
outline: var(--om-semantic-dimension-px-1) solid Highlight;
|
|
865
|
+
outline-offset: calc(-1 * var(--om-semantic-dimension-px-1));
|
|
614
866
|
}
|
|
615
|
-
.om-select-dropdown > [role=listbox] > [role=option][aria-selected=true][data-active], .om-select-dropdown > [role=listbox] > [role=option][aria-selected=true]:hover {
|
|
867
|
+
.om-select-dropdown > [role=listbox] > [role=option][aria-selected=true][data-keyboard-active], .om-select-dropdown > [role=listbox] > [role=option][aria-selected=true]:hover {
|
|
616
868
|
outline-color: HighlightText;
|
|
617
869
|
}
|
|
618
870
|
}
|
|
@@ -623,6 +875,10 @@ select.om-select optgroup {
|
|
|
623
875
|
gap: var(--om-semantic-space-sm);
|
|
624
876
|
text-align: start;
|
|
625
877
|
overflow-wrap: anywhere;
|
|
878
|
+
cursor: pointer;
|
|
879
|
+
}
|
|
880
|
+
.om-select-dropdown-trigger:disabled, .om-select-dropdown-trigger[aria-disabled=true] {
|
|
881
|
+
cursor: not-allowed;
|
|
626
882
|
}
|
|
627
883
|
.om-select-dropdown-trigger::after {
|
|
628
884
|
content: "";
|
|
@@ -630,24 +886,24 @@ select.om-select optgroup {
|
|
|
630
886
|
inline-size: 0.4em;
|
|
631
887
|
block-size: 0.4em;
|
|
632
888
|
margin-inline: 0.2em;
|
|
633
|
-
border-inline-end:
|
|
634
|
-
border-block-end:
|
|
889
|
+
border-inline-end: var(--om-semantic-border-width) solid currentColor;
|
|
890
|
+
border-block-end: var(--om-semantic-border-width) solid currentColor;
|
|
635
891
|
transform: rotate(45deg);
|
|
636
892
|
}
|
|
637
893
|
|
|
638
894
|
.om-toast-region {
|
|
639
895
|
position: fixed;
|
|
640
|
-
z-index: 900;
|
|
896
|
+
z-index: var(--om-semantic-number-layer-900);
|
|
641
897
|
inset: auto var(--om-semantic-space-lg) var(--om-semantic-space-lg) auto;
|
|
642
|
-
inline-size: min(
|
|
898
|
+
inline-size: min(var(--om-semantic-dimension-rem-22), 100% - 2 * var(--om-semantic-space-lg));
|
|
643
899
|
pointer-events: none;
|
|
644
900
|
}
|
|
645
901
|
|
|
646
902
|
.om-toast-viewport {
|
|
647
903
|
position: fixed;
|
|
648
|
-
z-index: 900;
|
|
904
|
+
z-index: var(--om-semantic-number-layer-900);
|
|
649
905
|
inset: auto var(--om-semantic-space-lg) var(--om-semantic-space-lg) auto;
|
|
650
|
-
inline-size: min(
|
|
906
|
+
inline-size: min(var(--om-semantic-dimension-rem-22), 100% - 2 * var(--om-semantic-space-lg));
|
|
651
907
|
max-block-size: calc(100dvh - 2 * var(--om-semantic-space-lg));
|
|
652
908
|
display: flex;
|
|
653
909
|
flex-direction: column;
|
|
@@ -668,15 +924,15 @@ select.om-select optgroup {
|
|
|
668
924
|
display: block;
|
|
669
925
|
overflow: visible;
|
|
670
926
|
block-size: var(--om-toast-stack-height, 0);
|
|
671
|
-
transition: block-size
|
|
927
|
+
transition: block-size var(--om-semantic-duration-ms-240) var(--om-semantic-easing-curve-0-22-0-8-0-3-1);
|
|
672
928
|
}
|
|
673
929
|
.om-toast-viewport[data-stack-ready=true]:not([data-stack-overflow=true]) > .om-toast-region {
|
|
674
930
|
position: absolute;
|
|
675
931
|
inset: auto 0 0;
|
|
676
932
|
z-index: var(--om-toast-layer, 0);
|
|
677
|
-
transform: translateY(calc(-1 * var(--om-toast-offset,
|
|
933
|
+
transform: translateY(calc(-1 * var(--om-toast-offset, var(--om-semantic-dimension-px-0)))) scale(var(--om-toast-scale, 1));
|
|
678
934
|
transform-origin: center bottom;
|
|
679
|
-
transition: transform
|
|
935
|
+
transition: transform var(--om-semantic-duration-ms-240) var(--om-semantic-easing-curve-0-22-0-8-0-3-1), opacity var(--om-semantic-duration-ms-180) ease-out;
|
|
680
936
|
}
|
|
681
937
|
.om-toast-viewport[data-stack-ready=true]:not([data-stack-overflow=true]) > .om-toast-region[data-stack-back=true][data-state=open] {
|
|
682
938
|
max-block-size: var(--om-toast-front-height);
|
|
@@ -700,7 +956,7 @@ select.om-select optgroup {
|
|
|
700
956
|
align-items: center;
|
|
701
957
|
gap: var(--om-semantic-space-sm);
|
|
702
958
|
padding: var(--om-semantic-space-md) var(--om-semantic-space-lg);
|
|
703
|
-
border:
|
|
959
|
+
border: var(--om-semantic-border-width) solid var(--om-semantic-color-border);
|
|
704
960
|
border-radius: var(--om-semantic-radius-lg);
|
|
705
961
|
background: var(--om-semantic-color-surface);
|
|
706
962
|
color: var(--om-semantic-color-text);
|
|
@@ -713,8 +969,8 @@ select.om-select optgroup {
|
|
|
713
969
|
}
|
|
714
970
|
.om-toast .om-toast-icon {
|
|
715
971
|
flex: none;
|
|
716
|
-
inline-size:
|
|
717
|
-
block-size:
|
|
972
|
+
inline-size: var(--om-semantic-dimension-px-20);
|
|
973
|
+
block-size: var(--om-semantic-dimension-px-20);
|
|
718
974
|
display: grid;
|
|
719
975
|
place-items: center;
|
|
720
976
|
}
|
|
@@ -727,71 +983,90 @@ select.om-select optgroup {
|
|
|
727
983
|
min-inline-size: 0;
|
|
728
984
|
}
|
|
729
985
|
.om-toast > [role] > strong, .om-toast > .om-toast-exit-copy > strong {
|
|
730
|
-
font-weight: 600;
|
|
986
|
+
font-weight: var(--om-semantic-number-weight-600);
|
|
731
987
|
}
|
|
732
988
|
.om-toast > [role] > div, .om-toast > .om-toast-exit-copy > div {
|
|
733
989
|
color: var(--om-semantic-color-muted);
|
|
734
990
|
font-size: var(--om-semantic-font-small);
|
|
735
|
-
margin-block-start:
|
|
991
|
+
margin-block-start: var(--om-semantic-dimension-px-2);
|
|
736
992
|
}
|
|
737
993
|
.om-toast > button, .om-toast > .om-toast-close-placeholder {
|
|
738
994
|
box-sizing: border-box;
|
|
739
995
|
flex: none;
|
|
740
|
-
inline-size:
|
|
741
|
-
block-size:
|
|
996
|
+
inline-size: var(--om-semantic-dimension-px-28);
|
|
997
|
+
block-size: var(--om-semantic-dimension-px-28);
|
|
998
|
+
}
|
|
999
|
+
.om-toast > .om-toast-progress {
|
|
1000
|
+
position: absolute;
|
|
1001
|
+
inset-inline: var(--om-semantic-space-lg);
|
|
1002
|
+
inset-block-end: var(--om-semantic-space-xs);
|
|
1003
|
+
block-size: calc(2 * var(--om-semantic-border-width));
|
|
1004
|
+
border-radius: var(--om-semantic-radius-sm);
|
|
1005
|
+
background: var(--om-semantic-color-border);
|
|
1006
|
+
overflow: hidden;
|
|
1007
|
+
pointer-events: none;
|
|
1008
|
+
}
|
|
1009
|
+
.om-toast > .om-toast-progress > span {
|
|
1010
|
+
display: block;
|
|
1011
|
+
block-size: 100%;
|
|
1012
|
+
background: var(--om-semantic-color-muted);
|
|
1013
|
+
transform-origin: left center;
|
|
1014
|
+
}
|
|
1015
|
+
.om-toast > .om-toast-progress:dir(rtl) > span {
|
|
1016
|
+
transform-origin: right center;
|
|
742
1017
|
}
|
|
743
1018
|
.om-toast > button {
|
|
744
1019
|
display: grid;
|
|
745
1020
|
place-items: center;
|
|
746
|
-
margin-inline-end: -
|
|
1021
|
+
margin-inline-end: calc(-1 * var(--om-semantic-dimension-px-5));
|
|
747
1022
|
padding: 0;
|
|
748
|
-
border:
|
|
1023
|
+
border: var(--om-semantic-border-width) solid transparent;
|
|
749
1024
|
border-radius: var(--om-semantic-radius-sm);
|
|
750
1025
|
background: transparent;
|
|
751
1026
|
color: var(--om-semantic-color-muted);
|
|
752
1027
|
cursor: pointer;
|
|
753
|
-
transition: background-color
|
|
1028
|
+
transition: background-color var(--om-semantic-duration-ms-120) ease-out, color var(--om-semantic-duration-ms-120) ease-out;
|
|
754
1029
|
}
|
|
755
1030
|
.om-toast > button > svg {
|
|
756
|
-
inline-size:
|
|
757
|
-
block-size:
|
|
1031
|
+
inline-size: var(--om-semantic-dimension-px-16);
|
|
1032
|
+
block-size: var(--om-semantic-dimension-px-16);
|
|
758
1033
|
}
|
|
759
1034
|
.om-toast > button:hover {
|
|
760
1035
|
background: var(--om-semantic-color-bg);
|
|
761
1036
|
color: var(--om-semantic-color-text);
|
|
762
1037
|
}
|
|
763
1038
|
.om-toast > button:focus-visible {
|
|
764
|
-
outline:
|
|
765
|
-
outline-offset: -
|
|
1039
|
+
outline: var(--om-semantic-focus-width) solid var(--om-semantic-color-focus);
|
|
1040
|
+
outline-offset: calc(-1 * var(--om-semantic-dimension-px-1));
|
|
766
1041
|
}
|
|
767
1042
|
.om-toast[data-state=closing] {
|
|
768
1043
|
pointer-events: none;
|
|
769
1044
|
}
|
|
770
1045
|
.om-toast[data-state=closing] > [role] {
|
|
771
1046
|
position: absolute;
|
|
772
|
-
inline-size:
|
|
773
|
-
block-size:
|
|
1047
|
+
inline-size: var(--om-semantic-dimension-px-1);
|
|
1048
|
+
block-size: var(--om-semantic-dimension-px-1);
|
|
774
1049
|
overflow: hidden;
|
|
775
1050
|
clip-path: inset(50%);
|
|
776
1051
|
}
|
|
777
1052
|
.om-toast[data-state=closing] > .om-toast-close-placeholder {
|
|
778
|
-
margin-inline-end: -
|
|
1053
|
+
margin-inline-end: calc(-1 * var(--om-semantic-dimension-px-5));
|
|
779
1054
|
}
|
|
780
1055
|
|
|
781
1056
|
@media (prefers-reduced-motion: no-preference) {
|
|
782
1057
|
.om-toast[data-state=open] [data-icon=loading] {
|
|
783
|
-
animation: om-spinner-turn
|
|
1058
|
+
animation: om-spinner-turn var(--om-semantic-duration-ms-900) linear infinite;
|
|
784
1059
|
}
|
|
785
1060
|
.om-toast[data-state=open] {
|
|
786
|
-
animation: om-toast-in
|
|
1061
|
+
animation: om-toast-in var(--om-semantic-duration-ms-240) var(--om-semantic-easing-curve-0-22-0-8-0-3-1) both;
|
|
787
1062
|
}
|
|
788
1063
|
.om-toast[data-state=closing] {
|
|
789
|
-
animation: om-toast-out
|
|
1064
|
+
animation: om-toast-out var(--om-semantic-duration-ms-220) var(--om-semantic-easing-curve-0-4-0-0-2-1) both;
|
|
790
1065
|
}
|
|
791
1066
|
@keyframes om-toast-in {
|
|
792
1067
|
from {
|
|
793
1068
|
opacity: 0;
|
|
794
|
-
transform: translateY(
|
|
1069
|
+
transform: translateY(var(--om-semantic-dimension-px-12)) scale(0.97);
|
|
795
1070
|
}
|
|
796
1071
|
to {
|
|
797
1072
|
opacity: 1;
|
|
@@ -805,7 +1080,7 @@ select.om-select optgroup {
|
|
|
805
1080
|
}
|
|
806
1081
|
to {
|
|
807
1082
|
opacity: 0;
|
|
808
|
-
transform: translateY(
|
|
1083
|
+
transform: translateY(var(--om-semantic-dimension-px-8)) scale(0.97);
|
|
809
1084
|
}
|
|
810
1085
|
}
|
|
811
1086
|
}
|
|
@@ -822,9 +1097,15 @@ select.om-select optgroup {
|
|
|
822
1097
|
border-color: ButtonText;
|
|
823
1098
|
color: ButtonText;
|
|
824
1099
|
}
|
|
1100
|
+
.om-toast > .om-toast-progress {
|
|
1101
|
+
border: var(--om-semantic-border-width) solid CanvasText;
|
|
1102
|
+
}
|
|
1103
|
+
.om-toast > .om-toast-progress > span {
|
|
1104
|
+
background: Highlight;
|
|
1105
|
+
}
|
|
825
1106
|
}
|
|
826
1107
|
.om-dialog-content.om-alert-dialog {
|
|
827
|
-
width: min(
|
|
1108
|
+
width: min(var(--om-semantic-dimension-px-360), 100vw - var(--om-semantic-dimension-px-32));
|
|
828
1109
|
}
|
|
829
1110
|
|
|
830
1111
|
.om-alert-dialog h2 {
|
|
@@ -860,7 +1141,7 @@ select.om-select optgroup {
|
|
|
860
1141
|
}
|
|
861
1142
|
@keyframes om-enter {
|
|
862
1143
|
from {
|
|
863
|
-
translate: 0
|
|
1144
|
+
translate: 0 var(--om-semantic-dimension-px-5);
|
|
864
1145
|
}
|
|
865
1146
|
to {
|
|
866
1147
|
translate: 0 0;
|
|
@@ -868,7 +1149,7 @@ select.om-select optgroup {
|
|
|
868
1149
|
}
|
|
869
1150
|
}
|
|
870
1151
|
.om-switch:dir(rtl):checked::before {
|
|
871
|
-
transform: translateX(-1
|
|
1152
|
+
transform: translateX(calc(-1 * var(--om-semantic-dimension-rem-1-125)));
|
|
872
1153
|
}
|
|
873
1154
|
|
|
874
1155
|
:is(.om-checkbox, .om-radio, .om-switch):not(:disabled):hover {
|
|
@@ -886,7 +1167,7 @@ select.om-select optgroup {
|
|
|
886
1167
|
}
|
|
887
1168
|
|
|
888
1169
|
.om-pagination > button:disabled {
|
|
889
|
-
opacity: 0
|
|
1170
|
+
opacity: var(--om-semantic-number-opacity-0-5);
|
|
890
1171
|
cursor: not-allowed;
|
|
891
1172
|
}
|
|
892
1173
|
|
|
@@ -905,16 +1186,16 @@ select.om-select optgroup {
|
|
|
905
1186
|
}
|
|
906
1187
|
|
|
907
1188
|
.om-breadcrumbs button:focus-visible {
|
|
908
|
-
outline:
|
|
909
|
-
outline-offset: -
|
|
1189
|
+
outline: var(--om-semantic-focus-width) solid var(--om-semantic-color-focus);
|
|
1190
|
+
outline-offset: calc(-1 * var(--om-semantic-dimension-px-1));
|
|
910
1191
|
}
|
|
911
1192
|
|
|
912
1193
|
.om-breadcrumbs button[aria-current=page] {
|
|
913
|
-
font-weight: 600;
|
|
1194
|
+
font-weight: var(--om-semantic-number-weight-600);
|
|
914
1195
|
}
|
|
915
1196
|
|
|
916
1197
|
.om-breadcrumbs button:disabled {
|
|
917
|
-
opacity: 0
|
|
1198
|
+
opacity: var(--om-semantic-number-opacity-0-5);
|
|
918
1199
|
cursor: not-allowed;
|
|
919
1200
|
}
|
|
920
1201
|
|
|
@@ -930,14 +1211,14 @@ select.om-select optgroup {
|
|
|
930
1211
|
|
|
931
1212
|
@media (prefers-reduced-motion: no-preference) {
|
|
932
1213
|
:is(.om-checkbox, .om-radio, .om-switch, .om-pagination > :is(a, button), .om-breadcrumbs button, .om-accordion > summary) {
|
|
933
|
-
transition: background-color
|
|
1214
|
+
transition: background-color var(--om-semantic-duration-ms-140) var(--om-semantic-motion-ease), border-color var(--om-semantic-duration-ms-140) var(--om-semantic-motion-ease), color var(--om-semantic-duration-ms-140) var(--om-semantic-motion-ease);
|
|
934
1215
|
}
|
|
935
1216
|
.om-skeleton {
|
|
936
|
-
animation: om-skeleton-pulse
|
|
1217
|
+
animation: om-skeleton-pulse var(--om-semantic-duration-ms-1600) ease-in-out 2 alternate;
|
|
937
1218
|
}
|
|
938
1219
|
@keyframes om-skeleton-pulse {
|
|
939
1220
|
from {
|
|
940
|
-
opacity: 0
|
|
1221
|
+
opacity: var(--om-semantic-number-opacity-0-65);
|
|
941
1222
|
}
|
|
942
1223
|
to {
|
|
943
1224
|
opacity: 1;
|
|
@@ -954,7 +1235,7 @@ select.om-select optgroup {
|
|
|
954
1235
|
display: block;
|
|
955
1236
|
min-inline-size: 0;
|
|
956
1237
|
padding-block: var(--om-semantic-space-md);
|
|
957
|
-
border-block-start:
|
|
1238
|
+
border-block-start: var(--om-semantic-border-width) solid var(--om-semantic-color-border-subtle);
|
|
958
1239
|
background-image: linear-gradient(var(--om-link-card-fill, color-mix(in srgb, currentColor 6%, transparent)), var(--om-link-card-fill, color-mix(in srgb, currentColor 6%, transparent)));
|
|
959
1240
|
background-position: 0% 50%;
|
|
960
1241
|
background-repeat: no-repeat;
|
|
@@ -973,12 +1254,12 @@ select.om-select optgroup {
|
|
|
973
1254
|
|
|
974
1255
|
.om-link-card:focus-visible {
|
|
975
1256
|
background-size: 100% 100%;
|
|
976
|
-
outline:
|
|
977
|
-
outline-offset:
|
|
1257
|
+
outline: var(--om-semantic-focus-width) solid var(--om-semantic-color-focus);
|
|
1258
|
+
outline-offset: var(--om-semantic-focus-offset);
|
|
978
1259
|
}
|
|
979
1260
|
|
|
980
1261
|
.om-link-card:focus-visible .om-link-card-arrow {
|
|
981
|
-
transform: translateX(
|
|
1262
|
+
transform: translateX(var(--om-semantic-dimension-px-2));
|
|
982
1263
|
}
|
|
983
1264
|
|
|
984
1265
|
@media (hover: hover) and (pointer: fine) {
|
|
@@ -986,7 +1267,7 @@ select.om-select optgroup {
|
|
|
986
1267
|
background-size: 100% 100%;
|
|
987
1268
|
}
|
|
988
1269
|
.om-link-card:hover .om-link-card-arrow {
|
|
989
|
-
transform: translateX(
|
|
1270
|
+
transform: translateX(var(--om-semantic-dimension-px-2));
|
|
990
1271
|
}
|
|
991
1272
|
}
|
|
992
1273
|
.om-code-block {
|
|
@@ -1009,7 +1290,7 @@ select.om-select optgroup {
|
|
|
1009
1290
|
gap: var(--om-semantic-space-sm);
|
|
1010
1291
|
min-inline-size: 0;
|
|
1011
1292
|
padding: var(--om-semantic-space-sm) var(--om-semantic-space-lg);
|
|
1012
|
-
border-block-end:
|
|
1293
|
+
border-block-end: var(--om-semantic-border-width) solid var(--om-semantic-color-border-subtle);
|
|
1013
1294
|
}
|
|
1014
1295
|
|
|
1015
1296
|
.om-code-block-caption {
|
|
@@ -1061,7 +1342,7 @@ select.om-select optgroup {
|
|
|
1061
1342
|
|
|
1062
1343
|
.om-code-block-copy:disabled {
|
|
1063
1344
|
cursor: not-allowed;
|
|
1064
|
-
opacity: 0
|
|
1345
|
+
opacity: var(--om-semantic-number-opacity-0-5);
|
|
1065
1346
|
}
|
|
1066
1347
|
|
|
1067
1348
|
@media (hover: hover) and (pointer: fine) {
|
|
@@ -1076,11 +1357,11 @@ select.om-select optgroup {
|
|
|
1076
1357
|
}
|
|
1077
1358
|
|
|
1078
1359
|
.om-site-header {
|
|
1079
|
-
border-block-end:
|
|
1360
|
+
border-block-end: var(--om-semantic-border-width) solid var(--om-semantic-color-border-subtle);
|
|
1080
1361
|
}
|
|
1081
1362
|
|
|
1082
1363
|
.om-site-footer {
|
|
1083
|
-
border-block-start:
|
|
1364
|
+
border-block-start: var(--om-semantic-border-width) solid var(--om-semantic-color-border-subtle);
|
|
1084
1365
|
}
|
|
1085
1366
|
|
|
1086
1367
|
.om-site-header-inner, .om-site-footer-inner {
|
|
@@ -1091,13 +1372,13 @@ select.om-select optgroup {
|
|
|
1091
1372
|
justify-content: space-between;
|
|
1092
1373
|
gap: var(--om-semantic-space-lg);
|
|
1093
1374
|
min-inline-size: 0;
|
|
1094
|
-
max-inline-size: var(--om-site-max-width,
|
|
1375
|
+
max-inline-size: var(--om-site-max-width, var(--om-semantic-dimension-rem-72));
|
|
1095
1376
|
margin-inline: auto;
|
|
1096
|
-
padding-inline: var(--om-site-gutter, clamp(
|
|
1377
|
+
padding-inline: var(--om-site-gutter, clamp(var(--om-semantic-dimension-px-16), 4vw, var(--om-semantic-dimension-px-48)));
|
|
1097
1378
|
}
|
|
1098
1379
|
|
|
1099
1380
|
.om-site-header-inner {
|
|
1100
|
-
min-block-size: var(--om-site-header-height,
|
|
1381
|
+
min-block-size: var(--om-site-header-height, var(--om-semantic-dimension-rem-4));
|
|
1101
1382
|
padding-block: var(--om-semantic-space-sm);
|
|
1102
1383
|
}
|
|
1103
1384
|
|
|
@@ -1116,7 +1397,7 @@ select.om-select optgroup {
|
|
|
1116
1397
|
.om-site-nav > a {
|
|
1117
1398
|
display: inline-flex;
|
|
1118
1399
|
align-items: center;
|
|
1119
|
-
min-block-size:
|
|
1400
|
+
min-block-size: var(--om-semantic-dimension-px-32);
|
|
1120
1401
|
color: inherit;
|
|
1121
1402
|
text-decoration: none;
|
|
1122
1403
|
overflow-wrap: anywhere;
|
|
@@ -1124,7 +1405,7 @@ select.om-select optgroup {
|
|
|
1124
1405
|
|
|
1125
1406
|
.om-site-nav > a:is(:hover, [aria-current=page]) {
|
|
1126
1407
|
text-decoration: underline;
|
|
1127
|
-
text-underline-offset:
|
|
1408
|
+
text-underline-offset: var(--om-semantic-dimension-px-3);
|
|
1128
1409
|
}
|
|
1129
1410
|
|
|
1130
1411
|
.om-prose {
|
|
@@ -1139,7 +1420,7 @@ select.om-select optgroup {
|
|
|
1139
1420
|
.om-prose :where(h1, h2, h3, h4, h5, h6) {
|
|
1140
1421
|
line-height: 1.25;
|
|
1141
1422
|
margin-block: 1.5em 0.6em;
|
|
1142
|
-
font-weight: 650;
|
|
1423
|
+
font-weight: var(--om-semantic-number-weight-650);
|
|
1143
1424
|
}
|
|
1144
1425
|
|
|
1145
1426
|
.om-prose :where(h1) {
|
|
@@ -1177,15 +1458,15 @@ select.om-select optgroup {
|
|
|
1177
1458
|
.om-prose :where(a) {
|
|
1178
1459
|
color: var(--om-prose-link, var(--om-semantic-color-accent));
|
|
1179
1460
|
text-decoration: underline;
|
|
1180
|
-
text-underline-offset:
|
|
1461
|
+
text-underline-offset: var(--om-semantic-dimension-px-3);
|
|
1181
1462
|
}
|
|
1182
1463
|
|
|
1183
1464
|
.om-prose :where(a:hover) {
|
|
1184
|
-
text-decoration-thickness:
|
|
1465
|
+
text-decoration-thickness: var(--om-semantic-dimension-px-2);
|
|
1185
1466
|
}
|
|
1186
1467
|
|
|
1187
1468
|
.om-prose :where(blockquote) {
|
|
1188
|
-
border-inline-start:
|
|
1469
|
+
border-inline-start: var(--om-semantic-dimension-px-3) solid var(--om-semantic-color-border);
|
|
1189
1470
|
margin-inline: 0;
|
|
1190
1471
|
padding-inline-start: var(--om-semantic-space-lg);
|
|
1191
1472
|
color: var(--om-semantic-color-muted);
|
|
@@ -1198,7 +1479,7 @@ select.om-select optgroup {
|
|
|
1198
1479
|
|
|
1199
1480
|
.om-prose :where(hr) {
|
|
1200
1481
|
border: 0;
|
|
1201
|
-
border-block-start:
|
|
1482
|
+
border-block-start: var(--om-semantic-border-width) solid var(--om-semantic-color-border-subtle);
|
|
1202
1483
|
margin-block: 2em;
|
|
1203
1484
|
}
|
|
1204
1485
|
|
|
@@ -1240,7 +1521,7 @@ select.om-select optgroup {
|
|
|
1240
1521
|
}
|
|
1241
1522
|
|
|
1242
1523
|
.om-prose :where(th, td) {
|
|
1243
|
-
border:
|
|
1524
|
+
border: var(--om-semantic-border-width) solid var(--om-semantic-color-border-subtle);
|
|
1244
1525
|
padding: var(--om-semantic-space-sm);
|
|
1245
1526
|
text-align: start;
|
|
1246
1527
|
vertical-align: top;
|
|
@@ -1275,8 +1556,8 @@ select.om-select optgroup {
|
|
|
1275
1556
|
.om-site-footer :where(a, button):focus-visible,
|
|
1276
1557
|
.om-site-nav :where(a, button):focus-visible,
|
|
1277
1558
|
.om-prose :where(a, button, pre, .om-prose-scroll):focus-visible {
|
|
1278
|
-
outline:
|
|
1279
|
-
outline-offset:
|
|
1559
|
+
outline: var(--om-semantic-focus-width) solid var(--om-semantic-color-focus);
|
|
1560
|
+
outline-offset: var(--om-semantic-focus-offset);
|
|
1280
1561
|
}
|
|
1281
1562
|
|
|
1282
1563
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -1337,21 +1618,21 @@ select.om-select optgroup {
|
|
|
1337
1618
|
display: inline-grid;
|
|
1338
1619
|
place-items: center;
|
|
1339
1620
|
flex-shrink: 0;
|
|
1340
|
-
inline-size: var(--om-platform-link-size,
|
|
1341
|
-
min-block-size: var(--om-platform-link-size,
|
|
1342
|
-
border:
|
|
1621
|
+
inline-size: var(--om-platform-link-size, var(--om-semantic-control-touch-target));
|
|
1622
|
+
min-block-size: var(--om-platform-link-size, var(--om-semantic-control-touch-target));
|
|
1623
|
+
border: var(--om-semantic-border-width) solid transparent;
|
|
1343
1624
|
border-radius: var(--om-semantic-radius-lg);
|
|
1344
1625
|
background: transparent;
|
|
1345
1626
|
color: var(--om-platform-link-muted, var(--om-semantic-color-muted));
|
|
1346
1627
|
text-decoration: none;
|
|
1347
|
-
transition: color
|
|
1628
|
+
transition: color var(--om-semantic-duration-ms-220) ease, border-color var(--om-semantic-duration-ms-220) ease, background-color var(--om-semantic-duration-ms-220) ease;
|
|
1348
1629
|
}
|
|
1349
1630
|
|
|
1350
1631
|
.om-platform-link > svg {
|
|
1351
1632
|
display: block;
|
|
1352
|
-
max-inline-size:
|
|
1633
|
+
max-inline-size: var(--om-semantic-dimension-px-28);
|
|
1353
1634
|
transform-origin: center;
|
|
1354
|
-
transition: transform
|
|
1635
|
+
transition: transform var(--om-semantic-duration-ms-220) var(--om-semantic-easing-curve-0-2-0-8-0-2-1);
|
|
1355
1636
|
}
|
|
1356
1637
|
|
|
1357
1638
|
.om-platform-link:focus-visible,
|
|
@@ -1362,8 +1643,8 @@ select.om-select optgroup {
|
|
|
1362
1643
|
}
|
|
1363
1644
|
|
|
1364
1645
|
.om-platform-link:focus-visible {
|
|
1365
|
-
outline:
|
|
1366
|
-
outline-offset:
|
|
1646
|
+
outline: var(--om-semantic-focus-width) solid var(--om-semantic-color-focus);
|
|
1647
|
+
outline-offset: var(--om-semantic-focus-offset);
|
|
1367
1648
|
}
|
|
1368
1649
|
|
|
1369
1650
|
.om-platform-link[data-platform=npm] {
|
|
@@ -1381,7 +1662,7 @@ select.om-select optgroup {
|
|
|
1381
1662
|
background: var(--om-semantic-color-bg);
|
|
1382
1663
|
}
|
|
1383
1664
|
.om-platform-link:hover > svg {
|
|
1384
|
-
animation: om-platform-pulse var(--om-platform-link-pulse-duration,
|
|
1665
|
+
animation: om-platform-pulse var(--om-platform-link-pulse-duration, var(--om-semantic-duration-ms-950)) var(--om-semantic-easing-curve-0-45-0-0-55-1) 1;
|
|
1385
1666
|
}
|
|
1386
1667
|
.om-platform-link:active > svg {
|
|
1387
1668
|
animation: none;
|
|
@@ -1406,7 +1687,7 @@ select.om-select optgroup {
|
|
|
1406
1687
|
align-items: center;
|
|
1407
1688
|
min-inline-size: 1.6em;
|
|
1408
1689
|
padding-inline: var(--om-semantic-space-xs);
|
|
1409
|
-
border:
|
|
1690
|
+
border: var(--om-semantic-border-width) solid var(--om-semantic-color-border-subtle);
|
|
1410
1691
|
border-radius: var(--om-semantic-radius-sm);
|
|
1411
1692
|
background: var(--om-semantic-color-bg);
|
|
1412
1693
|
color: var(--om-semantic-color-muted);
|
|
@@ -1471,7 +1752,7 @@ select.om-select optgroup {
|
|
|
1471
1752
|
.om-docs-links,
|
|
1472
1753
|
.om-toc-links {
|
|
1473
1754
|
display: grid;
|
|
1474
|
-
gap:
|
|
1755
|
+
gap: var(--om-semantic-dimension-px-2);
|
|
1475
1756
|
list-style: none;
|
|
1476
1757
|
padding: 0;
|
|
1477
1758
|
margin: 0;
|
|
@@ -1483,9 +1764,9 @@ select.om-select optgroup {
|
|
|
1483
1764
|
.om-locale-options span {
|
|
1484
1765
|
box-sizing: border-box;
|
|
1485
1766
|
display: block;
|
|
1486
|
-
min-block-size:
|
|
1767
|
+
min-block-size: var(--om-semantic-dimension-px-32);
|
|
1487
1768
|
padding: var(--om-semantic-space-xs) var(--om-semantic-space-sm);
|
|
1488
|
-
border-inline-start:
|
|
1769
|
+
border-inline-start: var(--om-semantic-dimension-px-2) solid transparent;
|
|
1489
1770
|
border-radius: var(--om-semantic-radius-sm);
|
|
1490
1771
|
color: inherit;
|
|
1491
1772
|
text-decoration: none;
|
|
@@ -1582,8 +1863,8 @@ select.om-select optgroup {
|
|
|
1582
1863
|
|
|
1583
1864
|
:is(.om-docs-links, .om-toc-links, .om-locale-options) a:focus-visible,
|
|
1584
1865
|
.om-locale-fallback summary:focus-visible {
|
|
1585
|
-
outline:
|
|
1586
|
-
outline-offset:
|
|
1866
|
+
outline: var(--om-semantic-focus-width) solid var(--om-semantic-color-focus);
|
|
1867
|
+
outline-offset: var(--om-semantic-focus-offset);
|
|
1587
1868
|
}
|
|
1588
1869
|
|
|
1589
1870
|
@media (hover: hover) and (pointer: fine) {
|
|
@@ -1607,10 +1888,10 @@ select.om-select optgroup {
|
|
|
1607
1888
|
}
|
|
1608
1889
|
.om-clipboard-announcement {
|
|
1609
1890
|
position: absolute;
|
|
1610
|
-
inline-size:
|
|
1611
|
-
block-size:
|
|
1891
|
+
inline-size: var(--om-semantic-dimension-px-1);
|
|
1892
|
+
block-size: var(--om-semantic-dimension-px-1);
|
|
1612
1893
|
padding: 0;
|
|
1613
|
-
margin: -
|
|
1894
|
+
margin: calc(-1 * var(--om-semantic-dimension-px-1));
|
|
1614
1895
|
overflow: hidden;
|
|
1615
1896
|
clip-path: inset(50%);
|
|
1616
1897
|
white-space: nowrap;
|
|
@@ -1648,7 +1929,7 @@ select.om-select optgroup {
|
|
|
1648
1929
|
}
|
|
1649
1930
|
.om-button:disabled,
|
|
1650
1931
|
.om-tabs-trigger:disabled {
|
|
1651
|
-
opacity: 0
|
|
1932
|
+
opacity: var(--om-semantic-number-opacity-0-5);
|
|
1652
1933
|
cursor: not-allowed;
|
|
1653
1934
|
}
|
|
1654
1935
|
|
|
@@ -1696,7 +1977,7 @@ select.om-select optgroup {
|
|
|
1696
1977
|
border-color: var(--om-semantic-color-danger);
|
|
1697
1978
|
}
|
|
1698
1979
|
.om-input:disabled {
|
|
1699
|
-
opacity: 0
|
|
1980
|
+
opacity: var(--om-semantic-number-opacity-0-5);
|
|
1700
1981
|
cursor: not-allowed;
|
|
1701
1982
|
}
|
|
1702
1983
|
|
|
@@ -1712,12 +1993,15 @@ select.om-select optgroup {
|
|
|
1712
1993
|
display: inline-flex;
|
|
1713
1994
|
align-items: center;
|
|
1714
1995
|
gap: var(--om-semantic-space-xs);
|
|
1715
|
-
padding:
|
|
1716
|
-
border:
|
|
1996
|
+
padding: var(--om-semantic-dimension-px-2) var(--om-semantic-space-sm);
|
|
1997
|
+
border: var(--om-semantic-border-width) solid var(--om-semantic-color-border-subtle);
|
|
1717
1998
|
border-radius: var(--om-semantic-radius-sm);
|
|
1718
1999
|
background: var(--om-semantic-color-bg);
|
|
1719
2000
|
font-size: var(--om-semantic-font-small);
|
|
1720
2001
|
font-weight: var(--om-semantic-font-weight);
|
|
2002
|
+
min-inline-size: 0;
|
|
2003
|
+
max-inline-size: 100%;
|
|
2004
|
+
overflow-wrap: anywhere;
|
|
1721
2005
|
}
|
|
1722
2006
|
|
|
1723
2007
|
.om-badge--accent {
|
|
@@ -1726,20 +2010,49 @@ select.om-select optgroup {
|
|
|
1726
2010
|
border-color: color-mix(in srgb, var(--om-semantic-color-accent) 25%, var(--om-semantic-color-surface));
|
|
1727
2011
|
}
|
|
1728
2012
|
|
|
2013
|
+
.om-badge--success {
|
|
2014
|
+
--om-badge-state-color: var(--om-semantic-color-success);
|
|
2015
|
+
}
|
|
2016
|
+
|
|
2017
|
+
.om-badge--warning {
|
|
2018
|
+
--om-badge-state-color: var(--om-semantic-color-warning);
|
|
2019
|
+
}
|
|
2020
|
+
|
|
2021
|
+
.om-badge--danger, .om-badge--error {
|
|
2022
|
+
--om-badge-state-color: var(--om-semantic-color-danger);
|
|
2023
|
+
}
|
|
2024
|
+
|
|
2025
|
+
.om-badge--info, .om-badge--active {
|
|
2026
|
+
--om-badge-state-color: var(--om-semantic-color-info);
|
|
2027
|
+
}
|
|
2028
|
+
|
|
2029
|
+
:is(.om-badge--success, .om-badge--warning, .om-badge--danger, .om-badge--error, .om-badge--info, .om-badge--active) {
|
|
2030
|
+
color: var(--om-badge-state-color);
|
|
2031
|
+
background: color-mix(in srgb, var(--om-badge-state-color) 9%, var(--om-semantic-color-surface));
|
|
2032
|
+
border-color: color-mix(in srgb, var(--om-badge-state-color) 25%, var(--om-semantic-color-surface));
|
|
2033
|
+
}
|
|
2034
|
+
|
|
2035
|
+
@media (forced-colors: active) {
|
|
2036
|
+
.om-badge {
|
|
2037
|
+
color: CanvasText;
|
|
2038
|
+
background: Canvas;
|
|
2039
|
+
border-color: CanvasText;
|
|
2040
|
+
}
|
|
2041
|
+
}
|
|
1729
2042
|
.om-tabs-list {
|
|
1730
2043
|
display: flex;
|
|
1731
2044
|
gap: var(--om-semantic-space-lg);
|
|
1732
|
-
border-bottom:
|
|
2045
|
+
border-bottom: var(--om-semantic-border-width) solid var(--om-semantic-color-border-subtle);
|
|
1733
2046
|
}
|
|
1734
2047
|
|
|
1735
2048
|
.om-tabs-trigger {
|
|
1736
2049
|
border: 0;
|
|
1737
|
-
border-bottom:
|
|
2050
|
+
border-bottom: var(--om-semantic-dimension-px-2) solid transparent;
|
|
1738
2051
|
border-radius: 0;
|
|
1739
2052
|
background: transparent;
|
|
1740
2053
|
color: var(--om-semantic-color-muted);
|
|
1741
2054
|
padding-inline: var(--om-semantic-space-xs);
|
|
1742
|
-
margin-bottom: -
|
|
2055
|
+
margin-bottom: calc(-1 * var(--om-semantic-dimension-px-1));
|
|
1743
2056
|
}
|
|
1744
2057
|
|
|
1745
2058
|
.om-tabs-trigger:hover:not(:disabled) {
|
|
@@ -1754,14 +2067,14 @@ select.om-select optgroup {
|
|
|
1754
2067
|
.om-tabs-list[data-orientation=vertical] {
|
|
1755
2068
|
flex-direction: column;
|
|
1756
2069
|
border-bottom: 0;
|
|
1757
|
-
border-left:
|
|
2070
|
+
border-left: var(--om-semantic-border-width) solid var(--om-semantic-color-border-subtle);
|
|
1758
2071
|
gap: var(--om-semantic-space-xs);
|
|
1759
2072
|
}
|
|
1760
2073
|
|
|
1761
2074
|
.om-tabs-list[data-orientation=vertical] .om-tabs-trigger {
|
|
1762
2075
|
border-bottom: 0;
|
|
1763
|
-
border-left:
|
|
1764
|
-
margin-left: -
|
|
2076
|
+
border-left: var(--om-semantic-dimension-px-2) solid transparent;
|
|
2077
|
+
margin-left: calc(-1 * var(--om-semantic-dimension-px-1));
|
|
1765
2078
|
justify-content: flex-start;
|
|
1766
2079
|
}
|
|
1767
2080
|
|
|
@@ -1777,17 +2090,17 @@ select.om-select optgroup {
|
|
|
1777
2090
|
position: fixed;
|
|
1778
2091
|
inset: 0;
|
|
1779
2092
|
background: var(--om-semantic-overlay);
|
|
1780
|
-
z-index: 1000;
|
|
2093
|
+
z-index: var(--om-semantic-number-layer-1000);
|
|
1781
2094
|
}
|
|
1782
2095
|
|
|
1783
2096
|
.om-dialog-content {
|
|
1784
2097
|
position: fixed;
|
|
1785
|
-
z-index: 1001;
|
|
2098
|
+
z-index: var(--om-semantic-number-layer-1001);
|
|
1786
2099
|
top: 50%;
|
|
1787
2100
|
left: 50%;
|
|
1788
2101
|
transform: translate(-50%, -50%);
|
|
1789
|
-
width: min(
|
|
1790
|
-
max-height: calc(100dvh -
|
|
2102
|
+
width: min(var(--om-semantic-dimension-px-440), 100vw - var(--om-semantic-dimension-px-32));
|
|
2103
|
+
max-height: calc(100dvh - var(--om-semantic-dimension-px-32));
|
|
1791
2104
|
overflow: auto;
|
|
1792
2105
|
overscroll-behavior: contain;
|
|
1793
2106
|
padding: var(--om-semantic-space-xl);
|
|
@@ -1801,16 +2114,16 @@ select.om-select optgroup {
|
|
|
1801
2114
|
.om-tabs-trigger,
|
|
1802
2115
|
.om-tabs-content,
|
|
1803
2116
|
.om-dialog-content):focus-visible {
|
|
1804
|
-
outline:
|
|
1805
|
-
outline-offset: -
|
|
2117
|
+
outline: var(--om-semantic-focus-width) solid var(--om-semantic-color-focus);
|
|
2118
|
+
outline-offset: calc(-1 * var(--om-semantic-dimension-px-1));
|
|
1806
2119
|
}
|
|
1807
2120
|
|
|
1808
2121
|
:is(.om-input, .om-textarea, .om-select):focus-visible {
|
|
1809
|
-
outline:
|
|
1810
|
-
outline-offset: -
|
|
2122
|
+
outline: var(--om-semantic-focus-width) solid var(--om-semantic-color-focus);
|
|
2123
|
+
outline-offset: calc(-1 * var(--om-semantic-dimension-px-1));
|
|
1811
2124
|
}
|
|
1812
2125
|
:is(.om-input, .om-textarea, .om-select):focus-visible[aria-invalid=true], :is(.om-input, .om-textarea, .om-select):focus-visible:user-invalid {
|
|
1813
|
-
outline-offset: -
|
|
2126
|
+
outline-offset: calc(-1 * var(--om-semantic-dimension-px-3));
|
|
1814
2127
|
}
|
|
1815
2128
|
|
|
1816
2129
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -1823,10 +2136,10 @@ select.om-select optgroup {
|
|
|
1823
2136
|
.om-button,
|
|
1824
2137
|
.om-input,
|
|
1825
2138
|
.om-tabs-trigger {
|
|
1826
|
-
border:
|
|
2139
|
+
border: var(--om-semantic-border-width) solid ButtonText;
|
|
1827
2140
|
}
|
|
1828
2141
|
.om-tabs-trigger[data-state=active] {
|
|
1829
|
-
outline:
|
|
2142
|
+
outline: var(--om-semantic-focus-width) solid Highlight;
|
|
1830
2143
|
}
|
|
1831
2144
|
}
|
|
1832
2145
|
@media (prefers-reduced-motion: no-preference) {
|
|
@@ -1852,28 +2165,78 @@ select.om-select optgroup {
|
|
|
1852
2165
|
min-height: var(--om-semantic-control-height);
|
|
1853
2166
|
accent-color: var(--om-semantic-color-action);
|
|
1854
2167
|
cursor: pointer;
|
|
2168
|
+
margin: 0;
|
|
1855
2169
|
}
|
|
1856
2170
|
|
|
2171
|
+
@media not (forced-colors: active) {
|
|
2172
|
+
.om-slider {
|
|
2173
|
+
appearance: none;
|
|
2174
|
+
background: transparent;
|
|
2175
|
+
--om-slider-direction: to right;
|
|
2176
|
+
--om-slider-track: linear-gradient(
|
|
2177
|
+
var(--om-slider-direction),
|
|
2178
|
+
var(--om-semantic-color-action) 0 var(--om-slider-progress, 50%),
|
|
2179
|
+
color-mix(in srgb, var(--om-semantic-color-muted) 20%, var(--om-semantic-color-surface)) var(--om-slider-progress, 50%) 100%
|
|
2180
|
+
);
|
|
2181
|
+
}
|
|
2182
|
+
.om-slider:dir(rtl) {
|
|
2183
|
+
--om-slider-direction: to left;
|
|
2184
|
+
}
|
|
2185
|
+
.om-slider::-webkit-slider-runnable-track {
|
|
2186
|
+
block-size: var(--om-semantic-space-xs);
|
|
2187
|
+
border-radius: var(--om-semantic-radius-pill);
|
|
2188
|
+
background: var(--om-slider-track);
|
|
2189
|
+
box-shadow: inset 0 0 0 var(--om-semantic-dimension-px-1) var(--om-semantic-color-muted);
|
|
2190
|
+
}
|
|
2191
|
+
.om-slider::-moz-range-track {
|
|
2192
|
+
block-size: var(--om-semantic-space-xs);
|
|
2193
|
+
border-radius: var(--om-semantic-radius-pill);
|
|
2194
|
+
background: var(--om-slider-track);
|
|
2195
|
+
box-shadow: inset 0 0 0 var(--om-semantic-dimension-px-1) var(--om-semantic-color-muted);
|
|
2196
|
+
}
|
|
2197
|
+
.om-slider::-webkit-slider-thumb {
|
|
2198
|
+
appearance: none;
|
|
2199
|
+
box-sizing: border-box;
|
|
2200
|
+
inline-size: var(--om-semantic-space-lg);
|
|
2201
|
+
block-size: var(--om-semantic-space-lg);
|
|
2202
|
+
margin-block-start: calc((var(--om-semantic-space-xs) - var(--om-semantic-space-lg)) / 2);
|
|
2203
|
+
background: var(--om-semantic-color-action);
|
|
2204
|
+
border: var(--om-semantic-border-width) solid var(--om-semantic-color-on-action);
|
|
2205
|
+
border-radius: var(--om-semantic-radius-pill);
|
|
2206
|
+
}
|
|
2207
|
+
.om-slider::-moz-range-thumb {
|
|
2208
|
+
box-sizing: border-box;
|
|
2209
|
+
inline-size: var(--om-semantic-space-lg);
|
|
2210
|
+
block-size: var(--om-semantic-space-lg);
|
|
2211
|
+
background: var(--om-semantic-color-action);
|
|
2212
|
+
border: var(--om-semantic-border-width) solid var(--om-semantic-color-on-action);
|
|
2213
|
+
border-radius: var(--om-semantic-radius-pill);
|
|
2214
|
+
}
|
|
2215
|
+
}
|
|
1857
2216
|
.om-slider:disabled {
|
|
1858
2217
|
cursor: not-allowed;
|
|
1859
|
-
opacity: 0
|
|
2218
|
+
opacity: var(--om-semantic-number-opacity-0-5);
|
|
1860
2219
|
}
|
|
1861
2220
|
|
|
1862
2221
|
.om-slider:focus-visible {
|
|
1863
|
-
outline:
|
|
1864
|
-
outline-offset: -
|
|
2222
|
+
outline: var(--om-semantic-focus-width) solid var(--om-semantic-color-focus);
|
|
2223
|
+
outline-offset: calc(-1 * var(--om-semantic-dimension-px-1));
|
|
1865
2224
|
}
|
|
1866
2225
|
|
|
1867
2226
|
.om-command-palette {
|
|
1868
|
-
max-height: min(70vh,
|
|
2227
|
+
max-height: min(70vh, var(--om-semantic-dimension-px-480));
|
|
1869
2228
|
overflow: auto;
|
|
1870
2229
|
}
|
|
1871
2230
|
|
|
2231
|
+
.om-command-dismiss {
|
|
2232
|
+
margin-block-start: var(--om-semantic-space-md);
|
|
2233
|
+
}
|
|
2234
|
+
|
|
1872
2235
|
.om-command-list {
|
|
1873
2236
|
display: grid;
|
|
1874
2237
|
gap: var(--om-semantic-space-xs);
|
|
1875
2238
|
margin-top: var(--om-semantic-space-sm);
|
|
1876
|
-
max-height:
|
|
2239
|
+
max-height: var(--om-semantic-dimension-px-240);
|
|
1877
2240
|
overflow: auto;
|
|
1878
2241
|
}
|
|
1879
2242
|
|
|
@@ -1889,7 +2252,7 @@ select.om-select optgroup {
|
|
|
1889
2252
|
}
|
|
1890
2253
|
|
|
1891
2254
|
.om-command-list [aria-disabled=true] {
|
|
1892
|
-
opacity: 0
|
|
2255
|
+
opacity: var(--om-semantic-number-opacity-0-5);
|
|
1893
2256
|
cursor: not-allowed;
|
|
1894
2257
|
}
|
|
1895
2258
|
|
|
@@ -1903,7 +2266,7 @@ select.om-select optgroup {
|
|
|
1903
2266
|
padding: var(--om-semantic-space-xs) var(--om-semantic-space-sm);
|
|
1904
2267
|
color: var(--om-semantic-color-muted);
|
|
1905
2268
|
font-size: var(--om-semantic-font-small);
|
|
1906
|
-
font-weight: 650;
|
|
2269
|
+
font-weight: var(--om-semantic-number-weight-650);
|
|
1907
2270
|
overflow-wrap: anywhere;
|
|
1908
2271
|
}
|
|
1909
2272
|
|
|
@@ -1915,7 +2278,7 @@ select.om-select optgroup {
|
|
|
1915
2278
|
|
|
1916
2279
|
.om-command-description {
|
|
1917
2280
|
font-size: var(--om-semantic-font-small);
|
|
1918
|
-
margin-block-start:
|
|
2281
|
+
margin-block-start: var(--om-semantic-dimension-px-2);
|
|
1919
2282
|
}
|
|
1920
2283
|
|
|
1921
2284
|
.om-input:not(:disabled):not([aria-invalid=true]):not(:user-invalid):hover,
|
|
@@ -1926,6 +2289,6 @@ select.om-select optgroup {
|
|
|
1926
2289
|
|
|
1927
2290
|
@media (prefers-reduced-motion: no-preference) {
|
|
1928
2291
|
.om-button:active:not(:disabled) {
|
|
1929
|
-
transform: translateY(
|
|
2292
|
+
transform: translateY(var(--om-semantic-dimension-px-1));
|
|
1930
2293
|
}
|
|
1931
2294
|
}
|