@plexui/styles 0.3.3 → 0.4.0
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 +26 -26
- package/dist/es/components/Dialog/Dialog.module.css +136 -12
- package/dist/es/components/Input/Input.module.css +14 -14
- package/dist/es/components/Page/Page.module.css +267 -14
- package/dist/es/components/TabBar/TabBar.module.css +54 -2
- package/dist/es/components/Toolbar/Toolbar.module.css +516 -163
- package/dist/es/styles/touch.css +29 -13
- package/dist/es/styles/variables-components.css +45 -6
- package/package.json +1 -1
package/dist/es/styles/touch.css
CHANGED
|
@@ -670,17 +670,17 @@
|
|
|
670
670
|
--segmented-control-symbol-size: 20px;
|
|
671
671
|
--segmented-control-option-disabled-color: var(--alpha-20);
|
|
672
672
|
}
|
|
673
|
-
html [data-mobile-material="glass"]:is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:where([data-mobile-size="small"], [data-size="3xs"], [data-size="2xs"], [data-size="xs"], [data-size="sm"]) {
|
|
673
|
+
html [data-mobile-material="glass"]:is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:where([data-mobile-size="small"], [data-size="3xs"], [data-size="2xs"], [data-size="xs"], [data-size="sm"], [data-toolbar-row] [data-size="md"]) {
|
|
674
674
|
--segmented-control-background: var(--mobile-glass-background);
|
|
675
675
|
--segmented-control-sheen: linear-gradient(var(--segmented-control-mobile-plain-background), var(--segmented-control-mobile-plain-background));
|
|
676
676
|
--segmented-control-shadow: var(--mobile-glass-shadow);
|
|
677
677
|
--segmented-control-backdrop-filter: var(--mobile-glass-backdrop-filter);
|
|
678
678
|
}
|
|
679
|
-
html [data-mobile-material="flat"]:is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:where(:not([data-mobile-size="small"], [data-size="3xs"], [data-size="2xs"], [data-size="xs"], [data-size="sm"])) {
|
|
679
|
+
html [data-mobile-material="flat"]:is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:where(:not([data-mobile-size="small"], [data-size="3xs"], [data-size="2xs"], [data-size="xs"], [data-size="sm"], [data-toolbar-row] [data-size="md"])) {
|
|
680
680
|
--segmented-control-size: 49px;
|
|
681
681
|
}
|
|
682
|
-
html :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:where(:not([data-mobile-material="flat"], [data-mobile-size="small"], [data-size="3xs"], [data-size="2xs"], [data-size="xs"], [data-size="sm"])),
|
|
683
|
-
html [data-toolbar] :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"] {
|
|
682
|
+
html :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:where(:not([data-mobile-material="flat"], [data-mobile-size="small"], [data-size="3xs"], [data-size="2xs"], [data-size="xs"], [data-size="sm"], [data-toolbar-row] [data-size="md"])),
|
|
683
|
+
html [data-toolbar] :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:not([data-toolbar-row] *) {
|
|
684
684
|
--segmented-control-size: 48px;
|
|
685
685
|
--segmented-control-gutter: 4px;
|
|
686
686
|
--segmented-control-gap: 8px;
|
|
@@ -704,13 +704,13 @@
|
|
|
704
704
|
--segmented-control-thumb-lens-shadow: var(--segmented-control-mobile-thumb-lens-shadow);
|
|
705
705
|
}
|
|
706
706
|
@media (prefers-reduced-motion: no-preference) {
|
|
707
|
-
html :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:where(:not([data-mobile-material="flat"], [data-mobile-size="small"], [data-size="3xs"], [data-size="2xs"], [data-size="xs"], [data-size="sm"])),
|
|
708
|
-
html [data-toolbar] :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"] {
|
|
707
|
+
html :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:where(:not([data-mobile-material="flat"], [data-mobile-size="small"], [data-size="3xs"], [data-size="2xs"], [data-size="xs"], [data-size="sm"], [data-toolbar-row] [data-size="md"])),
|
|
708
|
+
html [data-toolbar] :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:not([data-toolbar-row] *) {
|
|
709
709
|
--tabs-thumb-transition-duration: 400ms;
|
|
710
710
|
}
|
|
711
711
|
@supports (transition-timing-function: linear(0, 1)) {
|
|
712
|
-
html :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:where(:not([data-mobile-material="flat"], [data-mobile-size="small"], [data-size="3xs"], [data-size="2xs"], [data-size="xs"], [data-size="sm"])),
|
|
713
|
-
html [data-toolbar] :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"] {
|
|
712
|
+
html :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:where(:not([data-mobile-material="flat"], [data-mobile-size="small"], [data-size="3xs"], [data-size="2xs"], [data-size="xs"], [data-size="sm"], [data-toolbar-row] [data-size="md"])),
|
|
713
|
+
html [data-toolbar] :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:not([data-toolbar-row] *) {
|
|
714
714
|
--tabs-thumb-transition-easing: linear(0, 0.2 3%, 0.33 6.25%, 0.45 10%, 0.538 12.25%, 0.623 16.25%, 0.69 20%, 0.747 24.25%, 0.793 28.75%, 0.83 32.5%, 0.862 36.75%, 0.887 41%, 0.908 45%, 0.925 49.25%, 0.943 53.5%, 0.956 58%, 0.975 66%, 0.981 70%, 0.989 74.75%, 0.994 82.5%, 1);
|
|
715
715
|
}
|
|
716
716
|
}
|
|
@@ -776,6 +776,14 @@
|
|
|
776
776
|
--field-label-horizontal-offset: calc((var(--control-size-sm) - var(--font-text-xs-line-height)) / 2);
|
|
777
777
|
}
|
|
778
778
|
}
|
|
779
|
+
html [data-slot="input"][data-variant="soft"]:has(> input[type="search"]):not(:where([data-row] *)) {
|
|
780
|
+
--input-soft-background-color: var(--mobile-glass-background);
|
|
781
|
+
background-image: var(--mobile-glass-sheen);
|
|
782
|
+
backdrop-filter: var(--mobile-glass-backdrop-filter);
|
|
783
|
+
}
|
|
784
|
+
html [data-slot="input"][data-variant="soft"]:has(> input[type="search"]):not(:where([data-row] *)):not([data-invalid]) {
|
|
785
|
+
box-shadow: var(--mobile-glass-shadow);
|
|
786
|
+
}
|
|
779
787
|
html [role="menu"]:not([data-layout="horizontal"]) [role="menuitem"]:not(:where([role="group"][data-layout="horizontal"] *, [data-menu-header] *)) > :is(div, span) > svg:first-child:not([class*="SubTriggerIcon"]) {
|
|
780
788
|
flex-shrink: 0;
|
|
781
789
|
width: var(--menu-leading-icon-size);
|
|
@@ -1323,16 +1331,16 @@ html:root:where([data-theme="dark"]) :where([data-plex-layout="phone"]), html:ro
|
|
|
1323
1331
|
--segmented-control-symbol-size: 20px;
|
|
1324
1332
|
--segmented-control-option-disabled-color: var(--alpha-20);
|
|
1325
1333
|
}
|
|
1326
|
-
html :where([data-plex-layout="phone"]) [data-mobile-material="glass"]:is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:where([data-mobile-size="small"], [data-size="3xs"], [data-size="2xs"], [data-size="xs"], [data-size="sm"]) {
|
|
1334
|
+
html :where([data-plex-layout="phone"]) [data-mobile-material="glass"]:is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:where([data-mobile-size="small"], [data-size="3xs"], [data-size="2xs"], [data-size="xs"], [data-size="sm"], [data-toolbar-row] [data-size="md"]) {
|
|
1327
1335
|
--segmented-control-background: var(--mobile-glass-background);
|
|
1328
1336
|
--segmented-control-sheen: linear-gradient(var(--segmented-control-mobile-plain-background), var(--segmented-control-mobile-plain-background));
|
|
1329
1337
|
--segmented-control-shadow: var(--mobile-glass-shadow);
|
|
1330
1338
|
--segmented-control-backdrop-filter: var(--mobile-glass-backdrop-filter);
|
|
1331
1339
|
}
|
|
1332
|
-
html :where([data-plex-layout="phone"]) [data-mobile-material="flat"]:is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:where(:not([data-mobile-size="small"], [data-size="3xs"], [data-size="2xs"], [data-size="xs"], [data-size="sm"])) {
|
|
1340
|
+
html :where([data-plex-layout="phone"]) [data-mobile-material="flat"]:is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:where(:not([data-mobile-size="small"], [data-size="3xs"], [data-size="2xs"], [data-size="xs"], [data-size="sm"], [data-toolbar-row] [data-size="md"])) {
|
|
1333
1341
|
--segmented-control-size: 49px;
|
|
1334
1342
|
}
|
|
1335
|
-
html :where([data-plex-layout="phone"]) :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:where(:not([data-mobile-material="flat"], [data-mobile-size="small"], [data-size="3xs"], [data-size="2xs"], [data-size="xs"], [data-size="sm"])), html :where([data-plex-layout="phone"]) [data-toolbar] :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"] {
|
|
1343
|
+
html :where([data-plex-layout="phone"]) :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:where(:not([data-mobile-material="flat"], [data-mobile-size="small"], [data-size="3xs"], [data-size="2xs"], [data-size="xs"], [data-size="sm"], [data-toolbar-row] [data-size="md"])), html :where([data-plex-layout="phone"]) [data-toolbar] :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:not([data-toolbar-row] *) {
|
|
1336
1344
|
--segmented-control-size: 48px;
|
|
1337
1345
|
--segmented-control-gutter: 4px;
|
|
1338
1346
|
--segmented-control-gap: 8px;
|
|
@@ -1356,11 +1364,11 @@ html:root:where([data-theme="dark"]) :where([data-plex-layout="phone"]), html:ro
|
|
|
1356
1364
|
--segmented-control-thumb-lens-shadow: var(--segmented-control-mobile-thumb-lens-shadow);
|
|
1357
1365
|
}
|
|
1358
1366
|
@media (prefers-reduced-motion: no-preference) {
|
|
1359
|
-
html :where([data-plex-layout="phone"]) :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:where(:not([data-mobile-material="flat"], [data-mobile-size="small"], [data-size="3xs"], [data-size="2xs"], [data-size="xs"], [data-size="sm"])), html :where([data-plex-layout="phone"]) [data-toolbar] :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"] {
|
|
1367
|
+
html :where([data-plex-layout="phone"]) :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:where(:not([data-mobile-material="flat"], [data-mobile-size="small"], [data-size="3xs"], [data-size="2xs"], [data-size="xs"], [data-size="sm"], [data-toolbar-row] [data-size="md"])), html :where([data-plex-layout="phone"]) [data-toolbar] :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:not([data-toolbar-row] *) {
|
|
1360
1368
|
--tabs-thumb-transition-duration: 400ms;
|
|
1361
1369
|
}
|
|
1362
1370
|
@supports (transition-timing-function: linear(0, 1)) {
|
|
1363
|
-
html :where([data-plex-layout="phone"]) :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:where(:not([data-mobile-material="flat"], [data-mobile-size="small"], [data-size="3xs"], [data-size="2xs"], [data-size="xs"], [data-size="sm"])), html :where([data-plex-layout="phone"]) [data-toolbar] :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"] {
|
|
1371
|
+
html :where([data-plex-layout="phone"]) :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:where(:not([data-mobile-material="flat"], [data-mobile-size="small"], [data-size="3xs"], [data-size="2xs"], [data-size="xs"], [data-size="sm"], [data-toolbar-row] [data-size="md"])), html :where([data-plex-layout="phone"]) [data-toolbar] :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:not([data-toolbar-row] *) {
|
|
1364
1372
|
--tabs-thumb-transition-easing: linear(0, 0.2 3%, 0.33 6.25%, 0.45 10%, 0.538 12.25%, 0.623 16.25%, 0.69 20%, 0.747 24.25%, 0.793 28.75%, 0.83 32.5%, 0.862 36.75%, 0.887 41%, 0.908 45%, 0.925 49.25%, 0.943 53.5%, 0.956 58%, 0.975 66%, 0.981 70%, 0.989 74.75%, 0.994 82.5%, 1);
|
|
1365
1373
|
}
|
|
1366
1374
|
}
|
|
@@ -1426,6 +1434,14 @@ html :where([data-plex-layout="phone"]) [data-variant][data-orientation="horizon
|
|
|
1426
1434
|
--field-label-horizontal-offset: calc((var(--control-size-sm) - var(--font-text-xs-line-height)) / 2);
|
|
1427
1435
|
}
|
|
1428
1436
|
}
|
|
1437
|
+
html :where([data-plex-layout="phone"]) [data-slot="input"][data-variant="soft"]:has(> input[type="search"]):not(:where([data-row] *)) {
|
|
1438
|
+
--input-soft-background-color: var(--mobile-glass-background);
|
|
1439
|
+
background-image: var(--mobile-glass-sheen);
|
|
1440
|
+
backdrop-filter: var(--mobile-glass-backdrop-filter);
|
|
1441
|
+
}
|
|
1442
|
+
html :where([data-plex-layout="phone"]) [data-slot="input"][data-variant="soft"]:has(> input[type="search"]):not(:where([data-row] *)):not([data-invalid]) {
|
|
1443
|
+
box-shadow: var(--mobile-glass-shadow);
|
|
1444
|
+
}
|
|
1429
1445
|
html :where([data-plex-layout="phone"]) [role="menu"]:not([data-layout="horizontal"]) [role="menuitem"]:not(:where([role="group"][data-layout="horizontal"] *, [data-menu-header] *)) > :is(div, span) > svg:first-child:not([class*="SubTriggerIcon"]) {
|
|
1430
1446
|
flex-shrink: 0;
|
|
1431
1447
|
width: var(--menu-leading-icon-size);
|
|
@@ -513,6 +513,10 @@
|
|
|
513
513
|
viewport-fit=cover) they keep 16 to the window's edge. */
|
|
514
514
|
--toolbar-bottom-padding-bottom: max(16px, calc(var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)) - 6px));
|
|
515
515
|
--toolbar-search-padding-bottom: 14px;
|
|
516
|
+
/* A row under the controls, part of the bar (Toolbar.Row, owner 13.11): 10 under them, and 10 between two rows, as
|
|
517
|
+
iOS 27.2 sets a safeAreaBar under a bar's controls and under the search field of its drawer (ref-app segrow-inline,
|
|
518
|
+
segsearch-inline). */
|
|
519
|
+
--toolbar-row-gap: 10px;
|
|
516
520
|
/* The search field of those bars: the magnifier draws 16.33 of ink with a stroke of 2, 14.0 from the field's
|
|
517
521
|
edge, and "Search" starts at 41.67, set in Regular in the secondary label color (rgb 148 to 150 on the
|
|
518
522
|
glass). SearchSm in a 23.75px box draws that ink: 3.46 of the box lies before it, so the gutter is 10.54. The
|
|
@@ -532,6 +536,10 @@
|
|
|
532
536
|
under it, as at 168 on iOS 27.2: the part of the 41px line below the baseline, and of a subtitle's 20px. */
|
|
533
537
|
--toolbar-large-title-descent: 8.3px;
|
|
534
538
|
--toolbar-large-subtitle-descent: 4.6px;
|
|
539
|
+
/* Once a large title has gone under the bar, the bar's inline title comes in over this time, as iOS 27.2 swaps
|
|
540
|
+
them (a swipe recorded in the simulator: a crossfade of about 0.3s once the title is under the row, not tied
|
|
541
|
+
to the scroll). */
|
|
542
|
+
--toolbar-large-title-swap-duration: 300ms;
|
|
535
543
|
/* A bar symbol, sized by its drawn glyph (plan 162): the kit's 44pt bar button holds a 29pt symbol box
|
|
536
544
|
that draws about 22pt (Apps 2.4, Toolbar button top 39972:316665: a check of 21.75 × 15.7, a heart of
|
|
537
545
|
22 × 20), and native Freeform draws its ellipsis 19.7pt wide with 4pt dots (IMG_5684). A PlexUI icon
|
|
@@ -600,15 +608,48 @@
|
|
|
600
608
|
--page-bar-gap: 24px;
|
|
601
609
|
/* A glass bar: thin enough that what scrolls under it reads through the blur (owner 08.11: 72% was too
|
|
602
610
|
opaque); the Thin material of the iOS kit (Materials 224:56302) is white 40% under a 50px blur. */
|
|
603
|
-
/* The soft scroll edge
|
|
604
|
-
|
|
605
|
-
|
|
611
|
+
/* The soft scroll edge of iOS 26 (UIScrollEdgeEffect soft), as iOS 27.2 draws it over a scrolled list (ref-app
|
|
612
|
+
edge-uikit-soft-grouped, light and dark; owner 13.11): no band and no line, a blur that grows toward the top
|
|
613
|
+
under a thin veil of the canvas color. The veil holds 55% of the canvas color to 56pt above the bar's bottom,
|
|
614
|
+
then thins out: 38% 32 above it, 31% 16 above, 20% at the bottom, 8% 12 below, none 24 below. The blur hides
|
|
615
|
+
the text under the row of controls and lets go of it by 12pt under the bar. Both lie over the bar and this
|
|
616
|
+
tail past it; the veil is the mask of a layer of the canvas color, so one gradient serves every canvas. The
|
|
617
|
+
hard edge (Settings, IMG_5503; ref-app edge-uikit-hard-plain: a nearly opaque cover to the bar's bottom and a
|
|
618
|
+
hairline) is `"hard"`. */
|
|
606
619
|
--page-bar-soft-tail: 32px;
|
|
620
|
+
--page-bar-soft-veil: linear-gradient(to bottom, rgb(0 0 0 / 55%) calc(100% - var(--page-bar-soft-tail) - 56px), rgb(0 0 0 / 38%) calc(100% - var(--page-bar-soft-tail) - 32px), rgb(0 0 0 / 31%) calc(100% - var(--page-bar-soft-tail) - 16px), rgb(0 0 0 / 20%) calc(100% - var(--page-bar-soft-tail)), rgb(0 0 0 / 8%) calc(100% - var(--page-bar-soft-tail) + 12px), transparent calc(100% - var(--page-bar-soft-tail) + 24px));
|
|
621
|
+
--page-bar-soft-blur: 10px;
|
|
622
|
+
--page-bar-soft-blur-mask: linear-gradient(to bottom, #000 calc(100% - var(--page-bar-soft-tail) - 16px), transparent calc(100% - var(--page-bar-soft-tail) + 12px));
|
|
623
|
+
/* The soft edge of a bottom bar (a bottom Toolbar, Page.Footer), as iOS 27.2 draws it over a scrolled list
|
|
624
|
+
(ref-app bottomedge-soft, owner 13.11): the top bar's, turned over and measured from the top of the bar's
|
|
625
|
+
items. It reaches 34pt above them; the veil holds 8% of the canvas color 25 above them, 15% from 9 above to 3
|
|
626
|
+
into them, 23% 11 in, 31% 23 in and 46% from 43 in down to the screen's edge. The blur lets go of the content
|
|
627
|
+
22 above the items (a row's text a little soft 27 above them, a separator 6 above them smeared) and hides it
|
|
628
|
+
from 6 into them. The stops are measured from the top of the layer, --page-bar-soft-bottom-reach above the
|
|
629
|
+
items. */
|
|
630
|
+
--page-bar-soft-bottom-reach: 34px;
|
|
631
|
+
--page-bar-soft-bottom-veil: linear-gradient(to bottom, transparent, rgb(0 0 0 / 8%) 9px, rgb(0 0 0 / 15%) 25px, rgb(0 0 0 / 15%) 37px, rgb(0 0 0 / 23%) 45px, rgb(0 0 0 / 31%) 57px, rgb(0 0 0 / 46%) 77px);
|
|
632
|
+
--page-bar-soft-bottom-blur-mask: linear-gradient(to bottom, transparent 12px, #000 40px);
|
|
633
|
+
/* The blur background of a bar (owner 13.11, the top bar of a third-party app): no veil and no line, only the
|
|
634
|
+
content under the bar blurred, the more the nearer the screen's edge. Measured on the owner's screenshot: text
|
|
635
|
+
under the row of controls smeared out from 40px above the bar's edge, a few pixels of blur 13 above it, about
|
|
636
|
+
one 14 past it, and clear 27 past it. A light blur covers the bar and fades out over --page-bar-soft-tail past
|
|
637
|
+
it; a heavy one lies over it toward the screen's edge. The masks run from the edge of a top bar down and of
|
|
638
|
+
a bottom bar up. */
|
|
639
|
+
--page-bar-blur-light: 3px;
|
|
640
|
+
--page-bar-blur-heavy: 12px;
|
|
641
|
+
--page-bar-blur-top-mask: linear-gradient(to bottom, #000 calc(100% - var(--page-bar-soft-tail) - 16px), transparent);
|
|
642
|
+
--page-bar-blur-top-heavy-mask: linear-gradient(to bottom, #000 calc(100% - var(--page-bar-soft-tail) - 40px), transparent calc(100% - var(--page-bar-soft-tail) - 8px));
|
|
643
|
+
--page-bar-blur-bottom-mask: linear-gradient(to top, #000 calc(100% - var(--page-bar-soft-tail) - 16px), transparent);
|
|
644
|
+
--page-bar-blur-bottom-heavy-mask: linear-gradient(to top, #000 calc(100% - var(--page-bar-soft-tail) - 40px), transparent calc(100% - var(--page-bar-soft-tail) - 8px));
|
|
607
645
|
/* The blur of a glass bar: light enough that the lines scrolled under it still read as smudged text
|
|
608
646
|
(owner 08.11: at 20px the 17px text of a sheet vanished and the bar read as opaque white; 10px still
|
|
609
647
|
nearly hides it, 6px shows it). The saturation is Apple's bar material (180%). */
|
|
610
648
|
--page-bar-glass-filter: blur(6px) saturate(180%);
|
|
611
|
-
/* The line of a hard scroll edge
|
|
649
|
+
/* The line of a hard scroll edge, a hairline as iOS 27.2 draws it (ref-app edge-uikit-hard-plain, owner 13.11):
|
|
650
|
+
one device pixel, black 10% in light and white about 10% over the bar in dark, the line of a glass bar. The
|
|
651
|
+
kit's 1pt black 12% (Materials 5661:26978) drew it three times as thick on an iPhone. */
|
|
652
|
+
--page-bar-hard-line: var(--page-bar-line);
|
|
612
653
|
--page-title-font-size: 20px;
|
|
613
654
|
--page-title-line-height: 26px;
|
|
614
655
|
--page-content-padding-top: 16px;
|
|
@@ -1188,7 +1229,6 @@
|
|
|
1188
1229
|
--page-bar-veil-opacity: 55%;
|
|
1189
1230
|
--page-bar-veil: rgb(255 255 255 / 55%);
|
|
1190
1231
|
--page-bar-line: rgb(0 0 0 / 10%);
|
|
1191
|
-
--page-bar-hard-line: rgb(0 0 0 / 12%);
|
|
1192
1232
|
--segmented-control-background: var(--gray-100);
|
|
1193
1233
|
--segmented-control-thumb-background: var(--gray-0);
|
|
1194
1234
|
--segmented-control-mobile-plain-background: var(--alpha-06);
|
|
@@ -1253,7 +1293,6 @@
|
|
|
1253
1293
|
--page-bar-veil-opacity: 50%;
|
|
1254
1294
|
--page-bar-veil: rgb(0 0 0 / 50%);
|
|
1255
1295
|
--page-bar-line: var(--color-border);
|
|
1256
|
-
--page-bar-hard-line: var(--color-border);
|
|
1257
1296
|
--segmented-control-background: var(--alpha-08);
|
|
1258
1297
|
--segmented-control-thumb-background: var(--alpha-12);
|
|
1259
1298
|
--segmented-control-mobile-plain-background: var(--alpha-12);
|