@plexui/styles 0.17.14 → 0.17.16

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.
@@ -730,6 +730,8 @@
730
730
  --tip-arrow-width: 47px;
731
731
  --tip-arrow-height: 13px;
732
732
  --tip-background: var(--alpha-05);
733
+ /* A tip on a phone (iOS): TipKit's card, 242 on white and 28 on black as iOS 27.2 draws it, and its rim */
734
+ --tip-mobile-rim-color: var(--alpha-05);
733
735
  --tip-popover-background: var(--color-surface-elevated);
734
736
  --tip-popover-shadow: 0 10px 30px rgb(0 0 0 / 20%);
735
737
 
@@ -1051,6 +1053,14 @@
1051
1053
  /* =============================================
1052
1054
  Slider
1053
1055
  ============================================= */
1056
+ /* `ticks`: a dot at each step under the track, where the thumb's centre stands on that step (the phone takes
1057
+ iOS 27.2's, touch.css). Its centre is the offset under the track's middle. */
1058
+ --slider-tick-size: 3px;
1059
+ --slider-tick-offset: 8.5px;
1060
+ /* The marks of the scale: under the track on a desktop, over it on an iOS phone (touch.css) */
1061
+ --slider-mark-font-size: 12px;
1062
+ --slider-mark-line-height: normal;
1063
+ --slider-mark-color: var(--color-text);
1054
1064
 
