@tangible/ui 0.2.2 → 0.2.3

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.
@@ -593,11 +593,14 @@
593
593
  --tui-generative-pink-strong: oklch(0.82 0.1 350);
594
594
  /* UA chrome: native controls, scrollbars render in dark mode */
595
595
  color-scheme: dark;
596
- /* Backgrounds */
597
- --tui-color-bg: #111928;
598
- --tui-color-bg-surface: #202836;
596
+ /* Backgrounds — surface is the darkest (page canvas); bg (component faces)
597
+ and elevated sit a step above it, mirroring light (white faces on an
598
+ off-white surface). Previously bg/surface were inverted, so faces read
599
+ darker than the page behind them. */
600
+ --tui-color-bg: #202836;
601
+ --tui-color-bg-surface: #111928;
599
602
  --tui-color-bg-muted: #374151;
600
- --tui-color-bg-elevated: #111928;
603
+ --tui-color-bg-elevated: #202836;
601
604
  --tui-color-bg-inverted: #F9FAFB;
602
605
  --tui-color-bg-overlay: rgba(0, 0, 0, 0.7);
603
606
  /* Text */
@@ -627,23 +630,42 @@
627
630
  --tui-theme-secondary-subtlest: #202836;
628
631
  --tui-theme-secondary-subtle: #374151;
629
632
  --tui-theme-secondary-soft: #4B5563;
633
+ --tui-theme-secondary-base: #9CA3AF;
630
634
  --tui-theme-secondary-strong: #D1D5DB;
631
635
  --tui-theme-secondary-stronger: #E5E7EB;
632
636
  --tui-theme-secondary-strongest: #F3F4F6;
637
+ /* Success */
638
+ --tui-theme-success-subtlest: #003008;
639
+ --tui-theme-success-subtle: #00450c;
640
+ --tui-theme-success-soft: #008a20;
633
641
  --tui-theme-success-base: #00a32a;
634
642
  --tui-theme-success-strong: #00ba37;
635
643
  --tui-theme-success-stronger: #1ed14b;
636
644
  --tui-theme-success-strongest: #68de7c;
637
- --tui-theme-success-subtlest: #003008;
645
+ /* Info */
646
+ --tui-theme-info-subtlest: #090949;
647
+ --tui-theme-info-subtle: #101375;
648
+ --tui-theme-info-soft: #2942d1;
649
+ --tui-theme-info-base: #3858e9;
650
+ --tui-theme-info-strong: #5373f2;
651
+ --tui-theme-info-stronger: #7b93ff;
652
+ --tui-theme-info-strongest: #a0b5fe;
653
+ /* Warning */
654
+ --tui-theme-warning-subtlest: #362400;
655
+ --tui-theme-warning-subtle: #4a3200;
656
+ --tui-theme-warning-soft: #996800;
638
657
  --tui-theme-warning-base: #bd8600;
639
658
  --tui-theme-warning-strong: #dba617;
640
659
  --tui-theme-warning-stronger: #f0c33c;
641
- --tui-theme-warning-subtlest: #362400;
660
+ --tui-theme-warning-strongest: #f2d675;
661
+ /* Danger */
662
+ --tui-theme-danger-subtlest: #451313;
663
+ --tui-theme-danger-subtle: #691c1c;
664
+ --tui-theme-danger-soft: #d63638;
642
665
  --tui-theme-danger-base: #e65054;
643
666
  --tui-theme-danger-strong: #f86368;
644
667
  --tui-theme-danger-stronger: #ff8085;
645
668
  --tui-theme-danger-strongest: #ffabaf;
646
- --tui-theme-danger-subtlest: #451313;
647
669
  /* Focus ring - brighter for dark backgrounds */
648
670
  --tui-focus-ring-color: #3858e9;
649
671
  /* Shadows - more pronounced in dark mode */
@@ -684,11 +706,14 @@
684
706
  --tui-generative-pink-strong: oklch(0.82 0.1 350);
685
707
  /* UA chrome: native controls, scrollbars render in dark mode */
686
708
  color-scheme: dark;
687
- /* Backgrounds */
688
- --tui-color-bg: #111928;
689
- --tui-color-bg-surface: #202836;
709
+ /* Backgrounds — surface is the darkest (page canvas); bg (component faces)
710
+ and elevated sit a step above it, mirroring light (white faces on an
711
+ off-white surface). Previously bg/surface were inverted, so faces read
712
+ darker than the page behind them. */
713
+ --tui-color-bg: #202836;
714
+ --tui-color-bg-surface: #111928;
690
715
  --tui-color-bg-muted: #374151;
