@pontive/pontkit-core 3.5.0 → 5.0.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/styles.css CHANGED
@@ -36,8 +36,8 @@
36
36
  * reads its public tokens with a fallback and resolves them on the element
37
37
  * (11 §4, §5).
38
38
  *
39
- * color/ index.css imports ref-color/ and sem-color.css (the colour
40
- * roles, light/dark); ref-color/index.css declares the ref colour
39
+ * color/ index.css imports ref-color/ and sem-color/ (the colour roles:
40
+ * light-mode.css, dark-mode.css); ref-color/index.css declares the ref colour
41
41
  * keywords and roles (global only) and imports tw-scales.css (the
42
42
  * hue ramps)
43
43
  * cursor.css cursor keywords (ref) and the cursor roles (sem)
@@ -504,41 +504,258 @@
504
504
  * --------------------------------------------------
505
505
  */
506
506
 
507
- /* TODO(tokens): not yet migrated/refactored */
508
-
509
- /* ./sem-color.css */
507
+ /* ./sem-color/index.css */
510
508
  /*
509
+ * ===========================================================================
510
+ * COLOR SEMANTIC TOKENS
511
+ * ===========================================================================
512
+ *
511
513
  * sem · colour roles: shadcn's set plus pont's status colours, built on the
512
- * ref colour roles (ref-color/index.css). The theme mode lives here and only here
513
- * (docs/11-tokens.md §6).
514
+ * ref colour roles (ref-color/index.css). The theme mode lives here and only
515
+ * here (docs/11-tokens.md §6).
514
516
  *
515
- * Defaults reproduce shadcn's neutral theme exactly. `primary` and
516
- * `primary-foreground` read the `brand` ramp (neutral by default), so
517
- * re-pointing brand re-colours primary surfaces.
517
+ * Defaults reproduce shadcn's neutral theme exactly. Each colour scale has a
518
+ * set of roles (`brand`, `brand-fg`, `brand-subtle` …), which the shadcn
519
+ * roles read as they are migrated: `primary` and `primary-foreground` read
520
+ * `brand` / `brand-fg` (the `brand` ramp, neutral by default), so re-pointing
521
+ * brand re-colours primary surfaces; `secondary` reads `base-subtle`.
518
522
  *
519
- * Dark mode: shadcn's `.dark` class AND pontkit's `[data-theme="dark"]`, on
520
- * any ancestor (usually <html>). The block is re-declared on that element, so
521
- * its sem tokens are resolved there.
523
+ * Dark mode (dark-mode.css): shadcn's `.dark` class AND pontkit's
524
+ * `[data-theme="dark"]`, on any ancestor (usually <html>). The block is
525
+ * re-declared on that element, so its sem tokens are resolved there.
522
526
  */
527
+
528
+ /* TODO(tokens): not yet migrated/refactored */
529
+
530
+ /*
531
+ * --------------------------------------------------
532
+ * COLOR SEMANTIC TOKENS - LIGHT MODE (DEFAULT)
533
+ * --------------------------------------------------
534
+ */
535
+
536
+ /* ./light-mode.css */
537
+ /*
538
+ * ===========================================================================
539
+ * COLOR SEMANTIC TOKENS - LIGHT MODE (DEFAULT)
540
+ * ---------------------------------------------------------------------------
541
+ * `:root`
542
+ * ===========================================================================
543
+ */
544
+
523
545
  @layer pont.tokens {
524
546
  :root {
525
- --pont-sem-color-background: var(--pont-ref-color-white);
526
- --pont-sem-color-foreground: var(--pont-ref-color-base-950);
527
- --pont-sem-color-card: var(--pont-ref-color-white);
528
- --pont-sem-color-card-foreground: var(--pont-ref-color-base-950);
529
- --pont-sem-color-popover: var(--pont-ref-color-white);
530
- --pont-sem-color-popover-foreground: var(--pont-ref-color-base-950);
531
- --pont-sem-color-primary: var(--pont-ref-color-brand-900);
532
- --pont-sem-color-primary-foreground: var(--pont-ref-color-brand-50);
533
- --pont-sem-color-secondary: var(--pont-ref-color-base-100);
534
- --pont-sem-color-secondary-foreground: var(--pont-ref-color-base-900);
547
+ color-scheme: light;
548
+ }
549
+ }
550
+
551
+ /*
552
+ * --------------------------------------------------
553
+ * BASE SCALE COLORS
554
+ * --------------------------------------------------
555
+ */
556
+
557
+ @layer pont.tokens {
558
+ :root {
559
+ --pont-sem-color-base: var(--pont-ref-color-base-900);
560
+ --pont-sem-color-base-fg: var(--pont-ref-color-base-50);
561
+
562
+ --pont-sem-color-base-subtle: var(--pont-ref-color-base-100);
563
+ --pont-sem-color-base-subtle-fg: var(--pont-ref-color-base-900);
564
+
565
+ --pont-sem-color-base-border: var(--pont-ref-color-base-400);
566
+
567
+ --pont-sem-color-base-ring: color-mix(
568
+ in oklab,
569
+ var(--pont-ref-color-base-400) 50%,
570
+ var(--pont-ref-color-transparent)
571
+ );
572
+ }
573
+ }
574
+
575
+ /*
576
+ * --------------------------------------------------
577
+ * BRAND SCALE COLORS
578
+ * --------------------------------------------------
579
+ */
580
+
581
+ @layer pont.tokens {
582
+ :root {
583
+ --pont-sem-color-brand: var(--pont-ref-color-brand-900);
584
+ --pont-sem-color-brand-fg: var(--pont-ref-color-brand-50);
585
+
586
+ --pont-sem-color-brand-subtle: var(--pont-ref-color-brand-100);
587
+ --pont-sem-color-brand-subtle-fg: var(--pont-ref-color-brand-900);
588
+
589
+ --pont-sem-color-brand-border: var(--pont-ref-color-brand-400);
590
+
591
+ --pont-sem-color-brand-ring: color-mix(
592
+ in oklab,
593
+ var(--pont-ref-color-brand-400) 50%,
594
+ var(--pont-ref-color-transparent)
595
+ );
596
+ }
597
+ }
598
+
599
+ /*
600
+ * --------------------------------------------------
601
+ * DESTRUCTIVE SCALE COLORS
602
+ * --------------------------------------------------
603
+ */
604
+
605
+ @layer pont.tokens {
606
+ :root {
607
+ --pont-sem-color-destructive: var(--pont-ref-color-destructive-600);
608
+
609
+ --pont-sem-color-destructive-subtle: color-mix(
610
+ in oklab,
611
+ var(--pont-sem-color-destructive) 10%,
612
+ var(--pont-ref-color-transparent)
613
+ );
614
+ --pont-sem-color-destructive-subtle-hover: color-mix(
615
+ in oklab,
616
+ var(--pont-sem-color-destructive) 20%,
617
+ var(--pont-ref-color-transparent)
618
+ );
619
+
620
+ --pont-sem-color-destructive-border: var(--pont-sem-color-destructive);
621
+
622
+ --pont-sem-color-destructive-ring: color-mix(
623
+ in oklab,
624
+ var(--pont-sem-color-destructive) 20%,
625
+ var(--pont-ref-color-transparent)
626
+ );
627
+ }
628
+ }
629
+
630
+ /*
631
+ * --------------------------------------------------
632
+ * WARNING SCALE COLORS
633
+ * --------------------------------------------------
634
+ */
635
+
636
+ @layer pont.tokens {
637
+ :root {
638
+ --pont-sem-color-warning: var(--pont-ref-color-warning-600);
639
+
640
+ --pont-sem-color-warning-subtle: color-mix(
641
+ in oklab,
642
+ var(--pont-sem-color-warning) 10%,
643
+ var(--pont-ref-color-transparent)
644
+ );
645
+ --pont-sem-color-warning-subtle-hover: color-mix(
646
+ in oklab,
647
+ var(--pont-sem-color-warning) 20%,
648
+ var(--pont-ref-color-transparent)
649
+ );
650
+
651
+ --pont-sem-color-warning-border: var(--pont-sem-color-warning);
652
+
653
+ --pont-sem-color-warning-ring: color-mix(
654
+ in oklab,
655
+ var(--pont-sem-color-warning) 20%,
656
+ var(--pont-ref-color-transparent)
657
+ );
658
+ }
659
+ }
660
+
661
+ /*
662
+ * --------------------------------------------------
663
+ * SUCCESS SCALE COLORS
664
+ * --------------------------------------------------
665
+ */
666
+
667
+ @layer pont.tokens {
668
+ :root {
669
+ --pont-sem-color-success: var(--pont-ref-color-success-700);
670
+
671
+ --pont-sem-color-success-subtle: color-mix(
672
+ in oklab,
673
+ var(--pont-sem-color-success) 10%,
674
+ var(--pont-ref-color-transparent)
675
+ );
676
+ --pont-sem-color-success-subtle-hover: color-mix(
677
+ in oklab,
678
+ var(--pont-sem-color-success) 20%,
679
+ var(--pont-ref-color-transparent)
680
+ );
681
+
682
+ --pont-sem-color-success-border: var(--pont-sem-color-success);
683
+
684
+ --pont-sem-color-success-ring: color-mix(
685
+ in oklab,
686
+ var(--pont-sem-color-success) 20%,
687
+ var(--pont-ref-color-transparent)
688
+ );
689
+ }
690
+ }
691
+
692
+ /*
693
+ * --------------------------------------------------
694
+ * INFO SCALE COLORS
695
+ * --------------------------------------------------
696
+ */
697
+
698
+ @layer pont.tokens {
699
+ :root {
700
+ --pont-sem-color-info: var(--pont-ref-color-info-600);
701
+
702
+ --pont-sem-color-info-subtle: color-mix(
703
+ in oklab,
704
+ var(--pont-sem-color-info) 10%,
705
+ var(--pont-ref-color-transparent)
706
+ );
707
+ --pont-sem-color-info-subtle-hover: color-mix(
708
+ in oklab,
709
+ var(--pont-sem-color-info) 20%,
710
+ var(--pont-ref-color-transparent)
711
+ );
712
+
713
+ --pont-sem-color-info-border: var(--pont-sem-color-info);
714
+
715
+ --pont-sem-color-info-ring: color-mix(
716
+ in oklab,
717
+ var(--pont-sem-color-info) 20%,
718
+ var(--pont-ref-color-transparent)
719
+ );
720
+ }
721
+ }
722
+
723
+ /* * ------------------------------------------- * */
724
+
725
+ @layer pont.tokens {
726
+ :root {
727
+ --pont-sem-color-bg: var(--pont-ref-color-white);
728
+ --pont-sem-color-fg: var(--pont-ref-color-base-950);
729
+
730
+ --pont-sem-color-surface: var(--pont-ref-color-white);
731
+ --pont-sem-color-surface-fg: var(--pont-ref-color-base-950);
732
+
733
+ --pont-sem-color-overlay: var(--pont-ref-color-white);
734
+ --pont-sem-color-overlay-fg: var(--pont-ref-color-base-950);
735
+
736
+ --pont-sem-color-primary: var(--pont-sem-color-brand);
737
+ --pont-sem-color-primary-fg: var(--pont-sem-color-brand-fg);
738
+
739
+ --pont-sem-color-secondary: var(--pont-sem-color-base-subtle);
740
+ --pont-sem-color-secondary-fg: var(--pont-sem-color-base-subtle-fg);
741
+
535
742
  --pont-sem-color-muted: var(--pont-ref-color-base-100);
536
- --pont-sem-color-muted-foreground: var(--pont-ref-color-base-500);
743
+ --pont-sem-color-muted-fg: var(--pont-ref-color-base-500);
744
+
537
745
  --pont-sem-color-accent: var(--pont-ref-color-base-100);
538
- --pont-sem-color-accent-foreground: var(--pont-ref-color-base-900);
746
+ --pont-sem-color-accent-fg: var(--pont-ref-color-base-900);
747
+
539
748
  --pont-sem-color-border: var(--pont-ref-color-base-200);
749
+ --pont-sem-color-border-focus: var(--pont-sem-color-base-border);
750
+ --pont-sem-color-border-invalid: var(--pont-sem-color-destructive-border);
751
+
752
+ --pont-sem-color-outline: var(--pont-ref-color-transparent);
753
+
754
+ --pont-sem-color-ring: var(--pont-ref-color-transparent);
755
+ --pont-sem-color-ring-focus: var(--pont-sem-color-base-ring);
756
+ --pont-sem-color-ring-invalid: var(--pont-sem-color-destructive-ring);
757
+
540
758
  --pont-sem-color-input: var(--pont-ref-color-base-200);
541
- --pont-sem-color-ring: var(--pont-ref-color-base-400);
542
759
 
543
760
  /* Interaction roles: what shadcn writes as `dark:` utilities, as tokens, so
544
761
  component CSS has no mode rules (docs/11-tokens.md §6).
@@ -547,7 +764,7 @@
547
764
  control-border …its border
548
765
  field a text field's surface (input)
549
766
  surface-hover hovering a transparent surface (ghost button, menu items) */
550
- --pont-sem-color-control: var(--pont-sem-color-background);
767
+ --pont-sem-color-control: var(--pont-sem-color-bg);
551
768
  --pont-sem-color-control-hover: var(--pont-sem-color-muted);
552
769
  --pont-sem-color-control-border: var(--pont-sem-color-border);
553
770
  --pont-sem-color-field: transparent;
@@ -562,88 +779,372 @@
562
779
  inverse-subtle a chip on an inverted surface (kbd in a tooltip) */
563
780
  --pont-sem-color-field-hover: var(--pont-sem-color-field);
564
781
  --pont-sem-color-track: var(--pont-sem-color-input);
565
- --pont-sem-color-thumb: var(--pont-sem-color-background);
566
- --pont-sem-color-thumb-checked: var(--pont-sem-color-background);
567
- --pont-sem-color-segment-fg: color-mix(in oklab, var(--pont-sem-color-foreground) 60%, transparent);
568
- --pont-sem-color-segment-active: var(--pont-sem-color-background);
782
+ --pont-sem-color-thumb: var(--pont-sem-color-bg);
783
+ --pont-sem-color-thumb-checked: var(--pont-sem-color-bg);
784
+ --pont-sem-color-segment-fg: color-mix(
785
+ in oklab,
786
+ var(--pont-sem-color-fg) 60%,
787
+ transparent
788
+ );
789
+ --pont-sem-color-segment-active: var(--pont-sem-color-bg);
569
790
  --pont-sem-color-segment-active-border: transparent;
570
- --pont-sem-color-primary-subtle: color-mix(in oklab, var(--pont-sem-color-primary) 5%, transparent);
571
- --pont-sem-color-primary-subtle-border: color-mix(in oklab, var(--pont-sem-color-primary) 30%, transparent);
572
- --pont-sem-color-inverse-subtle: color-mix(in oklab, var(--pont-sem-color-background) 20%, transparent);
573
-
574
- /* Destructive tints: a subtle fill (destructive button), its hover, an
575
- invalid control's border, and the invalid / destructive focus ring. */
576
- --pont-sem-color-destructive-subtle: color-mix(in oklab, var(--pont-sem-color-destructive) 10%, transparent);
577
- --pont-sem-color-destructive-subtle-hover: color-mix(in oklab, var(--pont-sem-color-destructive) 20%, transparent);
578
- --pont-sem-color-destructive-border: var(--pont-sem-color-destructive);
579
- --pont-sem-color-destructive-ring: color-mix(in oklab, var(--pont-sem-color-destructive) 20%, transparent);
580
-
581
- /* Status. destructive is shadcn's; success/warning/info are pont additions,
582
- read only by kit composites (pont-alert status=…). success uses step 700
583
- (500 in dark) to keep text contrast on light surfaces. */
584
- --pont-sem-color-destructive: var(--pont-ref-color-destructive-600);
585
- --pont-sem-color-success: var(--pont-ref-color-success-700);
586
- --pont-sem-color-warning: var(--pont-ref-color-warning-600);
587
- --pont-sem-color-info: var(--pont-ref-color-info-600);
791
+ --pont-sem-color-primary-subtle: color-mix(
792
+ in oklab,
793
+ var(--pont-sem-color-primary) 5%,
794
+ transparent
795
+ );
796
+ --pont-sem-color-primary-subtle-border: color-mix(
797
+ in oklab,
798
+ var(--pont-sem-color-primary) 30%,
799
+ transparent
800
+ );
801
+ --pont-sem-color-inverse-subtle: color-mix(
802
+ in oklab,
803
+ var(--pont-sem-color-bg) 20%,
804
+ transparent
805
+ );
588
806
 
589
807
  --pont-sem-color-chart-1: var(--pont-ref-color-brand-300);
590
808
  --pont-sem-color-chart-2: var(--pont-ref-color-brand-500);
591
809
  --pont-sem-color-chart-3: var(--pont-ref-color-brand-600);
592
810
  --pont-sem-color-chart-4: var(--pont-ref-color-brand-700);
593
811
  --pont-sem-color-chart-5: var(--pont-ref-color-brand-800);
812
+ }
813
+ }
594
814
 
