@plexui/styles 0.1.32 → 0.1.34

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.
Files changed (81) hide show
  1. package/dist/es/components/Accordion/Accordion.module.css +30 -0
  2. package/dist/es/components/Alert/Alert.module.css +112 -1
  3. package/dist/es/components/Badge/Badge.module.css +41 -8
  4. package/dist/es/components/Breadcrumb/Breadcrumb.module.css +35 -1
  5. package/dist/es/components/Button/Button.module.css +178 -77
  6. package/dist/es/components/Button/NavigationButton.module.css +27 -0
  7. package/dist/es/components/Card/Card.module.css +27 -9
  8. package/dist/es/components/Checkbox/Checkbox.module.css +83 -90
  9. package/dist/es/components/CodeBlock/CodeBlock.module.css +20 -0
  10. package/dist/es/components/ColorPicker/ColorPicker.module.css +396 -0
  11. package/dist/es/components/ContextMenu/ContextMenu.module.css +55 -0
  12. package/dist/es/components/DataTable/DataTable.module.css +35 -5
  13. package/dist/es/components/DatePicker/Calendar.module.css +280 -3
  14. package/dist/es/components/DatePicker/CalendarNavigationIcon.module.css +20 -0
  15. package/dist/es/components/DateRangePicker/Calendar.module.css +223 -3
  16. package/dist/es/components/DateRangePicker/Trigger.module.css +29 -1
  17. package/dist/es/components/Dialog/Dialog.module.css +386 -86
  18. package/dist/es/components/EmptyMessage/EmptyMessage.module.css +89 -14
  19. package/dist/es/components/Field/Field.module.css +346 -19
  20. package/dist/es/components/FieldError/FieldError.module.css +13 -10
  21. package/dist/es/components/FieldGroup/FieldGroup.module.css +103 -4
  22. package/dist/es/components/FileUpload/FileUpload.module.css +103 -10
  23. package/dist/es/components/FloatingLabelInput/FloatingLabelInput.module.css +46 -14
  24. package/dist/es/components/FloatingLabelSelect/FloatingLabelSelect.module.css +36 -14
  25. package/dist/es/components/Indicator/LoadingIndicator.module.css +48 -6
  26. package/dist/es/components/Input/Input.module.css +195 -25
  27. package/dist/es/components/InputGroup/InputGroup.module.css +5 -1
  28. package/dist/es/components/MarkdownEditor/MarkdownEditor.module.css +27 -147
  29. package/dist/es/components/Menu/Menu.module.css +425 -33
  30. package/dist/es/components/OTPInput/OTPInput.module.css +11 -3
  31. package/dist/es/components/Page/Page.module.css +217 -20
  32. package/dist/es/components/PageControl/PageControl.module.css +81 -0
  33. package/dist/es/components/Popover/Popover.module.css +10 -1
  34. package/dist/es/components/RadioGroup/RadioGroup.module.css +10 -10
  35. package/dist/es/components/Select/Select.module.css +162 -13
  36. package/dist/es/components/SelectControl/SelectControl.module.css +118 -11
  37. package/dist/es/components/ShimmerText/ShimmerText.module.css +7 -0
  38. package/dist/es/components/Sidebar/Sidebar.module.css +347 -72
  39. package/dist/es/components/Skeleton/Skeleton.module.css +4 -0
  40. package/dist/es/components/Slider/Slider.module.css +96 -52
  41. package/dist/es/components/Sortable/Sortable.module.css +20 -7
  42. package/dist/es/components/Stepper/Stepper.module.css +98 -0
  43. package/dist/es/components/Switch/Switch.module.css +16 -7
  44. package/dist/es/components/TabBar/TabBar.module.css +233 -0
  45. package/dist/es/components/Table/Table.module.css +4 -2
  46. package/dist/es/components/Tabs/Tabs.module.css +186 -6
  47. package/dist/es/components/TagInput/TagInput.module.css +64 -19
  48. package/dist/es/components/TextLink/TextLink.module.css +4 -4
  49. package/dist/es/components/Textarea/Textarea.module.css +1 -1
  50. package/dist/es/components/Toast/Toast.module.css +120 -5
  51. package/dist/es/components/Toolbar/Toolbar.module.css +579 -0
  52. package/dist/es/components/Tooltip/Tooltip.module.css +1 -1
  53. package/dist/es/styles/base.css +1 -1
  54. package/dist/es/styles/katex-fonts/KaTeX_AMS-Regular.woff2 +0 -0
  55. package/dist/es/styles/katex-fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
  56. package/dist/es/styles/katex-fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
  57. package/dist/es/styles/katex-fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
  58. package/dist/es/styles/katex-fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
  59. package/dist/es/styles/katex-fonts/KaTeX_Main-Bold.woff2 +0 -0
  60. package/dist/es/styles/katex-fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
  61. package/dist/es/styles/katex-fonts/KaTeX_Main-Italic.woff2 +0 -0
  62. package/dist/es/styles/katex-fonts/KaTeX_Main-Regular.woff2 +0 -0
  63. package/dist/es/styles/katex-fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
  64. package/dist/es/styles/katex-fonts/KaTeX_Math-Italic.woff2 +0 -0
  65. package/dist/es/styles/katex-fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
  66. package/dist/es/styles/katex-fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
  67. package/dist/es/styles/katex-fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
  68. package/dist/es/styles/katex-fonts/KaTeX_Script-Regular.woff2 +0 -0
  69. package/dist/es/styles/katex-fonts/KaTeX_Size1-Regular.woff2 +0 -0
  70. package/dist/es/styles/katex-fonts/KaTeX_Size2-Regular.woff2 +0 -0
  71. package/dist/es/styles/katex-fonts/KaTeX_Size3-Regular.woff2 +0 -0
  72. package/dist/es/styles/katex-fonts/KaTeX_Size4-Regular.woff2 +0 -0
  73. package/dist/es/styles/katex-fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
  74. package/dist/es/styles/katex-fonts/LICENSE +21 -0
  75. package/dist/es/styles/katex.min.css +666 -730
  76. package/dist/es/styles/mobile-materials.css +69 -0
  77. package/dist/es/styles/mobile-surfaces.css +46 -0
  78. package/dist/es/styles/touch.css +524 -63
  79. package/dist/es/styles/variables-components.css +286 -7
  80. package/package.json +1 -1
  81. package/postcss/mixins.mjs +1 -1
