@pontive/pontkit-core 3.0.0 → 3.1.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
@@ -39,10 +39,87 @@
39
39
  * reads its public tokens with a fallback and resolves them on the element
40
40
  * (11 §4, §5).
41
41
  *
42
- * ref/ raw values, global only, never read by components
43
- * sem/ design roles; light/dark lives in sem/color.css
42
+ * opacity.css the opacity unit (--pont-ref-opacity), none/full, and the disabled role
43
+ * radius.css the radius knob (--pont-ref-radius) and the ref scale derived from it
44
+ * ref/ raw values, global only
45
+ * sem/ design roles; light/dark lives in sem/color.css
44
46
  */
45
47
 
48
+ /* ./opacity.css */
49
+ /*
50
+ * ===========================================================================
51
+ * OPACITY TOKENS
52
+ * ---------------------------------------------------------------------------
53
+ * `opacity`
54
+ * ===========================================================================
55
+ */
56
+
57
+ /*
58
+ * --------------------------------------------------
59
+ * OPACITY REFERENCE TOKENS
60
+ * --------------------------------------------------
61
+ */
62
+
63
+ @layer pont.tokens {
64
+ :root {
65
+ /* Anchor/seed value */
66
+ --pont-ref-opacity: 0.01;
67
+
68
+ /* Absolute values */
69
+ --pont-ref-opacity-none: 0;
70
+ --pont-ref-opacity-full: 1;
71
+ }
72
+ }
73
+
74
+ /*
75
+ * --------------------------------------------------
76
+ * OPACITY SEMANTIC TOKENS
77
+ * --------------------------------------------------
78
+ */
79
+
80
+ @layer pont.tokens {
81
+ :root {
82
+ /* Anchor/seed value */
83
+ --pont-sem-opacity-disabled: calc(var(--pont-ref-opacity) * 50);
84
+ }
85
+ }
86
+
87
+ /* ./radius.css */
88
+ /*
89
+ * ===========================================================================
90
+ * RADIUS TOKENS
91
+ * ---------------------------------------------------------------------------
92
+ * `border-radius`
93
+ * ===========================================================================
94
+ */
95
+
96
+ /*
97
+ * --------------------------------------------------
98
+ * RADIUS REFERENCE TOKENS
99
+ * --------------------------------------------------
100
+ */
101
+
102
+ @layer pont.tokens {
103
+ :root {
104
+ /* Anchor/seed value */
105
+ --pont-ref-radius: 0.625rem;
106
+
107
+ /* Proportional scale derived from anchor */
108
+ --pont-ref-radius-xs: calc(var(--pont-ref-radius) * 0.2);
109
+ --pont-ref-radius-sm: calc(var(--pont-ref-radius) * 0.6);
110
+ --pont-ref-radius-md: calc(var(--pont-ref-radius) * 0.8);
111
+ --pont-ref-radius-lg: var(--pont-ref-radius);
112
+ --pont-ref-radius-xl: calc(var(--pont-ref-radius) * 1.4);
113
+ --pont-ref-radius-2xl: calc(var(--pont-ref-radius) * 1.8);
114
+ --pont-ref-radius-3xl: calc(var(--pont-ref-radius) * 2.2);
115
+ --pont-ref-radius-4xl: calc(var(--pont-ref-radius) * 2.6);
116
+
117
+ /* Absolute values */
118
+ --pont-ref-radius-none: 0;
119
+ --pont-ref-radius-full: calc(infinity * 1rem);
120
+ }
121
+ }
122
+
46
123
  /* ./ref/color.css */
47
124
  /*
48
125
  * ===========================================================================
@@ -471,19 +548,6 @@
471
548
  }
472
549
  }
473
550
 
474
- /* ./ref/radius.css */
475
- /*
476
- * ===========================================================================
477
- * RADIUS REFERENCE TOKENS
478
- * ===========================================================================
479
- */
480
-
481
- @layer pont.tokens {
482
- :root {
483
- --pont-ref-radius: 0.625rem;
484
- }
485
- }
486
-
487
551
  /* ./ref/spacing.css */
488
552
  /*
489
553
  * ===========================================================================
@@ -770,34 +834,6 @@
770
834
  }
771
835
  }
772
836
 
773
- /* ./sem/radius.css */
774
- /*
775
- * ===========================================================================
776
- * RADIUS SEMANTIC TOKENS
777
- * ===========================================================================
778
- *
779
- * The scale is derived from one knob, --pont-ref-radius (shadcn's
780
- * `--radius`; `lg` equals it). Derived tokens resolve where they are
781
- * declared (:root), so overriding the knob below :root does not move the
782
- * scale; ref and sem tokens are global only (docs/11-tokens.md §4).
783
- */
784
-
785
- @layer pont.tokens {
786
- :root {
787
- --pont-sem-radius-xs: calc(var(--pont-ref-radius) * 0.2);
788
- --pont-sem-radius-sm: calc(var(--pont-ref-radius) * 0.6);
789
- --pont-sem-radius-md: calc(var(--pont-ref-radius) * 0.8);
790
- --pont-sem-radius-lg: var(--pont-ref-radius);
791
- --pont-sem-radius-xl: calc(var(--pont-ref-radius) * 1.4);
792
- --pont-sem-radius-2xl: calc(var(--pont-ref-radius) * 1.8);
793
- --pont-sem-radius-3xl: calc(var(--pont-ref-radius) * 2.2);
794
- --pont-sem-radius-4xl: calc(var(--pont-ref-radius) * 2.6);
795
-
796
- --pont-sem-radius-none: 0;
797
- --pont-sem-radius-full: calc(infinity * 1rem);
798
- }
799
- }
800
-
801
837
  /* ./sem/shadow.css */
802
838
  /*
803
839
  * ===========================================================================
@@ -829,9 +865,8 @@
829
865
 
830
866
  /* ./sem/shape.css */