595
- color-scheme: light;
815
+ /*
816
+ * --------------------------------------------------
817
+ * COLOR SEMANTIC TOKENS - DARK MODE
818
+ * --------------------------------------------------
819
+ */
820
+
821
+ /* ./dark-mode.css */
822
+ /*
823
+ * ===========================================================================
824
+ * COLOR SEMANTIC TOKENS - DARK MODE
825
+ * ---------------------------------------------------------------------------
826
+ * `:root.dark`, `:root[data-theme="dark"]`, `.dark`, `[data-theme="dark"]`
827
+ * ===========================================================================
828
+ */
829
+
830
+ @layer pont.tokens {
831
+ :root.dark,
832
+ :root[data-theme="dark"],
833
+ .dark,
834
+ [data-theme="dark"] {
835
+ color-scheme: dark;
596
836
  }
837
+ }
597
838
 
839
+ /*
840
+ * --------------------------------------------------
841
+ * BASE SCALE COLORS
842
+ * --------------------------------------------------
843
+ */
844
+
845
+ @layer pont.tokens {
598
846
  :root.dark,
599
847
  :root[data-theme="dark"],
600
848
  .dark,
601
849
  [data-theme="dark"] {
602
- --pont-sem-color-background: var(--pont-ref-color-base-950);
603
- --pont-sem-color-foreground: var(--pont-ref-color-base-50);
604
- --pont-sem-color-card: var(--pont-ref-color-base-900);
605
- --pont-sem-color-card-foreground: var(--pont-ref-color-base-50);
606
- --pont-sem-color-popover: var(--pont-ref-color-base-900);
607
- --pont-sem-color-popover-foreground: var(--pont-ref-color-base-50);
608
- --pont-sem-color-primary: var(--pont-ref-color-brand-200);
609
- --pont-sem-color-primary-foreground: var(--pont-ref-color-brand-900);
610
- --pont-sem-color-secondary: var(--pont-ref-color-base-800);
611
- --pont-sem-color-secondary-foreground: var(--pont-ref-color-base-50);
612
- --pont-sem-color-muted: var(--pont-ref-color-base-800);
613
- --pont-sem-color-muted-foreground: var(--pont-ref-color-base-400);
614
- --pont-sem-color-accent: var(--pont-ref-color-base-800);
615
- --pont-sem-color-accent-foreground: var(--pont-ref-color-base-50);
616
- --pont-sem-color-border: color-mix(in oklab, var(--pont-ref-color-white) 10%, transparent);
617
- --pont-sem-color-input: color-mix(in oklab, var(--pont-ref-color-white) 15%, transparent);
618
- --pont-sem-color-ring: var(--pont-ref-color-base-500);
850
+ --pont-sem-color-base: var(--pont-ref-color-base-200);
851
+ --pont-sem-color-base-fg: var(--pont-ref-color-base-900);
619
852
 
620
- --pont-sem-color-control: color-mix(in oklab, var(--pont-sem-color-input) 30%, transparent);
621
- --pont-sem-color-control-hover: color-mix(in oklab, var(--pont-sem-color-input) 50%, transparent);
622
- --pont-sem-color-control-border: var(--pont-sem-color-input);
623
- --pont-sem-color-field: color-mix(in oklab, var(--pont-sem-color-input) 30%, transparent);
624
- --pont-sem-color-surface-hover: color-mix(in oklab, var(--pont-sem-color-muted) 50%, transparent);
625
- --pont-sem-color-field-hover: color-mix(in oklab, var(--pont-sem-color-input) 50%, transparent);
626
- --pont-sem-color-track: color-mix(in oklab, var(--pont-sem-color-input) 80%, transparent);
627
- --pont-sem-color-thumb: var(--pont-sem-color-foreground);
628
- --pont-sem-color-thumb-checked: var(--pont-sem-color-primary-foreground);
629
- --pont-sem-color-segment-fg: var(--pont-sem-color-muted-foreground);
630
- --pont-sem-color-segment-active: color-mix(in oklab, var(--pont-sem-color-input) 30%, transparent);
631
- --pont-sem-color-segment-active-border: var(--pont-sem-color-input);
632
- --pont-sem-color-primary-subtle: color-mix(in oklab, var(--pont-sem-color-primary) 10%, transparent);
633
- --pont-sem-color-primary-subtle-border: color-mix(in oklab, var(--pont-sem-color-primary) 20%, transparent);
634
- --pont-sem-color-inverse-subtle: color-mix(in oklab, var(--pont-sem-color-background) 10%, transparent);
853
+ --pont-sem-color-base-subtle: var(--pont-ref-color-base-800);
854
+ --pont-sem-color-base-subtle-fg: var(--pont-ref-color-base-50);
635
855
 
636
- --pont-sem-color-destructive-subtle: color-mix(in oklab, var(--pont-sem-color-destructive) 20%, transparent);
637
- --pont-sem-color-destructive-subtle-hover: color-mix(in oklab, var(--pont-sem-color-destructive) 30%, transparent);
638
- --pont-sem-color-destructive-border: color-mix(in oklab, var(--pont-sem-color-destructive) 50%, transparent);
639
- --pont-sem-color-destructive-ring: color-mix(in oklab, var(--pont-sem-color-destructive) 40%, transparent);
856
+ --pont-sem-color-base-border: var(--pont-ref-color-base-500);
857
+
858
+ --pont-sem-color-base-ring: color-mix(
859
+ in oklab,
860
+ var(--pont-ref-color-base-500) 50%,
861
+ var(--pont-ref-color-transparent)
862
+ );
863
+ }
864
+ }
640
865
 
866
+ /*
867
+ * --------------------------------------------------
868
+ * BRAND SCALE COLORS
869
+ * --------------------------------------------------
870
+ */
871
+
872
+ @layer pont.tokens {
873
+ :root.dark,
874
+ :root[data-theme="dark"],
875
+ .dark,
876
+ [data-theme="dark"] {
877
+ --pont-sem-color-brand: var(--pont-ref-color-brand-200);
878
+ --pont-sem-color-brand-fg: var(--pont-ref-color-brand-900);
879
+
880
+ --pont-sem-color-brand-subtle: var(--pont-ref-color-brand-800);
881
+ --pont-sem-color-brand-subtle-fg: var(--pont-ref-color-brand-50);
882
+
883
+ --pont-sem-color-brand-border: var(--pont-ref-color-brand-500);
884
+
885
+ --pont-sem-color-brand-ring: color-mix(
886
+ in oklab,
887
+ var(--pont-ref-color-brand-500) 50%,
888
+ var(--pont-ref-color-transparent)
889
+ );
890
+ }
891
+ }
892
+
893
+ /*
894
+ * --------------------------------------------------
895
+ * DESTRUCTIVE SCALE COLORS
896
+ * --------------------------------------------------
897
+ */
898
+
899
+ @layer pont.tokens {
900
+ :root.dark,
901
+ :root[data-theme="dark"],
902
+ .dark,
903
+ [data-theme="dark"] {
641
904
  --pont-sem-color-destructive: var(--pont-ref-color-destructive-400);
642
- --pont-sem-color-success: var(--pont-ref-color-success-500);
905
+
906
+ --pont-sem-color-destructive-subtle: color-mix(
907
+ in oklab,
908
+ var(--pont-sem-color-destructive) 20%,
909
+ var(--pont-ref-color-transparent)
910
+ );
911
+ --pont-sem-color-destructive-subtle-hover: color-mix(
912
+ in oklab,
913
+ var(--pont-sem-color-destructive) 30%,
914
+ var(--pont-ref-color-transparent)
915
+ );
916
+
917
+ --pont-sem-color-destructive-border: color-mix(
918
+ in oklab,
919
+ var(--pont-sem-color-destructive) 50%,
920
+ var(--pont-ref-color-transparent)
921
+ );
922
+
923
+ --pont-sem-color-destructive-ring: color-mix(
924
+ in oklab,
925
+ var(--pont-sem-color-destructive) 40%,
926
+ var(--pont-ref-color-transparent)
927
+ );
928
+ }
929
+ }
930
+
931
+ /*
932
+ * --------------------------------------------------
933
+ * WARNING SCALE COLORS
934
+ * --------------------------------------------------
935
+ */
936
+
937
+ @layer pont.tokens {
938
+ :root.dark,
939
+ :root[data-theme="dark"],
940
+ .dark,
941
+ [data-theme="dark"] {
643
942
  --pont-sem-color-warning: var(--pont-ref-color-warning-400);
943
+
944
+ --pont-sem-color-warning-subtle: color-mix(
945
+ in oklab,
946
+ var(--pont-sem-color-warning) 20%,
947
+ var(--pont-ref-color-transparent)
948
+ );
949
+ --pont-sem-color-warning-subtle-hover: color-mix(
950
+ in oklab,
951
+ var(--pont-sem-color-warning) 30%,
952
+ var(--pont-ref-color-transparent)
953
+ );
954
+
955
+ --pont-sem-color-warning-border: color-mix(
956
+ in oklab,
957
+ var(--pont-sem-color-warning) 50%,
958
+ var(--pont-ref-color-transparent)
959
+ );
960
+
961
+ --pont-sem-color-warning-ring: color-mix(
962
+ in oklab,
963
+ var(--pont-sem-color-warning) 40%,
964
+ var(--pont-ref-color-transparent)
965
+ );
966
+ }
967
+ }
968
+
969
+ /*
970
+ * --------------------------------------------------
971
+ * SUCCESS SCALE COLORS
972
+ * --------------------------------------------------
973
+ */
974
+
975
+ @layer pont.tokens {
976
+ :root.dark,
977
+ :root[data-theme="dark"],
978
+ .dark,
979
+ [data-theme="dark"] {
980
+ --pont-sem-color-success: var(--pont-ref-color-success-500);
981
+
982
+ --pont-sem-color-success-subtle: color-mix(
983
+ in oklab,
984
+ var(--pont-sem-color-success) 20%,
985
+ var(--pont-ref-color-transparent)
986
+ );
987
+ --pont-sem-color-success-subtle-hover: color-mix(
988
+ in oklab,
989
+ var(--pont-sem-color-success) 30%,
990
+ var(--pont-ref-color-transparent)
991
+ );
992
+
993
+ --pont-sem-color-success-border: color-mix(
994
+ in oklab,
995
+ var(--pont-sem-color-success) 50%,
996
+ var(--pont-ref-color-transparent)
997
+ );
998
+
999
+ --pont-sem-color-success-ring: color-mix(
1000
+ in oklab,
1001
+ var(--pont-sem-color-success) 40%,
1002
+ var(--pont-ref-color-transparent)
1003
+ );
1004
+ }
1005
+ }
1006
+
1007
+ /*
1008
+ * --------------------------------------------------
1009
+ * INFO SCALE COLORS
1010
+ * --------------------------------------------------
1011
+ */
1012
+
1013
+ @layer pont.tokens {
1014
+ :root.dark,
1015
+ :root[data-theme="dark"],
1016
+ .dark,
1017
+ [data-theme="dark"] {
644
1018
  --pont-sem-color-info: var(--pont-ref-color-info-400);
645
1019
 
646
- color-scheme: dark;
1020
+ --pont-sem-color-info-subtle: color-mix(
1021
+ in oklab,
1022
+ var(--pont-sem-color-info) 20%,
1023
+ var(--pont-ref-color-transparent)
1024
+ );
1025
+ --pont-sem-color-info-subtle-hover: color-mix(
1026
+ in oklab,
1027
+ var(--pont-sem-color-info) 30%,
1028
+ var(--pont-ref-color-transparent)
1029
+ );
1030
+
1031
+ --pont-sem-color-info-border: color-mix(
1032
+ in oklab,
1033
+ var(--pont-sem-color-info) 50%,
1034
+ var(--pont-ref-color-transparent)
1035
+ );
1036
+
1037
+ --pont-sem-color-info-ring: color-mix(
1038
+ in oklab,
1039
+ var(--pont-sem-color-info) 40%,
1040
+ var(--pont-ref-color-transparent)
1041
+ );
1042
+ }
1043
+ }
1044
+
1045
+ /* * ------------------------------------------- * */
1046
+
1047
+ @layer pont.tokens {
1048
+ :root.dark,
1049
+ :root[data-theme="dark"],
1050
+ .dark,
1051
+ [data-theme="dark"] {
1052
+ --pont-sem-color-bg: var(--pont-ref-color-base-950);
1053
+ --pont-sem-color-fg: var(--pont-ref-color-base-50);
1054
+
1055
+ --pont-sem-color-surface: var(--pont-ref-color-base-900);
1056
+ --pont-sem-color-surface-fg: var(--pont-ref-color-base-50);
1057
+
1058
+ --pont-sem-color-overlay: var(--pont-ref-color-base-900);
1059
+ --pont-sem-color-overlay-fg: var(--pont-ref-color-base-50);
1060
+
1061
+ --pont-sem-color-primary: var(--pont-sem-color-brand);
1062
+ --pont-sem-color-primary-fg: var(--pont-sem-color-brand-fg);
1063
+
1064
+ --pont-sem-color-secondary: var(--pont-sem-color-base-subtle);
1065
+ --pont-sem-color-secondary-fg: var(--pont-sem-color-base-subtle-fg);
1066
+
1067
+ --pont-sem-color-muted: var(--pont-ref-color-base-800);
1068
+ --pont-sem-color-muted-fg: var(--pont-ref-color-base-400);
1069
+
1070
+ --pont-sem-color-accent: var(--pont-ref-color-base-800);
1071
+ --pont-sem-color-accent-fg: var(--pont-ref-color-base-50);
1072
+
1073
+ --pont-sem-color-border: color-mix(
1074
+ in oklab,
1075
+ var(--pont-ref-color-white) 10%,
1076
+ var(--pont-ref-color-transparent)
1077
+ );
1078
+ --pont-sem-color-border-focus: var(--pont-sem-color-base-border);
1079
+ --pont-sem-color-border-invalid: var(--pont-sem-color-destructive-border);
1080
+
1081
+ --pont-sem-color-outline: var(--pont-ref-color-transparent);
1082
+
1083
+ --pont-sem-color-ring: var(--pont-ref-color-transparent);
1084
+ --pont-sem-color-ring-focus: var(--pont-sem-color-base-ring);
1085
+ --pont-sem-color-ring-invalid: var(--pont-sem-color-destructive-ring);
1086
+
1087
+ --pont-sem-color-input: color-mix(
1088
+ in oklab,
1089
+ var(--pont-ref-color-white) 15%,
1090
+ var(--pont-ref-color-transparent)
1091
+ );
1092
+
1093
+ --pont-sem-color-control: color-mix(
1094
+ in oklab,
1095
+ var(--pont-sem-color-input) 30%,
1096
+ transparent
1097
+ );
1098
+ --pont-sem-color-control-hover: color-mix(
1099
+ in oklab,
1100
+ var(--pont-sem-color-input) 50%,
1101
+ transparent
1102
+ );
1103
+ --pont-sem-color-control-border: var(--pont-sem-color-input);
1104
+ --pont-sem-color-field: color-mix(
1105
+ in oklab,
1106
+ var(--pont-sem-color-input) 30%,
1107
+ transparent
1108
+ );
1109
+ --pont-sem-color-surface-hover: color-mix(
1110
+ in oklab,
1111
+ var(--pont-sem-color-muted) 50%,
1112
+ transparent
1113
+ );
1114
+ --pont-sem-color-field-hover: color-mix(
1115
+ in oklab,
1116
+ var(--pont-sem-color-input) 50%,
1117
+ transparent
1118
+ );
1119
+ --pont-sem-color-track: color-mix(
1120
+ in oklab,
1121
+ var(--pont-sem-color-input) 80%,
1122
+ transparent
1123
+ );
1124
+ --pont-sem-color-thumb: var(--pont-sem-color-fg);
1125
+ --pont-sem-color-thumb-checked: var(--pont-sem-color-primary-fg);
1126
+ --pont-sem-color-segment-fg: var(--pont-sem-color-muted-fg);
1127
+ --pont-sem-color-segment-active: color-mix(
1128
+ in oklab,
1129
+ var(--pont-sem-color-input) 30%,
1130
+ transparent
1131
+ );
1132
+ --pont-sem-color-segment-active-border: var(--pont-sem-color-input);
1133
+ --pont-sem-color-primary-subtle: color-mix(
1134
+ in oklab,
1135
+ var(--pont-sem-color-primary) 10%,
1136
+ transparent
1137
+ );
1138
+ --pont-sem-color-primary-subtle-border: color-mix(
1139
+ in oklab,
1140
+ var(--pont-sem-color-primary) 20%,
1141
+ transparent
1142
+ );
1143
+ --pont-sem-color-inverse-subtle: color-mix(
1144
+ in oklab,
1145
+ var(--pont-sem-color-bg) 10%,
1146
+ transparent
1147
+ );
647
1148
  }
648
1149
  }
