@plexui/styles 0.17.18 → 0.17.20
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.
|
@@ -181,7 +181,8 @@
|
|
|
181
181
|
}/* iPhone (plan 171, owner 08.11, comments 46 to 50). Apple's cards differ from app to app (IMG_5723, 5725,
|
|
182
182
|
5726, 5728, 5729, 5730); a tip takes the shape TipKit's own tip and most of them share. It is the card of a
|
|
183
183
|
grouped list in shape, 26 corners, no shadow, its content at the iOS
|
|
184
|
-
layout margin (20 at 430pt). The symbol is
|
|
184
|
+
layout margin (20 at 430pt). The symbol is as small as in Apple's own tips (owner 01.12, Mail's tip: a glyph of 19
|
|
185
|
+
24 in, the text 55 in): 24 at the margin, on the title's line, and the text starts 12 after it;
|
|
185
186
|
the title line starts 14 down, the 15/20 description right under it in the secondary label, and the whole
|
|
186
187
|
message stops short of Close. Close is a bare 12pt glyph in the tertiary label (197,197,199), its center 28
|
|
187
188
|
from the trailing edge and 23 from the top, in a 44 target (IMG_5726, 5730). Actions are rows under a
|
|
@@ -194,9 +195,9 @@
|
|
|
194
195
|
--tip-padding-bottom: 0px;
|
|
195
196
|
--tip-gap: 11px;
|
|
196
197
|
--tip-description-gap: 0px;
|
|
197
|
-
--tip-icon-size:
|
|
198
|
-
--tip-icon-frame-width:
|
|
199
|
-
--tip-icon-frame-height:
|
|
198
|
+
--tip-icon-size: 24px;
|
|
199
|
+
--tip-icon-frame-width: 24px;
|
|
200
|
+
--tip-icon-frame-height: var(--tip-title-line-height);
|
|
200
201
|
--tip-close-size: 22px;
|
|
201
202
|
--tip-close-offset: 17px;
|
|
202
203
|
--tip-close-icon-size: 22px;
|
|
@@ -408,9 +409,9 @@
|
|
|
408
409
|
--tip-padding-bottom: 0px;
|
|
409
410
|
--tip-gap: 11px;
|
|
410
411
|
--tip-description-gap: 0px;
|
|
411
|
-
--tip-icon-size:
|
|
412
|
-
--tip-icon-frame-width:
|
|
413
|
-
--tip-icon-frame-height:
|
|
412
|
+
--tip-icon-size: 24px;
|
|
413
|
+
--tip-icon-frame-width: 24px;
|
|
414
|
+
--tip-icon-frame-height: var(--tip-title-line-height);
|
|
414
415
|
--tip-close-size: 22px;
|
|
415
416
|
--tip-close-offset: 17px;
|
|
416
417
|
--tip-close-icon-size: 22px;
|
|
@@ -761,7 +761,10 @@
|
|
|
761
761
|
and 24%: 238 on white, 28 on black) as alpha-06 and alpha-12, and its thumb white in light and white at about
|
|
762
762
|
25% on the track in dark (90 there), gray-0 and alpha-25. */
|
|
763
763
|
/* Phone, in a bar: the thumb on the glass track, as native frames show it: about 8% black in light (228 on a
|
|
764
|
-
247 track, Calendar IMG_5433/5434) and darker than the track in dark
|
|
764
|
+
247 track, Calendar IMG_5433/5434) and darker than the track in dark, over any ground (iOS 27.2, ref-app
|
|
765
|
+
seg-ground, 30.11: 10 on a 31 track over black, 33 on 58 over a sheet's 28, 142 on 182 over white). A gray of
|
|
766
|
+
its own (33) stood lighter than the track over black; black at 50% stays under it on every ground (16 on 31,
|
|
767
|
+
29 on 58). In a browser React Native's thumb filters what shows through the glass instead. */
|
|
765
768
|
/* Phone, the large control's glass (touch.css): lighter than the screen under it. Native iOS 27.2 draws the track
|
|
766
769
|
247/247/252 on the 242/242/247 sheet (Xcode segmented-sheet, Calendar IMG_5433), +5, where the shared button
|
|
767
770
|
glass (gray-75 at 55%) comes to the page's own 243 and the control was lost on it (owner 10.11: «цвет фона
|
|
@@ -1378,7 +1381,7 @@
|
|
|
1378
1381
|
--segmented-control-thumb-background: var(--alpha-12);
|
|
1379
1382
|
--segmented-control-mobile-plain-background: var(--alpha-12);
|
|
1380
1383
|
--segmented-control-mobile-plain-thumb-background: var(--alpha-25);
|
|
1381
|
-
--segmented-control-mobile-thumb-background:
|
|
1384
|
+
--segmented-control-mobile-thumb-background: rgb(0 0 0 / 50%);
|
|
1382
1385
|
--segmented-control-mobile-glass-background: var(--alpha-12);
|
|
1383
1386
|
--segmented-control-mobile-glass-background-pressed: var(--alpha-20);
|
|
1384
1387
|
--segmented-control-mobile-thumb-lens-background: rgb(0 0 0 / 13%);
|
|
@@ -1329,7 +1329,7 @@ export const tokenLayers = [
|
|
|
1329
1329
|
"--segmented-control-thumb-shadow": "0 1px 4px -1px rgb(0 0 0 / 20%)",
|
|
1330
1330
|
"--segmented-control-mobile-plain-background": "light-dark(var(--alpha-06), var(--alpha-12))",
|
|
1331
1331
|
"--segmented-control-mobile-plain-thumb-background": "light-dark(var(--gray-0), var(--alpha-25))",
|
|
1332
|
-
"--segmented-control-mobile-thumb-background": "light-dark(var(--alpha-08),
|
|
1332
|
+
"--segmented-control-mobile-thumb-background": "light-dark(var(--alpha-08), rgb(0 0 0 / 50%))",
|
|
1333
1333
|
"--segmented-control-mobile-glass-background": "light-dark(alpha(var(--gray-0), 40%), var(--alpha-12))",
|
|
1334
1334
|
"--segmented-control-mobile-pressed-scale": "1.07",
|
|
1335
1335
|
"--segmented-control-mobile-glass-background-pressed": "light-dark(alpha(var(--gray-0), 85%), var(--alpha-20))",
|
|
@@ -5519,7 +5519,7 @@ export const resolvedTokens = {
|
|
|
5519
5519
|
"--segmented-control-mobile-plain-thumb-background": "rgba(255, 255, 255, 0.25)",
|
|
5520
5520
|
"--segmented-control-mobile-pressed-label-opacity": 0.2,
|
|
5521
5521
|
"--segmented-control-mobile-pressed-scale": 1.07,
|
|
5522
|
-
"--segmented-control-mobile-thumb-background": "
|
|
5522
|
+
"--segmented-control-mobile-thumb-background": "rgba(0, 0, 0, 0.5)",
|
|
5523
5523
|
"--segmented-control-mobile-thumb-lens-background": "rgba(0, 0, 0, 0.13)",
|
|
5524
5524
|
"--segmented-control-mobile-thumb-lens-outset": "36px 11px",
|
|
5525
5525
|
"--segmented-control-mobile-thumb-lens-shadow": "0 0 0 0.5px rgba(0, 0, 0, 0.6), inset 0 0 0 0.5px rgba(255, 255, 255, 0.06), inset 0 3px 0 rgba(0, 0, 0, 0.2), inset 0 -3px 0 rgba(0, 0, 0, 0.2), inset 0 12px 12px -6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06)",
|