831
867
  /*
832
- * sem · shape and state: the focus ring, the hairline border width, and the
833
- * disabled opacity. The radius scale lives in sem/radius.css, derived from
834
- * the ref knob in ref/radius.css.
868
+ * sem · shape: the focus ring and the hairline border width. The radius
869
+ * knob and its scale live in tokens/radius.css, opacity in tokens/opacity.css.
835
870
  */
836
871
  @layer pont.tokens {
837
872
  :root {
@@ -839,8 +874,6 @@
839
874
  --pont-sem-ring-width: 3px;
840
875
  /* Every 1px border (shadcn's `border`): controls, cards, dividers, the QR frame */
841
876
  --pont-sem-border-width: 1px;
842
- /* Every disabled control and its label (shadcn's `disabled:opacity-50`) */
843
- --pont-sem-opacity-disabled: 0.5;
844
877
  }
845
878
  }
846
879
 
@@ -1056,7 +1089,7 @@
1056
1089
 
1057
1090
  [data-pont-button] {
1058
1091
  /** @token Corner radius */
1059
- --_pont-button-radius: var(--pont-button-radius, var(--pont-sem-radius-md));
1092
+ --_pont-button-radius: var(--pont-button-radius, var(--pont-ref-radius-md));
1060
1093
  /** @token Label weight */
1061
1094
  --_pont-button-font-weight: var(--pont-button-font-weight, var(--pont-sem-font-weight-medium));
1062
1095
  /* Set per variant below; declared here so nothing is inherited from an ancestor. */
@@ -1400,7 +1433,7 @@
1400
1433
  /** @token Border */
1401
1434
  --_pont-input-border-color: var(--pont-input-border-color, var(--pont-sem-color-input));
1402
1435
  /** @token Corner radius */
1403
- --_pont-input-radius: var(--pont-input-radius, var(--pont-sem-radius-md));
1436
+ --_pont-input-radius: var(--pont-input-radius, var(--pont-ref-radius-md));
1404
1437
  /** @token Height */
1405
1438
  --_pont-input-height: var(--pont-input-height, 2.25rem);
1406
1439
  /** @token Placeholder text */
@@ -1492,7 +1525,7 @@
1492
1525
  /** @token Border */
1493
1526
  --_pont-textarea-border-color: var(--pont-textarea-border-color, var(--pont-sem-color-input));
1494
1527
  /** @token Corner radius */
1495
- --_pont-textarea-radius: var(--pont-textarea-radius, var(--pont-sem-radius-md));
1528
+ --_pont-textarea-radius: var(--pont-textarea-radius, var(--pont-ref-radius-md));
1496
1529
  /** @token Placeholder text */
1497
1530
  --_pont-textarea-placeholder-fg: var(--pont-textarea-placeholder-fg, var(--pont-sem-color-muted-foreground));
1498
1531
  }
@@ -1683,7 +1716,7 @@
1683
1716
  upgrade, in recipes). */
1684
1717
  :is(pont-prim-badge, pont-badge, [data-pont-badge]) {
1685
1718
  /** @token Corner radius */
1686
- --_pont-badge-radius: var(--pont-badge-radius, var(--pont-sem-radius-4xl));
1719
+ --_pont-badge-radius: var(--pont-badge-radius, var(--pont-ref-radius-4xl));
1687
1720
  /** @token Label weight */
1688
1721
  --_pont-badge-font-weight: var(--pont-badge-font-weight, var(--pont-sem-font-weight-medium));
1689
1722
  /** @token Height */
@@ -1836,7 +1869,7 @@
1836
1869
  /** @token Text */
1837
1870
  --_pont-kbd-fg: var(--pont-kbd-fg, var(--pont-sem-color-muted-foreground));
1838
1871
  /** @token Corner radius */
1839
- --_pont-kbd-radius: var(--pont-kbd-radius, var(--pont-sem-radius-sm));
1872
+ --_pont-kbd-radius: var(--pont-kbd-radius, var(--pont-ref-radius-sm));
1840
1873
  /** @token Height */
1841
1874
  --_pont-kbd-height: var(--pont-kbd-height, 1.25rem);
1842
1875
  /** @token Label weight */
@@ -1898,7 +1931,7 @@
1898
1931
  /** @token Background */
1899
1932
  --_pont-skeleton-bg: var(--pont-skeleton-bg, var(--pont-sem-color-muted));
1900
1933
  /** @token Corner radius */
1901
- --_pont-skeleton-radius: var(--pont-skeleton-radius, var(--pont-sem-radius-md));
1934
+ --_pont-skeleton-radius: var(--pont-skeleton-radius, var(--pont-ref-radius-md));
1902
1935
  }
1903
1936
 