649
1150
 
@@ -1726,7 +2227,7 @@
1726
2227
  /** @token Background */
1727
2228
  --_pont-button-bg: var(--pont-button-default-bg, var(--pont-sem-color-primary));
1728
2229
  /** @token Text */
1729
- --_pont-button-fg: var(--pont-button-default-fg, var(--pont-sem-color-primary-foreground));
2230
+ --_pont-button-fg: var(--pont-button-default-fg, var(--pont-sem-color-primary-fg));
1730
2231
  /** @token Background on hover */
1731
2232
  --_pont-button-bg-hover: var(--pont-button-default-bg-hover, color-mix(in oklab, var(--_pont-button-bg) 80%, transparent));
1732
2233
  }
@@ -1740,7 +2241,7 @@
1740
2241
  --_pont-button-border-color: var(--pont-button-outline-border-color, var(--pont-sem-color-control-border));
1741
2242
  /** @token Background on hover */
1742
2243
  --_pont-button-bg-hover: var(--pont-button-outline-bg-hover, var(--pont-sem-color-control-hover));
1743
- --_pont-button-fg-hover: var(--pont-sem-color-foreground);
2244
+ --_pont-button-fg-hover: var(--pont-sem-color-fg);
1744
2245
  --pont-shadow: var(--pont-sem-shadow-xs);
1745
2246
  }
1746
2247
 
@@ -1748,9 +2249,9 @@
1748
2249
  /** @token Background */
1749
2250
  --_pont-button-bg: var(--pont-button-secondary-bg, var(--pont-sem-color-secondary));
1750
2251
  /** @token Text */
1751
- --_pont-button-fg: var(--pont-button-secondary-fg, var(--pont-sem-color-secondary-foreground));
2252
+ --_pont-button-fg: var(--pont-button-secondary-fg, var(--pont-sem-color-secondary-fg));
1752
2253
  /** @token Background on hover */
1753
- --_pont-button-bg-hover: var(--pont-button-secondary-bg-hover, color-mix(in oklch, var(--_pont-button-bg), var(--pont-sem-color-foreground) 5%));
2254
+ --_pont-button-bg-hover: var(--pont-button-secondary-bg-hover, color-mix(in oklch, var(--_pont-button-bg), var(--pont-sem-color-fg) 5%));
1754
2255
  }
1755
2256
 
1756
2257
  [data-pont-button][data-variant="ghost"] {
@@ -1758,7 +2259,7 @@
1758
2259
  --_pont-button-fg: var(--pont-button-ghost-fg, currentcolor);
1759
2260
  /** @token Background on hover */
1760
2261
  --_pont-button-bg-hover: var(--pont-button-ghost-bg-hover, var(--pont-sem-color-surface-hover));
1761
- --_pont-button-fg-hover: var(--pont-sem-color-foreground);
2262
+ --_pont-button-fg-hover: var(--pont-sem-color-fg);
1762
2263
  }
1763
2264
 
1764
2265
  [data-pont-button][data-variant="destructive"] {
@@ -1836,12 +2337,12 @@
1836
2337
  }
1837
2338
 
1838
2339
  [data-pont-button]:focus-visible {
1839
- border-color: var(--pont-sem-color-ring);
1840
- --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) color-mix(in oklab, var(--pont-sem-color-ring) 50%, transparent);
2340
+ border-color: var(--pont-sem-color-border-focus);
2341
+ --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-ring-focus);
1841
2342
  }
1842
2343
  [data-pont-button][aria-invalid="true"] {
1843
- border-color: var(--pont-sem-color-destructive-border);
1844
- --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-destructive-ring);
2344
+ border-color: var(--pont-sem-color-border-invalid);
2345
+ --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-ring-invalid);
1845
2346
  }
1846
2347
  [data-pont-button][data-variant="destructive"]:focus-visible {
1847
2348
  border-color: color-mix(in oklab, var(--pont-sem-color-destructive) 40%, transparent);
@@ -2044,7 +2545,7 @@
2044
2545
  *
2045
2546
  * Tokens (docs/11-tokens.md): `--pont-input-*`, resolved into privates on the
2046
2547
  * element. shadcn's `dark:bg-input/30` is sem-color-field; the invalid
2047
- * border/ring are sem-color-destructive-border/-ring.
2548
+ * border/ring are sem-color-border-invalid / sem-color-ring-invalid.
2048
2549
  */
2049
2550
  @layer pont.primitives {
2050
2551
  [data-pont-input] {
@@ -2059,7 +2560,7 @@
2059
2560
  /** @token Height */
2060
2561
  --_pont-input-height: var(--pont-input-height, 2.25rem);
2061
2562
  /** @token Placeholder text */
2062
- --_pont-input-placeholder-fg: var(--pont-input-placeholder-fg, var(--pont-sem-color-muted-foreground));
2563
+ --_pont-input-placeholder-fg: var(--pont-input-placeholder-fg, var(--pont-sem-color-muted-fg));
2063
2564
  }
2064
2565
 
2065
2566
  [data-pont-input] {
@@ -2104,7 +2605,7 @@
2104
2605
  height: 1.75rem;
2105
2606
  border: 0;
2106
2607
  background-color: transparent;
2107
- color: var(--pont-sem-color-foreground);
2608
+ color: var(--pont-sem-color-fg);
2108
2609
  font: inherit;
2109
2610
  font-size: var(--pont-ref-typography-size-sm);
2110
2611
  line-height: var(--pont-ref-typography-leading-of-sm);
@@ -2112,13 +2613,13 @@
2112
2613
  }
2113
2614
 
2114
2615
  [data-pont-input]:focus-visible {
2115
- border-color: var(--pont-sem-color-ring);
2116
- --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) color-mix(in oklab, var(--pont-sem-color-ring) 50%, transparent);
2616
+ border-color: var(--pont-sem-color-border-focus);
2617
+ --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-ring-focus);
2117
2618
  }
2118
2619
 
2119
2620
  [data-pont-input][aria-invalid="true"] {
2120
- border-color: var(--pont-sem-color-destructive-border);
2121
- --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-destructive-ring);
2621
+ border-color: var(--pont-sem-color-border-invalid);
2622
+ --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-ring-invalid);
2122
2623
  }
2123
2624
 
2124
2625
  [data-pont-input]:disabled {
@@ -2136,7 +2637,7 @@
2136
2637
  *
2137
2638
  * Tokens (docs/11-tokens.md): `--pont-textarea-*`, resolved into privates on
2138
2639
  * the element. shadcn's `dark:bg-input/30` is sem-color-field; the invalid
2139
- * border/ring are sem-color-destructive-border/-ring.
2640
+ * border/ring are sem-color-border-invalid / sem-color-ring-invalid.
2140
2641
  */
2141
2642
  @layer pont.primitives {
2142
2643
  [data-pont-textarea] {
@@ -2149,7 +2650,7 @@
2149
2650
  /** @token Corner radius */
2150
2651
  --_pont-textarea-radius: var(--pont-textarea-radius, var(--pont-ref-radius-md));
2151
2652
  /** @token Placeholder text */
2152
- --_pont-textarea-placeholder-fg: var(--pont-textarea-placeholder-fg, var(--pont-sem-color-muted-foreground));
2653
+ --_pont-textarea-placeholder-fg: var(--pont-textarea-placeholder-fg, var(--pont-sem-color-muted-fg));
2153
2654
  }
2154
2655
 
2155
2656
  [data-pont-textarea] {
@@ -2190,13 +2691,13 @@
2190
2691
  }
2191
2692
 
2192
2693
  [data-pont-textarea]:focus-visible {
2193
- border-color: var(--pont-sem-color-ring);
2194
- --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) color-mix(in oklab, var(--pont-sem-color-ring) 50%, transparent);
2694
+ border-color: var(--pont-sem-color-border-focus);
2695
+ --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-ring-focus);
2195
2696
  }
2196
2697
 
2197
2698
  [data-pont-textarea][aria-invalid="true"] {
2198
- border-color: var(--pont-sem-color-destructive-border);
2199
- --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-destructive-ring);
2699
+ border-color: var(--pont-sem-color-border-invalid);
2700
+ --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-ring-invalid);
2200
2701
  }
2201
2702
 
2202
2703
  [data-pont-textarea]:disabled {
@@ -2218,7 +2719,7 @@
2218
2719
  *
2219
2720
  * Tokens (docs/11-tokens.md): `--pont-checkbox-*`, resolved into privates on
2220
2721
  * the element. shadcn's `dark:bg-input/30` is sem-color-field; the invalid
2221
- * border/ring are sem-color-destructive-border/-ring.
2722
+ * border/ring are sem-color-border-invalid / sem-color-ring-invalid.
2222
2723
  */
2223
2724
  @layer pont.primitives {
2224
2725
  :is(pont-prim-checkbox, pont-checkbox, [data-pont-checkbox]) {
@@ -2231,7 +2732,7 @@
2231
2732
  /** @token Background when checked */
2232
2733
  --_pont-checkbox-bg-checked: var(--pont-checkbox-bg-checked, var(--pont-sem-color-primary));
2233
2734
  /** @token Check mark when checked */
2234
- --_pont-checkbox-fg-checked: var(--pont-checkbox-fg-checked, var(--pont-sem-color-primary-foreground));
2735
+ --_pont-checkbox-fg-checked: var(--pont-checkbox-fg-checked, var(--pont-sem-color-primary-fg));
2235
2736
  /** @token Border when checked */
2236
2737
  --_pont-checkbox-border-color-checked: var(--pont-checkbox-border-color-checked, var(--_pont-checkbox-bg-checked));
2237
2738
  }
@@ -2272,13 +2773,13 @@
2272
2773
  }
2273
2774
 
2274
2775
  [data-pont-checkbox]:focus-visible {
2275
- border-color: var(--pont-sem-color-ring);
2276
- --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) color-mix(in oklab, var(--pont-sem-color-ring) 50%, transparent);
2776
+ border-color: var(--pont-sem-color-border-focus);
2777
+ --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-ring-focus);
2277
2778
  }
2278
2779
 
2279
2780
  [data-pont-checkbox][aria-invalid="true"] {
2280
- border-color: var(--pont-sem-color-destructive-border);
2281
- --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-destructive-ring);
2781
+ border-color: var(--pont-sem-color-border-invalid);
2782
+ --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-ring-invalid);
2282
2783
  }
2283
2784
  [data-pont-checkbox][aria-invalid="true"]:is([data-checked], [data-indeterminate]) {
2284
2785
  border-color: var(--_pont-checkbox-border-color-checked);
@@ -2347,7 +2848,7 @@
2347
2848
  /** @token Background */
2348
2849
  --_pont-badge-bg: var(--pont-badge-default-bg, var(--pont-sem-color-primary));
2349
2850
  /** @token Text */
2350
- --_pont-badge-fg: var(--pont-badge-default-fg, var(--pont-sem-color-primary-foreground));
2851
+ --_pont-badge-fg: var(--pont-badge-default-fg, var(--pont-sem-color-primary-fg));
2351
2852
  /** @token Background on hover */
2352
2853
  --_pont-badge-bg-hover: var(--pont-badge-default-bg-hover, color-mix(in oklab, var(--_pont-badge-bg) 80%, transparent));
2353
2854
  --_pont-badge-fg-hover: initial;
@@ -2358,19 +2859,19 @@
2358
2859
  /** @token Background */
2359
2860
  --_pont-badge-bg: var(--pont-badge-secondary-bg, var(--pont-sem-color-secondary));
2360
2861
  /** @token Text */
2361
- --_pont-badge-fg: var(--pont-badge-secondary-fg, var(--pont-sem-color-secondary-foreground));
2862
+ --_pont-badge-fg: var(--pont-badge-secondary-fg, var(--pont-sem-color-secondary-fg));
2362
2863
  --_pont-badge-bg-hover: color-mix(in oklab, var(--_pont-badge-bg) 80%, transparent);
2363
2864
  }
2364
2865
 
2365
2866
  [data-pont-badge][data-variant="outline"] {
2366
2867
  --_pont-badge-bg: transparent;
2367
2868
  /** @token Text */
2368
- --_pont-badge-fg: var(--pont-badge-outline-fg, var(--pont-sem-color-foreground));
2869
+ --_pont-badge-fg: var(--pont-badge-outline-fg, var(--pont-sem-color-fg));
2369
2870
  /** @token Border */
2370
2871
  --_pont-badge-border-color: var(--pont-badge-outline-border-color, var(--pont-sem-color-border));
2371
2872
  /** @token Background on hover */
2372
2873
  --_pont-badge-bg-hover: var(--pont-badge-outline-bg-hover, var(--pont-sem-color-muted));
2373
- --_pont-badge-fg-hover: var(--pont-sem-color-muted-foreground);
2874
+ --_pont-badge-fg-hover: var(--pont-sem-color-muted-fg);
2374
2875
  }
2375
2876
 
2376
2877
  [data-pont-badge][data-variant="destructive"] {
@@ -2387,7 +2888,7 @@
2387
2888
  --_pont-badge-fg: currentcolor;
2388
2889
  /** @token Background on hover */
2389
2890
  --_pont-badge-bg-hover: var(--pont-badge-ghost-bg-hover, var(--pont-sem-color-surface-hover));
2390
- --_pont-badge-fg-hover: var(--pont-sem-color-muted-foreground);
2891
+ --_pont-badge-fg-hover: var(--pont-sem-color-muted-fg);
2391
2892
  }
2392
2893
 
2393
2894
  [data-pont-badge][data-variant="link"] {
@@ -2452,8 +2953,8 @@
2452
2953
  }
2453
2954
 
2454
2955
  [data-pont-badge]:focus-visible {
2455
- border-color: var(--pont-sem-color-ring);
2456
- --pont-ring-shadow: 0 0 0 3px color-mix(in oklab, var(--pont-sem-color-ring) 50%, transparent);
2956
+ border-color: var(--pont-sem-color-border-focus);
2957
+ --pont-ring-shadow: 0 0 0 3px var(--pont-sem-color-ring-focus);
2457
2958
  }
