@plexui/styles 0.1.31 → 0.1.33

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.
Files changed (50) hide show
  1. package/dist/es/components/Accordion/Accordion.module.css +16 -0
  2. package/dist/es/components/Badge/Badge.module.css +41 -8
  3. package/dist/es/components/Breadcrumb/Breadcrumb.module.css +1 -1
  4. package/dist/es/components/Button/Button.module.css +117 -64
  5. package/dist/es/components/Button/NavigationButton.module.css +27 -0
  6. package/dist/es/components/Card/Card.module.css +5 -3
  7. package/dist/es/components/Checkbox/Checkbox.module.css +80 -41
  8. package/dist/es/components/DataTable/DataTable.module.css +31 -5
  9. package/dist/es/components/DatePicker/Calendar.module.css +267 -3
  10. package/dist/es/components/DatePicker/CalendarNavigationIcon.module.css +20 -0
  11. package/dist/es/components/DateRangePicker/Calendar.module.css +205 -3
  12. package/dist/es/components/Dialog/Dialog.module.css +227 -50
  13. package/dist/es/components/EmptyMessage/EmptyMessage.module.css +58 -14
  14. package/dist/es/components/Field/Field.module.css +164 -2
  15. package/dist/es/components/FieldError/FieldError.module.css +13 -10
  16. package/dist/es/components/FieldGroup/FieldGroup.module.css +64 -5
  17. package/dist/es/components/FileUpload/FileUpload.module.css +103 -10
  18. package/dist/es/components/FloatingLabelInput/FloatingLabelInput.module.css +25 -14
  19. package/dist/es/components/FloatingLabelSelect/FloatingLabelSelect.module.css +20 -14
  20. package/dist/es/components/Indicator/LoadingIndicator.module.css +41 -6
  21. package/dist/es/components/Input/Input.module.css +126 -25
  22. package/dist/es/components/InputGroup/InputGroup.module.css +1 -1
  23. package/dist/es/components/MarkdownEditor/MarkdownEditor.module.css +27 -147
  24. package/dist/es/components/Menu/Menu.module.css +162 -20
  25. package/dist/es/components/OTPInput/OTPInput.module.css +11 -3
  26. package/dist/es/components/Page/Page.module.css +140 -11
  27. package/dist/es/components/RadioGroup/RadioGroup.module.css +17 -11
  28. package/dist/es/components/Select/Select.module.css +118 -13
  29. package/dist/es/components/SelectControl/SelectControl.module.css +83 -11
  30. package/dist/es/components/ShimmerText/ShimmerText.module.css +7 -0
  31. package/dist/es/components/Sidebar/Sidebar.module.css +74 -18
  32. package/dist/es/components/Skeleton/Skeleton.module.css +4 -0
  33. package/dist/es/components/Slider/Slider.module.css +53 -16
  34. package/dist/es/components/Sortable/Sortable.module.css +13 -4
  35. package/dist/es/components/Switch/Switch.module.css +16 -7
  36. package/dist/es/components/Table/Table.module.css +4 -2
  37. package/dist/es/components/Tabs/Tabs.module.css +39 -6
  38. package/dist/es/components/TagInput/TagInput.module.css +64 -19
  39. package/dist/es/components/TextLink/TextLink.module.css +4 -4
  40. package/dist/es/components/Textarea/Textarea.module.css +1 -1
  41. package/dist/es/components/Toast/Toast.module.css +72 -2
  42. package/dist/es/components/Toolbar/Toolbar.module.css +389 -0
  43. package/dist/es/components/Tooltip/Tooltip.module.css +1 -1
  44. package/dist/es/styles/base.css +1 -1
  45. package/dist/es/styles/mobile-materials.css +27 -0
  46. package/dist/es/styles/mobile-surfaces.css +39 -0
  47. package/dist/es/styles/touch.css +287 -54
  48. package/dist/es/styles/variables-components.css +61 -0
  49. package/package.json +1 -1
  50. package/postcss/mixins.mjs +1 -1