1055
1065
  /* =============================================
1056
1066
  Switch
@@ -1293,6 +1303,7 @@
1293
1303
  --page-bar-veil-opacity: 55%;
1294
1304
  --page-bar-veil: rgb(255 255 255 / 55%);
1295
1305
  --page-bar-line: rgb(0 0 0 / 10%);
1306
+ --tip-mobile-background: var(--alpha-05);
1296
1307
  --segmented-control-background: var(--gray-100);
1297
1308
  --segmented-control-thumb-background: var(--gray-0);
1298
1309
  --segmented-control-mobile-plain-background: var(--alpha-06);
@@ -1317,6 +1328,7 @@
1317
1328
  --tab-bar-item-color: var(--gray-750);
1318
1329
  --slider-track-color: var(--gray-150);
1319
1330
  --slider-range-color: var(--gray-450);
1331
+ --slider-tick-color: var(--gray-200);
1320
1332
  --switch-track-color: var(--gray-150);
1321
1333
  --switch-track-color-hover: var(--gray-200);
1322
1334
  --switch-track-color-checked: var(--gray-900);
@@ -1361,6 +1373,7 @@
1361
1373
  --page-bar-veil-opacity: 50%;
1362
1374
  --page-bar-veil: rgb(0 0 0 / 50%);
1363
1375
  --page-bar-line: var(--color-border);
1376
+ --tip-mobile-background: var(--alpha-10);
1364
1377
  --segmented-control-background: var(--alpha-08);
1365
1378
  --segmented-control-thumb-background: var(--alpha-12);
1366
1379
  --segmented-control-mobile-plain-background: var(--alpha-12);
@@ -1385,6 +1398,7 @@
1385
1398
  --tab-bar-item-color: var(--gray-850);
1386
1399
  --slider-track-color: var(--gray-400);
1387
1400
  --slider-range-color: var(--gray-600);
1401
+ --slider-tick-color: var(--gray-350);
1388
1402
  --switch-track-color: var(--gray-400);
1389
1403
  --switch-track-color-hover: var(--gray-450);
1390
1404
  --switch-track-color-checked: var(--blue-400);
@@ -1306,6 +1306,8 @@ export const tokenLayers = [
1306
1306
  "--tip-arrow-width": "47px",
1307
1307
  "--tip-arrow-height": "13px",
1308
1308
  "--tip-background": "var(--alpha-05)",
1309
+ "--tip-mobile-background": "light-dark(var(--alpha-05), var(--alpha-10))",
1310
+ "--tip-mobile-rim-color": "var(--alpha-05)",
1309
1311
  "--tip-popover-background": "var(--color-surface-elevated)",
1310
1312
  "--tip-popover-shadow": "0 10px 30px rgb(0 0 0 / 20%)",
1311
1313
  "--radio-group-col-gap": "spacing(2.5)",
@@ -1492,6 +1494,12 @@ export const tokenLayers = [
1492
1494
  "--select-control-font-weight": "var(--font-weight-normal)",
1493
1495
  "--slider-track-color": "light-dark(var(--gray-150), var(--gray-400))",
1494
1496
  "--slider-range-color": "light-dark(var(--gray-450), var(--gray-600))",
1497
+ "--slider-tick-size": "3px",
1498
+ "--slider-tick-offset": "8.5px",
1499
+ "--slider-tick-color": "light-dark(var(--gray-200), var(--gray-350))",
1500
+ "--slider-mark-font-size": "12px",
1501
+ "--slider-mark-line-height": "normal",
1502
+ "--slider-mark-color": "var(--color-text)",
1495
1503
  "--switch-track-width": "32px",
1496
1504
  "--switch-track-height": "19px",
1497
1505
  "--switch-track-color": "light-dark(var(--gray-150), var(--gray-400))",
@@ -1676,7 +1684,7 @@ export const tokenLayers = [
1676
1684
  1,
1677
1685
  0
1678
1686
  ],
1679
- "order": 1497,
1687
+ "order": 1505,
1680
1688
  "tokens": {
1681
1689
  "--radius-2xs": "0.125rem",
1682
1690
  "--radius-xs": "0.25rem",
@@ -1708,7 +1716,7 @@ export const tokenLayers = [
1708
1716
  1,
1709
1717
  0
1710
1718
  ],
1711
- "order": 1518,
1719
+ "order": 1526,
1712
1720
  "when": {
1713
1721
  "maxWidth": 767
1714
1722
  },
@@ -1740,7 +1748,7 @@ export const tokenLayers = [
1740
1748
  1,
1741
1749
  0
1742
1750
  ],
1743
- "order": 1534,
1751
+ "order": 1542,
1744
1752
  "when": {
1745
1753
  "maxWidth": 767
1746
1754
  },
@@ -1786,7 +1794,7 @@ export const tokenLayers = [
1786
1794
  1,
1787
1795
  0
1788
1796
  ],
1789
- "order": 1564,
1797
+ "order": 1572,
1790
1798
  "when": {
1791
1799
  "maxWidth": 767
1792
1800
  },
@@ -1803,7 +1811,7 @@ export const tokenLayers = [
1803
1811
  1,
1804
1812
  1
1805
1813
  ],
1806
- "order": 1591,
1814
+ "order": 1599,
1807
1815
  "when": {
1808
1816
  "maxWidth": 767
1809
1817
  },
@@ -2152,6 +2160,20 @@ export const tokenLayers = [
2152
2160
  "--slider-thumb-radius": "var(--radius-full)",
2153
2161
  "--slider-thumb-background": "var(--white)",
2154
2162
  "--slider-thumb-shadow": "0 0.5px 4px rgb(0 0 0 / 12%), 0 6px 13px rgb(0 0 0 / 12%)",
2163
+ "--slider-track-color": "var(--alpha-10)",
2164
+ "--slider-tick-size": "3px",
2165
+ "--slider-tick-offset": "8.5px",
2166
+ "--slider-tick-color": "light-dark(#c6c6c8, #38383a)",
2167
+ "--slider-mark-font-size": "15px",
2168
+ "--slider-mark-line-height": "20px",
2169
+ "--slider-mark-color": "var(--color-text)",
2170
+ "--slider-marks-baseline": "31px",
2171
+ "--slider-mark-end-inset": "5px",
2172
+ "--slider-marks-order": "-1",
2173
+ "--slider-marks-row": "1",
2174
+ "--slider-control-row": "2",
2175
+ "--slider-marks-margin-top": "0px",
2176
+ "--slider-marks-margin-bottom": "calc( var(--slider-marks-baseline) - var(--slider-control-height) / 2 - var(--slider-mark-line-height) / 2 + 0.36328 * var(--slider-mark-font-size) )",
2155
2177
  "--empty-message-title-size": "20px",
2156
2178
  "--empty-message-title-leading": "25px",
2157
2179
  "--empty-message-title-gap": "1px",
@@ -2279,7 +2301,7 @@ export const tokenLayers = [
2279
2301
  1,
2280
2302
  1
2281
2303
  ],
2282
- "order": 2144,
2304
+ "order": 2166,
2283
2305
  "when": {
2284
2306
  "minWidth": 414,
2285
2307
  "maxWidth": 767
@@ -2297,7 +2319,7 @@ export const tokenLayers = [
2297
2319
  1,
2298
2320
  1
2299
2321
  ],
2300
- "order": 2145,
2322
+ "order": 2167,
2301
2323
  "when": {
2302
2324
  "maxWidth": 575
2303
2325
  },
@@ -3760,10 +3782,20 @@ export const resolvedTokens = {
3760
3782
  "--skeleton-background": "rgba(13, 13, 13, 0.08)",
3761
3783
  "--skeleton-radius": 8,
3762
3784
  "--slider-control-height": 52,
3785
+ "--slider-control-row": 2,
3763
3786
  "--slider-label-font-size": 17,
3764
3787
  "--slider-label-gap": 0,
3765
3788
  "--slider-label-height": 44,
3766
3789
  "--slider-label-line-height": 22,
3790
+ "--slider-mark-color": "#0d0d0d",
3791
+ "--slider-mark-end-inset": 5,
3792
+ "--slider-mark-font-size": 15,
3793
+ "--slider-mark-line-height": 20,
3794
+ "--slider-marks-baseline": 31,
3795
+ "--slider-marks-margin-bottom": 0.4492,
3796
+ "--slider-marks-margin-top": 0,
3797
+ "--slider-marks-order": -1,
3798
+ "--slider-marks-row": 1,
3767
3799
  "--slider-padding-bottom": 0,
3768
3800
  "--slider-range-color": "#767676",
3769
3801
  "--slider-thumb-background": "#ffffff",
@@ -3771,7 +3803,10 @@ export const resolvedTokens = {
3771
3803
  "--slider-thumb-radius": 9999,
3772
3804
  "--slider-thumb-shadow": "0 0.5px 4px rgba(0, 0, 0, 0.12), 0 6px 13px rgba(0, 0, 0, 0.12)",
3773
3805
  "--slider-thumb-width": 38,
3774
- "--slider-track-color": "#dfdfdf",
3806
+ "--slider-tick-color": "#c6c6c8",
3807
+ "--slider-tick-offset": 8.5,
3808
+ "--slider-tick-size": 3,
3809
+ "--slider-track-color": "rgba(13, 13, 13, 0.1)",
3775
3810
  "--slider-track-radius": 3,
3776
3811
  "--slider-track-size": 6,
3777
3812
  "--slider-unit-color": "rgba(13, 13, 13, 0.5)",
@@ -3997,6 +4032,8 @@ export const resolvedTokens = {
3997
4032
  "--tip-icon-frame-height": 54,
3998
4033
  "--tip-icon-frame-width": 44,
3999
4034
  "--tip-icon-size": 40,
4035
+ "--tip-mobile-background": "rgba(13, 13, 13, 0.05)",
4036
+ "--tip-mobile-rim-color": "rgba(13, 13, 13, 0.05)",
4000
4037
  "--tip-padding-bottom": 16,
4001
4038
  "--tip-padding-inline": 16,
4002
4039
  "--tip-padding-top": 22,
@@ -5551,10 +5588,20 @@ export const resolvedTokens = {
5551
5588
  "--skeleton-background": "rgba(255, 255, 255, 0.12)",
5552
5589
  "--skeleton-radius": 8,
5553
5590
  "--slider-control-height": 52,
5591
+ "--slider-control-row": 2,
5554
5592
  "--slider-label-font-size": 17,
5555
5593
  "--slider-label-gap": 0,
5556
5594
  "--slider-label-height": 44,
5557
5595
  "--slider-label-line-height": 22,
5596
+ "--slider-mark-color": "#ffffff",
5597
+ "--slider-mark-end-inset": 5,
5598
+ "--slider-mark-font-size": 15,
5599
+ "--slider-mark-line-height": 20,
5600
+ "--slider-marks-baseline": 31,
5601
+ "--slider-marks-margin-bottom": 0.4492,
5602
+ "--slider-marks-margin-top": 0,
5603
+ "--slider-marks-order": -1,
5604
+ "--slider-marks-row": 1,
5558
5605
  "--slider-padding-bottom": 0,
5559
5606
  "--slider-range-color": "#8f8f8f",
5560
5607
  "--slider-thumb-background": "#ffffff",
@@ -5562,7 +5609,10 @@ export const resolvedTokens = {
5562
5609
  "--slider-thumb-radius": 9999,
5563
5610
  "--slider-thumb-shadow": "0 0.5px 4px rgba(0, 0, 0, 0.12), 0 6px 13px rgba(0, 0, 0, 0.12)",
5564
5611
  "--slider-thumb-width": 38,
5565
- "--slider-track-color": "#414141",
5612
+ "--slider-tick-color": "#38383a",
5613
+ "--slider-tick-offset": 8.5,
5614
+ "--slider-tick-size": 3,
5615
+ "--slider-track-color": "rgba(255, 255, 255, 0.1)",
5566
5616
  "--slider-track-radius": 3,
5567
5617
  "--slider-track-size": 6,
5568
5618
  "--slider-unit-color": "rgba(255, 255, 255, 0.5)",
@@ -5788,6 +5838,8 @@ export const resolvedTokens = {
5788
5838
  "--tip-icon-frame-height": 54,
5789
5839
  "--tip-icon-frame-width": 44,
5790
5840
  "--tip-icon-size": 40,
5841
+ "--tip-mobile-background": "rgba(255, 255, 255, 0.1)",
5842
+ "--tip-mobile-rim-color": "rgba(255, 255, 255, 0.05)",
5791
5843
  "--tip-padding-bottom": 16,
5792
5844
  "--tip-padding-inline": 16,
5793
5845
  "--tip-padding-top": 22,