2458
2959
  [data-pont-badge][aria-invalid="true"] {
2459
2960
  border-color: var(--pont-sem-color-destructive);
@@ -2490,7 +2991,7 @@
2490
2991
  /** @token Background */
2491
2992
  --_pont-kbd-bg: var(--pont-kbd-bg, var(--pont-sem-color-muted));
2492
2993
  /** @token Text */
2493
- --_pont-kbd-fg: var(--pont-kbd-fg, var(--pont-sem-color-muted-foreground));
2994
+ --_pont-kbd-fg: var(--pont-kbd-fg, var(--pont-sem-color-muted-fg));
2494
2995
  /** @token Corner radius */
2495
2996
  --_pont-kbd-radius: var(--pont-kbd-radius, var(--pont-ref-radius-sm));
2496
2997
  /** @token Height */
@@ -2502,7 +3003,7 @@
2502
3003
  /* in-data-[slot=tooltip-content]: the inverted tooltip colours */
2503
3004
  [data-slot="tooltip-content"] :is(pont-prim-kbd, pont-kbd, [data-pont-kbd]) {
2504
3005
  --_pont-kbd-bg: var(--pont-sem-color-inverse-subtle);
2505
- --_pont-kbd-fg: var(--pont-sem-color-background);
3006
+ --_pont-kbd-fg: var(--pont-sem-color-bg);
2506
3007
  }
2507
3008
 
2508
3009
  /* ------------------------------------------------------------------ */
@@ -2619,9 +3120,9 @@
2619
3120
 
2620
3121
  :is(pont-prim-alert, [data-pont-alert]) {
2621
3122
  /** @token Background */
2622
- --_pont-alert-bg: var(--pont-alert-default-bg, var(--pont-sem-color-card));
3123
+ --_pont-alert-bg: var(--pont-alert-default-bg, var(--pont-sem-color-surface));
2623
3124
  /** @token Text */
2624
- --_pont-alert-fg: var(--pont-alert-default-fg, var(--pont-sem-color-card-foreground));
3125
+ --_pont-alert-fg: var(--pont-alert-default-fg, var(--pont-sem-color-surface-fg));
2625
3126
  /** @token Border */
2626
3127
  --_pont-alert-border-color: var(--pont-alert-border-color, var(--pont-sem-color-border));
2627
3128
  /** @token Corner radius */
@@ -2633,12 +3134,12 @@
2633
3134
  /** @token Title weight */
2634
3135
  --_pont-alert-title-font-weight: var(--pont-alert-title-font-weight, var(--pont-ref-typography-weight-medium));
2635
3136
  /** @token Description text */
2636
- --_pont-alert-description-fg: var(--pont-alert-description-fg, var(--pont-sem-color-muted-foreground));
3137
+ --_pont-alert-description-fg: var(--pont-alert-description-fg, var(--pont-sem-color-muted-fg));
2637
3138
  }
2638
3139
 
2639
3140
  [data-pont-alert][data-variant="destructive"] {
2640
3141
  /** @token Background */
2641
- --_pont-alert-bg: var(--pont-alert-destructive-bg, var(--pont-sem-color-card));
3142
+ --_pont-alert-bg: var(--pont-alert-destructive-bg, var(--pont-sem-color-surface));
2642
3143
  /** @token Text */
2643
3144
  --_pont-alert-fg: var(--pont-alert-destructive-fg, var(--pont-sem-color-destructive));
2644
3145
  --_pont-alert-description-fg: color-mix(in oklab, var(--_pont-alert-fg) 90%, transparent);
@@ -2695,7 +3196,7 @@
2695
3196
 
2696
3197
  :is(pont-prim-alert-description, [data-pont-alert-description]) {
2697
3198
  display: block;
2698
- color: var(--_pont-alert-description-fg, var(--pont-sem-color-muted-foreground));
3199
+ color: var(--_pont-alert-description-fg, var(--pont-sem-color-muted-fg));
2699
3200
  font-size: var(--pont-ref-typography-size-sm);
2700
3201
  line-height: var(--pont-ref-typography-leading-of-sm);
2701
3202
  text-wrap: balance;
@@ -2718,7 +3219,7 @@
2718
3219
  text-underline-offset: 3px;
2719
3220
  }
2720
3221
  :is(pont-prim-alert-title, [data-pont-alert-title], pont-prim-alert-description, [data-pont-alert-description]) a:hover {
2721
- color: var(--pont-sem-color-foreground);
3222
+ color: var(--pont-sem-color-fg);
2722
3223
  }
2723
3224
 
2724
3225
  :is(pont-prim-alert-action, [data-pont-alert-action]) {
@@ -2764,11 +3265,11 @@
2764
3265
  /** @token Fallback and count background */
2765
3266
  --_pont-avatar-fallback-bg: var(--pont-avatar-fallback-bg, var(--pont-sem-color-muted));
2766
3267
  /** @token Fallback and count text */
2767
- --_pont-avatar-fallback-fg: var(--pont-avatar-fallback-fg, var(--pont-sem-color-muted-foreground));
3268
+ --_pont-avatar-fallback-fg: var(--pont-avatar-fallback-fg, var(--pont-sem-color-muted-fg));
2768
3269
  /** @token Badge background */
2769
3270
  --_pont-avatar-badge-bg: var(--pont-avatar-badge-bg, var(--pont-sem-color-primary));
2770
3271
  /** @token Badge text */
2771
- --_pont-avatar-badge-fg: var(--pont-avatar-badge-fg, var(--pont-sem-color-primary-foreground));
3272
+ --_pont-avatar-badge-fg: var(--pont-avatar-badge-fg, var(--pont-sem-color-primary-fg));
2772
3273
  }
2773
3274
 
2774
3275
  /* ------------------------------------------------------------------ */
@@ -2829,7 +3330,7 @@
2829
3330
  height: var(--pont-ref-dimension-size-full);
2830
3331
  border-radius: var(--_pont-avatar-radius, var(--pont-ref-radius-full));
2831
3332
  background-color: var(--_pont-avatar-fallback-bg, var(--pont-sem-color-muted));
2832
- color: var(--_pont-avatar-fallback-fg, var(--pont-sem-color-muted-foreground));
3333
+ color: var(--_pont-avatar-fallback-fg, var(--pont-sem-color-muted-fg));
2833
3334
  font-size: var(--pont-ref-typography-size-sm);
2834
3335
  line-height: var(--pont-ref-typography-leading-of-sm);
2835
3336
  }
@@ -2855,9 +3356,9 @@
2855
3356
  border-radius: var(--pont-ref-radius-full);
2856
3357
  background-blend-mode: color;
2857
3358
  background-color: var(--_pont-avatar-badge-bg, var(--pont-sem-color-primary));
2858
- color: var(--_pont-avatar-badge-fg, var(--pont-sem-color-primary-foreground));
3359
+ color: var(--_pont-avatar-badge-fg, var(--pont-sem-color-primary-fg));
2859
3360
  user-select: none;
2860
- box-shadow: 0 0 0 2px var(--pont-sem-color-background);
3361
+ box-shadow: 0 0 0 2px var(--pont-sem-color-bg);
2861
3362
  }
2862
3363
  :is(pont-prim-avatar-badge, [data-pont-avatar-badge]) > svg {
2863
3364
  width: 0.5rem;
@@ -2883,7 +3384,7 @@
2883
3384
  margin-inline-end: -0.5rem;
2884
3385
  }
2885
3386
  :is(pont-prim-avatar-group, [data-pont-avatar-group]) > [data-slot="avatar"] {
2886
- --pont-ring-shadow: 0 0 0 2px var(--pont-sem-color-background);
3387
+ --pont-ring-shadow: 0 0 0 2px var(--pont-sem-color-bg);
2887
3388
  }
2888
3389
 
2889
3390
  :is(pont-prim-avatar-group-count, [data-pont-avatar-group-count]) {
@@ -2900,7 +3401,7 @@
2900
3401
  color: var(--_pont-avatar-fallback-fg);
2901
3402
  font-size: var(--pont-ref-typography-size-sm);
2902
3403
  line-height: var(--pont-ref-typography-leading-of-sm);
2903
- box-shadow: 0 0 0 2px var(--pont-sem-color-background);
3404
+ box-shadow: 0 0 0 2px var(--pont-sem-color-bg);
2904
3405
  }
2905
3406
  :is(pont-prim-avatar-group-count, [data-pont-avatar-group-count]) > svg {
2906
3407
  width: 1rem;
@@ -3099,11 +3600,11 @@
3099
3600
 
3100
3601
  :is(pont-prim-card, [data-pont-card]) {
3101
3602
  /** @token Background */
3102
- --_pont-card-bg: var(--pont-card-bg, var(--pont-sem-color-card));
3603
+ --_pont-card-bg: var(--pont-card-bg, var(--pont-sem-color-surface));
3103
3604
  /** @token Text */
3104
- --_pont-card-fg: var(--pont-card-fg, var(--pont-sem-color-card-foreground));
3605
+ --_pont-card-fg: var(--pont-card-fg, var(--pont-sem-color-surface-fg));
3105
3606
  /** @token Border */
3106
- --_pont-card-border-color: var(--pont-card-border-color, color-mix(in oklab, var(--pont-sem-color-foreground) 10%, transparent));
3607
+ --_pont-card-border-color: var(--pont-card-border-color, color-mix(in oklab, var(--pont-sem-color-fg) 10%, transparent));
3107
3608
  /** @token Corner radius */
3108
3609
  --_pont-card-radius: var(--pont-card-radius, var(--pont-ref-radius-xl));
3109
3610
  /** @token Shadow */
@@ -3184,7 +3685,7 @@
3184
3685
 
3185
3686
  :is(pont-prim-card-description, [data-pont-card-description]) {
3186
3687
  display: block;
3187
- color: var(--pont-sem-color-muted-foreground);
3688
+ color: var(--pont-sem-color-muted-fg);
3188
3689
  font-size: var(--pont-ref-typography-size-sm);
3189
3690
  line-height: var(--pont-ref-typography-leading-of-sm);
3190
3691
  }
@@ -3261,11 +3762,11 @@
3261
3762
  /** @token Icon background */
3262
3763
  --_pont-empty-media-icon-bg: var(--pont-empty-media-icon-bg, var(--pont-sem-color-muted));
3263
3764
  /** @token Icon colour */
3264
- --_pont-empty-media-icon-fg: var(--pont-empty-media-icon-fg, var(--pont-sem-color-foreground));
3765
+ --_pont-empty-media-icon-fg: var(--pont-empty-media-icon-fg, var(--pont-sem-color-fg));
3265
3766
  /** @token Title weight */
3266
3767
  --_pont-empty-title-font-weight: var(--pont-empty-title-font-weight, var(--pont-ref-typography-weight-medium));
3267
3768
  /** @token Description text */
3268
- --_pont-empty-description-fg: var(--pont-empty-description-fg, var(--pont-sem-color-muted-foreground));
3769
+ --_pont-empty-description-fg: var(--pont-empty-description-fg, var(--pont-sem-color-muted-fg));
3269
3770
  }
3270
3771
 
3271
3772
  /* ------------------------------------------------------------------ */
@@ -3316,7 +3817,7 @@
3316
3817
  height: 2.5rem;
3317
3818
  border-radius: var(--_pont-empty-radius, var(--pont-ref-radius-lg));
3318
3819
  background-color: var(--_pont-empty-media-icon-bg, var(--pont-sem-color-muted));
3319
- color: var(--_pont-empty-media-icon-fg, var(--pont-sem-color-foreground));
3820
+ color: var(--_pont-empty-media-icon-fg, var(--pont-sem-color-fg));
3320
3821
  }
3321
3822
  [data-pont-empty-media][data-variant="icon"] svg:not([class*="size-"]) {
3322
3823
  width: 1.5rem;
@@ -3333,7 +3834,7 @@
3333
3834
 
3334
3835
  :is(pont-prim-empty-description, [data-pont-empty-description]) {
3335
3836
  display: block;
3336
- color: var(--_pont-empty-description-fg, var(--pont-sem-color-muted-foreground));
3837
+ color: var(--_pont-empty-description-fg, var(--pont-sem-color-muted-fg));
3337
3838
  font-size: var(--pont-ref-typography-size-sm);
3338
3839
  line-height: var(--pont-ref-typography-leading-relaxed);
3339
3840
  }
@@ -3406,7 +3907,7 @@
3406
3907
  /** @token Text when invalid */
3407
3908
  --_pont-field-fg-invalid: var(--pont-field-fg-invalid, var(--pont-sem-color-destructive));
3408
3909
  /** @token Text */
3409
- --_pont-field-description-fg: var(--pont-field-description-fg, var(--pont-sem-color-muted-foreground));
3910
+ --_pont-field-description-fg: var(--pont-field-description-fg, var(--pont-sem-color-muted-fg));
3410
3911
  /** @token Text */
3411
3912
  --_pont-field-error-fg: var(--pont-field-error-fg, var(--pont-sem-color-destructive));
3412
3913
  /** @token Border */
@@ -3554,8 +4055,8 @@
3554
4055
  background-color: var(--_pont-field-choice-bg-hover);
3555
4056
  }
3556
4057
  [data-pont-field-label]:has(> [data-slot="field"]):has(:focus-visible) {
3557
- border-color: var(--pont-sem-color-ring);
3558
- --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) color-mix(in oklab, var(--pont-sem-color-ring) 50%, transparent);
4058
+ border-color: var(--pont-sem-color-border-focus);
4059
+ --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-ring-focus);
3559
4060
  }
3560
4061
  [data-pont-field-label] > [data-slot="field"] {
3561
4062
  padding: 0.75rem;
@@ -3615,7 +4116,7 @@
3615
4116
  align-items: center;
3616
4117
  height: 1.25rem;
3617
4118
  margin-block: -0.5rem;
3618
- color: var(--pont-sem-color-muted-foreground);
4119
+ color: var(--pont-sem-color-muted-fg);
3619
4120
  font-size: var(--pont-ref-typography-size-sm);
3620
4121
  line-height: var(--pont-ref-typography-leading-of-sm);
3621
4122
  white-space: nowrap;
@@ -3690,7 +4191,7 @@
3690
4191
  * Tokens (docs/11-tokens.md): `--pont-input-group-*`, resolved on the group
3691
4192
  * and inherited by its addons. The group draws the field, so its surface tokens
3692
4193
  * fall back to the Input's. shadcn's `dark:bg-input/30` is sem-color-field;
3693
- * the invalid ring is sem-color-destructive-ring (the border stays
4194
+ * the invalid ring is sem-color-ring-invalid (the border stays
3694
4195
  * destructive in both modes, as in shadcn).
3695
4196
  */
3696
4197
  @layer pont.primitives {
@@ -3704,7 +4205,7 @@
3704
4205
  /** @token Height */
3705
4206
  --_pont-input-group-height: var(--pont-input-group-height, var(--pont-input-height, 2.25rem));
3706
4207
  /** @token Addon text */
3707
- --_pont-input-group-addon-fg: var(--pont-input-group-addon-fg, var(--pont-sem-color-muted-foreground));
4208
+ --_pont-input-group-addon-fg: var(--pont-input-group-addon-fg, var(--pont-sem-color-muted-fg));
3708
4209
  }
3709
4210
 
3710
4211
  :is(pont-prim-input-group, [data-pont-input-group]) {
@@ -3728,12 +4229,12 @@
3728
4229
  }
3729
4230
 
3730
4231
  :is(pont-prim-input-group, [data-pont-input-group]):has([data-slot="input-group-control"]:focus-visible) {
3731
- border-color: var(--pont-sem-color-ring);
3732
- --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) color-mix(in oklab, var(--pont-sem-color-ring) 50%, transparent);
4232
+ border-color: var(--pont-sem-color-border-focus);
4233
+ --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-ring-focus);
3733
4234
  }
3734
4235
  :is(pont-prim-input-group, [data-pont-input-group]):has([data-slot][aria-invalid="true"]) {
3735
4236
  border-color: var(--pont-sem-color-destructive);
3736
- --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-destructive-ring);
4237
+ --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-ring-invalid);
3737
4238
  }
3738
4239
  [data-slot="combobox-content"] :is(pont-prim-input-group, [data-pont-input-group]):focus-within {
3739
4240
  border-color: inherit;
@@ -3843,7 +4344,7 @@
3843
4344
  display: flex;
3844
4345
  align-items: center;
3845
4346
  gap: 0.5rem;
3846
- color: var(--pont-sem-color-muted-foreground);
4347
+ color: var(--pont-sem-color-muted-fg);
3847
4348
  font-size: var(--pont-ref-typography-size-sm);
3848
4349
  line-height: var(--pont-ref-typography-leading-of-sm);
3849
4350
  }
@@ -3947,7 +4448,7 @@
3947
4448
  /** @token Title weight */
3948
4449
  --_pont-item-title-font-weight: var(--pont-item-title-font-weight, var(--pont-ref-typography-weight-medium));
