@plexui/styles 0.17.16 → 0.17.18

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.
@@ -382,7 +382,7 @@
382
382
 
383
383
  /* On the popover's glass a gray action (a soft primary or secondary one, an outline one, iOS's Gray) takes the
384
384
  alert's fill, see-through as the Dialog's alert actions, its press that fill faded as a soft button's */
385
- .Popover > .Tip[data-mobile-actions="buttons"] > .Actions > :is([data-variant="soft"]:where([data-color="primary"], [data-color="secondary"]), [data-variant="outline"]):not([data-disabled]):not(:where([data-platform="android"] *)) {
385
+ .Popover:not([data-material="solid"]) > .Tip[data-mobile-actions="buttons"] > .Actions > :is([data-variant="soft"]:where([data-color="primary"], [data-color="secondary"]), [data-variant="outline"]):not([data-disabled]):not(:where([data-platform="android"] *)) {
386
386
  --button-background-color: var(--dialog-alert-fill, var(--color-background-primary-soft-alpha));
387
387
  --button-background-color-hover: var(--dialog-alert-fill, var(--color-background-primary-soft-alpha));
388
388
  --button-background-color-active: var(--dialog-alert-fill, var(--color-background-primary-soft-alpha));
@@ -393,6 +393,14 @@
393
393
  background: var(--dialog-alert-background, var(--tip-popover-background));
394
394
  backdrop-filter: var(--dialog-alert-backdrop-filter, none);
395
395
  }
396
+
397
+ /* material="solid": the tip and its arrow on the opaque elevated surface iOS draws the tip on with Reduce
398
+ Transparency, nothing blurred under them (a tip over a photo); a gray action keeps its own fill */
399
+ .Popover[data-material="solid"]:not(:where([data-platform="android"] *)) > .Tip,
400
+ .Popover[data-material="solid"]:not(:where([data-platform="android"] *)) .Arrow {
401
+ background: var(--tip-popover-background);
402
+ backdrop-filter: none;
403
+ }
396
404
  }