1904
1937
  :is(pont-prim-skeleton, pont-skeleton, [data-pont-skeleton]) {
@@ -1969,7 +2002,7 @@
1969
2002
  /** @token Border */
1970
2003
  --_pont-alert-border-color: var(--pont-alert-border-color, var(--pont-sem-color-border));
1971
2004
  /** @token Corner radius */
1972
- --_pont-alert-radius: var(--pont-alert-radius, var(--pont-sem-radius-lg));
2005
+ --_pont-alert-radius: var(--pont-alert-radius, var(--pont-ref-radius-lg));
1973
2006
  /** @token Horizontal padding */
1974
2007
  --_pont-alert-padding-x: var(--pont-alert-padding-x, 1rem);
1975
2008
  /** @token Vertical padding */
@@ -2102,7 +2135,7 @@
2102
2135
 
2103
2136
  :is(pont-prim-avatar, [data-pont-avatar], pont-prim-avatar-group-count, [data-pont-avatar-group-count]) {
2104
2137
  /** @token Corner radius */
2105
- --_pont-avatar-radius: var(--pont-avatar-radius, var(--pont-sem-radius-full));
2138
+ --_pont-avatar-radius: var(--pont-avatar-radius, var(--pont-ref-radius-full));
2106
2139
  /** @token Outline ring */
2107
2140
  --_pont-avatar-border-color: var(--pont-avatar-border-color, var(--pont-sem-color-border));
2108
2141
  /** @token Fallback and count background */
@@ -2171,7 +2204,7 @@
2171
2204
  justify-content: center;
2172
2205
  width: 100%;
2173
2206
  height: 100%;
2174
- border-radius: var(--_pont-avatar-radius, var(--pont-sem-radius-full));
2207
+ border-radius: var(--_pont-avatar-radius, var(--pont-ref-radius-full));
2175
2208
  background-color: var(--_pont-avatar-fallback-bg, var(--pont-sem-color-muted));
2176
2209
  color: var(--_pont-avatar-fallback-fg, var(--pont-sem-color-muted-foreground));
2177
2210
  font-size: var(--pont-sem-text-sm);
@@ -2196,7 +2229,7 @@
2196
2229
  justify-content: center;
2197
2230
  width: 0.625rem;
2198
2231
  height: 0.625rem;
2199
- border-radius: var(--pont-sem-radius-full);
2232
+ border-radius: var(--pont-ref-radius-full);
2200
2233
  background-blend-mode: color;
2201
2234
  background-color: var(--_pont-avatar-badge-bg, var(--pont-sem-color-primary));
2202
2235
  color: var(--_pont-avatar-badge-fg, var(--pont-sem-color-primary-foreground));
@@ -2301,7 +2334,7 @@
2301
2334
  /** @token Text cell border */
2302
2335
  --_pont-button-group-text-border-color: var(--pont-button-group-text-border-color, var(--pont-sem-color-border));
2303
2336
  /** @token Text cell corner radius */
2304
- --_pont-button-group-text-radius: var(--pont-button-group-text-radius, var(--pont-sem-radius-md));
2337
+ --_pont-button-group-text-radius: var(--pont-button-group-text-radius, var(--pont-ref-radius-md));
2305
2338
  /** @token Text cell weight */
2306
2339
  --_pont-button-group-text-font-weight: var(--pont-button-group-text-font-weight, var(--pont-sem-font-weight-medium));
2307
2340
  /** @token Separator colour */
@@ -2395,7 +2428,7 @@
2395
2428
  margin: 0;
2396
2429
  padding: 0 0.625rem;
2397
2430
  border: var(--pont-sem-border-width) solid var(--_pont-button-group-text-border-color, var(--pont-sem-color-border));
2398
- border-radius: var(--_pont-button-group-text-radius, var(--pont-sem-radius-md));
2431
+ border-radius: var(--_pont-button-group-text-radius, var(--pont-ref-radius-md));
2399
2432
  background-color: var(--_pont-button-group-text-bg, var(--pont-sem-color-muted));
2400
2433
  font-size: var(--pont-sem-text-sm);
2401
2434
  line-height: var(--pont-sem-text-sm--line-height);
@@ -2449,7 +2482,7 @@
2449
2482
  /** @token Border */
2450
2483
  --_pont-card-border-color: var(--pont-card-border-color, color-mix(in oklab, var(--pont-sem-color-foreground) 10%, transparent));
2451
2484
  /** @token Corner radius */
2452
- --_pont-card-radius: var(--pont-card-radius, var(--pont-sem-radius-xl));
2485
+ --_pont-card-radius: var(--pont-card-radius, var(--pont-ref-radius-xl));
2453
2486
  /** @token Shadow */
2454
2487
  --_pont-card-shadow: var(--pont-card-shadow, var(--pont-sem-shadow-xs));
2455
2488
  /** @token Spacing (padding and gap) */
@@ -2595,7 +2628,7 @@
2595
2628
  /** @token Border */
2596
2629
  --_pont-empty-border-color: var(--pont-empty-border-color, var(--pont-sem-color-border));
2597
2630
  /** @token Corner radius */
2598
- --_pont-empty-radius: var(--pont-empty-radius, var(--pont-sem-radius-lg));
2631
+ --_pont-empty-radius: var(--pont-empty-radius, var(--pont-ref-radius-lg));
2599
2632
  /** @token Horizontal padding */
2600
2633
  --_pont-empty-padding-x: var(--pont-empty-padding-x, 3rem);
2601
2634
  /** @token Vertical padding */
@@ -2658,7 +2691,7 @@
2658
2691
  [data-pont-empty-media][data-variant="icon"] {
2659
2692
  width: 2.5rem;
2660
2693
  height: 2.5rem;
2661
- border-radius: var(--_pont-empty-radius, var(--pont-sem-radius-lg));
2694
+ border-radius: var(--_pont-empty-radius, var(--pont-ref-radius-lg));
2662
2695
  background-color: var(--_pont-empty-media-icon-bg, var(--pont-sem-color-muted));
2663
2696
  color: var(--_pont-empty-media-icon-fg, var(--pont-sem-color-foreground));
2664
2697
  }
@@ -2756,7 +2789,7 @@
2756
2789
  /** @token Border */
2757
2790
  --_pont-field-choice-border-color: var(--pont-field-choice-border-color, var(--pont-sem-color-border));
2758
2791
  /** @token Corner radius */
2759
- --_pont-field-choice-radius: var(--pont-field-choice-radius, var(--pont-sem-radius-md));
2792
+ --_pont-field-choice-radius: var(--pont-field-choice-radius, var(--pont-ref-radius-md));
2760
2793
  /** @token Background on hover */
2761
2794
  --_pont-field-choice-bg-hover: var(--pont-field-choice-bg-hover, color-mix(in oklab, var(--pont-sem-color-muted) 50%, transparent));
2762
2795
  /** @token Background when checked */
@@ -3044,7 +3077,7 @@
3044
3077
  /** @token Border */
3045
3078
  --_pont-input-group-border-color: var(--pont-input-group-border-color, var(--pont-input-border-color, var(--pont-sem-color-input)));
3046
3079
  /** @token Corner radius */
3047
- --_pont-input-group-radius: var(--pont-input-group-radius, var(--pont-input-radius, var(--pont-sem-radius-md)));
3080
+ --_pont-input-group-radius: var(--pont-input-group-radius, var(--pont-input-radius, var(--pont-ref-radius-md)));
3048
3081
  /** @token Height */
3049
3082
  --_pont-input-group-height: var(--pont-input-group-height, var(--pont-input-height, 2.25rem));
3050
3083
  /** @token Addon text */
@@ -3130,7 +3163,7 @@
3130
3163
  opacity: var(--pont-sem-opacity-disabled);
3131
3164
  }
3132
3165
  :is(pont-prim-input-group-addon, [data-pont-input-group-addon]) > :is(kbd, pont-prim-kbd, pont-kbd, [data-pont-kbd]) {
3133
- border-radius: calc(var(--pont-sem-radius-lg) - 5px);
3166
+ border-radius: calc(var(--pont-ref-radius-lg) - 5px);
3134
3167
  }
3135
3168
  :is(pont-prim-input-group-addon, [data-pont-input-group-addon]) > svg:not([class*="size-"]) {
3136
3169
  width: 1rem;
@@ -3204,7 +3237,7 @@
3204
3237
  [data-pont-input-group-textarea] {
3205
3238
  flex: 1 1 0%;
3206
3239
  border: 0;
3207
- border-radius: var(--pont-sem-radius-none);
3240
+ border-radius: var(--pont-ref-radius-none);
3208
3241
  background-color: transparent;
3209
3242
  --pont-shadow: var(--pont-sem-shadow-none);
3210
3243
  --pont-ring-shadow: 0 0 #0000;
@@ -3230,7 +3263,7 @@
3230
3263
  height: 1.5rem;
3231
3264
  gap: 0.25rem;
3232
3265
  padding: 0 0.375rem;
3233
- border-radius: calc(var(--pont-sem-radius-lg) - 5px);
3266
+ border-radius: calc(var(--pont-ref-radius-lg) - 5px);
3234
3267
  font-size: var(--pont-sem-text-sm);
3235
3268
  line-height: var(--pont-sem-text-sm--line-height);
3236
3269
  }
@@ -3242,7 +3275,7 @@
3242
3275
  width: 1.5rem;
3243
3276
  height: 1.5rem;
3244
3277
  padding: 0;
3245
- border-radius: calc(var(--pont-sem-radius-lg) - 5px);
3278
+ border-radius: calc(var(--pont-ref-radius-lg) - 5px);
3246
3279
  }
3247
3280
  [data-pont-input-group-button][data-size="icon-sm"] {
3248
3281
  width: 2rem;
@@ -3285,7 +3318,7 @@
3285
3318
 
3286
3319
  :is(pont-prim-item, [data-pont-item]) {
3287
3320
  /** @token Corner radius */
3288
- --_pont-item-radius: var(--pont-item-radius, var(--pont-sem-radius-md));
3321
+ --_pont-item-radius: var(--pont-item-radius, var(--pont-ref-radius-md));
3289
3322
  /** @token Background on hover (link items) */
3290
3323
  --_pont-item-bg-hover: var(--pont-item-bg-hover, var(--pont-sem-color-muted));
3291
3324
  /** @token Title weight */
@@ -3392,7 +3425,7 @@
3392
3425
  width: 2.5rem;
3393
3426
  height: 2.5rem;
3394
3427
  overflow: hidden;
3395
- border-radius: var(--pont-sem-radius-sm);
3428
+ border-radius: var(--pont-ref-radius-sm);
3396
3429
  }
3397
3430
  [data-pont-item][data-size="sm"] [data-pont-item-media][data-variant="image"] {
3398
3431
  width: 2rem;
@@ -3506,7 +3539,7 @@
3506
3539
  /** @token Border */
3507
3540
  --_pont-native-select-border-color: var(--pont-native-select-border-color, var(--pont-sem-color-input));
3508
3541
  /** @token Corner radius */
3509
- --_pont-native-select-radius: var(--pont-native-select-radius, var(--pont-sem-radius-md));
3542
+ --_pont-native-select-radius: var(--pont-native-select-radius, var(--pont-ref-radius-md));
3510
3543
  /** @token Height */
3511
3544
  --_pont-native-select-height: var(--pont-native-select-height, 2.25rem);
3512
3545
  /** @token Chevron */
@@ -3848,7 +3881,7 @@
3848
3881
  /** @token Gap between groups */
3849
3882
  --_pont-input-otp-gap: var(--pont-input-otp-gap, 0.5rem);
3850
3883
  /** @token Corner radius */
3851
- --_pont-input-otp-radius: var(--pont-input-otp-radius, var(--pont-sem-radius-md));
3884
+ --_pont-input-otp-radius: var(--pont-input-otp-radius, var(--pont-ref-radius-md));
3852
3885
  /** @token Background */
3853
3886
  --_pont-input-otp-slot-bg: var(--pont-input-otp-slot-bg, var(--pont-sem-color-field));
3854
3887
  /** @token Border */
@@ -4013,7 +4046,7 @@
4013
4046
  /** @token Track height */
4014
4047
  --_pont-progress-track-height: var(--pont-progress-track-height, 0.375rem);
4015
4048
  /** @token Track corner radius */
4016
- --_pont-progress-track-radius: var(--pont-progress-track-radius, var(--pont-sem-radius-full));
4049
+ --_pont-progress-track-radius: var(--pont-progress-track-radius, var(--pont-ref-radius-full));
4017
4050
  /** @token Indicator */
4018
4051
  --_pont-progress-indicator-bg: var(--pont-progress-indicator-bg, var(--pont-sem-color-primary));
4019
4052
  /** @token Label weight */
@@ -4039,7 +4072,7 @@
4039
4072
  height: var(--_pont-progress-track-height, 0.375rem);
4040
4073
  align-items: center;
4041
4074
  overflow-x: hidden;
4042
- border-radius: var(--_pont-progress-track-radius, var(--pont-sem-radius-full));
4075
+ border-radius: var(--_pont-progress-track-radius, var(--pont-ref-radius-full));
4043
4076
  background-color: var(--_pont-progress-track-bg, var(--pont-sem-color-muted));
4044
4077
  }
4045
4078
 
@@ -4116,7 +4149,7 @@
4116
4149
  width: 1rem;
4117
4150
  height: 1rem;
4118
4151
  border: var(--pont-sem-border-width) solid var(--_pont-radio-group-item-border-color);
4119
- border-radius: var(--pont-sem-radius-full);
4152
+ border-radius: var(--pont-ref-radius-full);
4120
4153
  background-color: var(--_pont-radio-group-item-bg);
4121
4154
  outline: none;
4122
4155
  color: inherit;
@@ -4181,7 +4214,7 @@
4181
4214
  width: 0.5rem;
4182
4215
  height: 0.5rem;
4183
4216
  translate: -50% -50%;
4184
- border-radius: var(--pont-sem-radius-full);
4217
+ border-radius: var(--pont-ref-radius-full);
4185
4218
  background-color: var(--_pont-radio-group-indicator-bg);
4186
4219
  }
4187
4220
  }