3949
4450
  /** @token Description text */
3950
- --_pont-item-description-fg: var(--pont-item-description-fg, var(--pont-sem-color-muted-foreground));
4451
+ --_pont-item-description-fg: var(--pont-item-description-fg, var(--pont-sem-color-muted-fg));
3951
4452
  /* set per variant below; declared here so nothing is inherited from an ancestor */
3952
4453
  --_pont-item-bg: transparent;
3953
4454
  --_pont-item-border-color: transparent;
@@ -4006,8 +4507,8 @@
4006
4507
  transition-timing-function: var(--pont-sem-motion-trans-easing);
4007
4508
  }
4008
4509
  [data-pont-item]:focus-visible {
4009
- border-color: var(--pont-sem-color-ring);
4010
- --pont-ring-shadow: 0 0 0 3px color-mix(in oklab, var(--pont-sem-color-ring) 50%, transparent);
4510
+ border-color: var(--pont-sem-color-border-focus);
4511
+ --pont-ring-shadow: 0 0 0 3px var(--pont-sem-color-ring-focus);
4011
4512
  }
4012
4513
  a[data-pont-item]:hover {
4013
4514
  background-color: var(--_pont-item-bg-hover);
@@ -4099,7 +4600,7 @@
4099
4600
  -webkit-line-clamp: 2;
4100
4601
  -webkit-box-orient: vertical;
4101
4602
  margin: 0;
4102
- color: var(--_pont-item-description-fg, var(--pont-sem-color-muted-foreground));
4603
+ color: var(--_pont-item-description-fg, var(--pont-sem-color-muted-fg));
4103
4604
  text-align: left;
4104
4605
  font-size: var(--pont-ref-typography-size-sm);
4105
4606
  line-height: var(--pont-ref-typography-leading-normal);
@@ -4150,7 +4651,7 @@
4150
4651
  * Tokens (docs/11-tokens.md): `--pont-native-select-*`, resolved on the
4151
4652
  * wrapper and on the select. shadcn's `dark:bg-input/30 dark:hover:bg-input/50`
4152
4653
  * are sem-color-field / -field-hover; the invalid border/ring are
4153
- * sem-color-destructive-border/-ring. `--pont-native-select-icon` (the chevron's
4654
+ * sem-color-border-invalid / sem-color-ring-invalid. `--pont-native-select-icon` (the chevron's
4154
4655
  * mask image) is an author knob, not a token.
4155
4656
  */
4156
4657
  @layer pont.primitives {
@@ -4166,7 +4667,7 @@
4166
4667
  /** @token Height */
4167
4668
  --_pont-native-select-height: var(--pont-native-select-height, 2.25rem);
4168
4669
  /** @token Chevron */
4169
- --_pont-native-select-icon-color: var(--pont-native-select-icon-color, var(--pont-sem-color-muted-foreground));
4670
+ --_pont-native-select-icon-color: var(--pont-native-select-icon-color, var(--pont-sem-color-muted-fg));
4170
4671
  --_pont-native-select-default: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
4171
4672
  }
4172
4673
  [data-pont-native-select][data-size="sm"] {
@@ -4225,18 +4726,18 @@
4225
4726
  }
4226
4727
  [data-pont-native-select]::selection {
4227
4728
  background-color: var(--pont-sem-color-primary);
4228
- color: var(--pont-sem-color-primary-foreground);
4729
+ color: var(--pont-sem-color-primary-fg);
4229
4730
  }
4230
4731
  [data-pont-native-select]:hover {
4231
4732
  background-color: var(--_pont-native-select-bg-hover);
4232
4733
  }
4233
4734
  [data-pont-native-select]:focus-visible {
4234
- border-color: var(--pont-sem-color-ring);
4235
- --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) color-mix(in oklab, var(--pont-sem-color-ring) 50%, transparent);
4735
+ border-color: var(--pont-sem-color-border-focus);
4736
+ --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-ring-focus);
4236
4737
  }
4237
4738
  [data-pont-native-select][aria-invalid="true"] {
4238
- border-color: var(--pont-sem-color-destructive-border);
4239
- --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-destructive-ring);
4739
+ border-color: var(--pont-sem-color-border-invalid);
4740
+ --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-ring-invalid);
4240
4741
  }
4241
4742
  [data-pont-native-select]:disabled {
4242
4743
  pointer-events: none;
@@ -4287,7 +4788,7 @@
4287
4788
  /** @token Footer background */
4288
4789
  --_pont-table-footer-bg: var(--pont-table-footer-bg, color-mix(in oklab, var(--pont-sem-color-muted) 50%, transparent));
4289
4790
  /** @token Header text */
4290
- --_pont-table-head-fg: var(--pont-table-head-fg, var(--pont-sem-color-foreground));
4791
+ --_pont-table-head-fg: var(--pont-table-head-fg, var(--pont-sem-color-fg));
4291
4792
  /** @token Header weight */
4292
4793
  --_pont-table-head-font-weight: var(--pont-table-head-font-weight, var(--pont-ref-typography-weight-medium));
4293
4794
  /** @token Header height */
@@ -4348,7 +4849,7 @@
4348
4849
  :is(:is(pont-prim-table, pont-table) > table > * > tr > th, [data-pont-table-head]) {
4349
4850
  height: var(--_pont-table-head-height, 2.5rem);
4350
4851
  padding: 0 0.5rem;
4351
- color: var(--_pont-table-head-fg, var(--pont-sem-color-foreground));
4852
+ color: var(--_pont-table-head-fg, var(--pont-sem-color-fg));
4352
4853
  text-align: left;
4353
4854
  vertical-align: middle;
4354
4855
  font-weight: var(--_pont-table-head-font-weight, var(--pont-ref-typography-weight-medium));
@@ -4368,7 +4869,7 @@
4368
4869
 
4369
4870
  :is(:is(pont-prim-table, pont-table) > table > caption, [data-pont-table-caption]) {
4370
4871
  margin-top: 1rem;
4371
- color: var(--pont-sem-color-muted-foreground);
4872
+ color: var(--pont-sem-color-muted-fg);
4372
4873
  font-size: var(--pont-ref-typography-size-sm);
4373
4874
  line-height: var(--pont-ref-typography-leading-of-sm);
4374
4875
  }
@@ -4484,7 +4985,7 @@
4484
4985
  *
4485
4986
  * Tokens (docs/11-tokens.md): `--pont-input-otp-*`, resolved on the container
4486
4987
  * and inherited by its groups and slots. shadcn's `dark:bg-input/30` is
4487
- * sem-color-field; the invalid ring is sem-color-destructive-ring (the slot
4988
+ * sem-color-field; the invalid ring is sem-color-ring-invalid (the slot
4488
4989
  * border stays destructive in both modes, as in shadcn).
4489
4990
  */
4490
4991
  @keyframes pont-caret-blink {
@@ -4573,7 +5074,7 @@
4573
5074
  }
4574
5075
  :is(pont-prim-input-otp-group, [data-pont-input-otp-group]):has([aria-invalid="true"], [data-invalid]) {
4575
5076
  border-color: var(--pont-sem-color-destructive);
4576
- box-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-destructive-ring);
5077
+ box-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-ring-invalid);
4577
5078
  }
4578
5079
 
4579
5080
  :is(pont-prim-input-otp-slot, [data-pont-input-otp-slot]) {
@@ -4609,15 +5110,15 @@
4609
5110
 
4610
5111
  [data-pont-input-otp-slot][data-active="true"] {
4611
5112
  z-index: 10;
4612
- border-color: var(--pont-sem-color-ring);
4613
- --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) color-mix(in oklab, var(--pont-sem-color-ring) 50%, transparent);
5113
+ border-color: var(--pont-sem-color-border-focus);
5114
+ --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-ring-focus);
4614
5115
  }
4615
5116
  [data-pont-input-otp-slot]:is([aria-invalid="true"], [data-invalid]) {
4616
5117
  border-color: var(--pont-sem-color-destructive);
4617
5118
  }
4618
5119
  [data-pont-input-otp-slot]:is([aria-invalid="true"], [data-invalid])[data-active="true"] {
4619
5120
  border-color: var(--pont-sem-color-destructive);
4620
- --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-destructive-ring);
5121
+ --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-ring-invalid);
4621
5122
  }
4622
5123
 
4623
5124
  [data-pont-input-otp-caret] {
@@ -4631,7 +5132,7 @@
4631
5132
  [data-pont-input-otp-caret-line] {
4632
5133
  width: var(--pont-ref-dimension-size-px);
4633
5134
  height: 1rem;
4634
- background-color: var(--pont-sem-color-foreground);
5135
+ background-color: var(--pont-sem-color-fg);
4635
5136
  animation: pont-caret-blink var(--pont-sem-motion-anim-duration) var(--pont-ref-motion-easing-ease-out)
4636
5137
  var(--pont-ref-motion-anim-iteration-infinite);
4637
5138
  }
@@ -4716,7 +5217,7 @@
4716
5217
 
4717
5218
  :is(pont-prim-progress-value, [data-pont-progress-value]) {
4718
5219
  margin-left: auto;
4719
- color: var(--pont-sem-color-muted-foreground);
5220
+ color: var(--pont-sem-color-muted-fg);
4720
5221
  font-size: var(--pont-ref-typography-size-sm);
4721
5222
  line-height: var(--pont-ref-typography-leading-of-sm);
4722
5223
  font-variant-numeric: tabular-nums;
@@ -4739,7 +5240,7 @@
4739
5240
  * Tokens (docs/11-tokens.md): `--pont-radio-group-*`, resolved on the group
4740
5241
  * and on each item (an item's indicator inherits them). shadcn's
4741
5242
  * `dark:bg-input/30` is sem-color-field; the invalid border/ring are
4742
- * sem-color-destructive-border/-ring.
5243
+ * sem-color-border-invalid / sem-color-ring-invalid.
4743
5244
  */
4744
5245
  @layer pont.primitives {
4745
5246
  :is(pont-prim-radio-group, [data-pont-radio-group], pont-prim-radio-group-item, [data-pont-radio-group-item]) {
@@ -4754,7 +5255,7 @@
4754
5255
  /** @token Border when checked */
4755
5256
  --_pont-radio-group-item-border-color-checked: var(--pont-radio-group-item-border-color-checked, var(--_pont-radio-group-item-bg-checked));
4756
5257
  /** @token Dot */
4757
- --_pont-radio-group-indicator-bg: var(--pont-radio-group-indicator-bg, var(--pont-sem-color-primary-foreground));
5258
+ --_pont-radio-group-indicator-bg: var(--pont-radio-group-indicator-bg, var(--pont-sem-color-primary-fg));
4758
5259
  }
4759
5260
 
4760
5261
  :is(pont-prim-radio-group, [data-pont-radio-group]) {
@@ -4790,19 +5291,19 @@
4790
5291
 
4791
5292
  [data-pont-radio-group-item][data-checked] {
4792
5293
  background-color: var(--_pont-radio-group-item-bg-checked);
4793
- color: var(--pont-sem-color-primary-foreground);
5294
+ color: var(--pont-sem-color-primary-fg);
4794
5295
  border-color: var(--_pont-radio-group-item-border-color-checked);
4795
5296
  }
4796
5297
 
4797
5298
  [data-pont-radio-group-item]:focus-visible {
4798
- border-color: var(--pont-sem-color-ring);
4799
- --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) color-mix(in oklab, var(--pont-sem-color-ring) 50%, transparent);
5299
+ border-color: var(--pont-sem-color-border-focus);
5300
+ --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-ring-focus);
4800
5301
  }
4801
5302
 
4802
5303
  /* aria-invalid may sit on the item or on the group */
4803
5304
  :is([data-pont-radio-group-item][aria-invalid="true"], [data-pont-radio-group][aria-invalid="true"] [data-pont-radio-group-item]) {
4804
- border-color: var(--pont-sem-color-destructive-border);
4805
- --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-destructive-ring);
5305
+ border-color: var(--pont-sem-color-border-invalid);
5306
+ --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-ring-invalid);
4806
5307
  }
4807
5308
  :is([data-pont-radio-group-item][aria-invalid="true"], [data-pont-radio-group][aria-invalid="true"] [data-pont-radio-group-item])[data-checked] {
4808
5309
  border-color: var(--_pont-radio-group-item-border-color-checked);
@@ -4972,7 +5473,7 @@
4972
5473
  }
4973
5474
  [data-pont-slider-thumb]:hover,
4974
5475
  [data-pont-slider-thumb]:focus-visible {
4975
- --pont-ring-shadow: 0 0 0 4px color-mix(in oklab, var(--pont-sem-color-ring) 50%, transparent);
5476
+ --pont-ring-shadow: 0 0 0 4px var(--pont-sem-color-ring-focus);
4976
5477
  }
4977
5478
  /* `disabled:` in shadcn never matches the thumb div; the control's opacity covers it. */
4978
5479
  [data-pont-slider-thumb][data-disabled] {
@@ -4999,7 +5500,7 @@
4999
5500
  * Tokens (docs/11-tokens.md): `--pont-switch-*`, resolved on the root and
5000
5501
  * inherited by the thumb. shadcn's `dark:` rules are sem tokens: the unchecked
5001
5502
  * track is sem-color-track, the thumb sem-color-thumb / -thumb-checked, the
5002
- * invalid border/ring sem-color-destructive-border/-ring.
5503
+ * invalid border/ring sem-color-border-invalid / sem-color-ring-invalid.
5003
5504
  */
5004
5505
  @layer pont.primitives {
5005
5506
  :is(pont-prim-switch, pont-switch, [data-pont-switch]) {
@@ -5049,13 +5550,13 @@
5049
5550
  }
5050
5551
 
5051
5552
  [data-pont-switch]:focus-visible {
5052
- border-color: var(--pont-sem-color-ring);
5053
- --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) color-mix(in oklab, var(--pont-sem-color-ring) 50%, transparent);
5553
+ border-color: var(--pont-sem-color-border-focus);
5554
+ --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-ring-focus);
5054
5555
  }
5055
5556
 
5056
5557
  [data-pont-switch][aria-invalid="true"] {
5057
- border-color: var(--pont-sem-color-destructive-border);
5058
- --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-destructive-ring);
5558
+ border-color: var(--pont-sem-color-border-invalid);
5559
+ --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-ring-invalid);
5059
5560
  }
5060
5561
 
5061
5562
  [data-pont-switch][data-disabled] {
@@ -5141,15 +5642,15 @@
5141
5642
  /** @token Tab text */
5142
5643
  --_pont-tabs-trigger-fg: var(--pont-tabs-trigger-fg, var(--pont-sem-color-segment-fg));
5143
5644
  /** @token Tab text on hover */
5144
- --_pont-tabs-trigger-fg-hover: var(--pont-tabs-trigger-fg-hover, var(--pont-sem-color-foreground));
5645
+ --_pont-tabs-trigger-fg-hover: var(--pont-tabs-trigger-fg-hover, var(--pont-sem-color-fg));
5145
5646
  /** @token Active tab background */
5146
5647
  --_pont-tabs-trigger-bg-active: var(--pont-tabs-trigger-bg-active, var(--pont-sem-color-segment-active));
5147
5648
  /** @token Active tab text */
5148
- --_pont-tabs-trigger-fg-active: var(--pont-tabs-trigger-fg-active, var(--pont-sem-color-foreground));
5649
+ --_pont-tabs-trigger-fg-active: var(--pont-tabs-trigger-fg-active, var(--pont-sem-color-fg));
5149
5650
  /** @token Active tab border */
5150
5651
  --_pont-tabs-trigger-border-color-active: var(--pont-tabs-trigger-border-color-active, var(--pont-sem-color-segment-active-border));
5151
5652
  /** @token Line indicator */
5152
- --_pont-tabs-indicator-bg: var(--pont-tabs-indicator-bg, var(--pont-sem-color-foreground));
5653
+ --_pont-tabs-indicator-bg: var(--pont-tabs-indicator-bg, var(--pont-sem-color-fg));
5153
5654
  }
5154
5655
 
5155
5656
  /* line variant: no list fill, the active tab is marked by the indicator only */
@@ -5184,7 +5685,7 @@
5184
5685
  padding: 3px;