691
- --tui-color-bg-elevated: #111928;
716
+ --tui-color-bg-elevated: #202836;
692
717
  --tui-color-bg-inverted: #F9FAFB;
693
718
  --tui-color-bg-overlay: rgba(0, 0, 0, 0.7);
694
719
  /* Text */
@@ -718,23 +743,42 @@
718
743
  --tui-theme-secondary-subtlest: #202836;
719
744
  --tui-theme-secondary-subtle: #374151;
720
745
  --tui-theme-secondary-soft: #4B5563;
746
+ --tui-theme-secondary-base: #9CA3AF;
721
747
  --tui-theme-secondary-strong: #D1D5DB;
722
748
  --tui-theme-secondary-stronger: #E5E7EB;
723
749
  --tui-theme-secondary-strongest: #F3F4F6;
750
+ /* Success */
751
+ --tui-theme-success-subtlest: #003008;
752
+ --tui-theme-success-subtle: #00450c;
753
+ --tui-theme-success-soft: #008a20;
724
754
  --tui-theme-success-base: #00a32a;
725
755
  --tui-theme-success-strong: #00ba37;
726
756
  --tui-theme-success-stronger: #1ed14b;
727
757
  --tui-theme-success-strongest: #68de7c;
728
- --tui-theme-success-subtlest: #003008;
758
+ /* Info */
759
+ --tui-theme-info-subtlest: #090949;
760
+ --tui-theme-info-subtle: #101375;
761
+ --tui-theme-info-soft: #2942d1;
762
+ --tui-theme-info-base: #3858e9;
763
+ --tui-theme-info-strong: #5373f2;
764
+ --tui-theme-info-stronger: #7b93ff;
765
+ --tui-theme-info-strongest: #a0b5fe;
766
+ /* Warning */
767
+ --tui-theme-warning-subtlest: #362400;
768
+ --tui-theme-warning-subtle: #4a3200;
769
+ --tui-theme-warning-soft: #996800;
729
770
  --tui-theme-warning-base: #bd8600;
730
771
  --tui-theme-warning-strong: #dba617;
731
772
  --tui-theme-warning-stronger: #f0c33c;
732
- --tui-theme-warning-subtlest: #362400;
773
+ --tui-theme-warning-strongest: #f2d675;
774
+ /* Danger */
775
+ --tui-theme-danger-subtlest: #451313;
776
+ --tui-theme-danger-subtle: #691c1c;
777
+ --tui-theme-danger-soft: #d63638;
733
778
  --tui-theme-danger-base: #e65054;
734
779
  --tui-theme-danger-strong: #f86368;
735
780
  --tui-theme-danger-stronger: #ff8085;
736
781
  --tui-theme-danger-strongest: #ffabaf;
737
- --tui-theme-danger-subtlest: #451313;
738
782
  /* Focus ring - brighter for dark backgrounds */
739
783
  --tui-focus-ring-color: #3858e9;
740
784
  /* Shadows - more pronounced in dark mode */
@@ -1739,6 +1783,12 @@
1739
1783
  :where(.tui-interface) .tui-card.has-interaction:active, :where(.tui-interface) .tui-card.has-interaction.active {
1740
1784
  --_border: var(--tui-card-border-active, var(--tui-theme-primary-soft));
1741
1785
  }
1786
+ :where(.tui-interface) .tui-card.has-interaction.is-style-elevated {
1787
+ transition-property: border-color, color, background-color, box-shadow;
1788
+ }
1789
+ :where(.tui-interface) .tui-card.has-interaction.is-style-elevated:hover {
1790
+ box-shadow: var(--_shadow-interact);
1791
+ }
1742
1792
  :where(.tui-interface) .tui-card .tui-stretched-link:focus {
1743
1793
  outline: none;
1744
1794
  }
@@ -1753,10 +1803,6 @@
1753
1803
  }
1754
1804
  :where(.tui-interface) .tui-card.is-style-elevated {
1755
1805
  box-shadow: var(--_shadow);
1756
- transition-property: border-color, color, background-color, box-shadow;
1757
- }
1758
- :where(.tui-interface) .tui-card.is-style-elevated:hover {
1759
- box-shadow: var(--_shadow-interact);
1760
1806
  }