@@ -4259,7 +4292,7 @@
4259
4292
  flex-grow: 1;
4260
4293
  overflow: hidden;
4261
4294
  user-select: none;
4262
- border-radius: var(--pont-sem-radius-full);
4295
+ border-radius: var(--pont-ref-radius-full);
4263
4296
  background-color: var(--_pont-slider-track-bg);
4264
4297
  }
4265
4298
  [data-pont-slider-track][data-orientation="horizontal"] {
@@ -4294,7 +4327,7 @@
4294
4327
  width: var(--_pont-slider-thumb);
4295
4328
  height: var(--_pont-slider-thumb);
4296
4329
  border: var(--pont-sem-border-width) solid var(--_pont-slider-thumb-border-color);
4297
- border-radius: var(--pont-sem-radius-full);
4330
+ border-radius: var(--pont-ref-radius-full);
4298
4331
  background-color: var(--_pont-slider-thumb-bg);
4299
4332
  outline: none;
4300
4333
  --pont-shadow: var(--_pont-slider-thumb-shadow);
@@ -4363,7 +4396,7 @@
4363
4396
  height: 18.4px;
4364
4397
  width: 32px;
4365
4398
  border: var(--pont-sem-border-width) solid transparent;
4366
- border-radius: var(--pont-sem-radius-full);
4399
+ border-radius: var(--pont-ref-radius-full);
4367
4400
  background-color: var(--_pont-switch-bg);
4368
4401
  outline: none;
4369
4402
  --pont-shadow: var(--pont-sem-shadow-xs);
@@ -4415,7 +4448,7 @@
4415
4448
  display: block;
4416
4449
  width: 1rem;
4417
4450
  height: 1rem;
4418
- border-radius: var(--pont-sem-radius-full);
4451
+ border-radius: var(--pont-ref-radius-full);
4419
4452
  background-color: var(--_pont-switch-thumb-bg);
4420
4453
  translate: 0 0;
4421
4454
  transition-property: translate, transform;
@@ -4471,11 +4504,11 @@
4471
4504
  /** @token List background */
4472
4505
  --_pont-tabs-list-bg: var(--pont-tabs-list-bg, var(--pont-sem-color-muted));
4473
4506
  /** @token List corner radius */
4474
- --_pont-tabs-list-radius: var(--pont-tabs-list-radius, var(--pont-sem-radius-lg));
4507
+ --_pont-tabs-list-radius: var(--pont-tabs-list-radius, var(--pont-ref-radius-lg));
4475
4508
  /** @token List height */
4476
4509
  --_pont-tabs-list-height: var(--pont-tabs-list-height, 2.25rem);
4477
4510
  /** @token Tab corner radius */
4478
- --_pont-tabs-trigger-radius: var(--pont-tabs-trigger-radius, var(--pont-sem-radius-md));
4511
+ --_pont-tabs-trigger-radius: var(--pont-tabs-trigger-radius, var(--pont-ref-radius-md));
4479
4512
  /** @token Tab label weight */
4480
4513
  --_pont-tabs-trigger-font-weight: var(--pont-tabs-trigger-font-weight, var(--pont-sem-font-weight-medium));
4481
4514
  /** @token Tab text */
@@ -4495,7 +4528,7 @@
4495
4528
  /* line variant: no list fill, the active tab is marked by the indicator only */
4496
4529
  [data-pont-tabs-list][data-variant="line"] {
4497
4530
  --_pont-tabs-list-bg: transparent;
4498
- --_pont-tabs-list-radius: var(--pont-sem-radius-none);
4531
+ --_pont-tabs-list-radius: var(--pont-ref-radius-none);
4499
4532
  --_pont-tabs-trigger-bg-active: transparent;
4500
4533
  --_pont-tabs-trigger-border-color-active: transparent;
4501
4534
  }
@@ -4546,7 +4579,7 @@
4546
4579
  padding: 0.25rem 0.5rem;
4547
4580
  white-space: nowrap;
4548
4581
  border: var(--pont-sem-border-width) solid transparent;
4549
- border-radius: var(--_pont-tabs-trigger-radius, var(--pont-sem-radius-md));
4582
+ border-radius: var(--_pont-tabs-trigger-radius, var(--pont-ref-radius-md));
4550
4583
  color: var(--_pont-tabs-trigger-fg, var(--pont-sem-color-segment-fg));
4551
4584
  font-size: var(--pont-sem-text-sm);
4552
4585
  line-height: var(--pont-sem-text-sm--line-height);
@@ -4783,7 +4816,7 @@
4783
4816
  /** @token Border */
4784
4817
  --_pont-popover-border-color: var(--pont-popover-border-color, color-mix(in oklab, var(--pont-sem-color-foreground) 10%, transparent));
4785
4818
  /** @token Corner radius */
4786
- --_pont-popover-radius: var(--pont-popover-radius, var(--pont-sem-radius-md));
4819
+ --_pont-popover-radius: var(--pont-popover-radius, var(--pont-ref-radius-md));
4787
4820
  /** @token Shadow */
4788
4821
  --_pont-popover-shadow: var(--pont-popover-shadow, var(--pont-sem-shadow-md));
4789
4822
  /** @token Width */
@@ -4863,7 +4896,7 @@
4863
4896
  /** @token Border */
4864
4897
  --_pont-dropdown-menu-border-color: var(--pont-dropdown-menu-border-color, color-mix(in oklab, var(--pont-sem-color-foreground) 10%, transparent));
4865
4898
  /** @token Corner radius */
4866
- --_pont-dropdown-menu-radius: var(--pont-dropdown-menu-radius, var(--pont-sem-radius-md));
4899
+ --_pont-dropdown-menu-radius: var(--pont-dropdown-menu-radius, var(--pont-ref-radius-md));
4867
4900
  /** @token Shadow */
4868
4901
  --_pont-dropdown-menu-shadow: var(--pont-dropdown-menu-shadow, var(--pont-sem-shadow-md));
4869
4902
  /** @token Minimum width */
@@ -4873,7 +4906,7 @@
4873
4906
  /** @token Vertical padding */
4874
4907
  --_pont-dropdown-menu-padding-y: var(--pont-dropdown-menu-padding-y, 0.25rem);
4875
4908
  /** @token Corner radius */
4876
- --_pont-dropdown-menu-item-radius: var(--pont-dropdown-menu-item-radius, var(--pont-sem-radius-sm));
4909
+ --_pont-dropdown-menu-item-radius: var(--pont-dropdown-menu-item-radius, var(--pont-ref-radius-sm));
4877
4910
  /** @token Background when highlighted */
4878
4911
  --_pont-dropdown-menu-item-bg-focus: var(--pont-dropdown-menu-item-bg-focus, var(--pont-sem-color-accent));
4879
4912
  /** @token Text when highlighted */
@@ -5060,7 +5093,7 @@
5060
5093
  /** @token Border */
5061
5094
  --_pont-select-trigger-border-color: var(--pont-select-trigger-border-color, var(--pont-sem-color-input));
5062
5095
  /** @token Corner radius */
5063
- --_pont-select-trigger-radius: var(--pont-select-trigger-radius, var(--pont-sem-radius-md));
5096
+ --_pont-select-trigger-radius: var(--pont-select-trigger-radius, var(--pont-ref-radius-md));
5064
5097
  /** @token Height */
5065
5098
  --_pont-select-trigger-height: var(--pont-select-trigger-height, 2.25rem);
5066
5099
  /** @token Background */
@@ -5070,11 +5103,11 @@
5070
5103
  /** @token Border */
5071
5104
  --_pont-select-content-border-color: var(--pont-select-content-border-color, color-mix(in oklab, var(--pont-sem-color-foreground) 10%, transparent));
5072
5105
  /** @token Corner radius */
5073
- --_pont-select-content-radius: var(--pont-select-content-radius, var(--pont-sem-radius-md));
5106
+ --_pont-select-content-radius: var(--pont-select-content-radius, var(--pont-ref-radius-md));
5074
5107
  /** @token Shadow */
5075
5108
  --_pont-select-content-shadow: var(--pont-select-content-shadow, var(--pont-sem-shadow-md));
5076
5109
  /** @token Corner radius */
5077
- --_pont-select-item-radius: var(--pont-select-item-radius, var(--pont-sem-radius-sm));
5110
+ --_pont-select-item-radius: var(--pont-select-item-radius, var(--pont-ref-radius-sm));
5078
5111
  /** @token Background when highlighted */
5079
5112
  --_pont-select-item-bg-focus: var(--pont-select-item-bg-focus, var(--pont-sem-color-accent));
5080
5113
  /** @token Text when highlighted */
@@ -5280,7 +5313,7 @@
5280
5313
  /** @token Border */
5281
5314
  --_pont-combobox-input-border-color: var(--pont-combobox-input-border-color, var(--pont-input-group-border-color, var(--pont-input-border-color, var(--pont-sem-color-input))));
5282
5315
  /** @token Corner radius */
5283
- --_pont-combobox-input-radius: var(--pont-combobox-input-radius, var(--pont-input-group-radius, var(--pont-input-radius, var(--pont-sem-radius-md))));
5316
+ --_pont-combobox-input-radius: var(--pont-combobox-input-radius, var(--pont-input-group-radius, var(--pont-input-radius, var(--pont-ref-radius-md))));
5284
5317
  /** @token Height */
5285
5318
  --_pont-combobox-input-height: var(--pont-combobox-input-height, var(--pont-input-group-height, var(--pont-input-height, 2.25rem)));
5286
5319
  /** @token Background */
@@ -5290,11 +5323,11 @@
5290
5323
  /** @token Border */
5291
5324
  --_pont-combobox-content-border-color: var(--pont-combobox-content-border-color, color-mix(in oklab, var(--pont-sem-color-foreground) 10%, transparent));
5292
5325
  /** @token Corner radius */
5293
- --_pont-combobox-content-radius: var(--pont-combobox-content-radius, var(--pont-sem-radius-md));
5326
+ --_pont-combobox-content-radius: var(--pont-combobox-content-radius, var(--pont-ref-radius-md));
5294
5327
  /** @token Shadow */
5295
5328
  --_pont-combobox-content-shadow: var(--pont-combobox-content-shadow, var(--pont-sem-shadow-md));
5296
5329
  /** @token Corner radius */
5297
- --_pont-combobox-item-radius: var(--pont-combobox-item-radius, var(--pont-sem-radius-sm));
5330
+ --_pont-combobox-item-radius: var(--pont-combobox-item-radius, var(--pont-ref-radius-sm));
5298
5331
  /** @token Background when highlighted */
5299
5332
  --_pont-combobox-item-bg-focus: var(--pont-combobox-item-bg-focus, var(--pont-sem-color-accent));
5300
5333
  /** @token Text when highlighted */
@@ -5304,7 +5337,7 @@
5304
5337
  /** @token Text */
5305
5338
  --_pont-combobox-chip-fg: var(--pont-combobox-chip-fg, var(--pont-sem-color-foreground));
5306
5339
  /** @token Corner radius */
5307
- --_pont-combobox-chip-radius: var(--pont-combobox-chip-radius, var(--pont-sem-radius-sm));
5340
+ --_pont-combobox-chip-radius: var(--pont-combobox-chip-radius, var(--pont-ref-radius-sm));
5308
5341
  }
