@plexui/styles 0.17.10 → 0.17.11

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.
@@ -866,6 +866,25 @@
866
866
  --dialog-panel-radius: var(--dialog-sheet-radius) var(--dialog-sheet-radius) 0 0;
867
867
  }
868
868
 
869
+ /* An iOS sheet's own search field (IMG_5491): its magnifier and its hint in one gray, darker than a bar's hint.
870
+ Android keeps a bar's own (its magnifier in the text color). */
871
+ .Content[data-mobile-variant="sheet"] {
872
+ --toolbar-search-placeholder-color: var(--toolbar-search-sheet-color);
873
+ --toolbar-search-icon-color: var(--toolbar-search-sheet-color);
874
+ }
875
+
876
+ [data-platform="android"] .Content[data-mobile-variant="sheet"] {
877
+ --toolbar-search-icon-color: var(--color-text);
878
+ }
879
+
880
+ [data-platform="android"] .Content[data-mobile-variant="sheet"], :where([data-theme="light"]) [data-platform="android"] .Content[data-mobile-variant="sheet"] {
881
+ --toolbar-search-placeholder-color: var(--alpha-40);
882
+ }
883
+
884
+ :where([data-theme="dark"]) [data-platform="android"] .Content[data-mobile-variant="sheet"] {
885
+ --toolbar-search-placeholder-color: var(--alpha-60);
886
+ }
887
+
869
888
  .Content[data-mobile-variant="sheet"][data-mobile-placement="fullscreen"] {
870
889
  --dialog-panel-max-height: var(--dialog-viewport-height, 100dvh);
871
890
  --dialog-panel-radius: 0;
@@ -1467,6 +1486,25 @@
1467
1486
  --dialog-panel-radius: var(--dialog-sheet-radius) var(--dialog-sheet-radius) 0 0;
1468
1487
  }
1469
1488
 