1761
1807
  :where(.tui-interface) .tui-card.is-style-outline {
1762
1808
  --_bg: transparent;
@@ -593,11 +593,14 @@
593
593
  --tui-generative-pink-strong: oklch(0.82 0.1 350);
594
594
  /* UA chrome: native controls, scrollbars render in dark mode */
595
595
  color-scheme: dark;
596
- /* Backgrounds */
597
- --tui-color-bg: #111928;
598
- --tui-color-bg-surface: #202836;
596
+ /* Backgrounds — surface is the darkest (page canvas); bg (component faces)
597
+ and elevated sit a step above it, mirroring light (white faces on an
598
+ off-white surface). Previously bg/surface were inverted, so faces read
599
+ darker than the page behind them. */
600
+ --tui-color-bg: #202836;
601
+ --tui-color-bg-surface: #111928;
599
602
  --tui-color-bg-muted: #374151;
600
- --tui-color-bg-elevated: #111928;
603
+ --tui-color-bg-elevated: #202836;
601
604
  --tui-color-bg-inverted: #F9FAFB;
602
605
  --tui-color-bg-overlay: rgba(0, 0, 0, 0.7);
603
606
  /* Text */
@@ -627,23 +630,42 @@
627
630
  --tui-theme-secondary-subtlest: #202836;
628
631
  --tui-theme-secondary-subtle: #374151;
629
632
  --tui-theme-secondary-soft: #4B5563;
633
+ --tui-theme-secondary-base: #9CA3AF;
630
634
  --tui-theme-secondary-strong: #D1D5DB;
631
635
  --tui-theme-secondary-stronger: #E5E7EB;
632
636
  --tui-theme-secondary-strongest: #F3F4F6;
637
+ /* Success */
638
+ --tui-theme-success-subtlest: #003008;
639
+ --tui-theme-success-subtle: #00450c;
640
+ --tui-theme-success-soft: #008a20;
633
641
  --tui-theme-success-base: #00a32a;
634
642
  --tui-theme-success-strong: #00ba37;
635
643
  --tui-theme-success-stronger: #1ed14b;
636
644
  --tui-theme-success-strongest: #68de7c;
637
- --tui-theme-success-subtlest: #003008;
645
+ /* Info */
646
+ --tui-theme-info-subtlest: #090949;
647
+ --tui-theme-info-subtle: #101375;
648
+ --tui-theme-info-soft: #2942d1;
649
+ --tui-theme-info-base: #3858e9;
650
+ --tui-theme-info-strong: #5373f2;
651
+ --tui-theme-info-stronger: #7b93ff;
652
+ --tui-theme-info-strongest: #a0b5fe;
653
+ /* Warning */
654
+ --tui-theme-warning-subtlest: #362400;
655
+ --tui-theme-warning-subtle: #4a3200;
656
+ --tui-theme-warning-soft: #996800;
638
657
  --tui-theme-warning-base: #bd8600;
639
658
  --tui-theme-warning-strong: #dba617;
640
659
  --tui-theme-warning-stronger: #f0c33c;
641
- --tui-theme-warning-subtlest: #362400;
660
+ --tui-theme-warning-strongest: #f2d675;
661
+ /* Danger */
662
+ --tui-theme-danger-subtlest: #451313;
663
+ --tui-theme-danger-subtle: #691c1c;
664
+ --tui-theme-danger-soft: #d63638;
642
665
  --tui-theme-danger-base: #e65054;
643
666
  --tui-theme-danger-strong: #f86368;
644
667
  --tui-theme-danger-stronger: #ff8085;
645
668
  --tui-theme-danger-strongest: #ffabaf;
646
- --tui-theme-danger-subtlest: #451313;
647
669
  /* Focus ring - brighter for dark backgrounds */
648
670
  --tui-focus-ring-color: #3858e9;
649
671
  /* Shadows - more pronounced in dark mode */
@@ -684,11 +706,14 @@
684
706
  --tui-generative-pink-strong: oklch(0.82 0.1 350);
685
707
  /* UA chrome: native controls, scrollbars render in dark mode */
686
708
  color-scheme: dark;
687
- /* Backgrounds */
688
- --tui-color-bg: #111928;
689
- --tui-color-bg-surface: #202836;
709
+ /* Backgrounds — surface is the darkest (page canvas); bg (component faces)
710
+ and elevated sit a step above it, mirroring light (white faces on an
711
+ off-white surface). Previously bg/surface were inverted, so faces read
712
+ darker than the page behind them. */
713
+ --tui-color-bg: #202836;
714
+ --tui-color-bg-surface: #111928;
690
715
  --tui-color-bg-muted: #374151;
691
- --tui-color-bg-elevated: #111928;
716
+ --tui-color-bg-elevated: #202836;
692
717
  --tui-color-bg-inverted: #F9FAFB;
693
718
  --tui-color-bg-overlay: rgba(0, 0, 0, 0.7);
694
719
  /* Text */
@@ -718,23 +743,42 @@
718
743
  --tui-theme-secondary-subtlest: #202836;
719
744
  --tui-theme-secondary-subtle: #374151;
720
745
  --tui-theme-secondary-soft: #4B5563;
746
+ --tui-theme-secondary-base: #9CA3AF;
721
747
  --tui-theme-secondary-strong: #D1D5DB;
722
748
  --tui-theme-secondary-stronger: #E5E7EB;
723
749
  --tui-theme-secondary-strongest: #F3F4F6;
750
+ /* Success */
751
+ --tui-theme-success-subtlest: #003008;
752
+ --tui-theme-success-subtle: #00450c;
753
+ --tui-theme-success-soft: #008a20;
724
754
  --tui-theme-success-base: #00a32a;
725
755
  --tui-theme-success-strong: #00ba37;
726
756
  --tui-theme-success-stronger: #1ed14b;
727
757
  --tui-theme-success-strongest: #68de7c;
728
- --tui-theme-success-subtlest: #003008;
758
+ /* Info */
759
+ --tui-theme-info-subtlest: #090949;
760
+ --tui-theme-info-subtle: #101375;
761
+ --tui-theme-info-soft: #2942d1;
762
+ --tui-theme-info-base: #3858e9;
763
+ --tui-theme-info-strong: #5373f2;
764
+ --tui-theme-info-stronger: #7b93ff;
765
+ --tui-theme-info-strongest: #a0b5fe;
766
+ /* Warning */
767
+ --tui-theme-warning-subtlest: #362400;
768
+ --tui-theme-warning-subtle: #4a3200;
769
+ --tui-theme-warning-soft: #996800;
729
770
  --tui-theme-warning-base: #bd8600;
730
771
  --tui-theme-warning-strong: #dba617;
731
772
  --tui-theme-warning-stronger: #f0c33c;
732
- --tui-theme-warning-subtlest: #362400;
773
+ --tui-theme-warning-strongest: #f2d675;
774
+ /* Danger */
775
+ --tui-theme-danger-subtlest: #451313;
776
+ --tui-theme-danger-subtle: #691c1c;
777
+ --tui-theme-danger-soft: #d63638;
733
778
  --tui-theme-danger-base: #e65054;
734
779
  --tui-theme-danger-strong: #f86368;
735
780
  --tui-theme-danger-stronger: #ff8085;
736
781
  --tui-theme-danger-strongest: #ffabaf;
737
- --tui-theme-danger-subtlest: #451313;
738
782
  /* Focus ring - brighter for dark backgrounds */
739
783
  --tui-focus-ring-color: #3858e9;
740
784
  /* Shadows - more pronounced in dark mode */
@@ -1739,6 +1783,12 @@
1739
1783
  :where(.tui-interface) .tui-card.has-interaction:active, :where(.tui-interface) .tui-card.has-interaction.active {
1740
1784
  --_border: var(--tui-card-border-active, var(--tui-theme-primary-soft));
1741
1785
  }
1786
+ :where(.tui-interface) .tui-card.has-interaction.is-style-elevated {
1787
+ transition-property: border-color, color, background-color, box-shadow;
1788
+ }
1789
+ :where(.tui-interface) .tui-card.has-interaction.is-style-elevated:hover {
1790
+ box-shadow: var(--_shadow-interact);
1791
+ }
1742
1792
  :where(.tui-interface) .tui-card .tui-stretched-link:focus {
1743
1793
  outline: none;
1744
1794
  }
@@ -1753,10 +1803,6 @@
1753
1803
  }
1754
1804
  :where(.tui-interface) .tui-card.is-style-elevated {
1755
1805
  box-shadow: var(--_shadow);
1756
- transition-property: border-color, color, background-color, box-shadow;
1757
- }
1758
- :where(.tui-interface) .tui-card.is-style-elevated:hover {
1759
- box-shadow: var(--_shadow-interact);
1760
1806
  }
1761
1807
  :where(.tui-interface) .tui-card.is-style-outline {
1762
1808
  --_bg: transparent;