5309
5342
 
5310
5343
  /* ComboboxInput = InputGroup: "relative flex w-full min-w-0 items-center outline-none"
@@ -5350,7 +5383,7 @@
5350
5383
  height: 100%;
5351
5384
  padding: 0.25rem 0.375rem 0.25rem 0.625rem;
5352
5385
  border: 0;
5353
- border-radius: var(--pont-sem-radius-none);
5386
+ border-radius: var(--pont-ref-radius-none);
5354
5387
  background: transparent;
5355
5388
  color: inherit;
5356
5389
  font-family: inherit;
@@ -5398,7 +5431,7 @@
5398
5431
  width: 1.5rem;
5399
5432
  height: 1.5rem;
5400
5433
  padding: 0;
5401
- border-radius: calc(var(--pont-sem-radius-lg) - 5px);
5434
+ border-radius: calc(var(--pont-ref-radius-lg) - 5px);
5402
5435
  --pont-shadow: var(--pont-sem-shadow-none);
5403
5436
  }
5404
5437
  /* .cn-combobox-trigger [&_svg]:size-4, .cn-combobox-trigger-icon text-muted-foreground */
@@ -5652,7 +5685,7 @@
5652
5685
  /** @token Text */
5653
5686
  --_pont-tooltip-fg: var(--pont-tooltip-fg, var(--pont-sem-color-background));