@@ -96,6 +96,15 @@
96
96
  --button-font-weight: var(--font-weight-medium);
97
97
  --button-outline-background: transparent;
98
98
 
99
+ /* NavigationButton: 44px target; glyph boxes normalize close/check/back ink. */
100
+ --navigation-button-size: var(--control-size-2xl);
101
+ --navigation-button-back-icon-size: 32px;
102
+ --navigation-button-close-icon-size: 34px;
103
+ /* The checkmark of a bar's confirm, sized by native ink over the kit (plan 162): Files View Options draws
104
+ 17.7 × 17.3pt with a 2.1pt line (IMG_5686), Photos New Album 18.3pt square with 2.3pt (IMG_5453); the
105
+ iOS 26 kit's 15 × 14.5 is smaller. The Check box of 30px draws about 17.8 × 16.5 with a 2.5px line (owner 08.11). */
106
+ --navigation-button-confirm-icon-size: 30px;
107
+
99
108
  /* =============================================
100
109
  Card
101
110
  ============================================= */
@@ -268,6 +277,7 @@
268
277
  --field-row-list-row-gap: 8px;
269
278
  --field-row-list-label-offset: 6px;
270
279
  --field-row-action-size: 2rem;
280
+ --field-row-text-action-size: 2rem;
271
281
  /* 32px */
272
282
  --field-row-action-font-size: var(--font-text-sm-size);
273
283
  --field-row-action-font-weight: var(--font-weight-medium);
@@ -366,8 +376,13 @@
366
376
  --dialog-alert-radius: 34px;