1489
+ /* An iOS sheet's own search field (IMG_5491): its magnifier and its hint in one gray, darker than a bar's hint.
1490
+ Android keeps a bar's own (its magnifier in the text color). */
1491
+ :where([data-plex-layout="phone"]) .Content[data-mobile-variant="sheet"] {
1492
+ --toolbar-search-placeholder-color: var(--toolbar-search-sheet-color);
1493
+ --toolbar-search-icon-color: var(--toolbar-search-sheet-color);
1494
+ }
1495
+
1496
+ :where([data-plex-layout="phone"]) [data-platform="android"] .Content[data-mobile-variant="sheet"] {
1497
+ --toolbar-search-icon-color: var(--color-text);
1498
+ }
1499
+
1500
+ :where([data-plex-layout="phone"]) [data-platform="android"] .Content[data-mobile-variant="sheet"], :where([data-theme="light"]) :where([data-plex-layout="phone"]) [data-platform="android"] .Content[data-mobile-variant="sheet"] {
1501
+ --toolbar-search-placeholder-color: var(--alpha-40);
1502
+ }
1503
+
1504
+ :where([data-theme="dark"]) :where([data-plex-layout="phone"]) [data-platform="android"] .Content[data-mobile-variant="sheet"] {
1505
+ --toolbar-search-placeholder-color: var(--alpha-60);
1506
+ }
1507
+
1470
1508
  :where([data-plex-layout="phone"]) .Content[data-mobile-variant="sheet"][data-mobile-placement="fullscreen"] {
1471
1509
  --dialog-panel-max-height: var(--dialog-viewport-height, 100dvh);
1472
1510
  --dialog-panel-radius: 0;
@@ -163,9 +163,6 @@
163
163
  light card and its lighter text at night; red text is the danger solid, its soft text at night; the line between
164
164
  rows is a light gray, the darkest gray at night. */
165
165
  :root[data-platform="android"] {
166
- /* A search field's magnifier keeps the text color: the iOS hint gray (--toolbar-search-icon-color) is iOS's alone,
167
- in a bar, a bar's group or a row */
168
- --toolbar-search-icon-color: var(--color-text);
169
166
  /* An off switch's track and an empty checkbox's outline: a mid gray, a darker one at night. A held solid button's
170
167
  layer: black at 5.9%, white at 5.1% at night. */
171
168
  /* A field's hint: a light gray, a dim one at night. A field's idle outline: a light gray, the text at 24% at
@@ -497,9 +494,6 @@
497
494
  light card and its lighter text at night; red text is the danger solid, its soft text at night; the line between
498
495
  rows is a light gray, the darkest gray at night. */
499
496
  :root[data-platform="android"] :where([data-plex-layout="phone"]) {
500
- /* A search field's magnifier keeps the text color: the iOS hint gray (--toolbar-search-icon-color) is iOS's alone,
501
- in a bar, a bar's group or a row */
502
- --toolbar-search-icon-color: var(--color-text);
503
497
  /* An off switch's track and an empty checkbox's outline: a mid gray, a darker one at night. A held solid button's
504
498
  layer: black at 5.9%, white at 5.1% at night. */
505
499
  /* A field's hint: a light gray, a dim one at night. A field's idle outline: a light gray, the text at 24% at
@@ -265,7 +265,6 @@
265
265
  --android-header-menu-shadow: var(--android-bar-shadow), 0 0 0 100vmax rgb(0 0 0 / 10%);
266
266
  }
267
267
  :root[data-platform="android"] {
268
- --toolbar-search-icon-color: var(--color-text);
269
268
  --list-row-inset: 21px;
270
269
  --field-row-min-height: 50px;
271
270
  --field-row-text-padding-block: 12px;
@@ -526,7 +525,6 @@
526
525
  --android-header-menu-shadow: var(--android-bar-shadow), 0 0 0 100vmax rgb(0 0 0 / 10%);
527
526
  }
528
527
  :root[data-platform="android"] :where([data-plex-layout="phone"]) {
529
- --toolbar-search-icon-color: var(--color-text);
530
528
  --list-row-inset: 21px;
531
529
  --field-row-min-height: 50px;
532
530
  --field-row-text-padding-block: 12px;
@@ -557,9 +557,11 @@
557
557
  --toolbar-search-icon-gap: 6.43px;
558
558
  --toolbar-search-icon-size: 23.75px;
559
559
  --toolbar-search-font-weight: 400;
560
- /* The magnifier in the hint's gray, typed in or not: an iOS 26 search capsule draws its glyph and its "Search" in
561
- one color (a system sheet's bottom search field, at 3x: both 134 134 138 on the capsule's 249 249 252) */
562
- --toolbar-search-icon-color: var(--toolbar-search-placeholder-color);
560
+ /* The magnifier: in a bar the text color (iOS 26 Contacts' bottom search beside its +, IMG_5737: the glyph
561
+ black, "Search" 148). A sheet's own search field draws both in one darker gray, typed in or not (a system
562
+ sheet's bottom search, IMG_5491 at 3x: both 134 134 138 on the capsule's 249 249 252, the ink at 49%):
563
+ Dialog.module.css sets these two for a phone sheet. */
564
+ --toolbar-search-icon-color: var(--color-text);
563
565
  --toolbar-flat-opacity: 80%;
564
566
  --toolbar-flat-blur: 60px;
565
567
  /* The large title of iOS 27.2 (Files, Settings, UIKit and SwiftUI on an iPhone 17, plan 178 block 10): the top
@@ -1284,6 +1286,7 @@
1284
1286
  --menu-item-background-color: var(--alpha-08);
1285
1287
  --modal-backdrop-background: rgb(0 0 0 / 30%);
1286
1288
  --toolbar-search-placeholder-color: var(--alpha-40);
1289
+ --toolbar-search-sheet-color: color-mix(in oklab, var(--alpha-base) 49%, transparent);
1287
1290
  --toolbar-prominent-disabled-background: var(--alpha-12);
1288
1291
  --toolbar-prominent-disabled-color: var(--gray-0);
1289
1292
  --toolbar-prominent-shadow: 0 8px 15px rgb(0 0 0 / 2%), 1.25px 0 0 -0.75px rgb(0 0 0 / 12%), -1.25px 0 0 -0.75px rgb(0 0 0 / 12%), inset 0 0.67px 0 rgb(255 255 255 / 35%), inset 0 -0.67px 0 rgb(255 255 255 / 35%);
@@ -1351,6 +1354,7 @@
1351
1354
  --menu-item-background-color: var(--alpha-10);
1352
1355
  --modal-backdrop-background: rgb(0 0 0 / 50%);
1353
1356
  --toolbar-search-placeholder-color: var(--alpha-60);
1357
+ --toolbar-search-sheet-color: var(--alpha-60);
1354
1358
  --toolbar-prominent-disabled-background: var(--alpha-20);
1355
1359
  --toolbar-prominent-disabled-color: var(--alpha-30);
1356
1360
  --toolbar-prominent-shadow: 0 8px 15px transparent, 1.25px 0 0 -0.75px rgb(0 0 0 / 12%), -1.25px 0 0 -0.75px rgb(0 0 0 / 12%), inset 0 0.67px 0 rgb(255 255 255 / 35%), inset 0 -0.67px 0 rgb(255 255 255 / 35%);
@@ -1209,7 +1209,8 @@ export const tokenLayers = [
1209
1209
  "--toolbar-search-icon-size": "23.75px",
1210
1210
  "--toolbar-search-font-weight": "400",
1211
1211
  "--toolbar-search-placeholder-color": "light-dark(var(--alpha-40), var(--alpha-60))",
1212
- "--toolbar-search-icon-color": "var(--toolbar-search-placeholder-color)",
1212
+ "--toolbar-search-icon-color": "var(--color-text)",
1213
+ "--toolbar-search-sheet-color": "light-dark(alpha(var(--alpha-base), 49%), var(--alpha-60))",
1213
1214
  "--toolbar-flat-opacity": "80%",
1214
1215
  "--toolbar-flat-blur": "60px",
1215
1216
  "--toolbar-large-title-gap": "13.3px",
@@ -1675,7 +1676,7 @@ export const tokenLayers = [
1675
1676
  1,
1676
1677
  0
1677
1678
  ],
1678
- "order": 1496,
1679
+ "order": 1497,
1679
1680
  "tokens": {
1680
1681
  "--radius-2xs": "0.125rem",
1681
1682
  "--radius-xs": "0.25rem",
@@ -1707,7 +1708,7 @@ export const tokenLayers = [
1707
1708
  1,
1708
1709
  0
1709
1710
  ],
1710
- "order": 1517,
1711
+ "order": 1518,
1711
1712
  "when": {
1712
1713
  "maxWidth": 767
1713
1714
  },
@@ -1739,7 +1740,7 @@ export const tokenLayers = [
1739
1740
  1,
1740
1741
  0
1741
1742
  ],
1742
- "order": 1533,
1743
+ "order": 1534,
1743
1744
  "when": {
1744
1745
  "maxWidth": 767
1745
1746
  },
@@ -1780,7 +1781,7 @@ export const tokenLayers = [
1780
1781
  1,
1781
1782
  0
1782
1783
  ],
1783
- "order": 1558,
1784
+ "order": 1559,
1784
1785
  "when": {
1785
1786
  "maxWidth": 767
1786
1787
  },
@@ -1797,7 +1798,7 @@ export const tokenLayers = [
1797
1798
  1,
1798
1799
  1
1799
1800
  ],
1800
- "order": 1585,
1801
+ "order": 1586,
1801
1802
  "when": {
1802
1803
  "maxWidth": 767
1803
1804
  },
@@ -2272,7 +2273,7 @@ export const tokenLayers = [
2272
2273
  1,
2273
2274
  1
2274
2275
  ],
2275
- "order": 2137,
2276
+ "order": 2138,
2276
2277
  "when": {
2277
2278
  "minWidth": 414,
2278
2279
  "maxWidth": 767
@@ -2290,7 +2291,7 @@ export const tokenLayers = [
2290
2291
  1,
2291
2292
  1
2292
2293
  ],
2293
- "order": 2138,
2294
+ "order": 2139,
2294
2295
  "when": {
2295
2296
  "maxWidth": 575
2296
2297
  },
@@ -4048,11 +4049,12 @@ export const resolvedTokens = {
4048
4049
  "--toolbar-row-gap": 10,
4049
4050
  "--toolbar-search-font-weight": 400,
4050
4051
  "--toolbar-search-gutter": 10.54,
4051
- "--toolbar-search-icon-color": "rgba(13, 13, 13, 0.4)",
4052
+ "--toolbar-search-icon-color": "#0d0d0d",
4052
4053
  "--toolbar-search-icon-gap": 6.43,
4053
4054
  "--toolbar-search-icon-size": 23.75,
4054
4055
  "--toolbar-search-padding-bottom": 14,
4055
4056
  "--toolbar-search-placeholder-color": "rgba(13, 13, 13, 0.4)",
4057
+ "--toolbar-search-sheet-color": "rgba(13, 13, 13, 0.49)",
4056
4058
  "--toolbar-sheet-padding-top": 16,
4057
4059
  "--toolbar-subtitle-font-size": 12,
4058
4060
  "--toolbar-subtitle-font-weight": 500,
@@ -5832,11 +5834,12 @@ export const resolvedTokens = {
5832
5834
  "--toolbar-row-gap": 10,
5833
5835
  "--toolbar-search-font-weight": 400,
5834
5836
  "--toolbar-search-gutter": 10.54,
5835
- "--toolbar-search-icon-color": "rgba(255, 255, 255, 0.6)",
5837
+ "--toolbar-search-icon-color": "#ffffff",
5836
5838
  "--toolbar-search-icon-gap": 6.43,
5837
5839
  "--toolbar-search-icon-size": 23.75,
5838
5840
  "--toolbar-search-padding-bottom": 14,
5839
5841
  "--toolbar-search-placeholder-color": "rgba(255, 255, 255, 0.6)",
5842
+ "--toolbar-search-sheet-color": "rgba(255, 255, 255, 0.6)",
5840
5843
  "--toolbar-sheet-padding-top": 16,
5841
5844
  "--toolbar-subtitle-font-size": 12,
5842
5845
  "--toolbar-subtitle-font-weight": 500,