5654
5687
  /** @token Corner radius */
5655
- --_pont-tooltip-radius: var(--pont-tooltip-radius, var(--pont-sem-radius-md));
5688
+ --_pont-tooltip-radius: var(--pont-tooltip-radius, var(--pont-ref-radius-md));
5656
5689
  /** @token Maximum width */
5657
5690
  --_pont-tooltip-max-width: var(--pont-tooltip-max-width, var(--pont-sem-container-xs));
5658
5691
  /** @token Horizontal padding */
@@ -5685,7 +5718,7 @@
5685
5718
  [data-pont-tooltip-content] [data-slot="kbd"] {
5686
5719
  position: relative;
5687
5720
  isolation: isolate;
5688
- border-radius: var(--pont-sem-radius-sm);
5721
+ border-radius: var(--pont-ref-radius-sm);
5689
5722
  }
5690
5723
 
5691
5724
  [data-pont-tooltip-content]::before {
@@ -5750,7 +5783,7 @@
5750
5783
  /** @token Border */
5751
5784
  --_pont-dialog-border-color: var(--pont-dialog-border-color, color-mix(in oklab, var(--pont-sem-color-foreground) 10%, transparent));
5752
5785
  /** @token Corner radius */
5753
- --_pont-dialog-radius: var(--pont-dialog-radius, var(--pont-sem-radius-xl));
5786
+ --_pont-dialog-radius: var(--pont-dialog-radius, var(--pont-ref-radius-xl));
5754
5787
  /** @token Shadow */
5755
5788
  --_pont-dialog-shadow: var(--pont-dialog-shadow, var(--pont-sem-shadow-none));
5756
5789
  /** @token Maximum width */
@@ -5899,7 +5932,7 @@
5899
5932
  /** @token Border */
5900
5933
  --_pont-alert-dialog-border-color: var(--pont-alert-dialog-border-color, color-mix(in oklab, var(--pont-sem-color-foreground) 10%, transparent));
5901
5934
  /** @token Corner radius */
5902
- --_pont-alert-dialog-radius: var(--pont-alert-dialog-radius, var(--pont-sem-radius-xl));
5935
+ --_pont-alert-dialog-radius: var(--pont-alert-dialog-radius, var(--pont-ref-radius-xl));
5903
5936
  /** @token Maximum width */
5904
5937
  --_pont-alert-dialog-max-width: var(--pont-alert-dialog-max-width, 32rem);
5905
5938
  /** @token Maximum width (small) */
@@ -5958,7 +5991,7 @@
5958
5991
  margin-bottom: 0.5rem;
5959
5992
  align-items: center;
5960
5993
  justify-content: center;
5961
- border-radius: var(--pont-sem-radius-md);
5994
+ border-radius: var(--pont-ref-radius-md);
5962
5995
  background-color: var(--pont-sem-color-muted);
5963
5996
  }