367
377
  --dialog-alert-padding: 14px;
368
378
  --dialog-alert-action-height: 48px;
369
- --dialog-sheet-action-height: 50px;
379
+ /* The capsule of a sheet's footer action: native setup sheets draw it 53pt tall (IMG_5432 Wallet, 159px at
380
+ 3x; IMG_5509, 160px), owner 08.11. */
381
+ --dialog-sheet-action-height: 53px;
370
382
  --dialog-sheet-radius: 38px;
383
+ /* Native iOS 26 dims the page under a phone Sheet or Alert to 80% in light (Sheets IMG_5437/5444/5453/5470/
384
+ 5471/5491, Alert iOS2 IMG_5533: white 255 to 204, grouped 242/242/247 to 193/193/197) and to 50% in dark
385
+ (Alert iOS2 IMG_5532: 28 to 14, red 255 to 128). A dark Sheet keeps the same 50%: no native frame shows it. */
371
386
  --dialog-sheet-close-size: var(--control-size-2xl);
372
387
  --dialog-sheet-close-icon-size: 34px;
373
388
  --dialog-mobile-type-size: 17px;
@@ -407,6 +422,78 @@
407
422
  ============================================= */
408
423
  --modal-container-inner-padding: calc(var(--spacing) * 5);
409
424
 
