@plexui/styles 0.17.9 → 0.17.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/components/ButtonGroup/ButtonGroup.module.css +2 -0
- package/dist/es/components/Input/Input.module.css +2 -0
- package/dist/es/components/Toolbar/Toolbar.module.css +2 -0
- package/dist/es/styles/android.css +6 -0
- package/dist/es/styles/touch.css +2 -0
- package/dist/es/styles/variables-components.css +3 -0
- package/dist/es/tokens/tokens.generated.js +10 -7
- package/dist/es/tokens/tokens.generated.js.map +1 -1
- package/package.json +1 -1
|
@@ -343,6 +343,7 @@
|
|
|
343
343
|
flex: none;
|
|
344
344
|
width: var(--toolbar-search-icon-size);
|
|
345
345
|
height: var(--toolbar-search-icon-size);
|
|
346
|
+
color: var(--toolbar-search-icon-color);
|
|
346
347
|
}
|
|
347
348
|
|
|
348
349
|
/* An invalid field keeps the Input's error line over the glass. */
|
|
@@ -601,6 +602,7 @@
|
|
|
601
602
|
flex: none;
|
|
602
603
|
width: var(--toolbar-search-icon-size);
|
|
603
604
|
height: var(--toolbar-search-icon-size);
|
|
605
|
+
color: var(--toolbar-search-icon-color);
|
|
604
606
|
}
|
|
605
607
|
|
|
606
608
|
/* An invalid field keeps the Input's error line over the glass. */
|
|
@@ -589,6 +589,7 @@
|
|
|
589
589
|
flex: none;
|
|
590
590
|
width: var(--toolbar-search-icon-size);
|
|
591
591
|
height: var(--toolbar-search-icon-size);
|
|
592
|
+
color: var(--toolbar-search-icon-color);
|
|
592
593
|
}
|
|
593
594
|
|
|
594
595
|
/* The clear button of a phone text field is the filled circle with a cross of iOS (xmark.circle.fill, a 17px
|
|
@@ -835,6 +836,7 @@
|
|
|
835
836
|
flex: none;
|
|
836
837
|
width: var(--toolbar-search-icon-size);
|
|
837
838
|
height: var(--toolbar-search-icon-size);
|
|
839
|
+
color: var(--toolbar-search-icon-color);
|
|
838
840
|
}
|
|
839
841
|
|
|
840
842
|
/* The clear button of a phone text field is the filled circle with a cross of iOS (xmark.circle.fill, a 17px
|
|
@@ -568,6 +568,7 @@
|
|
|
568
568
|
flex: none;
|
|
569
569
|
width: var(--toolbar-search-icon-size);
|
|
570
570
|
height: var(--toolbar-search-icon-size);
|
|
571
|
+
color: var(--toolbar-search-icon-color);
|
|
571
572
|
}
|
|
572
573
|
|
|
573
574
|
/* Title: centered in the 44px row. Native iOS 26 bars put its cap middle on the buttons' center
|
|
@@ -1848,6 +1849,7 @@
|
|
|
1848
1849
|
flex: none;
|
|
1849
1850
|
width: var(--toolbar-search-icon-size);
|
|
1850
1851
|
height: var(--toolbar-search-icon-size);
|
|
1852
|
+
color: var(--toolbar-search-icon-color);
|
|
1851
1853
|
}
|
|
1852
1854
|
|
|
1853
1855
|
/* Title: centered in the 44px row. Native iOS 26 bars put its cap middle on the buttons' center
|
|
@@ -163,6 +163,9 @@
|
|
|
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);
|
|
166
169
|
/* An off switch's track and an empty checkbox's outline: a mid gray, a darker one at night. A held solid button's
|
|
167
170
|
layer: black at 5.9%, white at 5.1% at night. */
|
|
168
171
|
/* 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
|
|
@@ -494,6 +497,9 @@
|
|
|
494
497
|
light card and its lighter text at night; red text is the danger solid, its soft text at night; the line between
|
|
495
498
|
rows is a light gray, the darkest gray at night. */
|
|
496
499
|
: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);
|
|
497
503
|
/* An off switch's track and an empty checkbox's outline: a mid gray, a darker one at night. A held solid button's
|
|
498
504
|
layer: black at 5.9%, white at 5.1% at night. */
|
|
499
505
|
/* 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
|
package/dist/es/styles/touch.css
CHANGED
|
@@ -265,6 +265,7 @@
|
|
|
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);
|
|
268
269
|
--list-row-inset: 21px;
|
|
269
270
|
--field-row-min-height: 50px;
|
|
270
271
|
--field-row-text-padding-block: 12px;
|
|
@@ -525,6 +526,7 @@
|
|
|
525
526
|
--android-header-menu-shadow: var(--android-bar-shadow), 0 0 0 100vmax rgb(0 0 0 / 10%);
|
|
526
527
|
}
|
|
527
528
|
:root[data-platform="android"] :where([data-plex-layout="phone"]) {
|
|
529
|
+
--toolbar-search-icon-color: var(--color-text);
|
|
528
530
|
--list-row-inset: 21px;
|
|
529
531
|
--field-row-min-height: 50px;
|
|
530
532
|
--field-row-text-padding-block: 12px;
|
|
@@ -557,6 +557,9 @@
|
|
|
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
563
|
--toolbar-flat-opacity: 80%;
|
|
561
564
|
--toolbar-flat-blur: 60px;
|
|
562
565
|
/* The large title of iOS 27.2 (Files, Settings, UIKit and SwiftUI on an iPhone 17, plan 178 block 10): the top
|
|
@@ -1209,6 +1209,7 @@ 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
1213
|
"--toolbar-flat-opacity": "80%",
|
|
1213
1214
|
"--toolbar-flat-blur": "60px",
|
|
1214
1215
|
"--toolbar-large-title-gap": "13.3px",
|
|
@@ -1674,7 +1675,7 @@ export const tokenLayers = [
|
|
|
1674
1675
|
1,
|
|
1675
1676
|
0
|
|
1676
1677
|
],
|
|
1677
|
-
"order":
|
|
1678
|
+
"order": 1496,
|
|
1678
1679
|
"tokens": {
|
|
1679
1680
|
"--radius-2xs": "0.125rem",
|
|
1680
1681
|
"--radius-xs": "0.25rem",
|
|
@@ -1706,7 +1707,7 @@ export const tokenLayers = [
|
|
|
1706
1707
|
1,
|
|
1707
1708
|
0
|
|
1708
1709
|
],
|
|
1709
|
-
"order":
|
|
1710
|
+
"order": 1517,
|
|
1710
1711
|
"when": {
|
|
1711
1712
|
"maxWidth": 767
|
|
1712
1713
|
},
|
|
@@ -1738,7 +1739,7 @@ export const tokenLayers = [
|
|
|
1738
1739
|
1,
|
|
1739
1740
|
0
|
|
1740
1741
|
],
|
|
1741
|
-
"order":
|
|
1742
|
+
"order": 1533,
|
|
1742
1743
|
"when": {
|
|
1743
1744
|
"maxWidth": 767
|
|
1744
1745
|
},
|
|
@@ -1779,7 +1780,7 @@ export const tokenLayers = [
|
|
|
1779
1780
|
1,
|
|
1780
1781
|
0
|
|
1781
1782
|
],
|
|
1782
|
-
"order":
|
|
1783
|
+
"order": 1558,
|
|
1783
1784
|
"when": {
|
|
1784
1785
|
"maxWidth": 767
|
|
1785
1786
|
},
|
|
@@ -1796,7 +1797,7 @@ export const tokenLayers = [
|
|
|
1796
1797
|
1,
|
|
1797
1798
|
1
|
|
1798
1799
|
],
|
|
1799
|
-
"order":
|
|
1800
|
+
"order": 1585,
|
|
1800
1801
|
"when": {
|
|
1801
1802
|
"maxWidth": 767
|
|
1802
1803
|
},
|
|
@@ -2271,7 +2272,7 @@ export const tokenLayers = [
|
|
|
2271
2272
|
1,
|
|
2272
2273
|
1
|
|
2273
2274
|
],
|
|
2274
|
-
"order":
|
|
2275
|
+
"order": 2137,
|
|
2275
2276
|
"when": {
|
|
2276
2277
|
"minWidth": 414,
|
|
2277
2278
|
"maxWidth": 767
|
|
@@ -2289,7 +2290,7 @@ export const tokenLayers = [
|
|
|
2289
2290
|
1,
|
|
2290
2291
|
1
|
|
2291
2292
|
],
|
|
2292
|
-
"order":
|
|
2293
|
+
"order": 2138,
|
|
2293
2294
|
"when": {
|
|
2294
2295
|
"maxWidth": 575
|
|
2295
2296
|
},
|
|
@@ -4047,6 +4048,7 @@ export const resolvedTokens = {
|
|
|
4047
4048
|
"--toolbar-row-gap": 10,
|
|
4048
4049
|
"--toolbar-search-font-weight": 400,
|
|
4049
4050
|
"--toolbar-search-gutter": 10.54,
|
|
4051
|
+
"--toolbar-search-icon-color": "rgba(13, 13, 13, 0.4)",
|
|
4050
4052
|
"--toolbar-search-icon-gap": 6.43,
|
|
4051
4053
|
"--toolbar-search-icon-size": 23.75,
|
|
4052
4054
|
"--toolbar-search-padding-bottom": 14,
|
|
@@ -5830,6 +5832,7 @@ export const resolvedTokens = {
|
|
|
5830
5832
|
"--toolbar-row-gap": 10,
|
|
5831
5833
|
"--toolbar-search-font-weight": 400,
|
|
5832
5834
|
"--toolbar-search-gutter": 10.54,
|
|
5835
|
+
"--toolbar-search-icon-color": "rgba(255, 255, 255, 0.6)",
|
|
5833
5836
|
"--toolbar-search-icon-gap": 6.43,
|
|
5834
5837
|
"--toolbar-search-icon-size": 23.75,
|
|
5835
5838
|
"--toolbar-search-padding-bottom": 14,
|