5964
5997
  :is(pont-prim-alert-dialog-media, [data-pont-alert-dialog-media]) > svg {
@@ -6204,7 +6237,7 @@
6204
6237
  /** @token Border */
6205
6238
  --_pont-drawer-border-color: var(--pont-drawer-border-color, var(--pont-sem-color-border));
6206
6239
  /** @token Corner radius */
6207
- --_pont-drawer-radius: var(--pont-drawer-radius, var(--pont-sem-radius-xl));
6240
+ --_pont-drawer-radius: var(--pont-drawer-radius, var(--pont-ref-radius-xl));
6208
6241
  /** @token Width (left and right drawers) */
6209
6242
  --_pont-drawer-width: var(--pont-drawer-width, 75%);
6210
6243
  /** @token Overlay */
@@ -6294,7 +6327,7 @@
6294
6327
  display: block;
6295
6328
  width: 100px;
6296
6329
  height: 0.375rem;
6297
- border-radius: var(--pont-sem-radius-full);
6330
+ border-radius: var(--pont-ref-radius-full);
6298
6331
  background-color: var(--pont-sem-color-muted);
6299
6332
  }
6300
6333
  [data-pont-drawer-content][data-swipe-axis="x"] > [data-pont-drawer-swipe-handle] {
@@ -6381,7 +6414,7 @@
6381
6414
  /** @token Border */
6382
6415
  --_pont-hover-card-border-color: var(--pont-hover-card-border-color, color-mix(in oklab, var(--pont-sem-color-foreground) 10%, transparent));
6383
6416
  /** @token Corner radius */
6384
- --_pont-hover-card-radius: var(--pont-hover-card-radius, var(--pont-sem-radius-lg));
6417
+ --_pont-hover-card-radius: var(--pont-hover-card-radius, var(--pont-ref-radius-lg));
6385
6418
  /** @token Shadow */
6386
6419
  --_pont-hover-card-shadow: var(--pont-hover-card-shadow, var(--pont-sem-shadow-md));
6387
6420
  /** @token Width */
@@ -6434,7 +6467,7 @@
6434
6467
  /** @token component=toast Border */
6435
6468
  --_pont-toast-border-color: var(--pont-toast-border-color, var(--pont-sem-color-border));
6436
6469
  /** @token component=toast Corner radius */
6437
- --_pont-toast-radius: var(--pont-toast-radius, var(--pont-sem-radius-2xl));
6470
+ --_pont-toast-radius: var(--pont-toast-radius, var(--pont-ref-radius-2xl));
6438
6471
  /** @token component=toast Shadow */
6439
6472
  --_pont-toast-shadow: var(--pont-toast-shadow, 0 4px 12px oklch(0 0 0 / 10%));
6440
6473
  /** @token component=toast Width */
@@ -6608,7 +6641,7 @@
6608
6641
  justify-content: center;
6609
6642
  translate: -35% -35%;
6610
6643
  border: var(--pont-sem-border-width) solid var(--_pont-toast-border-color);
6611
- border-radius: var(--pont-sem-radius-full);
6644
+ border-radius: var(--pont-ref-radius-full);
6612
6645
  background-color: var(--_pont-toast-bg);
6613
6646
  color: var(--_pont-toast-fg);
6614
6647
  cursor: pointer;
@@ -6755,7 +6788,7 @@
6755
6788
 
6756
6789
  pont-provider-button > [data-pont-button] {
6757
6790
  /** @token component=provider-button Corner radius */
6758
- --_pont-button-radius: var(--pont-provider-button-radius, var(--pont-button-radius, var(--pont-sem-radius-md)));
6791
+ --_pont-button-radius: var(--pont-provider-button-radius, var(--pont-button-radius, var(--pont-ref-radius-md)));
6759
6792
  }
6760
6793
  pont-provider-button > [data-pont-button][data-variant="outline"] {
6761
6794
  /** @token component=provider-button Background */
@@ -7131,7 +7164,7 @@
7131
7164
  /** @token Border */
7132
7165
  --_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)));