425
+ /* =============================================
426
+ Toolbar (phone only; Apps 2.4 Toolbars, iOS 26)
427
+ ============================================= */
428
+ --toolbar-gutter: 16px;
429
+ --toolbar-top-item-size: 44px;
430
+ --toolbar-bottom-item-size: 48px;
431
+ --toolbar-top-item-gap: 10px;
432
+ --toolbar-bottom-item-gap: 12px;
433
+ --toolbar-bottom-gutter: 28px;
434
+ --toolbar-group-gap: 12px;
435
+ --toolbar-group-padding: 2px;
436
+ --toolbar-bottom-group-gap: 6px;
437
+ --toolbar-bottom-group-padding: 4px;
438
+ --toolbar-padding-bottom: 10px;
439
+ --toolbar-sheet-padding-top: 16px;
440
+ --toolbar-bottom-padding-top: 4px;
441
+ --toolbar-bottom-fill-padding-top: 12px;
442
+ --toolbar-bottom-padding-bottom: max(16px, calc(var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)) - 2px));
443
+ --toolbar-search-padding-bottom: 14px;
444
+ --toolbar-search-gutter: 11px;
445
+ --toolbar-search-icon-gap: 4px;
446
+ --toolbar-search-icon-size: 26px;
447
+ --toolbar-flat-opacity: 80%;
448
+ --toolbar-flat-blur: 60px;
449
+ /* The large title starts 21pt under the row of controls in iOS 26 Mail and Freeform (iOS2 IMG_5530, 5531,
450
+ 5534: controls 59 to 103, title baseline 157 at 430pt); the kit's 10 sets it 11pt too high. */
451
+ --toolbar-large-title-gap: 21px;
452
+ /* A bar symbol, sized by its drawn glyph (plan 162): the kit's 44pt bar button holds a 29pt symbol box
453
+ that draws about 22pt (Apps 2.4, Toolbar button top 39972:316665: a check of 21.75 × 15.7, a heart of
454
+ 22 × 20), and native Freeform draws its ellipsis 19.7pt wide with 4pt dots (IMG_5684). A PlexUI icon
455
+ of 26px draws the same: DotsHorizontal 19.5 wide with 4.3px dots (owner 08.11; 24px was small). */
456
+ --toolbar-icon-size: 26px;
457
+ --toolbar-label-font-size: 17px;
458
+ --toolbar-label-line-height: 22px;
459
+ --toolbar-label-font-weight: 510;
460
+ --toolbar-label-gutter: 14px;
461
+ --toolbar-bottom-label-gutter: 12px;
462
+ --toolbar-title-font-size: 17px;
463
+ --toolbar-title-line-height: 22px;
464
+ --toolbar-title-font-weight: 590;
465
+ --toolbar-title-compact-font-size: 15px;
466
+ --toolbar-title-compact-line-height: 20px;
467
+ --toolbar-subtitle-font-size: 12px;
468
+ --toolbar-subtitle-line-height: 16px;
469
+ --toolbar-subtitle-font-weight: var(--font-weight-medium);
470
+ --toolbar-large-title-font-size: 34px;
471
+ --toolbar-large-title-line-height: 41px;
472
+ --toolbar-large-subtitle-font-size: 15px;
473
+ --toolbar-large-subtitle-line-height: 20px;
474
+ --toolbar-medium-title-font-size: 22px;
475
+ --toolbar-medium-title-line-height: 28px;
476
+ --toolbar-edge-blur-small: 3px;
477
+ --toolbar-edge-blur-large: 10px;
478
+ --toolbar-group-item-hover: color-mix(in srgb, var(--color-text) 4%, transparent);
479
+ --toolbar-group-item-active: color-mix(in srgb, var(--color-text) 8%, transparent);
480
+ /* A disabled prominent bar button gives up its tint for a gray capsule, in PlexUI alpha colors. Native iOS 26,
481
+ light (IMG_5441/5471/5472/5473): 210-213 on the grouped 242/242/246 bar, about 13% black, under a white
482
+ label: alpha-12 and gray-0. Dark (iOS2 IMG_5523/5526): 79/79/81 on the 28/28/29 sheet, about 22% white,
483
+ under a 131/131/133 glyph, 30% white: alpha-20 and alpha-30. */
484
+ /* A prominent bar button (NavigationButton confirm, a solid primary or info Button) is tinted with the accent: the
485
+ kit's Symbol and Text - Prominent (iOS 27 Buttons - 44pt, 5720:29596) lay accents/blue #08f under a
486
+ #f5f5f5 symbol or label, and native glass shows 0/133/251 (Photos checkmark, IMG_5453): the info solid
487
+ of PlexUI, blue-400, under white (owner, 08.11). Its edge is the glass's: the sides darkened (kit, 25
488
+ levels; native, 0/113/217) and light along the top and the bottom (kit Glass Effect, a +40 dodge 10px
489
+ deep at both; native 187 at the top and 205 at the bottom on 133, 152 on the diagonals, none at the sides).
490
+ Set the background to --color-background-primary-solid to keep the PlexUI primary. */
491
+ --toolbar-prominent-background: var(--color-background-info-solid);
492
+ --toolbar-prominent-background-hover: var(--color-background-info-solid-hover);
493
+ --toolbar-prominent-background-active: var(--color-background-info-solid-active);
494
+ --toolbar-prominent-color: var(--color-text-info-solid);
495
+ --toolbar-prominent-sheen: linear-gradient(rgb(255 255 255 / 16%), transparent 6px, transparent calc(100% - 8px), rgb(255 255 255 / 16%));
496
+
410
497
  /* =============================================
411
498
  Page
412
499
  ============================================= */
@@ -420,6 +507,17 @@
420
507
  --page-bar-height: 36px;
421
508
  --page-bar-height-phone: 44px;
422
509
  --page-bar-gap: 24px;
510
+ /* A glass bar: thin enough that what scrolls under it reads through the blur (owner 08.11: 72% was too
511
+ opaque); the Thin material of the iOS kit (Materials 224:56302) is white 40% under a 50px blur. */
512
+ /* The soft scroll edge covers content fully down to the bottom of the bar, as native iOS 26 bars do
513
+ (IMG_5503: the cover holds at 249 to 252 over white to 10pt under the row of controls, the bar's bottom),
514
+ then fades out over this tail past the bar (owner 08.11: 16px read too short). */
515
+ --page-bar-soft-tail: 32px;
516
+ /* The blur of a glass bar: light enough that the lines scrolled under it still read as smudged text
517
+ (owner 08.11: at 20px the 17px text of a sheet vanished and the bar read as opaque white; 10px still
518
+ nearly hides it, 6px shows it). The saturation is Apple's bar material (180%). */
519
+ --page-bar-glass-filter: blur(6px) saturate(180%);
520
+ /* The line of a hard scroll edge: iOS 26 kit Materials, Scroll Edge Effect - Hard (5661:26978), 1pt black 12%. */
423
521
  --page-title-font-size: 20px;