397
405
  :where([data-plex-layout="phone"]) .Tip {
398
406
  --tip-padding-top: 14px;
@@ -588,7 +596,7 @@
588
596
 
589
597
  /* On the popover's glass a gray action (a soft primary or secondary one, an outline one, iOS's Gray) takes the
590
598
  alert's fill, see-through as the Dialog's alert actions, its press that fill faded as a soft button's */
591
- :where([data-plex-layout="phone"]) .Popover > .Tip[data-mobile-actions="buttons"] > .Actions > :is([data-variant="soft"]:where([data-color="primary"], [data-color="secondary"]), [data-variant="outline"]):not([data-disabled]):not(:where([data-platform="android"] *)) {
599
+ :where([data-plex-layout="phone"]) .Popover:not([data-material="solid"]) > .Tip[data-mobile-actions="buttons"] > .Actions > :is([data-variant="soft"]:where([data-color="primary"], [data-color="secondary"]), [data-variant="outline"]):not([data-disabled]):not(:where([data-platform="android"] *)) {
592
600
  --button-background-color: var(--dialog-alert-fill, var(--color-background-primary-soft-alpha));
593
601
  --button-background-color-hover: var(--dialog-alert-fill, var(--color-background-primary-soft-alpha));
594
602
  --button-background-color-active: var(--dialog-alert-fill, var(--color-background-primary-soft-alpha));
@@ -598,7 +606,15 @@
598
606
  :where([data-plex-layout="phone"]) .Arrow {
599
607
  background: var(--dialog-alert-background, var(--tip-popover-background));
600
608
  backdrop-filter: var(--dialog-alert-backdrop-filter, none);
601
- }/* The Plex Android look (`data-platform="android"`, android.css), after @plexui/react-native's Tip on Android
609
+ }
610
+
611
+ /* material="solid": the tip and its arrow on the opaque elevated surface iOS draws the tip on with Reduce
612
+ Transparency, nothing blurred under them (a tip over a photo); a gray action keeps its own fill */
613
+ :where([data-plex-layout="phone"]) .Popover[data-material="solid"]:not(:where([data-platform="android"] *)) > .Tip,
614
+ :where([data-plex-layout="phone"]) .Popover[data-material="solid"]:not(:where([data-platform="android"] *)) .Arrow {
615
+ background: var(--tip-popover-background);
616
+ backdrop-filter: none;
617
+ }/* The Plex Android look (`data-platform="android"`, android.css), after @plexui/react-native's Tip on Android
602
618
  (decision 0026): a card of the screen's cells with Material 3's rich tooltip inside: 16px corners and 16 inside, a
603
619
  24px symbol 16 before the text, a title 16/24 Medium over a message 14/20 in the secondary text 2 under it, 12 over
604
620
  the actions; Close a bare 24px glyph in the secondary label, in a 48px target 4 from the top and the end. The actions are text buttons side by
@@ -63,8 +63,16 @@
63
63
  gone. A blur of 10 left the page's text at 1.5 to 3:1 against its background, readable (plan 176).
64
64
  Light menus are glass too in iOS 27.2 (ref-app menus, block 8, @3x): 254 over a white page, 249 to 252 over
65
65
  the grouped 242, 227 to 236 over the 194 of a context menu's dimming; white at 65% comes to 255, 250 and 234,
66
- as the glass Alert does. The page under them is blurred the same. */
67
- --menu-mobile-backdrop-filter: blur(18px);
66
+ as the glass Alert does. The page under them is blurred the same.
67
+ Measured again over colors (ref-app menu-glass, iOS 27.2, @3x: a Menu over white, black, gray 128, green, pink,
68
+ blue and a black|white edge, both schemes), a menu is iOS's regular glass, clear: in light black reads 136
69
+ through it, gray 203, white 254, a color paler and more vivid (green 51 199 89 reads 110 255 148); in dark white
70
+ reads 122, gray 116, black 32 and a strong color keeps itself (pink 255 46 84 reads 255 49 90), and the black|white
71
+ edge smears with a sigma of 12pt. A contrast, a brightness and a saturation over blur(12px): under white at 35%
72
+ in light, within 4 levels in Safari (the iOS 27.2 simulator) and Chrome alike; in dark under white at 6%, a
73
+ linear map both draw alike (Safari composes a filter's steps, Chrome clamps each, so a curve that leans on a
74
+ clamp reads differently in each), which cannot bend as iOS's does: black reads 54, the 28 sheet 63 (native 56),
75
+ gray 98 (116), white 143 (122), a strong color itself (pink 251 38 77). The filter is a scheme's own (below). */
68
76
  /* A popover is the glass of the menus in both themes, as iOS 27.2 draws one and an action sheet from its source
69
77
  (ref-app popover, popover-row, popover-swiftui, actionsheet-source, block 14, @3x): in light 250 to 253 over
70
78
  the grouped 242 and the white cells, as white at 65% comes to; in dark 54 over a cell of 28 and 35 over black,
@@ -73,11 +81,10 @@
73
81
  [data-theme] root. The shadow and the edge are the menus' (--menu-shadow, touch.css, which the panel falls back
74
82
  to in Popover.module.css; declared on the root, it keeps the root's theme as the menus' does): 20 levels
75
83
  under the panel on a white cell, gone within 38pt. */
76
- --popover-mobile-backdrop-filter: var(--menu-mobile-backdrop-filter);
77
84
  /* A toast is glass as the system's own messages at the top of the screen are (ref-app banner-*, iOS 27.2
78
85
  simulator, @3x): in light 247 to 248 over the grouped 242, in dark 37 to 41 over black and the cells, about
79
86
  what the menus' glass comes to; the raised glass shadow, as it stands over the page. Written out, as above. */
80
- --toast-mobile-backdrop-filter: var(--menu-mobile-backdrop-filter);
87
+ --toast-mobile-backdrop-filter: blur(18px);
81
88
  --toast-mobile-shadow: var(--mobile-glass-shadow-raised);
82
89
  /* An Alert is glass in both themes, as native iOS alerts are. Light: Files (iOS-menu, Screenshot 18.22.08,
83
90
  08.11) shows 237 over a page dimmed to 204, as white at 65% does; kit iOS 27 (Alerts 65:57149) comes to
@@ -104,11 +111,11 @@
104
111
  --mobile-glass-outline: 1.25px 0 0 -0.75px rgb(0 0 0 / 20%), -1.25px 0 0 -0.75px rgb(0 0 0 / 20%), 0 0 0 0.5px rgb(0 0 0 / 9%);
105
112
  --mobile-glass-shadow: 0 8px 15px rgb(0 0 0 / 2%), var(--mobile-glass-outline), inset 0 0.67px 0 var(--mobile-glass-rim), inset 0 -0.67px 0 var(--mobile-glass-rim);
106
113
  --mobile-glass-shadow-raised: 0 8px 40px rgb(0 0 0 / 12%), var(--mobile-glass-outline), inset 0 0.67px 0 var(--mobile-glass-rim), inset 0 -0.67px 0 var(--mobile-glass-rim);
107
- --menu-mobile-background: rgb(255 255 255 / 65%);
108
- --popover-mobile-background: rgb(255 255 255 / 65%);
114
+ --menu-mobile-background: rgb(254 254 254 / 35%);
115
+ --popover-mobile-background: rgb(254 254 254 / 35%);
109
116
  --toast-mobile-background: rgb(255 255 255 / 65%);
110
117
  --dialog-alert-background: rgb(255 255 255 / 65%);
111
- --dialog-alert-fill: var(--alpha-15)
118
+ --dialog-alert-fill: var(--alpha-15);
112
119
  }
113
120
  :where([data-theme="dark"]) {
114
121
  --mobile-glass-background: var(--alpha-12);
@@ -118,11 +125,11 @@
118
125
  --mobile-glass-outline: 1.25px 0 0 -0.75px transparent, -1.25px 0 0 -0.75px transparent, 0 0 0 0.5px transparent;
119
126
  --mobile-glass-shadow: 0 8px 15px transparent, var(--mobile-glass-outline), inset 0 0.67px 0 var(--mobile-glass-rim), inset 0 -0.67px 0 var(--mobile-glass-rim);
120
127
  --mobile-glass-shadow-raised: 0 8px 40px rgb(0 0 0 / 8%), var(--mobile-glass-outline), inset 0 0.67px 0 var(--mobile-glass-rim), inset 0 -0.67px 0 var(--mobile-glass-rim);
121
- --menu-mobile-background: var(--alpha-12);
122
- --popover-mobile-background: var(--alpha-12);
128
+ --menu-mobile-background: rgb(238 238 238 / 6%);
129
+ --popover-mobile-background: rgb(238 238 238 / 6%);
123
130
  --toast-mobile-background: var(--alpha-12);
124
131
  --dialog-alert-background: var(--alpha-12);
125
- --dialog-alert-fill: var(--alpha-12)
132
+ --dialog-alert-fill: var(--alpha-12);
126
133
  }
127
134
  }
128
135
  :root :where([data-plex-layout="phone"]) {
@@ -178,8 +185,16 @@
178
185
  gone. A blur of 10 left the page's text at 1.5 to 3:1 against its background, readable (plan 176).
179
186
  Light menus are glass too in iOS 27.2 (ref-app menus, block 8, @3x): 254 over a white page, 249 to 252 over
180
187
  the grouped 242, 227 to 236 over the 194 of a context menu's dimming; white at 65% comes to 255, 250 and 234,
181
- as the glass Alert does. The page under them is blurred the same. */
182
- --menu-mobile-backdrop-filter: blur(18px);
188
+ as the glass Alert does. The page under them is blurred the same.
189
+ Measured again over colors (ref-app menu-glass, iOS 27.2, @3x: a Menu over white, black, gray 128, green, pink,
190
+ blue and a black|white edge, both schemes), a menu is iOS's regular glass, clear: in light black reads 136
191
+ through it, gray 203, white 254, a color paler and more vivid (green 51 199 89 reads 110 255 148); in dark white
192
+ reads 122, gray 116, black 32 and a strong color keeps itself (pink 255 46 84 reads 255 49 90), and the black|white
193
+ edge smears with a sigma of 12pt. A contrast, a brightness and a saturation over blur(12px): under white at 35%
194
+ in light, within 4 levels in Safari (the iOS 27.2 simulator) and Chrome alike; in dark under white at 6%, a
195
+ linear map both draw alike (Safari composes a filter's steps, Chrome clamps each, so a curve that leans on a
196
+ clamp reads differently in each), which cannot bend as iOS's does: black reads 54, the 28 sheet 63 (native 56),
197
+ gray 98 (116), white 143 (122), a strong color itself (pink 251 38 77). The filter is a scheme's own (below). */
183
198
  /* A popover is the glass of the menus in both themes, as iOS 27.2 draws one and an action sheet from its source
184
199
  (ref-app popover, popover-row, popover-swiftui, actionsheet-source, block 14, @3x): in light 250 to 253 over
185
200
  the grouped 242 and the white cells, as white at 65% comes to; in dark 54 over a cell of 28 and 35 over black,
@@ -188,11 +203,10 @@
188
203
  [data-theme] root. The shadow and the edge are the menus' (--menu-shadow, touch.css, which the panel falls back
189
204
  to in Popover.module.css; declared on the root, it keeps the root's theme as the menus' does): 20 levels
190
205
  under the panel on a white cell, gone within 38pt. */
191
- --popover-mobile-backdrop-filter: var(--menu-mobile-backdrop-filter);
192
206
  /* A toast is glass as the system's own messages at the top of the screen are (ref-app banner-*, iOS 27.2
193
207
  simulator, @3x): in light 247 to 248 over the grouped 242, in dark 37 to 41 over black and the cells, about
194
208
  what the menus' glass comes to; the raised glass shadow, as it stands over the page. Written out, as above. */
195
- --toast-mobile-backdrop-filter: var(--menu-mobile-backdrop-filter);
209
+ --toast-mobile-backdrop-filter: blur(18px);
196
210
  --toast-mobile-shadow: var(--mobile-glass-shadow-raised);
197
211
  /* An Alert is glass in both themes, as native iOS alerts are. Light: Files (iOS-menu, Screenshot 18.22.08,
198
212
  08.11) shows 237 over a page dimmed to 204, as white at 65% does; kit iOS 27 (Alerts 65:57149) comes to
@@ -219,11 +233,11 @@
219
233
  --mobile-glass-outline: 1.25px 0 0 -0.75px rgb(0 0 0 / 20%), -1.25px 0 0 -0.75px rgb(0 0 0 / 20%), 0 0 0 0.5px rgb(0 0 0 / 9%);
220
234
  --mobile-glass-shadow: 0 8px 15px rgb(0 0 0 / 2%), var(--mobile-glass-outline), inset 0 0.67px 0 var(--mobile-glass-rim), inset 0 -0.67px 0 var(--mobile-glass-rim);
221
235
  --mobile-glass-shadow-raised: 0 8px 40px rgb(0 0 0 / 12%), var(--mobile-glass-outline), inset 0 0.67px 0 var(--mobile-glass-rim), inset 0 -0.67px 0 var(--mobile-glass-rim);
222
- --menu-mobile-background: rgb(255 255 255 / 65%);
223
- --popover-mobile-background: rgb(255 255 255 / 65%);
236
+ --menu-mobile-background: rgb(254 254 254 / 35%);
237
+ --popover-mobile-background: rgb(254 254 254 / 35%);
224
238
  --toast-mobile-background: rgb(255 255 255 / 65%);
225
239
  --dialog-alert-background: rgb(255 255 255 / 65%);
226
- --dialog-alert-fill: var(--alpha-15)
240
+ --dialog-alert-fill: var(--alpha-15);
227
241
  }
228
242
  :root:where([data-theme="dark"]) :where([data-plex-layout="phone"]), :root :where([data-theme="dark"]) :where([data-plex-layout="phone"]) {
229
243
  --mobile-glass-background: var(--alpha-12);
@@ -233,9 +247,24 @@
233
247
  --mobile-glass-outline: 1.25px 0 0 -0.75px transparent, -1.25px 0 0 -0.75px transparent, 0 0 0 0.5px transparent;
234
248
  --mobile-glass-shadow: 0 8px 15px transparent, var(--mobile-glass-outline), inset 0 0.67px 0 var(--mobile-glass-rim), inset 0 -0.67px 0 var(--mobile-glass-rim);
235
249
  --mobile-glass-shadow-raised: 0 8px 40px rgb(0 0 0 / 8%), var(--mobile-glass-outline), inset 0 0.67px 0 var(--mobile-glass-rim), inset 0 -0.67px 0 var(--mobile-glass-rim);
236
- --menu-mobile-background: var(--alpha-12);
237
- --popover-mobile-background: var(--alpha-12);
250
+ --menu-mobile-background: rgb(238 238 238 / 6%);
251
+ --popover-mobile-background: rgb(238 238 238 / 6%);
238
252
  --toast-mobile-background: var(--alpha-12);
239
253
  --dialog-alert-background: var(--alpha-12);
240
- --dialog-alert-fill: var(--alpha-12)
254
+ --dialog-alert-fill: var(--alpha-12);
255
+ }
256
+
257
+ /* The menus' and the popovers' glass filter on a phone, a scheme's own (a filter has no light-dark()): light lifts what
258
+ is under it toward white, dark draws it down toward a middle gray and keeps a strong color. Zero specificity, so a
259
+ brand's own value wins; a nested [data-theme] root takes its own scheme's, and the Android look none. Outside the
260
+ phone query, as only a phone's menu reads it: a PhoneLayout on a wide screen inherits it from the root it stands
261
+ in (the selectors are known to scripts/tokens-layers.mjs). */
262
+ :where(:root, [data-theme="light"]):not(:where([data-platform="android"], [data-platform="android"] *)) {
263
+ --menu-mobile-backdrop-filter: blur(12px) contrast(0.59) brightness(1.37) saturate(193%);
264
+ --popover-mobile-backdrop-filter: blur(12px) contrast(0.59) brightness(1.37) saturate(193%);
265
+ }
266
+
267
+ :where([data-theme="dark"]):not(:where([data-platform="android"], [data-platform="android"] *)) {
268
+ --menu-mobile-backdrop-filter: blur(12px) contrast(0.53) brightness(0.7) saturate(293%);
269
+ --popover-mobile-backdrop-filter: blur(12px) contrast(0.53) brightness(0.7) saturate(293%);
241
270
  }
@@ -82,9 +82,7 @@
82
82
  --mobile-switch-knob-lens-scale: calc(58 / 37) calc(38 / 24);
83
83
  --mobile-knob-lens-background: rgb(255 255 255 / 9%);
84
84
  --mobile-knob-lens-shadow: 0 4.5px 8px rgb(0 0 0 / 12%), 0 0 0 0.33px rgb(0 0 0 / 20%), inset 0 0.5px 0 rgb(255 255 255 / 16%), inset 0 -0.5px 0 rgb(255 255 255 / 16%);
85
- --menu-mobile-backdrop-filter: blur(18px);
86
- --popover-mobile-backdrop-filter: var(--menu-mobile-backdrop-filter);
87
- --toast-mobile-backdrop-filter: var(--menu-mobile-backdrop-filter);
85
+ --toast-mobile-backdrop-filter: blur(18px);
88
86
  --toast-mobile-shadow: var(--mobile-glass-shadow-raised);
89
87
  --dialog-alert-backdrop-filter: blur(20px);
90
88
  --dialog-alert-shadow: var(--mobile-glass-shadow-raised);
@@ -98,8 +96,8 @@
98
96
  --mobile-glass-outline: 1.25px 0 0 -0.75px rgb(0 0 0 / 20%), -1.25px 0 0 -0.75px rgb(0 0 0 / 20%), 0 0 0 0.5px rgb(0 0 0 / 9%);
99
97
  --mobile-glass-shadow: 0 8px 15px rgb(0 0 0 / 2%), var(--mobile-glass-outline), inset 0 0.67px 0 var(--mobile-glass-rim), inset 0 -0.67px 0 var(--mobile-glass-rim);
100
98
  --mobile-glass-shadow-raised: 0 8px 40px rgb(0 0 0 / 12%), var(--mobile-glass-outline), inset 0 0.67px 0 var(--mobile-glass-rim), inset 0 -0.67px 0 var(--mobile-glass-rim);
101
- --menu-mobile-background: rgb(255 255 255 / 65%);
102
- --popover-mobile-background: rgb(255 255 255 / 65%);
99
+ --menu-mobile-background: rgb(254 254 254 / 35%);
100
+ --popover-mobile-background: rgb(254 254 254 / 35%);
103
101
  --toast-mobile-background: rgb(255 255 255 / 65%);
104
102
  --dialog-alert-background: rgb(255 255 255 / 65%);
105
103
  --dialog-alert-fill: var(--alpha-15);
@@ -112,8 +110,8 @@
112
110
  --mobile-glass-outline: 1.25px 0 0 -0.75px transparent, -1.25px 0 0 -0.75px transparent, 0 0 0 0.5px transparent;
113
111
  --mobile-glass-shadow: 0 8px 15px transparent, var(--mobile-glass-outline), inset 0 0.67px 0 var(--mobile-glass-rim), inset 0 -0.67px 0 var(--mobile-glass-rim);
114
112
  --mobile-glass-shadow-raised: 0 8px 40px rgb(0 0 0 / 8%), var(--mobile-glass-outline), inset 0 0.67px 0 var(--mobile-glass-rim), inset 0 -0.67px 0 var(--mobile-glass-rim);
115
- --menu-mobile-background: var(--alpha-12);
116
- --popover-mobile-background: var(--alpha-12);
113
+ --menu-mobile-background: rgb(238 238 238 / 6%);
114
+ --popover-mobile-background: rgb(238 238 238 / 6%);
117
115
  --toast-mobile-background: var(--alpha-12);
118
116
  --dialog-alert-background: var(--alpha-12);
119
117
  --dialog-alert-fill: var(--alpha-12);
@@ -131,9 +129,7 @@
131
129
  --mobile-switch-knob-lens-scale: calc(58 / 37) calc(38 / 24);
132
130
  --mobile-knob-lens-background: rgb(255 255 255 / 9%);
133
131
  --mobile-knob-lens-shadow: 0 4.5px 8px rgb(0 0 0 / 12%), 0 0 0 0.33px rgb(0 0 0 / 20%), inset 0 0.5px 0 rgb(255 255 255 / 16%), inset 0 -0.5px 0 rgb(255 255 255 / 16%);
134
- --menu-mobile-backdrop-filter: blur(18px);
135
- --popover-mobile-backdrop-filter: var(--menu-mobile-backdrop-filter);
136
- --toast-mobile-backdrop-filter: var(--menu-mobile-backdrop-filter);
132
+ --toast-mobile-backdrop-filter: blur(18px);
137
133
  --toast-mobile-shadow: var(--mobile-glass-shadow-raised);
138
134
  --dialog-alert-backdrop-filter: blur(20px);
139
135
  --dialog-alert-shadow: var(--mobile-glass-shadow-raised);
@@ -147,8 +143,8 @@
147
143
  --mobile-glass-outline: 1.25px 0 0 -0.75px rgb(0 0 0 / 20%), -1.25px 0 0 -0.75px rgb(0 0 0 / 20%), 0 0 0 0.5px rgb(0 0 0 / 9%);
148
144
  --mobile-glass-shadow: 0 8px 15px rgb(0 0 0 / 2%), var(--mobile-glass-outline), inset 0 0.67px 0 var(--mobile-glass-rim), inset 0 -0.67px 0 var(--mobile-glass-rim);
149
145
  --mobile-glass-shadow-raised: 0 8px 40px rgb(0 0 0 / 12%), var(--mobile-glass-outline), inset 0 0.67px 0 var(--mobile-glass-rim), inset 0 -0.67px 0 var(--mobile-glass-rim);
150
- --menu-mobile-background: rgb(255 255 255 / 65%);
151
- --popover-mobile-background: rgb(255 255 255 / 65%);
146
+ --menu-mobile-background: rgb(254 254 254 / 35%);
147
+ --popover-mobile-background: rgb(254 254 254 / 35%);
152
148
  --toast-mobile-background: rgb(255 255 255 / 65%);
153
149
  --dialog-alert-background: rgb(255 255 255 / 65%);
154
150
  --dialog-alert-fill: var(--alpha-15);
@@ -161,12 +157,20 @@
161
157
  --mobile-glass-outline: 1.25px 0 0 -0.75px transparent, -1.25px 0 0 -0.75px transparent, 0 0 0 0.5px transparent;
162
158
  --mobile-glass-shadow: 0 8px 15px transparent, var(--mobile-glass-outline), inset 0 0.67px 0 var(--mobile-glass-rim), inset 0 -0.67px 0 var(--mobile-glass-rim);
163
159
  --mobile-glass-shadow-raised: 0 8px 40px rgb(0 0 0 / 8%), var(--mobile-glass-outline), inset 0 0.67px 0 var(--mobile-glass-rim), inset 0 -0.67px 0 var(--mobile-glass-rim);
164
- --menu-mobile-background: var(--alpha-12);
165
- --popover-mobile-background: var(--alpha-12);
160
+ --menu-mobile-background: rgb(238 238 238 / 6%);
161
+ --popover-mobile-background: rgb(238 238 238 / 6%);
166
162
  --toast-mobile-background: var(--alpha-12);
167
163
  --dialog-alert-background: var(--alpha-12);
168
164
  --dialog-alert-fill: var(--alpha-12);
169
165
  }
166
+ :where(:root, [data-theme="light"]):not(:where([data-platform="android"], [data-platform="android"] *)) {
167
+ --menu-mobile-backdrop-filter: blur(12px) contrast(0.59) brightness(1.37) saturate(193%);
168
+ --popover-mobile-backdrop-filter: blur(12px) contrast(0.59) brightness(1.37) saturate(193%);
169
+ }
170
+ :where([data-theme="dark"]):not(:where([data-platform="android"], [data-platform="android"] *)) {
171
+ --menu-mobile-backdrop-filter: blur(12px) contrast(0.53) brightness(0.7) saturate(293%);
172
+ --popover-mobile-backdrop-filter: blur(12px) contrast(0.53) brightness(0.7) saturate(293%);
173
+ }
170
174
  @media (max-width: 767px) {
171
175
  :root[data-platform="android"] {
172
176
  --toolbar-bottom-padding-bottom: calc(var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)) + 13px);
@@ -1417,9 +1421,12 @@ html[data-platform="android"] :where([data-plex-layout="phone"]) [data-slot="inp
1417
1421
  html:root, html:root:where([data-theme="light"]) {
1418
1422
  --menu-press-background: var(--alpha-08);
1419
1423
  --menu-shadow: 0 8px 40px rgb(0 0 0 / 12%),
1420
- 1.25px 0 0 -0.75px rgb(0 0 0 / 16%),
1421
- -1.25px 0 0 -0.75px rgb(0 0 0 / 16%),
1422
- 0 0 0 0.5px rgb(0 0 0 / 12%),
1424
+ 0 0 0 0.33px rgb(0 0 0 / 8%),
1425
+ 0.33px 0 0 rgb(0 0 0 / 12%),
1426
+ -0.33px 0 0 rgb(0 0 0 / 12%),
1427
+ inset 0 0 0 0.33px rgb(0 0 0 / 14%),
1428
+ inset 0.33px 0 0 rgb(0 0 0 / 28%),
1429
+ inset -0.33px 0 0 rgb(0 0 0 / 28%),
1423
1430
  inset 0 0.67px 0 var(--mobile-glass-rim, transparent),
1424
1431
  inset 0 -0.67px 0 var(--mobile-glass-rim, transparent);
1425
1432
  --menu-horizontal-selected-background: var(--alpha-12);
@@ -1428,9 +1435,12 @@ html[data-platform="android"] :where([data-plex-layout="phone"]) [data-slot="inp
1428
1435
  html:root:where([data-theme="dark"]) {
1429
1436
  --menu-press-background: var(--alpha-10);
1430
1437
  --menu-shadow: 0 8px 40px rgb(0 0 0 / 8%),
1431
- 1.25px 0 0 -0.75px transparent,
1432
- -1.25px 0 0 -0.75px transparent,
1433
- 0 0 0 0.5px transparent,
1438
+ 0 0 0 0.33px rgb(0 0 0 / 22%),
1439
+ 0.33px 0 0 rgb(0 0 0 / 30%),
1440
+ -0.33px 0 0 rgb(0 0 0 / 30%),
1441
+ inset 0 0 0 0.33px transparent,
1442
+ inset 0.33px 0 0 rgb(0 0 0 / 60%),
1443
+ inset -0.33px 0 0 rgb(0 0 0 / 60%),
1434
1444
  inset 0 0.67px 0 var(--mobile-glass-rim, transparent),
1435
1445
  inset 0 -0.67px 0 var(--mobile-glass-rim, transparent);
1436
1446
  --menu-horizontal-selected-background: var(--alpha-15);
@@ -2143,9 +2153,12 @@ html:root :where([data-plex-layout="phone"]) {
2143
2153
  html:root :where([data-plex-layout="phone"]), html:root:where([data-theme="light"]) :where([data-plex-layout="phone"]), html:root :where([data-theme="light"]) :where([data-plex-layout="phone"]) {
2144
2154
  --menu-press-background: var(--alpha-08);
2145
2155
  --menu-shadow: 0 8px 40px rgb(0 0 0 / 12%),
2146
- 1.25px 0 0 -0.75px rgb(0 0 0 / 16%),
2147
- -1.25px 0 0 -0.75px rgb(0 0 0 / 16%),
2148
- 0 0 0 0.5px rgb(0 0 0 / 12%),
2156
+ 0 0 0 0.33px rgb(0 0 0 / 8%),
2157
+ 0.33px 0 0 rgb(0 0 0 / 12%),
2158
+ -0.33px 0 0 rgb(0 0 0 / 12%),
2159
+ inset 0 0 0 0.33px rgb(0 0 0 / 14%),
2160
+ inset 0.33px 0 0 rgb(0 0 0 / 28%),
2161
+ inset -0.33px 0 0 rgb(0 0 0 / 28%),
2149
2162
  inset 0 0.67px 0 var(--mobile-glass-rim, transparent),
2150
2163
  inset 0 -0.67px 0 var(--mobile-glass-rim, transparent);
2151
2164
  --menu-horizontal-selected-background: var(--alpha-12);
@@ -2154,9 +2167,12 @@ html:root :where([data-plex-layout="phone"]), html:root:where([data-theme="light
2154
2167
  html:root:where([data-theme="dark"]) :where([data-plex-layout="phone"]), html:root :where([data-theme="dark"]) :where([data-plex-layout="phone"]) {
2155
2168
  --menu-press-background: var(--alpha-10);
2156
2169
  --menu-shadow: 0 8px 40px rgb(0 0 0 / 8%),
2157
- 1.25px 0 0 -0.75px transparent,
2158
- -1.25px 0 0 -0.75px transparent,
2159
- 0 0 0 0.5px transparent,
2170
+ 0 0 0 0.33px rgb(0 0 0 / 22%),
2171
+ 0.33px 0 0 rgb(0 0 0 / 30%),
2172
+ -0.33px 0 0 rgb(0 0 0 / 30%),
2173
+ inset 0 0 0 0.33px transparent,
2174
+ inset 0.33px 0 0 rgb(0 0 0 / 60%),
2175
+ inset -0.33px 0 0 rgb(0 0 0 / 60%),
2160
2176
  inset 0 0.67px 0 var(--mobile-glass-rim, transparent),
2161
2177
  inset 0 -0.67px 0 var(--mobile-glass-rim, transparent);
2162
2178
  --menu-horizontal-selected-background: var(--alpha-15);
@@ -1771,12 +1771,10 @@ export const tokenLayers = [
1771
1771
  "--mobile-switch-knob-lens-scale": "calc(58 / 37) calc(38 / 24)",
1772
1772
  "--mobile-knob-lens-background": "rgb(255 255 255 / 9%)",
1773
1773
  "--mobile-knob-lens-shadow": "0 4.5px 8px rgb(0 0 0 / 12%), 0 0 0 0.33px rgb(0 0 0 / 20%), inset 0 0.5px 0 rgb(255 255 255 / 16%), inset 0 -0.5px 0 rgb(255 255 255 / 16%)",
1774
- "--menu-mobile-background": "light-dark(rgb(255 255 255 / 65%), var(--alpha-12))",
1775
- "--menu-mobile-backdrop-filter": "blur(18px)",
1776
- "--popover-mobile-background": "light-dark(rgb(255 255 255 / 65%), var(--alpha-12))",
1777
- "--popover-mobile-backdrop-filter": "var(--menu-mobile-backdrop-filter)",
1774
+ "--menu-mobile-background": "light-dark(rgb(254 254 254 / 35%), rgb(238 238 238 / 6%))",
1775
+ "--popover-mobile-background": "light-dark(rgb(254 254 254 / 35%), rgb(238 238 238 / 6%))",
1778
1776
  "--toast-mobile-background": "light-dark(rgb(255 255 255 / 65%), var(--alpha-12))",
1779
- "--toast-mobile-backdrop-filter": "var(--menu-mobile-backdrop-filter)",
1777
+ "--toast-mobile-backdrop-filter": "blur(18px)",
1780
1778
  "--toast-mobile-shadow": "var(--mobile-glass-shadow-raised)",
1781
1779
  "--dialog-alert-background": "light-dark(rgb(255 255 255 / 65%), var(--alpha-12))",
1782
1780
  "--dialog-alert-backdrop-filter": "blur(20px)",
@@ -1785,6 +1783,39 @@ export const tokenLayers = [
1785
1783
  "--dialog-alert-fill": "light-dark(var(--alpha-15), var(--alpha-12))"
1786
1784
  }
1787
1785
  },
1786
+ {
1787
+ "id": "mobile-materials@000",
1788
+ "source": "mobile-materials.css",
1789
+ "rank": 1,
1790
+ "specificity": [
1791
+ 0,
1792
+ 0,
1793
+ 0
1794
+ ],
1795
+ "order": 1570,
1796
+ "tokens": {
1797
+ "--menu-mobile-backdrop-filter": "blur(12px) contrast(0.59) brightness(1.37) saturate(193%)",
1798
+ "--popover-mobile-backdrop-filter": "blur(12px) contrast(0.59) brightness(1.37) saturate(193%)"
1799
+ }
1800
+ },
1801
+ {
1802
+ "id": "mobile-materials:scheme=dark@000",
1803
+ "source": "mobile-materials.css",
1804
+ "rank": 1,
1805
+ "specificity": [
1806
+ 0,
1807
+ 0,
1808
+ 0
1809
+ ],
1810
+ "order": 1572,
1811
+ "when": {
1812
+ "scheme": "dark"
1813
+ },
1814
+ "tokens": {
1815
+ "--menu-mobile-backdrop-filter": "blur(12px) contrast(0.53) brightness(0.7) saturate(293%)",
1816
+ "--popover-mobile-backdrop-filter": "blur(12px) contrast(0.53) brightness(0.7) saturate(293%)"
1817
+ }
1818
+ },
1788
1819
  {
1789
1820
  "id": "touch:maxWidth=767@010",
1790
1821
  "source": "touch.css",
@@ -1794,7 +1825,7 @@ export const tokenLayers = [
1794
1825
  1,
1795
1826
  0
1796
1827
  ],
1797
- "order": 1572,
1828
+ "order": 1574,
1798
1829
  "when": {
1799
1830
  "maxWidth": 767
1800
1831
  },
@@ -1811,7 +1842,7 @@ export const tokenLayers = [
1811
1842
  1,
1812
1843
  1
1813
1844
  ],
1814
- "order": 1599,
1845
+ "order": 1601,
1815
1846
  "when": {
1816
1847
  "maxWidth": 767
1817
1848
  },
@@ -1921,7 +1952,7 @@ export const tokenLayers = [
1921
1952
  "--menu-default-width": "250px",
1922
1953
  "--menu-default-min-width": "250px",
1923
1954
  "--menu-padding-inline": "16px",
1924
- "--menu-shadow": "0 8px 40px light-dark(rgb(0 0 0 / 12%), rgb(0 0 0 / 8%)), 1.25px 0 0 -0.75px light-dark(rgb(0 0 0 / 16%), transparent), -1.25px 0 0 -0.75px light-dark(rgb(0 0 0 / 16%), transparent), 0 0 0 0.5px light-dark(rgb(0 0 0 / 12%), transparent), inset 0 0.67px 0 var(--mobile-glass-rim, transparent), inset 0 -0.67px 0 var(--mobile-glass-rim, transparent)",
1955
+ "--menu-shadow": "0 8px 40px light-dark(rgb(0 0 0 / 12%), rgb(0 0 0 / 8%)), 0 0 0 0.33px light-dark(rgb(0 0 0 / 8%), rgb(0 0 0 / 22%)), 0.33px 0 0 light-dark(rgb(0 0 0 / 12%), rgb(0 0 0 / 30%)), -0.33px 0 0 light-dark(rgb(0 0 0 / 12%), rgb(0 0 0 / 30%)), inset 0 0 0 0.33px light-dark(rgb(0 0 0 / 14%), transparent), inset 0.33px 0 0 light-dark(rgb(0 0 0 / 28%), rgb(0 0 0 / 60%)), inset -0.33px 0 0 light-dark(rgb(0 0 0 / 28%), rgb(0 0 0 / 60%)), inset 0 0.67px 0 var(--mobile-glass-rim, transparent), inset 0 -0.67px 0 var(--mobile-glass-rim, transparent)",
1925
1956
  "--menu-radius": "34px",
1926
1957
  "--menu-radius-pill": "34px",
1927
1958
  "--popover-radius": "34px",
@@ -2301,7 +2332,7 @@ export const tokenLayers = [
2301
2332
  1,
2302
2333
  1
2303
2334
  ],
2304
- "order": 2166,
2335
+ "order": 2168,
2305
2336
  "when": {
2306
2337
  "minWidth": 414,
2307
2338
  "maxWidth": 767
@@ -2319,7 +2350,7 @@ export const tokenLayers = [
2319
2350
  1,
2320
2351
  1
2321
2352
  ],
2322
- "order": 2167,
2353
+ "order": 2169,
2323
2354
  "when": {
2324
2355
  "maxWidth": 575
2325
2356
  },
@@ -3381,8 +3412,8 @@ export const resolvedTokens = {
3381
3412
  "--menu-leading-icon-size": 20,
3382
3413
  "--menu-leading-icon-slot": 36,
3383
3414
  "--menu-line-height": 20,
3384
- "--menu-mobile-backdrop-filter": "blur(18px)",
3385
- "--menu-mobile-background": "rgba(255, 255, 255, 0.65)",
3415
+ "--menu-mobile-backdrop-filter": "blur(12px) contrast(0.59) brightness(1.37) saturate(193%)",
3416
+ "--menu-mobile-background": "rgba(254, 254, 254, 0.35)",
3386
3417
  "--menu-padding-inline": 16,
3387
3418
  "--menu-pill-gutter": 10,
3388
3419
  "--menu-pill-item-padding": "10px 8px 10px 6px",
@@ -3398,7 +3429,7 @@ export const resolvedTokens = {
3398
3429
  "--menu-search-gutter": 12,
3399
3430
  "--menu-separator-background-color": "rgba(13, 13, 13, 0.1)",
3400
3431
  "--menu-separator-gutter": "10px 8px",
3401
- "--menu-shadow": "0 8px 40px rgba(0, 0, 0, 0.12), 1.25px 0 0 -0.75px rgba(0, 0, 0, 0.16), -1.25px 0 0 -0.75px rgba(0, 0, 0, 0.16), 0 0 0 0.5px rgba(0, 0, 0, 0.12), inset 0 0.67px 0 #ffffff, inset 0 -0.67px 0 #ffffff",
3432
+ "--menu-shadow": "0 8px 40px rgba(0, 0, 0, 0.12), 0 0 0 0.33px rgba(0, 0, 0, 0.08), 0.33px 0 0 rgba(0, 0, 0, 0.12), -0.33px 0 0 rgba(0, 0, 0, 0.12), inset 0 0 0 0.33px rgba(0, 0, 0, 0.14), inset 0.33px 0 0 rgba(0, 0, 0, 0.28), inset -0.33px 0 0 rgba(0, 0, 0, 0.28), inset 0 0.67px 0 #ffffff, inset 0 -0.67px 0 #ffffff",
3402
3433
  "--mobile-accessory-secondary": "rgba(13, 13, 13, 0.5)",
3403
3434
  "--mobile-field-error-font-size": 15,
3404
3435
  "--mobile-field-error-font-weight": 400,
@@ -3542,8 +3573,8 @@ export const resolvedTokens = {
3542
3573
  "--pink-a300": "rgba(255, 102, 173, 0.76)",
3543
3574
  "--pink-a50": "rgba(255, 102, 173, 0.16)",
3544
3575
  "--pink-a75": "rgba(255, 102, 173, 0.28)",
3545
- "--popover-mobile-backdrop-filter": "blur(18px)",
3546
- "--popover-mobile-background": "rgba(255, 255, 255, 0.65)",
3576
+ "--popover-mobile-backdrop-filter": "blur(12px) contrast(0.59) brightness(1.37) saturate(193%)",
3577
+ "--popover-mobile-background": "rgba(254, 254, 254, 0.35)",
3547
3578
  "--popover-radius": 34,
3548
3579
  "--progress-height": 4,
3549
3580
  "--progress-height-lg": 8,
@@ -5187,8 +5218,8 @@ export const resolvedTokens = {
5187
5218
  "--menu-leading-icon-size": 20,
5188
5219
  "--menu-leading-icon-slot": 36,
5189
5220
  "--menu-line-height": 20,
5190
- "--menu-mobile-backdrop-filter": "blur(18px)",
5191
- "--menu-mobile-background": "rgba(255, 255, 255, 0.12)",
5221
+ "--menu-mobile-backdrop-filter": "blur(12px) contrast(0.53) brightness(0.7) saturate(293%)",
5222
+ "--menu-mobile-background": "rgba(238, 238, 238, 0.06)",
5192
5223
  "--menu-padding-inline": 16,
5193
5224
  "--menu-pill-gutter": 10,
5194
5225
  "--menu-pill-item-padding": "10px 8px 10px 6px",
@@ -5204,7 +5235,7 @@ export const resolvedTokens = {
5204
5235
  "--menu-search-gutter": 12,
5205
5236
  "--menu-separator-background-color": "rgba(255, 255, 255, 0.12)",
5206
5237
  "--menu-separator-gutter": "10px 8px",
5207
- "--menu-shadow": "0 8px 40px rgba(0, 0, 0, 0.08), 1.25px 0 0 -0.75px rgba(0, 0, 0, 0), -1.25px 0 0 -0.75px rgba(0, 0, 0, 0), 0 0 0 0.5px rgba(0, 0, 0, 0), inset 0 0.67px 0 rgba(255, 255, 255, 0.24), inset 0 -0.67px 0 rgba(255, 255, 255, 0.24)",
5238
+ "--menu-shadow": "0 8px 40px rgba(0, 0, 0, 0.08), 0 0 0 0.33px rgba(0, 0, 0, 0.22), 0.33px 0 0 rgba(0, 0, 0, 0.3), -0.33px 0 0 rgba(0, 0, 0, 0.3), inset 0 0 0 0.33px rgba(0, 0, 0, 0), inset 0.33px 0 0 rgba(0, 0, 0, 0.6), inset -0.33px 0 0 rgba(0, 0, 0, 0.6), inset 0 0.67px 0 rgba(255, 255, 255, 0.24), inset 0 -0.67px 0 rgba(255, 255, 255, 0.24)",
5208
5239
  "--mobile-accessory-secondary": "rgba(255, 255, 255, 0.5)",
5209
5240
  "--mobile-field-error-font-size": 15,
5210
5241
  "--mobile-field-error-font-weight": 400,
@@ -5348,8 +5379,8 @@ export const resolvedTokens = {
5348
5379
  "--pink-a300": "rgba(255, 102, 173, 0.76)",
5349
5380
  "--pink-a50": "rgba(255, 102, 173, 0.16)",
5350
5381
  "--pink-a75": "rgba(255, 102, 173, 0.28)",
5351
- "--popover-mobile-backdrop-filter": "blur(18px)",
5352
- "--popover-mobile-background": "rgba(255, 255, 255, 0.12)",
5382
+ "--popover-mobile-backdrop-filter": "blur(12px) contrast(0.53) brightness(0.7) saturate(293%)",
5383
+ "--popover-mobile-background": "rgba(238, 238, 238, 0.06)",
5353
5384
  "--popover-radius": 34,
5354
5385
  "--progress-height": 4,
5355
5386
  "--progress-height-lg": 8,