5185
5686
  border-radius: var(--_pont-tabs-list-radius);
5186
5687
  background-color: var(--_pont-tabs-list-bg);
5187
- color: var(--pont-sem-color-muted-foreground);
5688
+ color: var(--pont-sem-color-muted-fg);
5188
5689
  }
5189
5690
  [data-pont-tabs][data-orientation="vertical"] [data-pont-tabs-list] {
5190
5691
  height: var(--pont-ref-dimension-size-fit);
@@ -5224,7 +5725,7 @@
5224
5725
  justify-content: flex-start;
5225
5726
  }
5226
5727
  [data-pont-tabs-trigger]:hover {
5227
- color: var(--_pont-tabs-trigger-fg-hover, var(--pont-sem-color-foreground));
5728
+ color: var(--_pont-tabs-trigger-fg-hover, var(--pont-sem-color-fg));
5228
5729
  }
5229
5730
  [data-pont-tabs-trigger]:is([data-disabled], [aria-disabled="true"]) {
5230
5731
  pointer-events: none;
@@ -5249,7 +5750,7 @@
5249
5750
  [data-pont-tabs-trigger][data-active] {
5250
5751
  border-color: var(--_pont-tabs-trigger-border-color-active, var(--pont-sem-color-segment-active-border));
5251
5752
  background-color: var(--_pont-tabs-trigger-bg-active, var(--pont-sem-color-segment-active));
5252
- color: var(--_pont-tabs-trigger-fg-active, var(--pont-sem-color-foreground));
5753
+ color: var(--_pont-tabs-trigger-fg-active, var(--pont-sem-color-fg));
5253
5754
  }
5254
5755
  [data-pont-tabs-list]:not([data-variant="line"]) > [data-pont-tabs-trigger][data-active] {
5255
5756
  --pont-shadow: var(--pont-sem-shadow-sm);
@@ -5257,9 +5758,9 @@
5257
5758
 
5258
5759
  /* After data-active, so a focused active tab shows the ring border too. */
5259
5760
  [data-pont-tabs-trigger]:focus-visible {
5260
- border-color: var(--pont-sem-color-ring);
5261
- --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) color-mix(in oklab, var(--pont-sem-color-ring) 50%, transparent);
5262
- outline: 1px solid var(--pont-sem-color-ring);
5761
+ border-color: var(--pont-sem-color-border-focus);
5762
+ --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-ring-focus);
5763
+ outline: 1px solid var(--pont-sem-color-border-focus);
5263
5764
  }
5264
5765
 
5265
5766
  /* line variant (colours: the privates above) */
@@ -5271,7 +5772,7 @@
5271
5772
  [data-pont-tabs-trigger]::after {
5272
5773
  content: "";
5273
5774
  position: absolute;
5274
- background-color: var(--_pont-tabs-indicator-bg, var(--pont-sem-color-foreground));
5775
+ background-color: var(--_pont-tabs-indicator-bg, var(--pont-sem-color-fg));
5275
5776
  opacity: 0;
5276
5777
  transition-property: var(--pont-ref-motion-trans-property-opacity);
5277
5778
  transition-duration: var(--pont-sem-motion-trans-duration);
@@ -5440,11 +5941,11 @@
5440
5941
 
5441
5942
  :is(pont-prim-popover-content, [data-pont-popover-content]) {
5442
5943
  /** @token Background */
5443
- --_pont-popover-bg: var(--pont-popover-bg, var(--pont-sem-color-popover));
5944
+ --_pont-popover-bg: var(--pont-popover-bg, var(--pont-sem-color-overlay));
5444
5945
  /** @token Text */
5445
- --_pont-popover-fg: var(--pont-popover-fg, var(--pont-sem-color-popover-foreground));
5946
+ --_pont-popover-fg: var(--pont-popover-fg, var(--pont-sem-color-overlay-fg));
5446
5947
  /** @token Border */
5447
- --_pont-popover-border-color: var(--pont-popover-border-color, color-mix(in oklab, var(--pont-sem-color-foreground) 10%, transparent));
5948
+ --_pont-popover-border-color: var(--pont-popover-border-color, color-mix(in oklab, var(--pont-sem-color-fg) 10%, transparent));
5448
5949
  /** @token Corner radius */
5449
5950
  --_pont-popover-radius: var(--pont-popover-radius, var(--pont-ref-radius-md));
5450
5951
  /** @token Shadow */
@@ -5497,7 +5998,7 @@
5497
5998
  :is(pont-prim-popover-description, [data-pont-popover-description]) {
5498
5999
  display: block;
5499
6000
  margin: 0;
5500
- color: var(--pont-sem-color-muted-foreground);
6001
+ color: var(--pont-sem-color-muted-fg);
5501
6002
  }
5502
6003
  }
5503
6004
 
@@ -5520,11 +6021,11 @@
5520
6021
 
5521
6022
  :is(pont-prim-dropdown-menu-content, [data-pont-dropdown-menu-content]) {
5522
6023
  /** @token Background */
5523
- --_pont-dropdown-menu-bg: var(--pont-dropdown-menu-bg, var(--pont-sem-color-popover));
6024
+ --_pont-dropdown-menu-bg: var(--pont-dropdown-menu-bg, var(--pont-sem-color-overlay));
5524
6025
  /** @token Text */
5525
- --_pont-dropdown-menu-fg: var(--pont-dropdown-menu-fg, var(--pont-sem-color-popover-foreground));
6026
+ --_pont-dropdown-menu-fg: var(--pont-dropdown-menu-fg, var(--pont-sem-color-overlay-fg));
5526
6027
  /** @token Border */
5527
- --_pont-dropdown-menu-border-color: var(--pont-dropdown-menu-border-color, color-mix(in oklab, var(--pont-sem-color-foreground) 10%, transparent));
6028
+ --_pont-dropdown-menu-border-color: var(--pont-dropdown-menu-border-color, color-mix(in oklab, var(--pont-sem-color-fg) 10%, transparent));
5528
6029
  /** @token Corner radius */
5529
6030
  --_pont-dropdown-menu-radius: var(--pont-dropdown-menu-radius, var(--pont-ref-radius-md));
5530
6031
  /** @token Shadow */
@@ -5540,7 +6041,7 @@
5540
6041
  /** @token Background when highlighted */
5541
6042
  --_pont-dropdown-menu-item-bg-focus: var(--pont-dropdown-menu-item-bg-focus, var(--pont-sem-color-accent));
5542
6043
  /** @token Text when highlighted */
5543
- --_pont-dropdown-menu-item-fg-focus: var(--pont-dropdown-menu-item-fg-focus, var(--pont-sem-color-accent-foreground));
6044
+ --_pont-dropdown-menu-item-fg-focus: var(--pont-dropdown-menu-item-fg-focus, var(--pont-sem-color-accent-fg));
5544
6045
  /** @token Text */
5545
6046
  --_pont-dropdown-menu-item-destructive-fg: var(--pont-dropdown-menu-item-destructive-fg, var(--pont-sem-color-destructive));
5546
6047
  /** @token Background when highlighted */
@@ -5671,7 +6172,7 @@
5671
6172
  :is(pont-prim-dropdown-menu-label, [data-pont-dropdown-menu-label]) {
5672
6173
  display: block;
5673
6174
  padding: 0.375rem 0.5rem;
5674
- color: var(--pont-sem-color-muted-foreground);
6175
+ color: var(--pont-sem-color-muted-fg);
5675
6176
  font-size: var(--pont-ref-typography-size-xs);
5676
6177
  line-height: var(--pont-ref-typography-leading-of-xs);
5677
6178
  font-weight: var(--pont-ref-typography-weight-medium);
@@ -5694,7 +6195,7 @@
5694
6195
  ml-auto text-xs tracking-widest" */
5695
6196
  :is(pont-prim-dropdown-menu-shortcut, [data-pont-dropdown-menu-shortcut]) {
5696
6197
  margin-left: auto;
5697
- color: var(--pont-sem-color-muted-foreground);
6198
+ color: var(--pont-sem-color-muted-fg);
5698
6199
  font-size: var(--pont-ref-typography-size-xs);
5699
6200
  line-height: var(--pont-ref-typography-leading-of-xs);
5700
6201
  letter-spacing: var(--pont-ref-typography-tracking-widest);
@@ -5712,7 +6213,7 @@
5712
6213
  * Tokens (docs/11-tokens.md): `--pont-select-*`, resolved on the trigger and
5713
6214
  * on the content (its groups, labels and items inherit them). shadcn's
5714
6215
  * `dark:bg-input/30 dark:hover:bg-input/50` are sem-color-field / -field-hover;
5715
- * the invalid border/ring are sem-color-destructive-border/-ring.
6216
+ * the invalid border/ring are sem-color-border-invalid / sem-color-ring-invalid.
5716
6217
  */
5717
6218
  @layer pont.primitives {
5718
6219
  :is([data-pont-select-trigger], pont-prim-select-content, [data-pont-select-content]) {
@@ -5727,11 +6228,11 @@
5727
6228
  /** @token Height */
5728
6229
  --_pont-select-trigger-height: var(--pont-select-trigger-height, 2.25rem);
5729
6230
  /** @token Background */
5730
- --_pont-select-content-bg: var(--pont-select-content-bg, var(--pont-sem-color-popover));
6231
+ --_pont-select-content-bg: var(--pont-select-content-bg, var(--pont-sem-color-overlay));
5731
6232
  /** @token Text */
5732
- --_pont-select-content-fg: var(--pont-select-content-fg, var(--pont-sem-color-popover-foreground));
6233
+ --_pont-select-content-fg: var(--pont-select-content-fg, var(--pont-sem-color-overlay-fg));
5733
6234
  /** @token Border */
5734
- --_pont-select-content-border-color: var(--pont-select-content-border-color, color-mix(in oklab, var(--pont-sem-color-foreground) 10%, transparent));
6235
+ --_pont-select-content-border-color: var(--pont-select-content-border-color, color-mix(in oklab, var(--pont-sem-color-fg) 10%, transparent));
5735
6236
  /** @token Corner radius */
5736
6237
  --_pont-select-content-radius: var(--pont-select-content-radius, var(--pont-ref-radius-md));
5737
6238
  /** @token Shadow */
@@ -5741,7 +6242,7 @@
5741
6242
  /** @token Background when highlighted */
5742
6243
  --_pont-select-item-bg-focus: var(--pont-select-item-bg-focus, var(--pont-sem-color-accent));
5743
6244
  /** @token Text when highlighted */
5744
- --_pont-select-item-fg-focus: var(--pont-select-item-fg-focus, var(--pont-sem-color-accent-foreground));
6245
+ --_pont-select-item-fg-focus: var(--pont-select-item-fg-focus, var(--pont-sem-color-accent-fg));
5745
6246
  }
5746
6247
  [data-pont-select-trigger][data-size="sm"] {
5747
6248
  /** @token Height */
@@ -5783,18 +6284,18 @@
5783
6284
  transition-timing-function: var(--pont-sem-motion-trans-easing);
5784
6285
  }
5785
6286
  [data-pont-select-trigger][data-placeholder] {
5786
- color: var(--pont-sem-color-muted-foreground);
6287
+ color: var(--pont-sem-color-muted-fg);
5787
6288
  }
5788
6289
  [data-pont-select-trigger]:hover {
5789
6290
  background-color: var(--_pont-select-trigger-bg-hover);
5790
6291
  }
5791
6292
  [data-pont-select-trigger]:focus-visible {
5792
- border-color: var(--pont-sem-color-ring);
5793
- --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) color-mix(in oklab, var(--pont-sem-color-ring) 50%, transparent);
6293
+ border-color: var(--pont-sem-color-border-focus);
6294
+ --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-ring-focus);
5794
6295
  }
5795
6296
  [data-pont-select-trigger][aria-invalid="true"] {
5796
- border-color: var(--pont-sem-color-destructive-border);
5797
- --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-destructive-ring);
6297
+ border-color: var(--pont-sem-color-border-invalid);
6298
+ --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-ring-invalid);
5798
6299
  }
5799
6300
  [data-pont-select-trigger]:disabled {
5800
6301
  cursor: var(--pont-sem-cursor-disabled);
@@ -5810,7 +6311,7 @@
5810
6311
  }
5811
6312
  /* .cn-select-trigger-icon "text-muted-foreground size-4" */
5812
6313
  [data-pont-select-trigger] > svg[data-icon-name="chevron-down"] {
5813
- color: var(--pont-sem-color-muted-foreground);
6314
+ color: var(--pont-sem-color-muted-fg);
5814
6315
  }
5815
6316
 
5816
6317
  /* value: "flex flex-1 text-left" + line-clamp-1 items-center gap-1.5 */
@@ -5860,7 +6361,7 @@
5860
6361
  :is(pont-prim-select-label, [data-pont-select-label]) {
5861
6362
  display: block;
5862
6363
  padding: 0.375rem 0.5rem;
5863
- color: var(--pont-sem-color-muted-foreground);
6364
+ color: var(--pont-sem-color-muted-fg);
5864
6365
  font-size: var(--pont-ref-typography-size-xs);
5865
6366
  line-height: var(--pont-ref-typography-leading-of-xs);
5866
6367
  }
@@ -5934,7 +6435,7 @@
5934
6435
  * on the content (its list, items and labels inherit them). The input is an
5935
6436
  * InputGroup, so its tokens fall back to the input group's, then the Input's.
5936
6437
  * shadcn's `dark:bg-input/30` is sem-color-field; the invalid border/ring are
5937
- * sem-color-destructive-border/-ring.
6438
+ * sem-color-border-invalid / sem-color-ring-invalid.
5938
6439
  */
5939
6440
  @layer pont.primitives {
5940
6441
  :is(pont-prim-combobox-input, [data-pont-combobox-input], pont-prim-combobox-content, [data-pont-combobox-content]) {
@@ -5947,11 +6448,11 @@
5947
6448
  /** @token Height */
5948
6449
  --_pont-combobox-input-height: var(--pont-combobox-input-height, var(--pont-input-group-height, var(--pont-input-height, 2.25rem)));
5949
6450
  /** @token Background */
5950
- --_pont-combobox-content-bg: var(--pont-combobox-content-bg, var(--pont-sem-color-popover));
6451
+ --_pont-combobox-content-bg: var(--pont-combobox-content-bg, var(--pont-sem-color-overlay));
5951
6452
  /** @token Text */
5952
- --_pont-combobox-content-fg: var(--pont-combobox-content-fg, var(--pont-sem-color-popover-foreground));
6453
+ --_pont-combobox-content-fg: var(--pont-combobox-content-fg, var(--pont-sem-color-overlay-fg));
5953
6454
  /** @token Border */
5954
- --_pont-combobox-content-border-color: var(--pont-combobox-content-border-color, color-mix(in oklab, var(--pont-sem-color-foreground) 10%, transparent));
6455
+ --_pont-combobox-content-border-color: var(--pont-combobox-content-border-color, color-mix(in oklab, var(--pont-sem-color-fg) 10%, transparent));
5955
6456
  /** @token Corner radius */
5956
6457
  --_pont-combobox-content-radius: var(--pont-combobox-content-radius, var(--pont-ref-radius-md));
5957
6458
  /** @token Shadow */
@@ -5961,11 +6462,11 @@
5961
6462
  /** @token Background when highlighted */
5962
6463
  --_pont-combobox-item-bg-focus: var(--pont-combobox-item-bg-focus, var(--pont-sem-color-accent));
5963
6464
  /** @token Text when highlighted */
5964
- --_pont-combobox-item-fg-focus: var(--pont-combobox-item-fg-focus, var(--pont-sem-color-accent-foreground));
6465
+ --_pont-combobox-item-fg-focus: var(--pont-combobox-item-fg-focus, var(--pont-sem-color-accent-fg));
5965
6466
  /** @token Background */
5966
6467
  --_pont-combobox-chip-bg: var(--pont-combobox-chip-bg, var(--pont-sem-color-muted));
5967
6468
  /** @token Text */
5968
- --_pont-combobox-chip-fg: var(--pont-combobox-chip-fg, var(--pont-sem-color-foreground));
6469
+ --_pont-combobox-chip-fg: var(--pont-combobox-chip-fg, var(--pont-sem-color-fg));
5969
6470
  /** @token Corner radius */
5970
6471
  --_pont-combobox-chip-radius: var(--pont-combobox-chip-radius, var(--pont-ref-radius-sm));
5971
6472
  }
@@ -5994,12 +6495,12 @@
5994
6495
  transition-timing-function: var(--pont-sem-motion-trans-easing);
5995
6496
  }
5996
6497
  [data-pont-combobox-input]:has(> [data-slot="input-group-control"]:focus-visible) {
5997
- border-color: var(--pont-sem-color-ring);
5998
- --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) color-mix(in oklab, var(--pont-sem-color-ring) 50%, transparent);
6498
+ border-color: var(--pont-sem-color-border-focus);
6499
+ --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-ring-focus);
5999
6500
  }