424
522
  --page-title-line-height: 26px;
425
523
  --page-content-padding-top: 16px;
@@ -452,8 +550,160 @@
452
550
  --segmented-control-gutter: 2px;
453
551
  --segmented-control-font-weight: var(--font-weight-semibold);
454
552
  --segmented-control-thumb-shadow: 0 1px 4px -1px rgb(0 0 0 / 20%);
553
+ /* Phone (touch.css): the thumb on the glass track, as native frames show it: about 8% black in light (228 on a
554
+ 247 track, Calendar IMG_5433/5434) and darker than the track in dark (32-34 on 54-58, IMG_5522/5523). */
455
555
  --segmented-control-option-highlight-gutter: 1px;
456
556
 
557
+ /* =============================================
558
+ Color picker
559
+ ============================================= */
560
+ /* A desktop scale of the iOS 26 kit Color Picker (0:5275) in PlexUI sizes: a 264px column, 22px grid cells,
561
+ 28px tracks and fields. The phone takes the kit's own sizes (touch.css). */
562
+ --color-picker-width: 264px;
563
+ --color-picker-modes-gap: 16px;
564
+ --color-picker-body-aspect-ratio: 358 / 300;
565
+ --color-picker-body-radius: var(--radius-xl);
566
+ --color-picker-section-gap: 16px;
567
+ --color-picker-row-gap: 4px;
568
+ --color-picker-opacity-padding-bottom: 16px;
569
+ --color-picker-label-font-size: var(--font-text-sm-size);
570
+ --color-picker-label-line-height: var(--font-text-sm-line-height);
571
+ --color-picker-selection-color: #fff;
572
+ --color-picker-selection-width: 2px;
573
+ --color-picker-track-height: 28px;
574
+ --color-picker-track-inset: 2px;
575
+ --color-picker-checker-size: 6px;
576
+ --color-picker-knob-size: 24px;
577
+ --color-picker-knob-border: 2px;
578
+ --color-picker-knob-shadow: 0 0 3px rgb(0 0 0 / 10%);
579
+ --color-picker-loupe-size: 22px;
580
+ --color-picker-field-gap: 8px;
581
+ --color-picker-field-width: 56px;
582
+ --color-picker-field-wide-width: 88px;
583
+ --color-picker-field-height: 28px;
584
+ --color-picker-field-radius: var(--radius-md);
585
+ --color-picker-field-font-size: var(--font-text-sm-size);
586
+ --color-picker-field-line-height: var(--font-text-sm-line-height);
587
+ --color-picker-field-background: var(--color-background-secondary-soft-alpha);
588
+ --color-picker-separator-color: var(--color-border);
589
+ --color-picker-current-size: 56px;
590
+ --color-picker-current-radius: var(--radius-xl);
591
+ --color-picker-current-gap: 24px;
592
+ --color-picker-swatch-size: 24px;
593
+ --color-picker-swatch-row-gap: 16px;
594
+ --color-picker-swatch-ring-inset: 2px;
595
+ --color-picker-swatch-ring-width: 2px;
596
+ --color-picker-add-icon-size: 16px;
597
+ --color-picker-page-control-row-height: 8px;
598
+ --color-picker-page-control-empty-display: none;
599
+ --color-picker-popover-padding: 12px 16px 16px;
600
+ --color-picker-popover-header-gap: 12px;
601
+ --color-picker-sheet-radius: 34px 34px 58px 58px;
602
+ /* Phone (touch.css): the kit's Percentage field and Add button (120/120/120 at 20%: 228 on white) are alpha-12,
603
+ and its separator (198 on white) alpha-25. */
604
+ --color-picker-mobile-field-background: var(--alpha-12);
605
+ /* The picker's Mode control is the plain kit segmented control: Fills/Tertiary (118/118/128 at 12% and 24%: 240
606
+ on white, 28 on black) is alpha-06 and alpha-12; the Selected Fill thumb (white, white at 27%) gray-0 and alpha-25. */
607
+ --color-picker-mobile-separator-color: var(--alpha-25);
608
+
609
+ /* =============================================
610
+ Color well
611
+ ============================================= */
612
+ /* The kit's Picker Button (5739:34128): an angular rainbow from yellow at the top, a 3px ring 2px from the color;
613
+ 28px and 36px. */
614
+ --color-well-size-sm: 28px;
615
+ --color-well-size-lg: 36px;
616
+ --color-well-ring-width: 3px;
617
+ --color-well-ring-gap: 2px;
618
+ --color-well-rainbow: conic-gradient(
619
+ rgb(231 224 64) 0%,
620
+ rgb(238 170 60) 12.4%,
621
+ rgb(232 64 59) 24.9%,
622
+ rgb(179 62 213) 36.6%,
623
+ rgb(105 74 232) 50.6%,
624
+ rgb(60 202 231) 64.3%,
625
+ rgb(60 232 133) 74.9%,
626
+ rgb(137 231 67) 87%,
627
+ rgb(231 224 64) 100%
628
+ );
629
+
630
+ /* =============================================
631
+ Context menu
632
+ ============================================= */
633
+ /* The iOS 26 kit Context Menu - Dimming Overlay (507:25994): black at 23% over a 30px background blur; the
634
+ kit shows light only, so dark takes the Dialog's dark scrim. The preview keeps the element's own corner, or
635
+ the kit's Content Area radius 30, and its drop shadow 32 at 20%. */
636
+ --context-menu-dimming-backdrop-filter: blur(30px);
637
+ --context-menu-preview-radius: 30px;
638
+ --context-menu-preview-shadow: 0 0 32px rgb(0 0 0 / 20%);
639
+
640
+ /* =============================================
641
+ Page control
642
+ ============================================= */
643
+ /* The iOS 26 kit Page control (507:24679) on every screen: dots of 8px, 8px apart, in a 24px capsule with
644
+ 12px ends; past the window of full dots 6px and 4px. The current dot is the primary label and the others
645
+ labels/primary at 30% (alpha-30). The capsule fill has no kit or native measurement: alpha-08 (agent). */
646
+ --page-control-height: 24px;
647
+ --page-control-padding-inline: 12px;
648
+ --page-control-gap: 8px;
649
+ --page-control-dot-size: 8px;
650
+ --page-control-dot-size-small: 6px;
651
+ --page-control-dot-size-smaller: 4px;
652
+ --page-control-dot-color: var(--alpha-30);
653
+ --page-control-dot-color-current: var(--color-text);
654
+ --page-control-background: var(--alpha-08);
655
+
656
+ /* =============================================
657
+ Stepper
658
+ ============================================= */
659
+ --stepper-height: var(--control-size-md);
660
+ --stepper-segment-width: 40px;
661
+ --stepper-radius: var(--control-radius-md);
662
+ --stepper-segment-background-hover: var(--alpha-05);
663
+ --stepper-segment-background-active: var(--alpha-10);
664
+ --stepper-separator-color: var(--color-border);
665
+ --stepper-separator-inset: 4px;
666
+ --stepper-icon-size: var(--control-icon-size-md);
667
+ --stepper-icon-color: var(--color-text);
668
+ --stepper-icon-disabled-color: var(--color-text-disabled);
669
+ /* Phone (touch.css), the iOS 27 kit Stepper (Steppers: _Decrement, _Increment) in PlexUI alpha colors: each
670
+ segment has its own fill, Fills/Tertiary (118/118/128 at 12% and 24%: 239 on white, 28 on black), alpha-06
671
+ and alpha-12; a pressed segment and one at the end of the range turn to Fills/Quaternary (116/116/128 at 8%,
672
+ 118/118/128 at 18%: 244 and 21), alpha-05 and alpha-08; the separator under them (60/60/67 and 235/235/245
673
+ at 30%) is alpha-25. */
674
+ --stepper-mobile-separator-color: var(--alpha-25);
675
+
676
+ /* =============================================
677
+ Tab bar (phone)
678
+ ============================================= */
679
+ /* The iOS 26 kit Tab Bar - iPhone (507:24689), 402 x 95: a 62px glass capsule 21px from the sides and the
680
+ bottom; tabs of a symbol (18pt in a 28pt line) over a 10/12 semibold label, 6px above and 7px below,
681
+ 94px apart at most, the selected one on a 54px pill 6px wider than the tab; a separate 62px search
682
+ circle 8px away; minimized, two 48px circles. The selection pill (237 burnt into the light glass, 18
683
+ dodged into the dark one: about 8% either way) is alpha-08. The kit tints the selected tab systemBlue;
684
+ PlexUI colors navigation as its Sidebar does: the selected tab in the primary text, the others
685
+ --gray-750 (dark --gray-850). Minimized, the symbol is the primary label, as in the kit. */
686
+ --tab-bar-gutter: 21px;
687
+ --tab-bar-gap: 8px;
688
+ --tab-bar-padding-top: 12px;
689
+ --tab-bar-padding-bottom: max(21px, calc(var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)) - 13px));
690
+ --tab-bar-minimized-padding-top: 26px;
691
+ --tab-bar-capsule-padding-block: 4px;
692
+ --tab-bar-capsule-padding-inline: 10px;
693
+ --tab-bar-item-width: 94px;
694
+ --tab-bar-item-height: 54px;
695
+ --tab-bar-pill-outset: 6px;
696
+ --tab-bar-icon-box: 28px;
697
+ --tab-bar-icon-size: 24px;
698
+ --tab-bar-label-font-size: 10px;
699
+ --tab-bar-label-line-height: 12px;
700
+ --tab-bar-label-font-weight: var(--font-weight-semibold);
701
+ --tab-bar-search-size: 62px;
702
+ --tab-bar-minimized-size: 48px;
703
+ --tab-bar-item-color-selected: var(--color-text);
704
+ --tab-bar-item-color-minimized: var(--color-text);
705
+ --tab-bar-item-background-selected: var(--alpha-08);
706
+
457
707
  /* =============================================
458
708
  Tabs — Underline variant
459
709
  ============================================= */