7133
7166
  /** @token Corner radius */
7134
- --_pont-card-radius: var(--pont-block-radius, var(--pont-card-radius, var(--pont-sem-radius-xl)));
7167
+ --_pont-card-radius: var(--pont-block-radius, var(--pont-card-radius, var(--pont-ref-radius-xl)));
7135
7168
  /** @token Shadow */
7136
7169
  --_pont-card-shadow: var(--pont-block-shadow, var(--pont-card-shadow, var(--pont-sem-shadow-xs)));
7137
7170
  /** @token Spacing (padding) */
@@ -7517,7 +7550,7 @@
7517
7550
  display: block;
7518
7551
  width: var(--_pont-qr-code-width);
7519
7552
  height: auto;
7520
- border-radius: var(--pont-sem-radius-md);
7553
+ border-radius: var(--pont-ref-radius-md);
7521
7554
  box-shadow: 0 0 0 var(--pont-sem-border-width) var(--pont-sem-color-border);
7522
7555
  transition: opacity 200ms ease;
7523
7556
  }
@@ -7545,7 +7578,7 @@
7545
7578
  /** @token Background (code list) */
7546
7579
  --_pont-recovery-codes-list-bg: var(--pont-recovery-codes-list-bg, var(--pont-sem-color-muted));
7547
7580
  /** @token Corner radius (code list) */
7548
- --_pont-recovery-codes-list-radius: var(--pont-recovery-codes-list-radius, var(--pont-sem-radius-md));
7581
+ --_pont-recovery-codes-list-radius: var(--pont-recovery-codes-list-radius, var(--pont-ref-radius-md));
7549
7582
  }
7550
7583
 
7551
7584
  /* Recipe */
@@ -7787,7 +7820,7 @@
7787
7820
  @layer pont.kit {
7788
7821
  [data-pont-multi-select-filter-trigger] [data-pont-multi-select-filter-count] {
7789
7822
  padding-inline: 0.25rem;
7790
- border-radius: var(--pont-sem-radius-sm);
7823
+ border-radius: var(--pont-ref-radius-sm);
7791
7824
  font-weight: var(--pont-sem-font-weight-normal);
7792
7825
  }
7793
7826
  }