6000
6501
  [data-pont-combobox-input]:has([aria-invalid="true"]) {
6001
- border-color: var(--pont-sem-color-destructive-border);
6002
- --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-destructive-ring);
6502
+ border-color: var(--pont-sem-color-border-invalid);
6503
+ --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-ring-invalid);
6003
6504
  }
6004
6505
 
6005
6506
  /* InputGroupInput: Input base + "flex-1 rounded-none border-0 bg-transparent shadow-none ring-0"
@@ -6029,7 +6530,7 @@
6029
6530
  }
6030
6531
  }
6031
6532
  [data-pont-combobox-input-control]::placeholder {
6032
- color: var(--pont-sem-color-muted-foreground);
6533
+ color: var(--pont-sem-color-muted-fg);
6033
6534
  opacity: 1;
6034
6535
  }
6035
6536
  [data-pont-combobox-input-control]:disabled {
@@ -6046,7 +6547,7 @@
6046
6547
  justify-content: center;
6047
6548
  gap: 0.5rem;
6048
6549
  padding: 0.375rem 0.5rem 0.375rem 0;
6049
- color: var(--pont-sem-color-muted-foreground);
6550
+ color: var(--pont-sem-color-muted-fg);
6050
6551
  font-size: var(--pont-ref-typography-size-sm);
6051
6552
  line-height: var(--pont-ref-typography-leading-of-sm);
6052
6553
  font-weight: var(--pont-ref-typography-weight-medium);
@@ -6068,7 +6569,7 @@
6068
6569
  [data-pont-combobox-input-addon] > [data-combobox-trigger] svg {
6069
6570
  width: 1rem;
6070
6571
  height: 1rem;
6071
- color: var(--pont-sem-color-muted-foreground);
6572
+ color: var(--pont-sem-color-muted-fg);
6072
6573
  }
6073
6574
 
6074
6575
  /* content: "relative max-h-(--available-height) w-(--anchor-width) max-w-(--available-width)
@@ -6170,7 +6671,7 @@
6170
6671
  justify-content: center;
6171
6672
  padding: 0.5rem 0;
6172
6673
  text-align: center;
6173
- color: var(--pont-sem-color-muted-foreground);
6674
+ color: var(--pont-sem-color-muted-fg);
6174
6675
  font-size: var(--pont-ref-typography-size-sm);
6175
6676
  line-height: var(--pont-ref-typography-leading-of-sm);
6176
6677
  }
@@ -6186,7 +6687,7 @@
6186
6687
  :is(pont-prim-combobox-label, [data-pont-combobox-label]) {
6187
6688
  display: block;
6188
6689
  padding: 0.375rem 0.5rem;
6189
- color: var(--pont-sem-color-muted-foreground);
6690
+ color: var(--pont-sem-color-muted-fg);
6190
6691
  font-size: var(--pont-ref-typography-size-xs);
6191
6692
  line-height: var(--pont-ref-typography-leading-of-xs);
6192
6693
  }
@@ -6221,8 +6722,8 @@
6221
6722
  padding-inline: 0.375rem;
6222
6723
  }
6223
6724
  [data-pont-combobox-chips]:focus-within {
6224
- border-color: var(--pont-sem-color-ring);
6225
- --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) color-mix(in oklab, var(--pont-sem-color-ring) 50%, transparent);
6725
+ border-color: var(--pont-sem-color-border-focus);
6726
+ --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-ring-focus);
6226
6727
  }
6227
6728
  [data-pont-combobox-chips][data-disabled],
6228
6729
  [data-pont-combobox][data-disabled] [data-pont-combobox-chips] {
@@ -6255,7 +6756,7 @@
6255
6756
  padding-right: 0;
6256
6757
  }
6257
6758
  [data-pont-combobox-chip]:focus-visible {
6258
- --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) color-mix(in oklab, var(--pont-sem-color-ring) 50%, transparent);
6759
+ --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-ring-focus);
6259
6760
  box-shadow: var(--pont-ring-shadow);
6260
6761
  }
6261
6762
  /* .cn-combobox-chip-remove "-ml-1 opacity-50 hover:opacity-100" (Button ghost icon-xs) */
@@ -6284,7 +6785,7 @@
6284
6785
  outline: none;
6285
6786
  }
6286
6787
  [data-pont-combobox-chip-input]::placeholder {
6287
- color: var(--pont-sem-color-muted-foreground);
6788
+ color: var(--pont-sem-color-muted-fg);
6288
6789
  opacity: 1;
6289
6790
  }