@@ -588,10 +838,9 @@
588
838
  /* Mobile menu button (hamburger icon) */
589
839
  --sidebar-mobile-button-size: 32px;
590
840
  --sidebar-mobile-button-radius: 8px;
591
- --sidebar-mobile-icon-size: 18px;
592
- --sidebar-mobile-line-height: 2px;
593
- --sidebar-mobile-line-color: var(--gray-900);
594
- --sidebar-mobile-line-transition-duration: 0.2s;
841
+ --sidebar-mobile-icon-size: 24px;
842
+ --sidebar-mobile-icon-color: var(--gray-900);
843
+ --sidebar-mobile-icon-transition-duration: 0.2s;
595
844
 
596
845
  /* Mobile drawer */
597
846
  --sidebar-mobile-gutter: 12px;
@@ -699,13 +948,28 @@
699
948
  --codeblock-syntax-3: var(--green-600);
700
949
  --codeblock-syntax-5: var(--purple-500);
701
950
  --dialog-backdrop-dim-background: rgb(0 0 0 / 30%);
951
+ --dialog-mobile-scrim: rgb(0 0 0 / 20%);
702
952
  --menu-item-background-color: var(--alpha-08);
703
953
  --modal-backdrop-background: rgb(0 0 0 / 30%);
704
- --page-bar-veil: rgb(255 255 255 / 72%);
954
+ --toolbar-prominent-disabled-background: var(--alpha-12);
955
+ --toolbar-prominent-disabled-color: var(--gray-0);
956
+ --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%);
957
+ --page-bar-veil-opacity: 55%;
958
+ --page-bar-veil: rgb(255 255 255 / 55%);
705
959
  --page-bar-line: rgb(0 0 0 / 10%);
