@leonardaustin/ui 0.22.0 → 0.24.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/components/app-shell/AppShell.d.ts.map +1 -1
- package/dist/components/ui/Button.d.ts +13 -4
- package/dist/components/ui/Button.d.ts.map +1 -1
- package/dist/components/ui/Card.d.ts +37 -5
- package/dist/components/ui/Card.d.ts.map +1 -1
- package/dist/components/ui/Combobox.d.ts +24 -1
- package/dist/components/ui/Combobox.d.ts.map +1 -1
- package/dist/components/ui/DetailPanel.d.ts.map +1 -1
- package/dist/components/ui/DropdownMenu.d.ts +21 -10
- package/dist/components/ui/DropdownMenu.d.ts.map +1 -1
- package/dist/components/ui/ListItemLink.d.ts +28 -0
- package/dist/components/ui/ListItemLink.d.ts.map +1 -0
- package/dist/components/ui/OverlineLabel.d.ts +10 -0
- package/dist/components/ui/OverlineLabel.d.ts.map +1 -0
- package/dist/components/ui/ReorderList.d.ts +3 -1
- package/dist/components/ui/ReorderList.d.ts.map +1 -1
- package/dist/components/ui/SearchInput.d.ts +12 -2
- package/dist/components/ui/SearchInput.d.ts.map +1 -1
- package/dist/components/ui/StatusDot.d.ts +3 -1
- package/dist/components/ui/StatusDot.d.ts.map +1 -1
- package/dist/components/ui/Tabs.d.ts +10 -3
- package/dist/components/ui/Tabs.d.ts.map +1 -1
- package/dist/components/ui/calendar/MonthView.d.ts.map +1 -1
- package/dist/config/theme.d.ts.map +1 -1
- package/dist/hooks/useAnchoredPopup.d.ts +10 -1
- package/dist/hooks/useAnchoredPopup.d.ts.map +1 -1
- package/dist/hooks/usePopover.d.ts +24 -6
- package/dist/hooks/usePopover.d.ts.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3453 -3231
- package/dist/lib/anchorPlacement.d.ts +5 -0
- package/dist/lib/anchorPlacement.d.ts.map +1 -1
- package/dist/providers/SettingsProvider.d.ts.map +1 -1
- package/dist/providers/ThemeContext.d.ts +2 -2
- package/dist/providers/ThemeContext.d.ts.map +1 -1
- package/dist/providers/ThemeProvider.d.ts.map +1 -1
- package/dist/providers/accentColors.d.ts +4 -0
- package/dist/providers/accentColors.d.ts.map +1 -0
- package/dist/providers/themeClasses.d.ts +3 -0
- package/dist/providers/themeClasses.d.ts.map +1 -0
- package/dist/styles.css +551 -6
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -9,6 +9,11 @@
|
|
|
9
9
|
@layer utilities{.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-full{min-height:100%}.min-w-5{min-width:calc(var(--spacing) * 5)}.p-1{padding:calc(var(--spacing) * 1)}.pl-1{padding-left:calc(var(--spacing) * 1)}.self-start{align-self:flex-start}.focus-visible\:outline-none:focus-visible{--utility-outline-style:none;outline-style:none}}
|
|
10
10
|
@layer utilities{.focus-visible\:opacity-100:focus-visible{opacity:1}}
|
|
11
11
|
@layer utilities{.max-w-\[576px\]{max-width:576px}.max-w-\[768px\]{max-width:768px}.max-w-\[1024px\]{max-width:1024px}.self-center{align-self:center}}
|
|
12
|
+
@layer utilities {
|
|
13
|
+
.underline-offset-2 {
|
|
14
|
+
text-underline-offset: 2px;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
12
17
|
|
|
13
18
|
|
|
14
19
|
/* ─── Theme: CSS Custom Properties ─── */
|
|
@@ -559,6 +564,250 @@
|
|
|
559
564
|
color-scheme: light;
|
|
560
565
|
}
|
|
561
566
|
|
|
567
|
+
/* ─── Glass Themes ─── */
|
|
568
|
+
|
|
569
|
+
.theme-glass-dark {
|
|
570
|
+
--bg-primary: #11151c;
|
|
571
|
+
--bg-secondary: rgba(23, 32, 55, 0.65);
|
|
572
|
+
--glass-card-bg: rgba(23, 32, 55, 0.48);
|
|
573
|
+
--bg-tertiary: rgba(27, 37, 61, 0.7);
|
|
574
|
+
--bg-hover: rgba(214, 226, 255, 0.12);
|
|
575
|
+
--bg-active: rgba(214, 226, 255, 0.2);
|
|
576
|
+
--bg-overlay: rgba(5, 9, 24, 0.36);
|
|
577
|
+
--bg-sidebar: rgba(18, 26, 48, 0.7);
|
|
578
|
+
--bg-media-badge: rgba(0, 0, 0, 0.2);
|
|
579
|
+
--control-knob: #ffffff;
|
|
580
|
+
--qr-foreground: #000000;
|
|
581
|
+
--qr-background: #ffffff;
|
|
582
|
+
|
|
583
|
+
--text-primary: #f4f6ff;
|
|
584
|
+
--text-secondary: #c5cee7;
|
|
585
|
+
--text-tertiary: #aab8d7;
|
|
586
|
+
--text-disabled: #7886a5;
|
|
587
|
+
--text-inverse: #10162b;
|
|
588
|
+
--text-on-accent: #040406;
|
|
589
|
+
--text-on-avatar: #ffffff;
|
|
590
|
+
--text-on-media: #ffffff;
|
|
591
|
+
--text-on-media-muted: rgba(255, 255, 255, 0.8);
|
|
592
|
+
|
|
593
|
+
--border: rgba(224, 234, 255, 0.2);
|
|
594
|
+
--border-strong: rgba(239, 244, 255, 0.38);
|
|
595
|
+
--border-focus: var(--accent);
|
|
596
|
+
|
|
597
|
+
--accent: #8869f7;
|
|
598
|
+
--accent-hover: var(--glass-accent-hover);
|
|
599
|
+
--glass-accent-text: color-mix(in srgb, var(--accent), white 49%);
|
|
600
|
+
--glass-accent-text-hover: color-mix(in srgb, var(--accent), white 60%);
|
|
601
|
+
--accent-active: var(--glass-accent-active);
|
|
602
|
+
--accent-muted: rgba(164, 139, 255, 0.22);
|
|
603
|
+
--accent-subtle: rgba(164, 139, 255, 0.12);
|
|
604
|
+
|
|
605
|
+
--green: #4ade80;
|
|
606
|
+
--green-muted: rgba(74, 222, 128, 0.15);
|
|
607
|
+
--yellow: #fbbf24;
|
|
608
|
+
--yellow-muted: rgba(251, 191, 36, 0.15);
|
|
609
|
+
--red: #f87171;
|
|
610
|
+
--red-muted: rgba(248, 113, 113, 0.15);
|
|
611
|
+
--blue: #60a5fa;
|
|
612
|
+
--blue-muted: rgba(96, 165, 250, 0.15);
|
|
613
|
+
--purple: #a78bfa;
|
|
614
|
+
--purple-muted: rgba(167, 139, 250, 0.15);
|
|
615
|
+
--teal: #2dd4bf;
|
|
616
|
+
--teal-muted: rgba(45, 212, 191, 0.15);
|
|
617
|
+
--rose: #fb7185;
|
|
618
|
+
--rose-muted: rgba(251, 113, 133, 0.15);
|
|
619
|
+
|
|
620
|
+
--shadow-sm:
|
|
621
|
+
inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 2px 8px rgba(2, 6, 23, 0.2);
|
|
622
|
+
--shadow-md:
|
|
623
|
+
inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 8px 28px rgba(2, 6, 23, 0.28);
|
|
624
|
+
--shadow-lg:
|
|
625
|
+
inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 20px 60px rgba(2, 6, 23, 0.42);
|
|
626
|
+
--shadow-focus: 0 0 0 2px rgba(170, 147, 255, 0.5);
|
|
627
|
+
--shadow-knob: 0 0 1px rgba(0, 0, 0, 0.1), 2px 0 4px rgba(0, 0, 0, 0.35);
|
|
628
|
+
|
|
629
|
+
--transition-fast: 100ms ease;
|
|
630
|
+
--transition-base: 150ms ease;
|
|
631
|
+
--transition-slow: 250ms ease;
|
|
632
|
+
|
|
633
|
+
--sidebar-width: 220px;
|
|
634
|
+
--sidebar-collapsed: 48px;
|
|
635
|
+
--topbar-height: 36px;
|
|
636
|
+
--bottomnav-height: 56px;
|
|
637
|
+
|
|
638
|
+
--ui-radius: 8px;
|
|
639
|
+
--ui-radius-md: 12px;
|
|
640
|
+
--ui-radius-lg: 16px;
|
|
641
|
+
--ui-radius-xl: 24px;
|
|
642
|
+
--ui-border-width: 1px;
|
|
643
|
+
--ui-tracking: 0.05em;
|
|
644
|
+
--ui-line-height: 1.45;
|
|
645
|
+
--ui-density: 0.25rem;
|
|
646
|
+
|
|
647
|
+
--font-ui: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
|
|
648
|
+
--font-heading:
|
|
649
|
+
"Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
|
|
650
|
+
--font-prose:
|
|
651
|
+
"Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
|
|
652
|
+
--font-control:
|
|
653
|
+
"Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
|
|
654
|
+
--font-label:
|
|
655
|
+
"Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
|
|
656
|
+
--font-navigation:
|
|
657
|
+
"Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
|
|
658
|
+
--font-data:
|
|
659
|
+
"Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
|
|
660
|
+
--font-code: "JetBrains Mono", Menlo, Monaco, Consolas, monospace;
|
|
661
|
+
|
|
662
|
+
--glass-blur: 20px;
|
|
663
|
+
--glass-saturate: 145%;
|
|
664
|
+
--glass-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
|
|
665
|
+
--glass-solid-secondary: #18213a;
|
|
666
|
+
--glass-solid-tertiary: #222d49;
|
|
667
|
+
--glass-solid-sidebar: #121a30;
|
|
668
|
+
--glass-solid-hover: #303d5b;
|
|
669
|
+
--glass-solid-active: #3a4868;
|
|
670
|
+
--glass-canvas:
|
|
671
|
+
radial-gradient(
|
|
672
|
+
ellipse at 12% 8%,
|
|
673
|
+
color-mix(in oklab, var(--accent) 20%, transparent),
|
|
674
|
+
transparent 60%
|
|
675
|
+
),
|
|
676
|
+
radial-gradient(
|
|
677
|
+
ellipse at 88% 84%,
|
|
678
|
+
color-mix(in oklab, var(--accent) 11%, transparent),
|
|
679
|
+
transparent 55%
|
|
680
|
+
);
|
|
681
|
+
--bg-content: var(--bg-secondary);
|
|
682
|
+
--bg-table: var(--bg-secondary);
|
|
683
|
+
--bg-table-header: var(--glass-solid-secondary);
|
|
684
|
+
--text-table-header: var(--text-secondary);
|
|
685
|
+
--text-table-header-hover: var(--text-primary);
|
|
686
|
+
|
|
687
|
+
color-scheme: dark;
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
.theme-glass-light {
|
|
691
|
+
--bg-primary: #f1f3f6;
|
|
692
|
+
--bg-secondary: rgba(248, 250, 255, 0.7);
|
|
693
|
+
--glass-card-bg: rgba(248, 250, 255, 0.52);
|
|
694
|
+
--bg-tertiary: rgba(250, 252, 255, 0.7);
|
|
695
|
+
--bg-hover: rgba(53, 68, 112, 0.09);
|
|
696
|
+
--bg-active: rgba(53, 68, 112, 0.16);
|
|
697
|
+
--bg-overlay: rgba(41, 49, 82, 0.2);
|
|
698
|
+
--bg-sidebar: rgba(241, 246, 255, 0.68);
|
|
699
|
+
--bg-media-badge: rgba(0, 0, 0, 0.2);
|
|
700
|
+
--control-knob: #ffffff;
|
|
701
|
+
--qr-foreground: #000000;
|
|
702
|
+
--qr-background: #ffffff;
|
|
703
|
+
|
|
704
|
+
--text-primary: #18223b;
|
|
705
|
+
--text-secondary: #394962;
|
|
706
|
+
--text-tertiary: #4c5d77;
|
|
707
|
+
--text-disabled: #7b88a0;
|
|
708
|
+
--text-inverse: #ffffff;
|
|
709
|
+
--text-on-accent: #040406;
|
|
710
|
+
--text-on-avatar: #ffffff;
|
|
711
|
+
--text-on-media: #ffffff;
|
|
712
|
+
--text-on-media-muted: rgba(255, 255, 255, 0.8);
|
|
713
|
+
|
|
714
|
+
--border: rgba(24, 34, 59, 0.12);
|
|
715
|
+
--border-strong: rgba(24, 34, 59, 0.2);
|
|
716
|
+
--border-focus: var(--accent);
|
|
717
|
+
|
|
718
|
+
--accent: #7c5cfc;
|
|
719
|
+
--accent-hover: var(--glass-accent-hover);
|
|
720
|
+
--glass-accent-text: color-mix(in srgb, var(--accent), black 48%);
|
|
721
|
+
--glass-accent-text-hover: color-mix(in srgb, var(--accent), black 58%);
|
|
722
|
+
--accent-active: var(--glass-accent-active);
|
|
723
|
+
--accent-muted: rgba(104, 68, 217, 0.14);
|
|
724
|
+
--accent-subtle: rgba(104, 68, 217, 0.07);
|
|
725
|
+
|
|
726
|
+
--green: #167d48;
|
|
727
|
+
--green-muted: rgba(22, 125, 72, 0.12);
|
|
728
|
+
--yellow: #8b6300;
|
|
729
|
+
--yellow-muted: rgba(139, 99, 0, 0.12);
|
|
730
|
+
--red: #c32d49;
|
|
731
|
+
--red-muted: rgba(195, 45, 73, 0.12);
|
|
732
|
+
--blue: #245cbd;
|
|
733
|
+
--blue-muted: rgba(36, 92, 189, 0.12);
|
|
734
|
+
--purple: #7443c3;
|
|
735
|
+
--purple-muted: rgba(116, 67, 195, 0.12);
|
|
736
|
+
--teal: #087d79;
|
|
737
|
+
--teal-muted: rgba(8, 125, 121, 0.12);
|
|
738
|
+
--rose: #bf305f;
|
|
739
|
+
--rose-muted: rgba(191, 48, 95, 0.12);
|
|
740
|
+
|
|
741
|
+
--shadow-sm:
|
|
742
|
+
inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 8px rgba(51, 65, 112, 0.08);
|
|
743
|
+
--shadow-md:
|
|
744
|
+
inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 8px 28px rgba(51, 65, 112, 0.13);
|
|
745
|
+
--shadow-lg:
|
|
746
|
+
inset 0 1px 0 rgba(255, 255, 255, 0.98), 0 20px 60px rgba(51, 65, 112, 0.22);
|
|
747
|
+
--shadow-focus: 0 0 0 2px rgba(104, 68, 217, 0.3);
|
|
748
|
+
--shadow-knob: 0 0 1px rgba(0, 0, 0, 0.1), 2px 0 4px rgba(0, 0, 0, 0.35);
|
|
749
|
+
|
|
750
|
+
--transition-fast: 100ms ease;
|
|
751
|
+
--transition-base: 150ms ease;
|
|
752
|
+
--transition-slow: 250ms ease;
|
|
753
|
+
|
|
754
|
+
--sidebar-width: 220px;
|
|
755
|
+
--sidebar-collapsed: 48px;
|
|
756
|
+
--topbar-height: 36px;
|
|
757
|
+
--bottomnav-height: 56px;
|
|
758
|
+
|
|
759
|
+
--ui-radius: 8px;
|
|
760
|
+
--ui-radius-md: 12px;
|
|
761
|
+
--ui-radius-lg: 16px;
|
|
762
|
+
--ui-radius-xl: 24px;
|
|
763
|
+
--ui-border-width: 1px;
|
|
764
|
+
--ui-tracking: 0.05em;
|
|
765
|
+
--ui-line-height: 1.45;
|
|
766
|
+
--ui-density: 0.25rem;
|
|
767
|
+
|
|
768
|
+
--font-ui: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
|
|
769
|
+
--font-heading:
|
|
770
|
+
"Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
|
|
771
|
+
--font-prose:
|
|
772
|
+
"Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
|
|
773
|
+
--font-control:
|
|
774
|
+
"Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
|
|
775
|
+
--font-label:
|
|
776
|
+
"Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
|
|
777
|
+
--font-navigation:
|
|
778
|
+
"Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
|
|
779
|
+
--font-data:
|
|
780
|
+
"Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
|
|
781
|
+
--font-code: "JetBrains Mono", Menlo, Monaco, Consolas, monospace;
|
|
782
|
+
|
|
783
|
+
--glass-blur: 20px;
|
|
784
|
+
--glass-saturate: 145%;
|
|
785
|
+
--glass-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
|
|
786
|
+
--glass-solid-secondary: #f1f4fc;
|
|
787
|
+
--glass-solid-tertiary: #ffffff;
|
|
788
|
+
--glass-solid-sidebar: #e9eef9;
|
|
789
|
+
--glass-solid-hover: #dfe5f3;
|
|
790
|
+
--glass-solid-active: #d0d9ed;
|
|
791
|
+
--glass-canvas:
|
|
792
|
+
radial-gradient(
|
|
793
|
+
ellipse at 12% 8%,
|
|
794
|
+
color-mix(in oklab, var(--accent) 12%, transparent),
|
|
795
|
+
transparent 60%
|
|
796
|
+
),
|
|
797
|
+
radial-gradient(
|
|
798
|
+
ellipse at 88% 84%,
|
|
799
|
+
color-mix(in oklab, var(--accent) 7%, transparent),
|
|
800
|
+
transparent 55%
|
|
801
|
+
);
|
|
802
|
+
--bg-content: var(--bg-secondary);
|
|
803
|
+
--bg-table: var(--bg-secondary);
|
|
804
|
+
--bg-table-header: var(--glass-solid-secondary);
|
|
805
|
+
--text-table-header: var(--text-secondary);
|
|
806
|
+
--text-table-header-hover: var(--text-primary);
|
|
807
|
+
|
|
808
|
+
color-scheme: light;
|
|
809
|
+
}
|
|
810
|
+
|
|
562
811
|
@keyframes fade-in {
|
|
563
812
|
from {
|
|
564
813
|
opacity: 0;
|
|
@@ -631,6 +880,36 @@
|
|
|
631
880
|
}
|
|
632
881
|
}
|
|
633
882
|
|
|
883
|
+
@keyframes status-dot-ring {
|
|
884
|
+
from {
|
|
885
|
+
opacity: 0.6;
|
|
886
|
+
transform: scale(1);
|
|
887
|
+
}
|
|
888
|
+
to {
|
|
889
|
+
opacity: 0;
|
|
890
|
+
transform: scale(2.25);
|
|
891
|
+
}
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
.status-dot-pulse::after {
|
|
895
|
+
content: "";
|
|
896
|
+
position: absolute;
|
|
897
|
+
inset: 0;
|
|
898
|
+
border: 1px solid currentColor;
|
|
899
|
+
border-radius: inherit;
|
|
900
|
+
animation: status-dot-ring 1.6s ease-out infinite;
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
@layer components {
|
|
904
|
+
.search-input-invalid {
|
|
905
|
+
padding-right: 3rem;
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
.search-input-warning {
|
|
910
|
+
right: 1.75rem;
|
|
911
|
+
}
|
|
912
|
+
|
|
634
913
|
/* ─── Base Styles ─── */
|
|
635
914
|
|
|
636
915
|
* {
|
|
@@ -741,6 +1020,8 @@ pre.shiki span {
|
|
|
741
1020
|
.theme-light-inverted pre.shiki span,
|
|
742
1021
|
.theme-cyber-brutal-light pre.shiki,
|
|
743
1022
|
.theme-cyber-brutal-light pre.shiki span,
|
|
1023
|
+
.theme-glass-light pre.shiki,
|
|
1024
|
+
.theme-glass-light pre.shiki span,
|
|
744
1025
|
.theme-hashi pre.shiki,
|
|
745
1026
|
.theme-hashi pre.shiki span {
|
|
746
1027
|
color: var(--shiki-light, var(--text-primary));
|
|
@@ -773,8 +1054,214 @@ pre.shiki span {
|
|
|
773
1054
|
}
|
|
774
1055
|
}
|
|
775
1056
|
|
|
1057
|
+
/* ─── Glass canvas and surfaces ─── */
|
|
1058
|
+
|
|
1059
|
+
.theme-glass {
|
|
1060
|
+
/* Lighten interactive fills so one dark label stays readable through the transition. */
|
|
1061
|
+
--glass-accent-hover: color-mix(in srgb, var(--accent), white 16%);
|
|
1062
|
+
--glass-accent-active: color-mix(in srgb, var(--accent), white 7%);
|
|
1063
|
+
--bg-pinned: var(--glass-solid-secondary);
|
|
1064
|
+
--bg-tooltip: var(--glass-solid-tertiary);
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
@supports not (color: color-mix(in srgb, red, white)) {
|
|
1068
|
+
.theme-glass {
|
|
1069
|
+
--glass-accent-text: var(--text-secondary);
|
|
1070
|
+
--glass-accent-text-hover: var(--text-primary);
|
|
1071
|
+
--glass-accent-hover: var(--accent);
|
|
1072
|
+
--glass-accent-active: var(--accent);
|
|
1073
|
+
}
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
/* Accent lettering needs contrast on the canvas, panels and selected rows. */
|
|
1077
|
+
.theme-glass .ui-prose a {
|
|
1078
|
+
color: var(--glass-accent-text);
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
.theme-glass .ui-prose a:hover {
|
|
1082
|
+
color: var(--glass-accent-text-hover);
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
@layer utilities {
|
|
1086
|
+
:where(.theme-glass) .text-accent {
|
|
1087
|
+
color: var(--glass-accent-text);
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
@media (hover: hover) {
|
|
1091
|
+
.theme-glass .hover\:text-accent-hover:hover {
|
|
1092
|
+
color: var(--glass-accent-text-hover);
|
|
1093
|
+
}
|
|
1094
|
+
}
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
/* Keep the canvas fixed as individual app panes scroll. */
|
|
1098
|
+
.theme-glass body {
|
|
1099
|
+
background-image: var(--glass-canvas);
|
|
1100
|
+
background-attachment: fixed;
|
|
1101
|
+
background-size: cover;
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
@layer components {
|
|
1105
|
+
.bg-bg-card {
|
|
1106
|
+
background-color: var(--bg-secondary);
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
.theme-glass .bg-bg-card {
|
|
1110
|
+
background-color: var(--glass-card-bg);
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
/* Only establish a positioning context when the component has none of its
|
|
1114
|
+
own. Fixed/absolute utility classes and consumers' positioning still win. */
|
|
1115
|
+
:where(.theme-glass) :where(.ui-glass),
|
|
1116
|
+
:where(.theme-glass)
|
|
1117
|
+
:where(.ui-glass:not(.ui-glass-popover, [aria-modal="true"]))
|
|
1118
|
+
> * {
|
|
1119
|
+
position: relative;
|
|
1120
|
+
}
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1123
|
+
/* Clear only the shell's default fill. cn removes that default utility when a
|
|
1124
|
+
caller supplies another background; hover/focus utilities also still win. */
|
|
1125
|
+
@layer utilities {
|
|
1126
|
+
.theme-glass :where(.ui-glass-shell.bg-bg-primary) {
|
|
1127
|
+
background-color: transparent;
|
|
1128
|
+
}
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
/* A separate decorative layer avoids making fixed menus in a Card, Dialog or
|
|
1132
|
+
top bar relative to that surface (backdrop-filter on the parent would).
|
|
1133
|
+
The parent's normal background utilities retain precedence, including hover
|
|
1134
|
+
and caller overrides. Only an explicit --ui-glass-bg adds a pane tint. */
|
|
1135
|
+
.theme-glass .ui-glass::before {
|
|
1136
|
+
content: "";
|
|
1137
|
+
position: absolute;
|
|
1138
|
+
inset: 0;
|
|
1139
|
+
pointer-events: none;
|
|
1140
|
+
border-radius: inherit;
|
|
1141
|
+
background-color: var(--ui-glass-bg, transparent);
|
|
1142
|
+
-webkit-backdrop-filter: var(--glass-filter);
|
|
1143
|
+
backdrop-filter: var(--glass-filter);
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
/* Muting the button itself creates a backdrop root that blocks its pane blur.
|
|
1147
|
+
Keep the root opaque and dim only its content in glass themes. */
|
|
1148
|
+
.theme-glass button.ui-glass:disabled {
|
|
1149
|
+
opacity: 1;
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
.theme-glass button.ui-glass:disabled > * {
|
|
1153
|
+
opacity: 0.4;
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1156
|
+
/* Panels contain their own content and stacking order. Cards and chrome paint
|
|
1157
|
+
their pane before their positioned children, leaving inline menus free to
|
|
1158
|
+
overlap siblings without lifting the surface itself. */
|
|
1159
|
+
.theme-glass .ui-glass:is(.ui-glass-popover, [aria-modal="true"]) {
|
|
1160
|
+
isolation: isolate;
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
.theme-glass .ui-glass:is(.ui-glass-popover, [aria-modal="true"])::before {
|
|
1164
|
+
z-index: -1;
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
.theme-glass .ui-glass.shadow-lg {
|
|
1168
|
+
--utility-shadow: var(--shadow-lg);
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
.theme-glass .ui-glass.shadow-md {
|
|
1172
|
+
--utility-shadow: var(--shadow-md);
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
/* Opacity below one creates a backdrop root and cuts the pseudo-element off
|
|
1176
|
+
from the canvas. Glass entrances move without fading the whole surface. */
|
|
1177
|
+
.theme-glass .ui-glass.animate-fade-in {
|
|
1178
|
+
animation-name: none;
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
.theme-glass .ui-glass.animate-scale-in {
|
|
1182
|
+
animation-name: ui-scale-without-fade;
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
.theme-glass .ui-glass.animate-slide-down {
|
|
1186
|
+
animation-name: ui-slide-without-fade;
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1189
|
+
@keyframes ui-scale-without-fade {
|
|
1190
|
+
from {
|
|
1191
|
+
transform: scale(0.96);
|
|
1192
|
+
}
|
|
1193
|
+
to {
|
|
1194
|
+
transform: scale(1);
|
|
1195
|
+
}
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
@keyframes ui-slide-without-fade {
|
|
1199
|
+
from {
|
|
1200
|
+
transform: translateY(-6px);
|
|
1201
|
+
}
|
|
1202
|
+
to {
|
|
1203
|
+
transform: translateY(0);
|
|
1204
|
+
}
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
/* Scroll the theme settings inside the glass panel. This keeps its backdrop
|
|
1208
|
+
in place and lets the inline fixed font pickers extend past the panel. */
|
|
1209
|
+
.theme-glass .ui-theme-menu {
|
|
1210
|
+
overflow: visible;
|
|
1211
|
+
padding: 0;
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1214
|
+
.theme-glass .ui-theme-menu > div {
|
|
1215
|
+
overflow-y: auto;
|
|
1216
|
+
border-radius: inherit;
|
|
1217
|
+
padding: calc(var(--spacing) * 3);
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
/* Inline field menus clear BottomNav (30) while staying below the mobile
|
|
1221
|
+
drawer backdrop (40) and modal overlays (50). */
|
|
1222
|
+
.theme-glass
|
|
1223
|
+
.ui-glass:not(.ui-glass-popover, [aria-modal="true"])
|
|
1224
|
+
.ui-glass-popover.fixed {
|
|
1225
|
+
z-index: 31;
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
/* Fall back to opaque fills when neither backdrop-filter spelling is
|
|
1229
|
+
supported. Reduced transparency uses the same opaque tokens below. */
|
|
1230
|
+
@supports not (
|
|
1231
|
+
(backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
|
|
1232
|
+
) {
|
|
1233
|
+
.theme-glass {
|
|
1234
|
+
--glass-filter: none;
|
|
1235
|
+
--glass-canvas: none;
|
|
1236
|
+
--glass-card-bg: var(--glass-solid-secondary);
|
|
1237
|
+
--bg-secondary: var(--glass-solid-secondary);
|
|
1238
|
+
--bg-tertiary: var(--glass-solid-tertiary);
|
|
1239
|
+
--bg-sidebar: var(--glass-solid-sidebar);
|
|
1240
|
+
--bg-hover: var(--glass-solid-hover);
|
|
1241
|
+
--bg-active: var(--glass-solid-active);
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1244
|
+
|
|
1245
|
+
@media (prefers-reduced-transparency: reduce) {
|
|
1246
|
+
.theme-glass {
|
|
1247
|
+
--glass-filter: none;
|
|
1248
|
+
--glass-canvas: none;
|
|
1249
|
+
--glass-card-bg: var(--glass-solid-secondary);
|
|
1250
|
+
--bg-secondary: var(--glass-solid-secondary);
|
|
1251
|
+
--bg-tertiary: var(--glass-solid-tertiary);
|
|
1252
|
+
--bg-sidebar: var(--glass-solid-sidebar);
|
|
1253
|
+
--bg-hover: var(--glass-solid-hover);
|
|
1254
|
+
--bg-active: var(--glass-solid-active);
|
|
1255
|
+
}
|
|
1256
|
+
}
|
|
1257
|
+
|
|
776
1258
|
/* Keep role utilities in the same layer as hover/focus and consumer utilities. */
|
|
777
1259
|
@layer utilities {
|
|
1260
|
+
/* Pinned panels and headers must hide content scrolling beneath them. */
|
|
1261
|
+
.bg-bg-pinned {
|
|
1262
|
+
background-color: var(--bg-pinned, var(--bg-secondary));
|
|
1263
|
+
}
|
|
1264
|
+
|
|
778
1265
|
/* Content roles fall back to the original backgrounds in existing themes. */
|
|
779
1266
|
.bg-bg-content {
|
|
780
1267
|
background-color: var(--bg-content, var(--bg-primary));
|
|
@@ -1046,6 +1533,11 @@ pre.shiki span {
|
|
|
1046
1533
|
/* ─── Reduced Motion ─── */
|
|
1047
1534
|
|
|
1048
1535
|
@media (prefers-reduced-motion: reduce) {
|
|
1536
|
+
.status-dot-pulse::after,
|
|
1537
|
+
.animate-pulse-subtle {
|
|
1538
|
+
animation: none !important;
|
|
1539
|
+
}
|
|
1540
|
+
|
|
1049
1541
|
*,
|
|
1050
1542
|
*::before,
|
|
1051
1543
|
*::after {
|
|
@@ -1055,6 +1547,11 @@ pre.shiki span {
|
|
|
1055
1547
|
}
|
|
1056
1548
|
}
|
|
1057
1549
|
|
|
1550
|
+
.reduced-motion .status-dot-pulse::after,
|
|
1551
|
+
.reduced-motion .animate-pulse-subtle {
|
|
1552
|
+
animation: none !important;
|
|
1553
|
+
}
|
|
1554
|
+
|
|
1058
1555
|
.reduced-motion *,
|
|
1059
1556
|
.reduced-motion *::before,
|
|
1060
1557
|
.reduced-motion *::after {
|
|
@@ -1723,6 +2220,26 @@ textarea:disabled {
|
|
|
1723
2220
|
padding: 6px;
|
|
1724
2221
|
}
|
|
1725
2222
|
|
|
2223
|
+
.ui-cal-popover-scroll {
|
|
2224
|
+
display: contents;
|
|
2225
|
+
}
|
|
2226
|
+
|
|
2227
|
+
/* Keep the pane and its blur stationary. Its max-height bounds the inner list. */
|
|
2228
|
+
.theme-glass .ui-cal-popover {
|
|
2229
|
+
overflow: visible;
|
|
2230
|
+
padding: 0;
|
|
2231
|
+
}
|
|
2232
|
+
|
|
2233
|
+
.theme-glass .ui-cal-popover-scroll {
|
|
2234
|
+
display: flex;
|
|
2235
|
+
flex-direction: column;
|
|
2236
|
+
gap: inherit;
|
|
2237
|
+
min-height: 0;
|
|
2238
|
+
overflow-y: auto;
|
|
2239
|
+
border-radius: inherit;
|
|
2240
|
+
padding: 6px;
|
|
2241
|
+
}
|
|
2242
|
+
|
|
1726
2243
|
.ui-cal-loading {
|
|
1727
2244
|
position: absolute;
|
|
1728
2245
|
inset: 0;
|
|
@@ -1757,7 +2274,7 @@ textarea:disabled {
|
|
|
1757
2274
|
position: sticky;
|
|
1758
2275
|
top: 0;
|
|
1759
2276
|
z-index: 20;
|
|
1760
|
-
background: var(--bg-content, var(--bg-primary));
|
|
2277
|
+
background: var(--bg-pinned, var(--bg-content, var(--bg-primary)));
|
|
1761
2278
|
}
|
|
1762
2279
|
|
|
1763
2280
|
.ui-cal-corner,
|
|
@@ -1771,14 +2288,14 @@ textarea:disabled {
|
|
|
1771
2288
|
left: 0;
|
|
1772
2289
|
z-index: 21;
|
|
1773
2290
|
align-self: stretch;
|
|
1774
|
-
background: var(--bg-content, var(--bg-primary));
|
|
2291
|
+
background: var(--bg-pinned, var(--bg-content, var(--bg-primary)));
|
|
1775
2292
|
}
|
|
1776
2293
|
|
|
1777
2294
|
.ui-cal-gutter {
|
|
1778
2295
|
position: sticky;
|
|
1779
2296
|
left: 0;
|
|
1780
2297
|
z-index: 10;
|
|
1781
|
-
background: var(--bg-content, var(--bg-primary));
|
|
2298
|
+
background: var(--bg-pinned, var(--bg-content, var(--bg-primary)));
|
|
1782
2299
|
}
|
|
1783
2300
|
|
|
1784
2301
|
.ui-cal-subhead {
|
|
@@ -1791,7 +2308,7 @@ textarea:disabled {
|
|
|
1791
2308
|
z-index: 5;
|
|
1792
2309
|
pointer-events: none;
|
|
1793
2310
|
border-radius: var(--ui-radius-md);
|
|
1794
|
-
background: var(--bg-tertiary);
|
|
2311
|
+
background: var(--bg-tooltip, var(--bg-tertiary));
|
|
1795
2312
|
color: var(--text-secondary);
|
|
1796
2313
|
font-size: var(--text-2xs);
|
|
1797
2314
|
line-height: 1.4;
|
|
@@ -1818,7 +2335,7 @@ textarea:disabled {
|
|
|
1818
2335
|
width: var(--cal-row-head);
|
|
1819
2336
|
min-width: 0;
|
|
1820
2337
|
border-right: var(--ui-border-width) solid var(--border);
|
|
1821
|
-
background: var(--bg-content, var(--bg-primary));
|
|
2338
|
+
background: var(--bg-pinned, var(--bg-content, var(--bg-primary)));
|
|
1822
2339
|
}
|
|
1823
2340
|
|
|
1824
2341
|
.ui-cal-corner-x {
|
|
@@ -1826,6 +2343,7 @@ textarea:disabled {
|
|
|
1826
2343
|
}
|
|
1827
2344
|
|
|
1828
2345
|
.ui-cal-group {
|
|
2346
|
+
background-color: var(--bg-pinned, transparent);
|
|
1829
2347
|
position: sticky;
|
|
1830
2348
|
left: 0;
|
|
1831
2349
|
}
|
|
@@ -1834,7 +2352,7 @@ textarea:disabled {
|
|
|
1834
2352
|
position: sticky;
|
|
1835
2353
|
top: 0;
|
|
1836
2354
|
z-index: 2;
|
|
1837
|
-
background: var(--bg-secondary);
|
|
2355
|
+
background: var(--bg-pinned, var(--bg-secondary));
|
|
1838
2356
|
}
|
|
1839
2357
|
|
|
1840
2358
|
.ui-cal-agenda-row[data-status="cancelled"] .ui-cal-title {
|
|
@@ -2999,3 +3517,30 @@ select:disabled + .ui-select-placeholder {
|
|
|
2999
3517
|
animation: none;
|
|
3000
3518
|
}
|
|
3001
3519
|
}
|
|
3520
|
+
|
|
3521
|
+
/* Text toggles use an accent tint and ring; icon toggles use a neutral
|
|
3522
|
+
surface so caller-supplied icon colors remain intact. */
|
|
3523
|
+
button.ui-sized-control:is(
|
|
3524
|
+
[data-variant="secondary"],
|
|
3525
|
+
[data-variant="ghost"]
|
|
3526
|
+
)[aria-pressed="true"] {
|
|
3527
|
+
background-color: var(--accent-muted);
|
|
3528
|
+
border-color: var(--accent);
|
|
3529
|
+
box-shadow: inset 0 0 0 1px var(--accent);
|
|
3530
|
+
}
|
|
3531
|
+
button.ui-sized-control[data-variant="icon"][aria-pressed="true"] {
|
|
3532
|
+
background-color: var(--bg-hover);
|
|
3533
|
+
}
|
|
3534
|
+
button[data-pressed="true"]:is(
|
|
3535
|
+
[data-variant="primary"],
|
|
3536
|
+
[data-variant="danger"]
|
|
3537
|
+
) {
|
|
3538
|
+
box-shadow: inset 0 0 0 2px currentColor;
|
|
3539
|
+
}
|
|
3540
|
+
button[data-pressed="true"][data-variant="link"] {
|
|
3541
|
+
text-decoration: underline;
|
|
3542
|
+
text-underline-offset: 2px;
|
|
3543
|
+
}
|
|
3544
|
+
button[data-variant="link"]:disabled:hover {
|
|
3545
|
+
text-decoration: none;
|
|
3546
|
+
}
|