6290
6791
  [data-pont-combobox-chip-input]:disabled {
@@ -6311,9 +6812,9 @@
6311
6812
 
6312
6813
  :is(pont-prim-tooltip-content, [data-pont-tooltip-content]) {
6313
6814
  /** @token Background */
6314
- --_pont-tooltip-bg: var(--pont-tooltip-bg, var(--pont-sem-color-foreground));
6815
+ --_pont-tooltip-bg: var(--pont-tooltip-bg, var(--pont-sem-color-fg));
6315
6816
  /** @token Text */
6316
- --_pont-tooltip-fg: var(--pont-tooltip-fg, var(--pont-sem-color-background));
6817
+ --_pont-tooltip-fg: var(--pont-tooltip-fg, var(--pont-sem-color-bg));
6317
6818
  /** @token Corner radius */
6318
6819
  --_pont-tooltip-radius: var(--pont-tooltip-radius, var(--pont-ref-radius-md));
6319
6820
  /** @token Maximum width */
@@ -6407,11 +6908,11 @@
6407
6908
 
6408
6909
  :is(pont-prim-dialog-content, [data-pont-dialog-content]) {
6409
6910
  /** @token Background */
6410
- --_pont-dialog-bg: var(--pont-dialog-bg, var(--pont-sem-color-popover));
6911
+ --_pont-dialog-bg: var(--pont-dialog-bg, var(--pont-sem-color-overlay));
6411
6912
  /** @token Text */
6412
- --_pont-dialog-fg: var(--pont-dialog-fg, var(--pont-sem-color-popover-foreground));
6913
+ --_pont-dialog-fg: var(--pont-dialog-fg, var(--pont-sem-color-overlay-fg));
6413
6914
  /** @token Border */
6414
- --_pont-dialog-border-color: var(--pont-dialog-border-color, color-mix(in oklab, var(--pont-sem-color-foreground) 10%, transparent));
6915
+ --_pont-dialog-border-color: var(--pont-dialog-border-color, color-mix(in oklab, var(--pont-sem-color-fg) 10%, transparent));
6415
6916
  /** @token Corner radius */
6416
6917
  --_pont-dialog-radius: var(--pont-dialog-radius, var(--pont-ref-radius-xl));
6417
6918
  /** @token Shadow */
@@ -6501,7 +7002,7 @@
6501
7002
  :is(pont-prim-dialog-description, [data-pont-dialog-description]) {
6502
7003
  display: block;
6503
7004
  margin: 0;
6504
- color: var(--pont-sem-color-muted-foreground);
7005
+ color: var(--pont-sem-color-muted-fg);
6505
7006
  font-size: var(--pont-ref-typography-size-sm);
6506
7007
  line-height: var(--pont-ref-typography-leading-of-sm);
6507
7008
  }
@@ -6511,7 +7012,7 @@
6511
7012
  text-underline-offset: 3px;
6512
7013
  }
6513
7014
  :is(pont-prim-dialog-description, [data-pont-dialog-description]) > a:hover {
6514
- color: var(--pont-sem-color-foreground);
7015
+ color: var(--pont-sem-color-fg);
6515
7016
  }
6516
7017
 
6517
7018
  /* ------------------------------------------------------------------ */
@@ -6556,11 +7057,11 @@
6556
7057
  @layer pont.primitives {
6557
7058
  :is(pont-prim-alert-dialog-content, [data-pont-alert-dialog-content]) {
6558
7059
  /** @token Background */
6559
- --_pont-alert-dialog-bg: var(--pont-alert-dialog-bg, var(--pont-sem-color-popover));
7060
+ --_pont-alert-dialog-bg: var(--pont-alert-dialog-bg, var(--pont-sem-color-overlay));
6560
7061
  /** @token Text */
6561
- --_pont-alert-dialog-fg: var(--pont-alert-dialog-fg, var(--pont-sem-color-popover-foreground));
7062
+ --_pont-alert-dialog-fg: var(--pont-alert-dialog-fg, var(--pont-sem-color-overlay-fg));
6562
7063
  /** @token Border */
6563
- --_pont-alert-dialog-border-color: var(--pont-alert-dialog-border-color, color-mix(in oklab, var(--pont-sem-color-foreground) 10%, transparent));
7064
+ --_pont-alert-dialog-border-color: var(--pont-alert-dialog-border-color, color-mix(in oklab, var(--pont-sem-color-fg) 10%, transparent));
6564
7065
  /** @token Corner radius */
6565
7066
  --_pont-alert-dialog-radius: var(--pont-alert-dialog-radius, var(--pont-ref-radius-xl));
6566
7067
  /** @token Maximum width */
@@ -6641,7 +7142,7 @@
6641
7142
  :is(pont-prim-alert-dialog-description, [data-pont-alert-dialog-description]) {
6642
7143
  display: block;
6643
7144
  margin: 0;
6644
- color: var(--pont-sem-color-muted-foreground);
7145
+ color: var(--pont-sem-color-muted-fg);
6645
7146
  font-size: var(--pont-ref-typography-size-sm);
6646
7147
  line-height: var(--pont-ref-typography-leading-of-sm);
6647
7148
  text-wrap: balance;
@@ -6652,7 +7153,7 @@
6652
7153
  text-underline-offset: 3px;
6653
7154
  }
6654
7155
  :is(pont-prim-alert-dialog-description, [data-pont-alert-dialog-description]) > a:hover {
6655
- color: var(--pont-sem-color-foreground);
7156
+ color: var(--pont-sem-color-fg);
6656
7157
  }
6657
7158
 
6658
7159
  :is(pont-prim-alert-dialog-footer, [data-pont-alert-dialog-footer]) {
@@ -6717,9 +7218,9 @@
6717
7218
  @layer pont.primitives {
6718
7219
  :is(pont-prim-sheet-content, [data-pont-sheet-content]) {
6719
7220
  /** @token Background */
6720
- --_pont-sheet-bg: var(--pont-sheet-bg, var(--pont-sem-color-popover));
7221
+ --_pont-sheet-bg: var(--pont-sheet-bg, var(--pont-sem-color-overlay));
6721
7222
  /** @token Text */
6722
- --_pont-sheet-fg: var(--pont-sheet-fg, var(--pont-sem-color-popover-foreground));
7223
+ --_pont-sheet-fg: var(--pont-sheet-fg, var(--pont-sem-color-overlay-fg));
6723
7224
  /** @token Border */
6724
7225
  --_pont-sheet-border-color: var(--pont-sheet-border-color, var(--pont-sem-color-border));
6725
7226
  /** @token Shadow */
@@ -6824,14 +7325,14 @@
6824
7325
  :is(pont-prim-sheet-title, [data-pont-sheet-title]) {
6825
7326
  display: block;
6826
7327
  margin: 0;
6827
- color: var(--pont-sem-color-foreground);
7328
+ color: var(--pont-sem-color-fg);
6828
7329
  font-family: var(--pont-sem-typography-font-heading);
6829
7330
  font-weight: var(--pont-ref-typography-weight-medium);
6830
7331
  }
6831
7332
  :is(pont-prim-sheet-description, [data-pont-sheet-description]) {
6832
7333
  display: block;
6833
7334
  margin: 0;
6834
- color: var(--pont-sem-color-muted-foreground);
7335
+ color: var(--pont-sem-color-muted-fg);
6835
7336
  font-size: var(--pont-ref-typography-size-sm);
6836
7337
  line-height: var(--pont-ref-typography-leading-of-sm);
6837
7338
  }
@@ -6861,9 +7362,9 @@
6861
7362
  @layer pont.primitives {
6862
7363
  :is(pont-prim-drawer-content, [data-pont-drawer-content]) {
6863
7364
  /** @token Background */
6864
- --_pont-drawer-bg: var(--pont-drawer-bg, var(--pont-sem-color-popover));
7365
+ --_pont-drawer-bg: var(--pont-drawer-bg, var(--pont-sem-color-overlay));
6865
7366
  /** @token Text */
6866
- --_pont-drawer-fg: var(--pont-drawer-fg, var(--pont-sem-color-popover-foreground));
7367
+ --_pont-drawer-fg: var(--pont-drawer-fg, var(--pont-sem-color-overlay-fg));
6867
7368
  /** @token Border */
6868
7369
  --_pont-drawer-border-color: var(--pont-drawer-border-color, var(--pont-sem-color-border));
6869
7370
  /** @token Corner radius */
@@ -7011,14 +7512,14 @@
7011
7512
  :is(pont-prim-drawer-title, [data-pont-drawer-title]) {
7012
7513
  display: block;
7013
7514
  margin: 0;
7014
- color: var(--pont-sem-color-foreground);
7515
+ color: var(--pont-sem-color-fg);
7015
7516
  font-family: var(--pont-sem-typography-font-heading);
7016
7517
  font-weight: var(--pont-ref-typography-weight-medium);
7017
7518
  }
7018
7519
  :is(pont-prim-drawer-description, [data-pont-drawer-description]) {
7019
7520
  display: block;
7020
7521
  margin: 0;
7021
- color: var(--pont-sem-color-muted-foreground);
7522
+ color: var(--pont-sem-color-muted-fg);
7022
7523
  font-size: var(--pont-ref-typography-size-sm);
7023
7524
  line-height: var(--pont-ref-typography-leading-of-sm);
7024
7525
  text-wrap: balance;
@@ -7038,11 +7539,11 @@
7038
7539
  @layer pont.primitives {
7039
7540
  :is(pont-prim-hover-card-content, [data-pont-hover-card-content]) {
7040
7541
  /** @token Background */
7041
- --_pont-hover-card-bg: var(--pont-hover-card-bg, var(--pont-sem-color-popover));
7542
+ --_pont-hover-card-bg: var(--pont-hover-card-bg, var(--pont-sem-color-overlay));
7042
7543
  /** @token Text */
7043
- --_pont-hover-card-fg: var(--pont-hover-card-fg, var(--pont-sem-color-popover-foreground));
7544
+ --_pont-hover-card-fg: var(--pont-hover-card-fg, var(--pont-sem-color-overlay-fg));
7044
7545
  /** @token Border */
7045
- --_pont-hover-card-border-color: var(--pont-hover-card-border-color, color-mix(in oklab, var(--pont-sem-color-foreground) 10%, transparent));
7546
+ --_pont-hover-card-border-color: var(--pont-hover-card-border-color, color-mix(in oklab, var(--pont-sem-color-fg) 10%, transparent));
7046
7547
  /** @token Corner radius */
7047
7548
  --_pont-hover-card-radius: var(--pont-hover-card-radius, var(--pont-ref-radius-lg));
7048
7549
  /** @token Shadow */
@@ -7091,9 +7592,9 @@
7091
7592
  @layer pont.primitives {
7092
7593
  :is(pont-prim-toaster, [data-pont-toaster]) {
7093
7594
  /** @token component=toast Background */
7094
- --_pont-toast-bg: var(--pont-toast-bg, var(--pont-sem-color-popover));
7595
+ --_pont-toast-bg: var(--pont-toast-bg, var(--pont-sem-color-overlay));
7095
7596
  /** @token component=toast Text */
7096
- --_pont-toast-fg: var(--pont-toast-fg, var(--pont-sem-color-popover-foreground));
7597
+ --_pont-toast-fg: var(--pont-toast-fg, var(--pont-sem-color-overlay-fg));
7097
7598
  /** @token component=toast Border */
7098
7599
  --_pont-toast-border-color: var(--pont-toast-border-color, var(--pont-sem-color-border));
7099
7600
  /** @token component=toast Corner radius */
@@ -7182,7 +7683,7 @@
7182
7683
  transition: opacity 400ms, translate 400ms;
7183
7684
  }
7184
7685
  [data-pont-toast]:focus-visible {
7185
- --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) color-mix(in oklab, var(--pont-sem-color-ring) 50%, transparent);
7686
+ --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-ring-focus);
7186
7687
  }
7187
7688
  [data-pont-toaster][data-y-position="top"] [data-pont-toast] {
7188
7689
  animation-name: pont-toast-enter-top;
@@ -7228,7 +7729,7 @@
7228
7729
  [data-pont-toast] [data-description] {
7229
7730
  font-weight: var(--pont-ref-typography-weight-normal);
7230
7731
  line-height: 1.4;
7231
- color: var(--pont-sem-color-muted-foreground);
7732
+ color: var(--pont-sem-color-muted-fg);
7232
7733
  }
7233
7734
 
7234
7735
  [data-pont-toast] > [data-button] {
@@ -7256,7 +7757,7 @@
7256
7757
  color: var(--_pont-toast-fg);
7257
7758
  }
7258
7759
  [data-pont-toast] > :is([data-button], [data-close-button]):focus-visible {
7259
- box-shadow: 0 0 0 2px color-mix(in oklab, var(--pont-sem-color-ring) 50%, transparent);
7760
+ box-shadow: 0 0 0 2px var(--pont-sem-color-ring-focus);
7260
7761
  }
7261
7762
 
7262
7763
  [data-pont-toast] > [data-close-button] {
@@ -7468,7 +7969,7 @@
7468
7969
 
7469
7970
  /* `mark` / required caret after the label text. */
7470
7971
  [data-pont-field-label] > [data-slot="field-mark"] {
7471
- color: var(--pont-sem-color-muted-foreground);
7972
+ color: var(--pont-sem-color-muted-fg);
7472
7973
  font-weight: var(--pont-ref-typography-weight-normal, 400);
7473
7974
  }
7474
7975
 
@@ -7496,7 +7997,7 @@
7496
7997
  /* Tokens: the resend row, like <pont-link> (muted text, link colour and hover). */
7497
7998
  :is(pont-otp-resend, [data-pont-otp-resend]) {
7498
7999
  /** @token component=otp-resend Text */
7499
- --_pont-otp-resend-fg: var(--pont-otp-resend-fg, var(--pont-sem-color-muted-foreground));
8000
+ --_pont-otp-resend-fg: var(--pont-otp-resend-fg, var(--pont-sem-color-muted-fg));
7500
8001
  /** @token component=otp-resend Link text */
7501
8002
  --_pont-otp-resend-button-fg: var(--pont-otp-resend-button-fg, currentcolor);
7502
8003
  /** @token component=otp-resend Link text on hover */
@@ -7553,7 +8054,7 @@
7553
8054
  /* Tokens */
7554
8055
  :is(pont-link, [data-pont-link]) {
7555
8056
  /** @token Text */
7556
- --_pont-link-fg: var(--pont-link-fg, var(--pont-sem-color-muted-foreground));
8057
+ --_pont-link-fg: var(--pont-link-fg, var(--pont-sem-color-muted-fg));
7557
8058
  /** @token Link text */
7558
8059
  --_pont-link-button-fg: var(--pont-link-button-fg, currentcolor);
7559
8060
  /** @token Link text on hover */
@@ -7636,7 +8137,7 @@
7636
8137
  }
7637
8138
  [data-pont-title] {
7638
8139
  /** @token component=title Text */
7639
- --_pont-title-fg: var(--pont-title-fg, var(--pont-sem-color-foreground));
8140
+ --_pont-title-fg: var(--pont-title-fg, var(--pont-sem-color-fg));
7640
8141
  /** @token component=title Weight */
7641
8142
  --_pont-title-font-weight: var(--pont-title-font-weight, var(--pont-ref-typography-weight-semibold));
7642
8143
  }
@@ -7660,7 +8161,7 @@
7660
8161
  }
7661
8162
  [data-pont-subtitle] {
7662
8163
  /** @token component=subtitle Text */
7663
- --_pont-subtitle-fg: var(--pont-subtitle-fg, var(--pont-sem-color-muted-foreground));
8164
+ --_pont-subtitle-fg: var(--pont-subtitle-fg, var(--pont-sem-color-muted-fg));
7664
8165
  /** @token component=subtitle Size */
7665
8166
  --_pont-subtitle-font-size: var(--pont-subtitle-font-size, var(--pont-ref-typography-size-sm));
7666
8167
  }
@@ -7788,11 +8289,11 @@
7788
8289
 
7789
8290
  pont-block {
7790
8291
  /** @token Background */
7791
- --_pont-card-bg: var(--pont-block-bg, var(--pont-card-bg, var(--pont-sem-color-card)));
8292
+ --_pont-card-bg: var(--pont-block-bg, var(--pont-card-bg, var(--pont-sem-color-surface)));
7792
8293
  /** @token Text */
7793
- --_pont-card-fg: var(--pont-block-fg, var(--pont-card-fg, var(--pont-sem-color-card-foreground)));
8294
+ --_pont-card-fg: var(--pont-block-fg, var(--pont-card-fg, var(--pont-sem-color-surface-fg)));
7794
8295
  /** @token Border */
7795
- --_pont-card-border-color: var(--pont-block-border-color, var(--pont-card-border-color, color-mix(in oklab, var(--pont-sem-color-foreground) 10%, transparent)));
8296
+ --_pont-card-border-color: var(--pont-block-border-color, var(--pont-card-border-color, color-mix(in oklab, var(--pont-sem-color-fg) 10%, transparent)));
7796
8297
  /** @token Corner radius */
7797
8298
  --_pont-card-radius: var(--pont-block-radius, var(--pont-card-radius, var(--pont-ref-radius-xl)));
7798
8299
  /** @token Shadow */
@@ -7897,7 +8398,7 @@
7897
8398
  }
7898
8399
  [data-pont-watermark][data-variant="muted"] {
7899
8400
  /** @token Text and mark */
7900
- --_pont-watermark-fg: var(--pont-watermark-muted-fg, var(--pont-sem-color-muted-foreground));
8401
+ --_pont-watermark-fg: var(--pont-watermark-muted-fg, var(--pont-sem-color-muted-fg));
7901
8402
  --_pont-watermark-icon-color: currentColor;
7902
8403
  }
7903
8404
 
@@ -7977,7 +8478,7 @@
7977
8478
  * surface left to click or drop onto. Served screens never get these attributes.
7978
8479
  */
7979
8480
  [data-pont-container][data-design] {
7980
- outline: 1px dotted color-mix(in oklab, var(--pont-sem-color-foreground) 35%, transparent);
8481
+ outline: 1px dotted color-mix(in oklab, var(--pont-sem-color-fg) 35%, transparent);
7981
8482
  outline-offset: -1px;
7982
8483
  padding: 0.5rem;
7983
8484
  }
@@ -7993,7 +8494,7 @@
7993
8494
  display: flex;
7994
8495
  align-items: center;
7995
8496
  justify-content: center;
7996
- color: var(--pont-sem-color-muted-foreground);
8497
+ color: var(--pont-sem-color-muted-fg);
7997
8498
  font-size: var(--pont-ref-typography-size-sm);
7998
8499
  pointer-events: none;
7999
8500
  }
@@ -8083,7 +8584,7 @@
8083
8584
  @layer pont.kit {
8084
8585
  :is(pont-countdown, [data-pont-countdown]) {
8085
8586
  display: block;
8086
- color: var(--pont-sem-color-muted-foreground);
8587
+ color: var(--pont-sem-color-muted-fg);
8087
8588
  font-size: var(--pont-ref-typography-size-sm);
8088
8589
  line-height: var(--pont-ref-typography-leading-of-sm);
8089
8590
  font-variant-numeric: tabular-nums;
@@ -8133,7 +8634,7 @@
8133
8634
  /* Reserved line, so the status appearing does not shift the layout. */
8134
8635
  [data-pont-secret] > [data-slot="secret-copied"] {
8135
8636
  min-height: 1rem;
8136
- color: var(--pont-sem-color-muted-foreground);
8637
+ color: var(--pont-sem-color-muted-fg);
8137
8638
  font-size: var(--pont-ref-typography-size-xs);
8138
8639
  line-height: 1rem;
8139
8640
  }
@@ -8144,7 +8645,7 @@
8144
8645
  margin: 0;
8145
8646
  }
8146
8647
  [data-pont-secret] > [data-slot="secret-metadata"] dt {
8147
- color: var(--pont-sem-color-muted-foreground);
8648
+ color: var(--pont-sem-color-muted-fg);
8148
8649
  font-size: var(--pont-ref-typography-size-xs);
8149
8650
  line-height: 1rem;
8150
8651
  }
@@ -8226,7 +8727,7 @@
8226
8727
  }
8227
8728
  [data-pont-recovery-codes] > :is([data-slot="recovery-codes-description"], [data-slot="recovery-codes-empty"]) {
8228
8729
  margin: 0;
8229
- color: var(--pont-sem-color-muted-foreground);
8730
+ color: var(--pont-sem-color-muted-fg);
8230
8731
  font-size: var(--pont-ref-typography-size-sm);
8231
8732
  line-height: var(--pont-ref-typography-leading-of-sm);
8232
8733
  }
@@ -8253,7 +8754,7 @@
8253
8754
  }
8254
8755
  [data-pont-recovery-codes] > [data-slot="recovery-codes-copied"] {
8255
8756
  min-height: 1rem;
8256
- color: var(--pont-sem-color-muted-foreground);
8757
+ color: var(--pont-sem-color-muted-fg);
8257
8758
  font-size: var(--pont-ref-typography-size-xs);
8258
8759
  line-height: 1rem;
8259
8760
  text-align: center;
@@ -8316,7 +8817,7 @@
8316
8817
  display: grid;
8317
8818
  place-items: center;
8318
8819
  min-height: 12rem;
8319
- color: var(--pont-sem-color-muted-foreground);
8820
+ color: var(--pont-sem-color-muted-fg);
8320
8821
  }
8321
8822
  }
8322
8823
 
@@ -8331,7 +8832,7 @@
8331
8832
  display: grid;
8332
8833
  place-items: center;
8333
8834
  min-height: 12rem;
8334
- color: var(--pont-sem-color-muted-foreground);
8835
+ color: var(--pont-sem-color-muted-fg);
8335
8836
  }
8336
8837
  }
8337
8838
 
@@ -8378,7 +8879,7 @@
8378
8879
  height: 1rem;
8379
8880
  }
8380
8881
  pont-data-table [data-pont-data-table-sort]:not(:hover) svg[data-icon-name="arrow-up-down"] {
8381
- color: var(--pont-sem-color-muted-foreground);
8882
+ color: var(--pont-sem-color-muted-fg);
8382
8883
  }
8383
8884
  pont-data-table :is(th, td)[data-align="end"] {
8384
8885
  text-align: end;
@@ -8396,7 +8897,7 @@
8396
8897
  pont-data-table [data-pont-data-table-empty] > td {
8397
8898
  height: 6rem;
8398
8899
  text-align: center;
8399
- color: var(--pont-sem-color-muted-foreground);
8900
+ color: var(--pont-sem-color-muted-fg);
8400
8901
  }
8401
8902
  pont-data-table [data-pont-data-table-empty]:hover {
8402
8903
  background-color: transparent;
@@ -8499,7 +9000,7 @@
8499
9000
  white-space: nowrap;
8500
9001
  font-size: var(--pont-ref-typography-size-xs);
8501
9002
  font-weight: var(--pont-ref-typography-weight-normal);
8502
- color: var(--pont-sem-color-muted-foreground);
9003
+ color: var(--pont-sem-color-muted-fg);
8503
9004
  }
8504
9005
 
8505
9006
  /* The header is a group label: give it the snippet's normal weight and colour. */
@@ -8535,7 +9036,7 @@
8535
9036
  [data-pont-organization-switcher-switching] {
8536
9037
  margin-inline-start: auto;
8537
9038
  font-size: var(--pont-ref-typography-size-xs);
8538
- color: var(--pont-sem-color-muted-foreground);
9039
+ color: var(--pont-sem-color-muted-fg);
8539
9040
  }
8540
9041
 
8541
9042
  [data-pont-organization-switcher-error] {
@@ -8631,7 +9132,7 @@
8631
9132
  margin: 0;
8632
9133
  font-size: var(--pont-ref-typography-size-sm);
8633
9134
  font-weight: var(--pont-ref-typography-weight-medium);
8634
- color: var(--pont-sem-color-muted-foreground);
9135
+ color: var(--pont-sem-color-muted-fg);
8635
9136
  overflow-wrap: anywhere;
8636
9137
  hyphens: auto;
8637
9138
  }
@@ -8650,7 +9151,7 @@
8650
9151
  }
8651
9152
 
8652
9153
  [data-pont-account-settings-empty] {
8653
- color: var(--pont-sem-color-muted-foreground);
9154
+ color: var(--pont-sem-color-muted-fg);
8654
9155
  }
8655
9156
 
8656
9157
  [data-pont-account-settings-photo] {
@@ -8774,7 +9275,7 @@
8774
9275
  [data-pont-member-management-subtitle] {
8775
9276
  margin: 0;
8776
9277
  font-size: var(--pont-ref-typography-size-sm);
8777
- color: var(--pont-sem-color-muted-foreground);
9278
+ color: var(--pont-sem-color-muted-fg);
8778
9279
  }
8779
9280
 
8780
9281
  [data-pont-member-management-tabs] {
@@ -8837,7 +9338,7 @@
8837
9338
  text-overflow: ellipsis;
8838
9339
  white-space: nowrap;
8839
9340
  font-size: var(--pont-ref-typography-size-xs);
8840
- color: var(--pont-sem-color-muted-foreground);
9341
+ color: var(--pont-sem-color-muted-fg);
8841
9342
  }
8842
9343
 
8843
9344
  [data-pont-member-management-roles] {
@@ -8853,7 +9354,7 @@
8853
9354
 
8854
9355
  [data-pont-member-management-time] {
8855
9356
  font-size: var(--pont-ref-typography-size-xs);
8856
- color: var(--pont-sem-color-muted-foreground);
9357
+ color: var(--pont-sem-color-muted-fg);
8857
9358
  }
8858
9359
 
8859
9360
  [data-pont-member-management-pager] {
@@ -8866,7 +9367,7 @@
8866
9367
  }
8867
9368
 
8868
9369
  [data-pont-member-management-range] {
8869
- color: var(--pont-sem-color-muted-foreground);
9370
+ color: var(--pont-sem-color-muted-fg);
8870
9371
  font-variant-numeric: tabular-nums;
8871
9372
  }
8872
9373
 
@@ -8874,7 +9375,7 @@
8874
9375
  display: inline-flex;
8875
9376
  align-items: center;
8876
9377
  gap: 0.5rem;
8877
- color: var(--pont-sem-color-muted-foreground);
9378
+ color: var(--pont-sem-color-muted-fg);
8878
9379
  }
8879
9380
 
8880
9381
  [data-pont-member-management-pager] > :is(pont-pagination, [data-pont-pagination]) {
@@ -8918,14 +9419,14 @@
8918
9419
 
8919
9420
  [data-pont-member-management-who] dd {
8920
9421
  margin: 0;
8921
- color: var(--pont-sem-color-muted-foreground);
9422
+ color: var(--pont-sem-color-muted-fg);
8922
9423
  overflow-wrap: anywhere;
8923
9424
  }
8924
9425
 
8925
9426
  [data-pont-member-management-subject] {
8926
9427
  display: block;
8927
9428
  margin-block: 0.5rem;
8928
- color: var(--pont-sem-color-foreground);
9429
+ color: var(--pont-sem-color-fg);
8929
9430
  overflow-wrap: anywhere;
8930
9431
  }
8931
9432