960
+ --page-bar-hard-line: rgb(0 0 0 / 12%);
706
961
  --segmented-control-background: var(--gray-100);
707
962
  --segmented-control-thumb-background: var(--gray-0);
963
+ --segmented-control-mobile-thumb-background: var(--alpha-08);
708
964
  --segmented-control-option-highlight-background-color: var(--gray-200);
965
+ --color-picker-mobile-mode-background: var(--alpha-06);
966
+ --color-picker-mobile-mode-thumb-background: var(--gray-0);
967
+ --context-menu-dimming-background: rgb(0 0 0 / 23%);
968
+ --stepper-background: var(--gray-100);
969
+ --stepper-mobile-segment-background: var(--alpha-06);
970
+ --stepper-mobile-segment-background-active: var(--alpha-05);
971
+ --stepper-mobile-segment-background-disabled: var(--alpha-05);
972
+ --tab-bar-item-color: var(--gray-750);
709
973
  --slider-track-color: var(--gray-150);
710
974
  --slider-range-color: var(--gray-450);
711
975
  --switch-track-color: var(--gray-150);
@@ -739,13 +1003,28 @@
739
1003
  --codeblock-syntax-3: var(--green-300);
740
1004
  --codeblock-syntax-5: var(--purple-300);
741
1005
  --dialog-backdrop-dim-background: rgb(0 0 0 / 50%);