@@ -0,0 +1,389 @@
1
+ @layer components {/* A phone toolbar. A desktop layout has its own composition, so the toolbar never renders there. */.Toolbar {
2
+ display: none;
3
+ }@media (max-width: 767.98px) {
4
+ .Toolbar {
5
+ --toolbar-item-size: var(--toolbar-top-item-size);
6
+ --toolbar-item-gap: var(--toolbar-top-item-gap);
7
+ --toolbar-edge-blur: var(--toolbar-edge-blur-small);
8
+ --navigation-button-size: var(--toolbar-item-size);
9
+ position: relative;
10
+ z-index: 5;
11
+ display: grid;
12
+ flex: none;
13
+ grid-template-areas: "leading heading trailing";
14
+ grid-template-columns: minmax(max-content, 1fr) minmax(0, auto) minmax(max-content, 1fr);
15
+ align-items: center;
16
+ min-width: 0;
17
+ padding: var(--toolbar-padding-top, 0px) var(--toolbar-gutter) var(--toolbar-padding-bottom) var(--toolbar-gutter);
18
+ color: var(--color-text);
19
+ }
20
+
21
+ /* Soft scroll edge: the canvas color fades out over the content, which shows only once content
22
+ is under the bar. It reaches 16px past the bar, as the reference effect does. */
23
+ .Toolbar::before {
24
+ position: absolute;
25
+ z-index: -1;
26
+ inset: 0 0 -16px;
27
+ background: var(--toolbar-background, var(--dialog-panel-background, var(--page-background)));
28
+ backdrop-filter: blur(var(--toolbar-edge-blur));
29
+ content: "";
30
+ -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
31
+ mask-image: linear-gradient(to bottom, #000, transparent);
32
+ pointer-events: none;
33
+ }
34
+
35
+ .Toolbar[data-background="solid"]::before {
36
+ inset: 0;
37
+ backdrop-filter: none;
38
+ -webkit-mask-image: none;
39
+ mask-image: none;
40
+ }
41
+
42
+ .Toolbar[data-placement="bottom"] {
43
+ --toolbar-item-size: var(--toolbar-bottom-item-size);
44
+ --toolbar-item-gap: var(--toolbar-bottom-item-gap);
45
+ grid-template-areas: "leading content trailing";
46
+ padding: var(--toolbar-bottom-padding-top) var(--toolbar-bottom-gutter) var(--toolbar-bottom-padding-bottom);
47
+ }
48
+
49
+ .Toolbar[data-placement="bottom"]::before {
50
+ inset: -16px 0 0;
51
+ -webkit-mask-image: linear-gradient(to top, #000, transparent);
52
+ mask-image: linear-gradient(to top, #000, transparent);
53
+ }
54
+
55
+ .Toolbar[data-placement="bottom"][data-background="solid"]::before {
56
+ inset: 0;
57
+ }
58
+
59
+ /* A single wide action (Apps 2.4 Fullsize) leaves 12px above it. */
60
+ .Toolbar[data-placement="bottom"]:has(> .Content[data-fill] > :where(button, a)) {
61
+ --toolbar-edge-blur: var(--toolbar-edge-blur-large);
62
+ padding-top: var(--toolbar-bottom-fill-padding-top);
63
+ }
64
+
65
+ /* Apps 2.4 Toolbar Search: a flat bar of the canvas color, 14px below the field. */
66
+ .Toolbar[data-placement="top"]:has(> .Content[data-fill]) {
67
+ --toolbar-padding-bottom: var(--toolbar-search-padding-bottom);
68
+ }
69
+
70
+ .Toolbar[data-placement="top"]:has(> .Content[data-fill]):not([data-background="solid"])::before {
71
+ inset: 0;
72
+ background: color-mix(in srgb, var(--toolbar-background, var(--dialog-panel-background, var(--page-background))) var(--toolbar-flat-opacity), transparent);
73
+ backdrop-filter: blur(var(--toolbar-flat-blur));
74
+ -webkit-mask-image: none;
75
+ mask-image: none;
76
+ }
77
+
78
+ /* Leading alignment, compact titles and filled content share one row from the start edge. */
79
+ .Toolbar:is([data-title-align="start"], [data-title-style="compact-large"], [data-title-style="compact-medium"]),
80
+ .Toolbar:has(> .Content[data-fill]) {
81
+ grid-template-columns: max-content minmax(0, 1fr) max-content;
82
+ -moz-column-gap: var(--toolbar-item-gap);
83
+ column-gap: var(--toolbar-item-gap);
84
+ }
85
+
86
+ .Toolbar:has(> .Content[data-fill]) {
87
+ grid-template-areas: "leading content trailing";
88
+ }
89
+
90
+ .Toolbar:is([data-title-align="start"], [data-title-style="compact-large"], [data-title-style="compact-medium"]):not(:has(> .Leading)),
91
+ .Toolbar:has(> .Content[data-fill]):not(:has(> .Leading)) {
92
+ grid-template-areas: "heading trailing";
93
+ grid-template-columns: minmax(0, 1fr) max-content;
94
+ }
95
+
96
+ .Toolbar:has(> .Content[data-fill]):not(:has(> .Leading)) {
97
+ grid-template-areas: "content trailing";
98
+ }
99
+
100
+ .Toolbar:has(> .Content[data-fill]):not(:has(> .Leading)):not(:has(> .Trailing)) {
101
+ grid-template-areas: "content";
102
+ grid-template-columns: minmax(0, 1fr);
103
+ }
104
+
105
+ /* Large title: the controls stay in their own row and the title sits below it. */
106
+ .Toolbar[data-title-style="large"] {
107
+ --toolbar-edge-blur: var(--toolbar-edge-blur-large);
108
+ grid-template-areas:
109
+ "leading . trailing"
110
+ "heading heading heading";
111
+ grid-template-columns: max-content minmax(0, 1fr) max-content;
112
+ row-gap: var(--toolbar-large-title-gap);
113
+ }
114
+
115
+ .Toolbar:is([data-title-style="compact-large"], [data-title-style="compact-medium"]),
116
+ .Toolbar:has(> .Heading > .Subtitle) {
117
+ --toolbar-edge-blur: var(--toolbar-edge-blur-large);
118
+ }
119
+
120
+ .Leading,
121
+ .Trailing,
122
+ .Group {
123
+ display: flex;
124
+ align-items: center;
125
+ gap: var(--toolbar-item-gap);
126
+ min-width: 0;
127
+ min-height: var(--toolbar-item-size);
128
+ }
129
+
130
+ .Leading {
131
+ grid-area: leading;
132
+ justify-self: start;
133
+ }
134
+
135
+ .Trailing {
136
+ grid-area: trailing;
137
+ justify-content: flex-end;
138
+ justify-self: end;
139
+ }
140
+
141
+ .Content {
142
+ display: flex;
143
+ grid-area: heading;
144
+ align-items: center;
145
+ justify-content: center;
146
+ gap: var(--toolbar-item-gap);
147
+ min-width: 0;
148
+ min-height: var(--toolbar-item-size);
149
+ }
150
+
151
+ .Content[data-fill] {
152
+ grid-area: content;
153
+ justify-content: stretch;
154
+ }
155
+
156
+ .Content[data-fill] > * {
157
+ flex: 1 1 auto;
158
+ min-width: 0;
159
+ }
160
+
161
+ .Toolbar[data-placement="bottom"] > .Content:not([data-fill]) {
162
+ grid-area: content;
163
+ }
164
+
165
+ /* Several buttons in one capsule (iOS 26 kit Buttons Top and Bottom: 2 to 6 Symbols). The capsule
166
+ carries the shared mobile glass; the buttons inside it stay clear. */
167
+ .Group {
168
+ gap: var(--toolbar-group-gap);
169
+ padding-inline: var(--toolbar-group-padding);
170
+ border-radius: var(--radius-full);
171
+ background-color: var(--mobile-glass-background);
172
+ background-image: var(--mobile-glass-sheen);
173
+ box-shadow: var(--mobile-glass-shadow);
174
+ backdrop-filter: var(--mobile-glass-backdrop-filter);
175
+ }
176
+
177
+ .Group > :where(button, a) {
178
+ --mobile-glass-background: transparent;
179
+ --mobile-glass-sheen: none;
180
+ --mobile-glass-background-hover: var(--toolbar-group-item-hover);
181
+ --mobile-glass-background-active: var(--toolbar-group-item-active);
182
+ --mobile-glass-shadow: none;
183
+ --mobile-glass-backdrop-filter: none;
184
+ }
185
+
186
+ .Toolbar[data-placement="bottom"] .Group {
187
+ --toolbar-group-gap: var(--toolbar-bottom-group-gap);
188
+ --toolbar-group-padding: var(--toolbar-bottom-group-padding);
189
+ }
190
+
191
+ /* No shadow at rest: the glass casts one once content has scrolled under the bar. */
192
+ .Toolbar[data-scrolled] {
193
+ --mobile-glass-shadow: var(--mobile-glass-shadow-raised);
194
+ }
195
+
196
+ /* The extra class outweighs the sizes of Button itself, whatever order the style sheets load in. */
197
+ .Toolbar :is(.Leading, .Trailing, .Content, .Group) > :where(button, a) {
198
+ --button-size: var(--toolbar-item-size);
199
+ --button-uniform-size: var(--toolbar-item-size);
200
+ --button-radius: var(--radius-full);
201
+ --button-font-size: var(--toolbar-label-font-size);
202
+ --button-line-height: var(--toolbar-label-line-height);
203
+ --button-font-weight: var(--toolbar-label-font-weight);
204
+ }
205
+
206
+ /* iOS 26 kit: a symbol is set at 17pt in a 36pt frame, about 20px of ink, in both bars. */
207
+ .Toolbar :is(.Leading, .Trailing, .Content, .Group) > :where(button, a):not([data-navigation-action]) {
208
+ --button-icon-size: var(--toolbar-icon-size);
209
+ }
210
+
211
+ .Toolbar :is(.Leading, .Trailing, .Content, .Group) > :where(button, a):not([data-navigation-action], [data-uniform]) {
212
+ --button-gutter: var(--toolbar-label-gutter);
213
+ }
214
+
215
+ .Toolbar[data-placement="bottom"] :is(.Leading, .Trailing, .Content, .Group) > :where(button, a):not([data-navigation-action], [data-uniform]) {
216
+ --button-gutter: var(--toolbar-bottom-label-gutter);
217
+ }
218
+
219
+ :is(.Leading, .Trailing, .Content, .Group) > :where(button, a):where(:not([data-disabled], [data-mobile-material="flat"])):where([data-color="primary"], [data-color="secondary"]):where([data-variant="soft"], [data-variant="ghost"]) {
220
+ --button-mobile-material-background: var(--mobile-glass-background);
221
+ --button-mobile-material-sheen: var(--mobile-glass-sheen);
222
+ --button-mobile-material-shadow: var(--mobile-glass-shadow);
223
+ --button-mobile-material-backdrop-filter: var(--mobile-glass-backdrop-filter);
224
+ --button-mobile-material-opacity: 1;
225
+ --button-mobile-material-scale: 1;
226
+ --button-mobile-material-hover: var(--mobile-glass-background-hover);
227
+ --button-mobile-material-active: var(--mobile-glass-background-active);
228
+ }
229
+
230
+ /* A search field (iOS 26 kit Search Top and Bottom): the row height and the glass of the bar buttons.
231
+ The extra attribute outweighs the field's own focus and hover outlines, which a bar does not draw. */
232
+ .Toolbar :is(.Leading, .Trailing, .Content) > [data-slot="input"][data-variant] {
233
+ --input-size: var(--toolbar-item-size);
234
+ --input-font-size: var(--toolbar-label-font-size);
235
+ --input-gutter: var(--toolbar-search-gutter);
236
+ --input-gap: var(--toolbar-search-icon-gap);
237
+ --input-adornment-offset: 0px;
238
+ --control-gutter-pill-scaling: 1;
239
+ --input-soft-background-color: var(--mobile-glass-background);
240
+ --input-placeholder-text-color: var(--mobile-label-tertiary, var(--color-text-tertiary));
241
+ border-radius: var(--radius-full);
242
+ background-image: var(--mobile-glass-sheen);
243
+ box-shadow: var(--mobile-glass-shadow);
244
+ font-weight: var(--toolbar-label-font-weight);
245
+ backdrop-filter: var(--mobile-glass-backdrop-filter);
246
+ }
247
+
248
+ .Toolbar :is(.Leading, .Trailing, .Content) > [data-slot="input"][data-variant] > svg {
249
+ flex: none;
250
+ width: var(--toolbar-search-icon-size);
251
+ height: var(--toolbar-search-icon-size);
252
+ }
253
+
254
+ /* Title: SF text ink sits 2px below the geometric center of the 44px row. */
255
+ .Heading {
256
+ display: flex;
257
+ grid-area: heading;
258
+ flex-direction: column;
259
+ align-items: center;
260
+ justify-content: center;
261
+ min-width: 0;
262
+ min-height: var(--toolbar-item-size);
263
+ text-align: center;
264
+ transform: translateY(2px);
265
+ }
266
+
267
+ .Title {
268
+ max-width: 100%;
269
+ margin: 0;
270
+ overflow: hidden;
271
+ color: var(--color-text);
272
+ font-size: var(--toolbar-title-font-size);
273
+ font-weight: var(--toolbar-title-font-weight);
274
+ line-height: var(--toolbar-title-line-height);
275
+ text-overflow: ellipsis;
276
+ white-space: nowrap;
277
+ }
278
+
279
+ .Subtitle {
280
+ max-width: 100%;
281
+ margin: -2px 0 0;
282
+ overflow: hidden;
283
+ color: var(--mobile-label-secondary, var(--color-text-secondary));
284
+ font-size: var(--toolbar-subtitle-font-size);
285
+ font-weight: var(--toolbar-subtitle-font-weight);
286
+ line-height: var(--toolbar-subtitle-line-height);
287
+ text-overflow: ellipsis;
288
+ white-space: nowrap;
289
+ }
290
+
291
+ /* Two lines: title 15/20 at 6px, subtitle 12/16 below it. */
292
+ .Heading:has(> .Subtitle) {
293
+ transform: translateY(1px);
294
+ }
295
+
296
+ .Heading:has(> .Subtitle) > .Title {
297
+ font-size: var(--toolbar-title-compact-font-size);
298
+ line-height: var(--toolbar-title-compact-line-height);
299
+ }
300
+
301
+ .Toolbar:is([data-title-align="start"], [data-title-style="compact-large"], [data-title-style="compact-medium"], [data-title-style="large"]) > .Heading {
302
+ align-items: flex-start;
303
+ text-align: start;
304
+ }
305
+
306
+ .Toolbar[data-title-style="large"] > .Heading {
307
+ min-height: 0;
308
+ transform: none;
309
+ }
310
+
311
+ .Toolbar[data-title-style="large"] > .Heading > .Title {
312
+ font-size: var(--toolbar-large-title-font-size);
313
+ font-weight: var(--font-weight-bold);
314
+ line-height: var(--toolbar-large-title-line-height);
315
+ }
316
+
317
+ .Toolbar[data-title-style="large"] > .Heading > .Subtitle {
318
+ margin: 0;
319
+ font-size: var(--toolbar-large-subtitle-font-size);
320
+ font-weight: var(--font-weight-normal);
321
+ line-height: var(--toolbar-large-subtitle-line-height);
322
+ }
323
+
324
+ .Toolbar[data-title-style="compact-large"] > .Heading {
325
+ align-self: start;
326
+ min-height: 0;
327
+ transform: none;
328
+ }
329
+
330
+ .Toolbar[data-title-style="compact-large"] > .Heading > .Title {
331
+ font-size: var(--toolbar-large-title-font-size);
332
+ font-weight: var(--font-weight-bold);
333
+ line-height: var(--toolbar-large-title-line-height);
334
+ }
335
+
336
+ .Toolbar[data-title-style="compact-medium"] > .Heading {
337
+ transform: none;
338
+ }
339
+
340
+ .Toolbar[data-title-style="compact-medium"] > .Heading > .Title {
341
+ font-size: var(--toolbar-medium-title-font-size);
342
+ font-weight: var(--font-weight-bold);
343
+ line-height: var(--toolbar-medium-title-line-height);
344
+ }
345
+
346
+ /* Hosts: a Page puts the top bar over its content under the status bar, a Sheet below its grabber. */
347
+ .Toolbar[data-host="page"][data-placement="top"] {
348
+ --toolbar-padding-top: var(--safe-area-inset-top, env(safe-area-inset-top, 0px));
349
+ position: absolute;
350
+ inset: 0 0 auto;
351
+ }
352
+
353
+ .Toolbar[data-host="dialog"][data-placement="top"] {
354
+ --toolbar-background: var(--dialog-panel-background);
355
+ --toolbar-padding-top: var(--toolbar-sheet-padding-top);
356
+ /* The panel radius is a shorthand (top corners only for a Sheet), so it goes to the shorthand too:
357
+ a longhand would drop it and leave square corners that smear the Sheet's rounded top. */
358
+ border-radius: var(--dialog-panel-radius, 0px);
359
+ }
360
+
361
+ .Toolbar[data-host="dialog"][data-placement="top"]::before {
362
+ border-radius: inherit;
363
+ }
364
+
365
+ /* Grabber (iOS 26 kit Grabber: 36 × 5 at 5px). */
366
+ .Toolbar[data-host="dialog"][data-placement="top"]::after {
367
+ position: absolute;
368
+ top: 5px;
369
+ left: calc(50% - 18px);
370
+ width: 36px;
371
+ height: 5px;
372
+ border-radius: var(--radius-full);
373
+ background: var(--mobile-grabber-color, var(--color-background-secondary-soft-alpha));
374
+ content: "";
375
+ }
376
+
377
+ :where([data-mobile-placement="fullscreen"]) .Toolbar[data-host="dialog"][data-placement="top"] {
378
+ --toolbar-padding-top: var(--safe-area-inset-top, env(safe-area-inset-top, 0px));
379
+ }
380
+
381
+ :where([data-mobile-placement="fullscreen"]) .Toolbar[data-host="dialog"][data-placement="top"]::after {
382
+ display: none;
383
+ }
384
+
385
+ .Toolbar[data-host="dialog"][data-placement="bottom"] {
386
+ --toolbar-background: var(--dialog-panel-background);
387
+ }
388
+ }
389
+ }
@@ -26,7 +26,7 @@
26
26
  .Tooltip[data-clickable="true"] {
27
27
  cursor: pointer;
28
28
  }
29
- @media (hover: hover) and (pointer: fine) {.Tooltip[data-compact="true"][data-clickable="true"]:hover {
29
+ @media (hover: hover) and (pointer: fine) {.Tooltip[data-compact="true"][data-clickable="true"]:hover:where(:not(:root[data-input="touch"] *)) {
30
30
  background: var(--gray-600);
31
31
  color: var(--gray-0);
32
32
  }
@@ -92,7 +92,7 @@
92
92
  ============================================= */
93
93
  @custom-variant hover {
94
94
  @media (hover: hover) and (pointer: fine) {
95
- &:hover {
95
+ &:hover:where(:not(:root[data-input="touch"] *)) {
96
96
  @slot;
97
97
  }
98
98
  }
@@ -0,0 +1,27 @@
1
+ /* Mobile glass shared by Back, Close, More and the phone toolbar: Liquid Glass Regular Small of the
2
+ iOS 26 kit. A light fill over a slightly frosted backdrop, a sheen darker at the top and lighter at
3
+ the bottom, and a thin rim of light on the top-left and bottom-right edges that fades out at the
4
+ other two corners. The drop shadow comes only once content is under the control. */
5
+ @media (max-width: 767px) {
6
+ :root {
7
+ --mobile-glass-sheen: linear-gradient(light-dark(rgb(0 0 0 / 3%), rgb(0 0 0 / 6%)), transparent 50%, light-dark(rgb(255 255 255 / 45%), rgb(255 255 255 / 3%)));
8
+ --mobile-glass-shadow: inset 0.67px 0.67px 0 var(--mobile-glass-rim), inset -0.67px -0.67px 0 var(--mobile-glass-rim);
9
+ --mobile-glass-backdrop-filter: blur(4px);
10
+ }
11
+ :where(:root), :where([data-theme="light"]) {
12
+ --mobile-glass-background: rgb(247 247 247 / 64%);
13
+ --mobile-glass-background-hover: rgb(247 247 247 / 74%);
14
+ --mobile-glass-background-active: rgb(247 247 247 / 84%);
15
+ --mobile-glass-rim: rgb(255 255 255 / 100%);
16
+ --mobile-glass-shadow-raised: 0 8px 40px rgb(0 0 0 / 12%), var(--mobile-glass-shadow);
17
+ --mobile-grabber-color: rgb(0 0 0 / 20%);
18
+ }
19
+ :where([data-theme="dark"]) {
20
+ --mobile-glass-background: rgb(19 19 19 / 42%);
21
+ --mobile-glass-background-hover: rgb(60 60 60 / 50%);
22
+ --mobile-glass-background-active: rgb(80 80 80 / 55%);
23
+ --mobile-glass-rim: rgb(255 255 255 / 30%);
24
+ --mobile-glass-shadow-raised: 0 8px 40px rgb(0 0 0 / 8%), var(--mobile-glass-shadow);
25
+ --mobile-grabber-color: rgb(255 255 255 / 20%);
26
+ }
27
+ }
@@ -0,0 +1,39 @@
1
+ /* Contextual iOS background roles. Import with touch.css; no global body color is changed. */
2
+ @media (max-width: 767px) {
3
+ :where(:root), :where([data-theme="light"]) {
4
+ --mobile-label-secondary: rgb(60 60 67 / 0.6);
5
+ --mobile-label-tertiary: rgb(60 60 67 / 0.3);
6
+ --mobile-label-quaternary: rgb(60 60 67 / 0.18);
7
+ --mobile-accessory-secondary: rgb(60 60 67 / 0.6);
8
+ --mobile-surface-plain-primary: #ffffff;
9
+ --mobile-surface-plain-secondary: #f2f2f7;
10
+ --mobile-surface-plain-tertiary: #ffffff;
11
+ --mobile-surface-grouped-primary: #f2f2f7;
12
+ --mobile-surface-grouped-secondary: #ffffff;
13
+ --mobile-surface-grouped-tertiary: #f2f2f7;
14
+ --mobile-surface-elevated-plain-primary: #ffffff;
15
+ --mobile-surface-elevated-plain-secondary: #f2f2f7;
16
+ --mobile-surface-elevated-plain-tertiary: #ffffff;
17
+ --mobile-surface-elevated-grouped-primary: #f2f2f7;
18
+ --mobile-surface-elevated-grouped-secondary: #ffffff;
19
+ --mobile-surface-elevated-grouped-tertiary: #f2f2f7
20
+ }
21
+ :where([data-theme="dark"]) {
22
+ --mobile-label-secondary: rgb(235 235 245 / 0.7);
23
+ --mobile-label-tertiary: rgb(235 235 245 / 0.3);
24
+ --mobile-label-quaternary: rgb(235 235 245 / 0.18);
25
+ --mobile-accessory-secondary: rgb(235 235 245 / 0.6);
26
+ --mobile-surface-plain-primary: #000000;
27
+ --mobile-surface-plain-secondary: #1c1c1e;
28
+ --mobile-surface-plain-tertiary: #2c2c2e;
29
+ --mobile-surface-grouped-primary: #000000;
30
+ --mobile-surface-grouped-secondary: #1c1c1e;
31
+ --mobile-surface-grouped-tertiary: #2c2c2e;
32
+ --mobile-surface-elevated-plain-primary: #1c1c1e;
33
+ --mobile-surface-elevated-plain-secondary: #2c2c2e;
34
+ --mobile-surface-elevated-plain-tertiary: #3a3a3c;
35
+ --mobile-surface-elevated-grouped-primary: #1c1c1e;
36
+ --mobile-surface-elevated-grouped-secondary: #2c2c2e;
37
+ --mobile-surface-elevated-grouped-tertiary: #3a3a3c
38
+ }
39
+ }