1006
+ --dialog-mobile-scrim: rgb(0 0 0 / 50%);
742
1007
  --menu-item-background-color: var(--alpha-10);
743
1008
  --modal-backdrop-background: rgb(0 0 0 / 50%);
744
- --page-bar-veil: rgb(0 0 0 / 60%);
1009
+ --toolbar-prominent-disabled-background: var(--alpha-20);
1010
+ --toolbar-prominent-disabled-color: var(--alpha-30);
1011
+ --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%);
1012
+ --page-bar-veil-opacity: 50%;
1013
+ --page-bar-veil: rgb(0 0 0 / 50%);
745
1014
  --page-bar-line: var(--color-border);
1015
+ --page-bar-hard-line: var(--color-border);
746
1016
  --segmented-control-background: var(--alpha-08);
747
1017
  --segmented-control-thumb-background: var(--alpha-12);
1018
+ --segmented-control-mobile-thumb-background: var(--gray-200);
748
1019
  --segmented-control-option-highlight-background-color: var(--alpha-08);
1020
+ --color-picker-mobile-mode-background: var(--alpha-12);
1021
+ --color-picker-mobile-mode-thumb-background: var(--alpha-25);
1022
+ --context-menu-dimming-background: rgb(0 0 0 / 50%);
1023
+ --stepper-background: var(--alpha-08);
1024
+ --stepper-mobile-segment-background: var(--alpha-12);
1025
+ --stepper-mobile-segment-background-active: var(--alpha-08);
1026
+ --stepper-mobile-segment-background-disabled: var(--alpha-08);
1027
+ --tab-bar-item-color: var(--gray-850);
749
1028
  --slider-track-color: var(--gray-400);
750
1029
  --slider-range-color: var(--gray-600);
751
1030
  --switch-track-color: var(--gray-400);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plexui/styles",
3
- "version": "0.1.32",
3
+ "version": "0.1.34",
4
4
  "description": "Framework-agnostic CSS for Plex UI: design tokens, globals and component styles",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -72,7 +72,7 @@ export default function platformUIMixins(
72
72
  hover() {
73
73
  return {
74
74
  "@media (hover: hover) and (pointer: fine)": {
75
- "&:hover": {
75
+ '&:hover:where(:not(:root[data-input="touch"] *))': {
76
76
  "@mixin-content": {},
77
77
  },
78
78
  },