@pontive/pontkit-core 3.2.0 → 3.4.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
@@ -28,9 +28,6 @@
28
28
  * < unlayered app CSS
29
29
  */
30
30
  @layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;
31
- @import url("https://fonts.googleapis.com/css2?family=Geist:ital,wght@0,100..900;1,100..900&display=swap");
32
- @import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
33
- @import url("https://fonts.googleapis.com/css2?family=Geist+Mono:ital,wght@0,100..900;1,100..900&display=swap");
34
31
 
35
32
  /* ./tokens/index.css */
36
33
  /*
@@ -40,10 +37,13 @@
40
37
  * (11 §4, §5).
41
38
  *
42
39
  * cursor.css cursor keywords (ref) and the cursor roles (sem)
40
+ * dimension.css the dimension unit, size scale and keywords, space keywords, size/inset defaults
43
41
  * filter.css the blur unit (--pont-ref-filter-blur) and the blur scale derived from it
44
42
  * layout.css aspect ratios (--pont-ref-layout-aspect-auto, -square, -video)
43
+ * motion.css durations, easings, transition properties (ref) and the transition/animation roles (sem)
45
44
  * opacity.css the opacity unit (--pont-ref-opacity), none/full, and the disabled role
46
45
  * radius.css the radius knob (--pont-ref-radius) and the ref scale derived from it
46
+ * typography.css font stacks (ref) and roles (sem), size, weight, tracking and leading scales (ref)
47
47
  * ref/ raw values, global only
48
48
  * sem/ design roles; light/dark lives in sem/color.css
49
49
  */
@@ -131,6 +131,127 @@
131
131
  }
132
132
  }
133
133
 
134
+ /* ./dimension.css */
135
+ /*
136
+ * ===========================================================================
137
+ * DIMENSION TOKENS
138
+ * ===========================================================================
139
+ */
140
+
141
+ @layer pont.tokens {
142
+ :root {
143
+ --pont-ref-dimension: 0.25rem;
144
+ }
145
+ }
146
+
147
+ /*
148
+ * ---------------------------------------------------------------------------
149
+ * DIMENSION SIZE TOKENS
150
+ * ---------------------------------------------------------------------------
151
+ * `width`, `height`, `min-width`, `max-width`, `min-height`, `max-height`,
152
+ * `box-size`, `flex-basis`
153
+ * ---------------------------------------------------------------------------
154
+ */
155
+
156
+ /*
157
+ * --------------------------------------------------
158
+ * DIMENSION SIZE REFERENCE TOKENS
159
+ * --------------------------------------------------
160
+ */
161
+
162
+ @layer pont.tokens {
163
+ :root {
164
+ --pont-ref-dimension-size-auto: auto;
165
+ --pont-ref-dimension-size-none: none;
166
+ --pont-ref-dimension-size-px: 1px;
167
+ --pont-ref-dimension-size-full: 100%;
168
+ --pont-ref-dimension-size-min: min-content;
169
+ --pont-ref-dimension-size-max: max-content;
170
+ --pont-ref-dimension-size-fit: fit-content;
171
+
172
+ --pont-ref-dimension-size-dvw: 100dvw;
173
+ --pont-ref-dimension-size-dvh: 100dvh;
174
+ --pont-ref-dimension-size-lvw: 100lvw;
175
+ --pont-ref-dimension-size-lvh: 100lvh;
176
+ --pont-ref-dimension-size-svw: 100svw;
177
+ --pont-ref-dimension-size-svh: 100svh;
178
+ --pont-ref-dimension-size-vw: 100vw;
179
+ --pont-ref-dimension-size-vh: 100vh;
180
+ --pont-ref-dimension-size-lh: 1lh;
181
+
182
+ --pont-ref-dimension-size-3xs: 16rem;
183
+ --pont-ref-dimension-size-2xs: 18rem;
184
+ --pont-ref-dimension-size-xs: 20rem;
185
+ --pont-ref-dimension-size-sm: 24rem;
186
+ --pont-ref-dimension-size-md: 28rem;
187
+ --pont-ref-dimension-size-lg: 32rem;
188
+ --pont-ref-dimension-size-xl: 36rem;
189
+ --pont-ref-dimension-size-2xl: 42rem;
190
+ --pont-ref-dimension-size-3xl: 48rem;
191
+ --pont-ref-dimension-size-4xl: 56rem;
192
+ --pont-ref-dimension-size-5xl: 64rem;
193
+ --pont-ref-dimension-size-6xl: 72rem;
194
+ --pont-ref-dimension-size-7xl: 80rem;
195
+ }
196
+ }
197
+
198
+ /*
199
+ * --------------------------------------------------
200
+ * DIMENSION SIZE SEMANTIC TOKENS
201
+ * --------------------------------------------------
202
+ */
203
+
204
+ @layer pont.tokens {
205
+ :root {
206
+ /* Default size (width/height) */
207
+ --pont-sem-dimension-size: var(--pont-ref-dimension-size-auto);
208
+
209
+ /* Default min size (min-width/min-height) */
210
+ --pont-sem-dimension-size-min: var(--pont-ref-dimension-size-auto);
211
+ /* Default max size (max-width/max-height) */
212
+ --pont-sem-dimension-size-max: var(--pont-ref-dimension-size-none);
213
+
214
+ --pont-sem-dimension-size-width-screen: var(--pont-ref-dimension-size-vw);
215
+ --pont-sem-dimension-size-height-screen: var(--pont-ref-dimension-size-vh);
216
+ }
217
+ }
218
+
219
+ /*
220
+ * ---------------------------------------------------------------------------
221
+ * DIMENSION SPACE TOKENS
222
+ * ---------------------------------------------------------------------------
223
+ * `padding`, `gap`, `top`, `right`, `bottom`, `left`, `inset`,
224
+ * `scroll-margin`, `scroll-padding`, `text-indent`, `outline-offset`
225
+ * ---------------------------------------------------------------------------
226
+ */
227
+
228
+ /*
229
+ * --------------------------------------------------
230
+ * DIMENSION SPACE REFERENCE TOKENS
231
+ * --------------------------------------------------
232
+ */
233
+
234
+ @layer pont.tokens {
235
+ :root {
236
+ --pont-ref-dimension-space-auto: auto;
237
+ --pont-ref-dimension-space-px: 1px;
238
+ --pont-ref-dimension-space-full: 100%;
239
+ }
240
+ }
241
+
242
+ /*
243
+ * --------------------------------------------------
244
+ * DIMENSION SPACE SEMANTIC TOKENS
245
+ * --------------------------------------------------
246
+ */
247
+
248
+ @layer pont.tokens {
249
+ :root {
250
+ /* Default inset/top/right/bottom/left */
251
+ --pont-sem-dimension-space-inset: var(--pont-ref-dimension-space-auto);
252
+ }
253
+ }
254
+
134
255
  /* ./filter.css */
135
256
  /*
136
257
  * ===========================================================================
@@ -143,6 +264,7 @@
143
264
  /*
144
265
  * ---------------------------------------------------------------------------
145
266
  * FILTER BLUR TOKENS
267
+ * ---------------------------------------------------------------------------
146
268
  * length value arg for `blur()`
147
269
  * ---------------------------------------------------------------------------
148
270
  */
@@ -182,6 +304,7 @@
182
304
  /*
183
305
  * ---------------------------------------------------------------------------
184
306
  * LAYOUT ASPECT TOKENS
307
+ * ---------------------------------------------------------------------------
185
308
  * `aspect-ratio`
186
309
  * ---------------------------------------------------------------------------
187
310
  */
@@ -201,6 +324,257 @@
201
324
  }
202
325
  }
203
326
 
327
+ /* ./motion.css */
328
+ /*
329
+ * ===========================================================================
330
+ * MOTION TOKENS
331
+ * ===========================================================================
332
+ */
333
+
334
+ /*
335
+ * --------------------------------------------------
336
+ * MOTION DURATION TOKENS
337
+ * `[transition|animation]-duration`, `[transition|animation]-delay`
338
+ * --------------------------------------------------
339
+ */
340
+
341
+ @layer pont.tokens {
342
+ :root {
343
+ --pont-ref-motion-duration: 1ms;
344
+
345
+ --pont-ref-motion-duration-s: calc(var(--pont-ref-motion-duration) * 1000);
346
+ }
347
+ }
348
+
349
+ /*
350
+ * --------------------------------------------------
351
+ * MOTION EASING TOKENS
352
+ * `[transition|animation]-timing-function`
353
+ * --------------------------------------------------
354
+ */
355
+
356
+ @layer pont.tokens {
357
+ :root {
358
+ --pont-ref-motion-easing-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
359
+ --pont-ref-motion-easing-linear: cubic-bezier(0, 0, 1, 1);
360
+
361
+ --pont-ref-motion-easing-ease-in: cubic-bezier(0.4, 0, 1, 1);
362
+ --pont-ref-motion-easing-ease-out: cubic-bezier(0, 0, 0.2, 1);
363
+ --pont-ref-motion-easing-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
364
+
365
+ --pont-ref-motion-easing-ease-in-native: cubic-bezier(0.42, 0, 1, 1);
366
+ --pont-ref-motion-easing-ease-out-native: cubic-bezier(0, 0, 0.58, 1);
367
+ --pont-ref-motion-easing-ease-in-out-native: cubic-bezier(0.42, 0, 0.58, 1);
368
+ }
369
+ }
370
+
371
+ /*
372
+ * ---------------------------------------------------------------------------
373
+ * MOTION TRANSITION TOKENS
374
+ * ---------------------------------------------------------------------------
375
+ */
376
+
377
+ /*
378
+ * --------------------------------------------------
379
+ * MOTION TRANSITION PROPERTY TOKENS
380
+ * `transition-property`
381
+ * --------------------------------------------------
382
+ */
383
+
384
+ @layer pont.tokens {
385
+ :root {
386
+ --pont-ref-motion-trans-property-all: all;
387
+ --pont-ref-motion-trans-property-none: none;
388
+
389
+ --pont-ref-motion-trans-property-colors:
390
+ color, background-color, border-color, outline-color,
391
+ text-decoration-color, fill, stroke, --pont-gradient-from,
392
+ --pont-gradient-via, --pont-gradient-to;
393
+ --pont-ref-motion-trans-property-opacity: opacity;
394
+ --pont-ref-motion-trans-property-shadow: box-shadow;
395
+ --pont-ref-motion-trans-property-transform:
396
+ transform, translate, scale, rotate;
397
+ }
398
+ }
399
+
400
+ @layer pont.tokens {
401
+ :root {
402
+ --pont-sem-motion-trans-property:
403
+ var(--pont-ref-motion-trans-property-colors),
404
+ var(--pont-ref-motion-trans-property-opacity),
405
+ var(--pont-ref-motion-trans-property-shadow),
406
+ var(--pont-ref-motion-trans-property-transform), filter,
407
+ -webkit-backdrop-filter, backdrop-filter, display, content-visibility,
408
+ overlay, pointer-events;
409
+ }
410
+ }
411
+
412
+ /*
413
+ * --------------------------------------------------
414
+ * MOTION TRANSITION DURATION TOKENS
415
+ * `transition-duration`, `transition-delay`
416
+ * --------------------------------------------------
417
+ */
418
+
419
+ @layer pont.tokens {
420
+ :root {
421
+ --pont-sem-motion-trans-duration: calc(
422
+ var(--pont-ref-motion-duration) * 150
423
+ );
424
+ --pont-sem-motion-trans-duration-slow: calc(
425
+ var(--pont-ref-motion-duration) * 200
426
+ );
427
+ --pont-sem-motion-trans-duration-fast: calc(
428
+ var(--pont-ref-motion-duration) * 100
429
+ );
430
+ }
431
+ }
432
+
433
+ /*
434
+ * --------------------------------------------------
435
+ * MOTION TRANSITION EASING TOKENS
436
+ * `transition-timing-function`
437
+ * --------------------------------------------------
438
+ */
439
+
440
+ @layer pont.tokens {
441
+ :root {
442
+ --pont-sem-motion-trans-easing: var(--pont-ref-motion-easing-ease-in-out);
443
+ }
444
+ }
445
+
446
+ /*
447
+ * ---------------------------------------------------------------------------
448
+ * MOTION ANIMATION TOKENS
449
+ * ---------------------------------------------------------------------------
450
+ */
451
+
452
+ /*
453
+ * --------------------------------------------------
454
+ * MOTION ANIMATION NAME TOKENS
455
+ * `animation-name`
456
+ * --------------------------------------------------
457
+ */
458
+
459
+ @layer pont.tokens {
460
+ :root {
461
+ --pont-sem-motion-anim-spin-name: pont-spin;
462
+ --pont-sem-motion-anim-ping-name: pont-ping;
463
+ --pont-sem-motion-anim-pulse-name: pont-pulse;
464
+ --pont-sem-motion-anim-bounce-name: pont-bounce;
465
+ }
466
+ }
467
+
468
+ /*
469
+ * --------------------------------------------------
470
+ * MOTION ANIMATION DURATION TOKENS
471
+ * `animation-duration`, `animation-delay`
472
+ * --------------------------------------------------
473
+ */
474
+
475
+ @layer pont.tokens {
476
+ :root {
477
+ --pont-sem-motion-anim-duration: var(--pont-ref-motion-duration-s);
478
+ --pont-sem-motion-anim-duration-slow: calc(
479
+ var(--pont-ref-motion-duration-s) * 2
480
+ );
481
+
482
+ --pont-sem-motion-anim-spin-duration: var(--pont-sem-motion-anim-duration);
483
+ --pont-sem-motion-anim-ping-duration: var(--pont-sem-motion-anim-duration);
484
+ --pont-sem-motion-anim-pulse-duration: var(
485
+ --pont-sem-motion-anim-duration-slow
486
+ );
487
+ --pont-sem-motion-anim-bounce-duration: var(
488
+ --pont-sem-motion-anim-duration
489
+ );
490
+ }
491
+ }
492
+
493
+ /*
494
+ * --------------------------------------------------
495
+ * MOTION ANIMATION EASING TOKENS
496
+ * `animation-timing-function`
497
+ * --------------------------------------------------
498
+ */
499
+
500
+ @layer pont.tokens {
501
+ :root {
502
+ --pont-sem-motion-anim-easing: var(--pont-ref-motion-easing-ease);
503
+
504
+ --pont-sem-motion-anim-spin-easing: var(--pont-ref-motion-easing-linear);
505
+ --pont-sem-motion-anim-ping-easing: var(--pont-ref-motion-easing-ease-out);
506
+ --pont-sem-motion-anim-pulse-easing: cubic-bezier(0.4, 0, 0.6, 1);
507
+ --pont-sem-motion-anim-bounce-easing: var(--pont-sem-motion-anim-easing);
508
+ }
509
+ }
510
+
511
+ /*
512
+ * --------------------------------------------------
513
+ * MOTION ANIMATION ITERATION TOKENS
514
+ * `animation-iteration-count`
515
+ * --------------------------------------------------
516
+ */
517
+
518
+ @layer pont.tokens {
519
+ :root {
520
+ --pont-ref-motion-anim-iteration-infinite: infinite;
521
+ }
522
+ }
523
+
524
+ @layer pont.tokens {
525
+ :root {
526
+ --pont-sem-motion-anim-spin-iteration: var(
527
+ --pont-ref-motion-anim-iteration-infinite
528
+ );
529
+ --pont-sem-motion-anim-ping-iteration: var(
530
+ --pont-ref-motion-anim-iteration-infinite
531
+ );
532
+ --pont-sem-motion-anim-pulse-iteration: var(
533
+ --pont-ref-motion-anim-iteration-infinite
534
+ );
535
+ --pont-sem-motion-anim-bounce-iteration: var(
536
+ --pont-ref-motion-anim-iteration-infinite
537
+ );
538
+ }
539
+ }
540
+
541
+ /*
542
+ * --------------------------------------------------
543
+ * MOTION ANIMATION 'COMPOSITE' TOKENS
544
+ * `animation`
545
+ * --------------------------------------------------
546
+ */
547
+
548
+ @layer pont.tokens {
549
+ :root {
550
+ --pont-ref-motion-anim-none: none;
551
+ }
552
+ }
553
+
554
+ @layer pont.tokens {
555
+ :root {
556
+ --pont-sem-motion-anim-spin: var(--pont-sem-motion-anim-spin-name)
557
+ var(--pont-sem-motion-anim-spin-duration)
558
+ var(--pont-sem-motion-anim-spin-easing)
559
+ var(--pont-sem-motion-anim-spin-iteration);
560
+
561
+ --pont-sem-motion-anim-ping: var(--pont-sem-motion-anim-ping-name)
562
+ var(--pont-sem-motion-anim-ping-duration)
563
+ var(--pont-sem-motion-anim-ping-easing)
564
+ var(--pont-sem-motion-anim-ping-iteration);
565
+
566
+ --pont-sem-motion-anim-pulse: var(--pont-sem-motion-anim-pulse-name)
567
+ var(--pont-sem-motion-anim-pulse-duration)
568
+ var(--pont-sem-motion-anim-pulse-easing)
569
+ var(--pont-sem-motion-anim-pulse-iteration);
570
+
571
+ --pont-sem-motion-anim-bounce: var(--pont-sem-motion-anim-bounce-name)
572
+ var(--pont-sem-motion-anim-bounce-duration)
573
+ var(--pont-sem-motion-anim-bounce-easing)
574
+ var(--pont-sem-motion-anim-bounce-iteration);
575
+ }
576
+ }
577
+
204
578
  /* ./opacity.css */
205
579
  /*
206
580
  * ===========================================================================
@@ -276,6 +650,195 @@
276
650
  }
277
651
  }
278
652
 
653
+ /* ./typography.css */
654
+ /*
655
+ * ===========================================================================
656
+ * TYPOGRAPHY TOKENS
657
+ * ===========================================================================
658
+ */
659
+
660
+ /*
661
+ * ---------------------------------------------------------------------------
662
+ * TYPOGRAPHY FONT TOKENS
663
+ * ---------------------------------------------------------------------------
664
+ * `font-family`
665
+ * ---------------------------------------------------------------------------
666
+ */
667
+
668
+ /*
669
+ * --------------------------------------------------
670
+ * TYPOGRAPHY FONT REFERENCE TOKENS
671
+ * --------------------------------------------------
672
+ */
673
+
674
+ @layer pont.tokens {
675
+ :root {
676
+ --pont-ref-typography-font-sans:
677
+ -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
678
+ "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
679
+ "Segoe UI Symbol", "Noto Color Emoji";
680
+
681
+ --pont-ref-typography-font-serif:
682
+ ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
683
+
684
+ --pont-ref-typography-font-mono:
685
+ ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
686
+ "Courier New", monospace;
687
+ }
688
+ }
689
+
690
+ /*
691
+ * --------------------------------------------------
692
+ * TYPOGRAPHY FONT SEMANTIC TOKENS
693
+ * --------------------------------------------------
694
+ */
695
+
696
+ @layer pont.tokens {
697
+ :root {
698
+ --pont-sem-typography-font-body: var(--pont-ref-typography-font-sans);
699
+ --pont-sem-typography-font-heading: var(--pont-ref-typography-font-sans);
700
+ --pont-sem-typography-font-code: var(--pont-ref-typography-font-mono);
701
+ }
702
+ }
703
+
704
+ /*
705
+ * ---------------------------------------------------------------------------
706
+ * TYPOGRAPHY SIZE TOKENS
707
+ * ---------------------------------------------------------------------------
708
+ * `font-size`
709
+ * ---------------------------------------------------------------------------
710
+ */
711
+
712
+ /*
713
+ * --------------------------------------------------
714
+ * TYPOGRAPHY SIZE REFERENCE TOKENS
715
+ * --------------------------------------------------
716
+ */
717
+
718
+ @layer pont.tokens {
719
+ :root {
720
+ --pont-ref-typography-size-xs: 0.75rem;
721
+ --pont-ref-typography-size-sm: 0.875rem;
722
+ --pont-ref-typography-size-base: 1rem;
723
+ --pont-ref-typography-size-lg: 1.125rem;
724
+ --pont-ref-typography-size-xl: 1.25rem;
725
+ --pont-ref-typography-size-2xl: 1.5rem;
726
+ --pont-ref-typography-size-3xl: 1.875rem;
727
+ --pont-ref-typography-size-4xl: 2.25rem;
728
+ --pont-ref-typography-size-5xl: 3rem;
729
+ --pont-ref-typography-size-6xl: 3.75rem;
730
+ --pont-ref-typography-size-7xl: 4.5rem;
731
+ --pont-ref-typography-size-8xl: 6rem;
732
+ --pont-ref-typography-size-9xl: 8rem;
733
+ }
734
+ }
735
+
736
+ /*
737
+ * ---------------------------------------------------------------------------
738
+ * TYPOGRAPHY WEIGHT TOKENS
739
+ * ---------------------------------------------------------------------------
740
+ * `font-weight`
741
+ * ---------------------------------------------------------------------------
742
+ */
743
+
744
+ /*
745
+ * --------------------------------------------------
746
+ * TYPOGRAPHY WEIGHT REFERENCE TOKENS
747
+ * --------------------------------------------------
748
+ */
749
+
750
+ @layer pont.tokens {
751
+ :root {
752
+ --pont-ref-typography-weight-thin: 100;
753
+ --pont-ref-typography-weight-extralight: 200;
754
+ --pont-ref-typography-weight-light: 300;
755
+ --pont-ref-typography-weight-normal: 400;
756
+ --pont-ref-typography-weight-medium: 500;
757
+ --pont-ref-typography-weight-semibold: 600;
758
+ --pont-ref-typography-weight-bold: 700;
759
+ --pont-ref-typography-weight-extrabold: 800;
760
+ --pont-ref-typography-weight-black: 900;
761
+ }
762
+ }
763
+
764
+ /*
765
+ * ---------------------------------------------------------------------------
766
+ * TYPOGRAPHY TRACKING TOKENS
767
+ * ---------------------------------------------------------------------------
768
+ * `letter-spacing`
769
+ * ---------------------------------------------------------------------------
770
+ */
771
+
772
+ /*
773
+ * --------------------------------------------------
774
+ * TYPOGRAPHY TRACKING REFERENCE TOKENS
775
+ * --------------------------------------------------
776
+ */
777
+
778
+ @layer pont.tokens {
779
+ :root {
780
+ --pont-ref-typography-tracking: 0.01em;
781
+
782
+ --pont-ref-typography-tracking-tighter: calc(
783
+ var(--pont-ref-typography-tracking) * -5
784
+ );
785
+ --pont-ref-typography-tracking-tight: calc(
786
+ var(--pont-ref-typography-tracking) * -2.5
787
+ );
788
+ --pont-ref-typography-tracking-normal: calc(
789
+ var(--pont-ref-typography-tracking) * 0
790
+ );
791
+ --pont-ref-typography-tracking-wide: calc(
792
+ var(--pont-ref-typography-tracking) * 2.5
793
+ );
794
+ --pont-ref-typography-tracking-wider: calc(
795
+ var(--pont-ref-typography-tracking) * 5
796
+ );
797
+ --pont-ref-typography-tracking-widest: calc(
798
+ var(--pont-ref-typography-tracking) * 10
799
+ );
800
+ }
801
+ }
802
+
803
+ /*
804
+ * ---------------------------------------------------------------------------
805
+ * TYPOGRAPHY LEADING TOKENS
806
+ * ---------------------------------------------------------------------------
807
+ * `line-height`
808
+ * ---------------------------------------------------------------------------
809
+ */
810
+
811
+ /*
812
+ * --------------------------------------------------
813
+ * TYPOGRAPHY LEADING REFERENCE TOKENS
814
+ * --------------------------------------------------
815
+ */
816
+
817
+ @layer pont.tokens {
818
+ :root {
819
+ --pont-ref-typography-leading-none: 1;
820
+ --pont-ref-typography-leading-tight: 1.25;
821
+ --pont-ref-typography-leading-snug: 1.375;
822
+ --pont-ref-typography-leading-normal: 1.5;
823
+ --pont-ref-typography-leading-relaxed: 1.625;
824
+ --pont-ref-typography-leading-loose: 2;
825
+
826
+ --pont-ref-typography-leading-of-xs: calc(1 / 0.75);
827
+ --pont-ref-typography-leading-of-sm: calc(1.25 / 0.875);
828
+ --pont-ref-typography-leading-of-base: calc(1.5 / 1);
829
+ --pont-ref-typography-leading-of-lg: calc(1.75 / 1.125);
830
+ --pont-ref-typography-leading-of-xl: calc(1.75 / 1.25);
831
+ --pont-ref-typography-leading-of-2xl: calc(2 / 1.5);
832
+ --pont-ref-typography-leading-of-3xl: calc(2.25 / 1.875);
833
+ --pont-ref-typography-leading-of-4xl: calc(2.5 / 2.25);
834
+ --pont-ref-typography-leading-of-5xl: 1;
835
+ --pont-ref-typography-leading-of-6xl: 1;
836
+ --pont-ref-typography-leading-of-7xl: 1;
837
+ --pont-ref-typography-leading-of-8xl: 1;
838
+ --pont-ref-typography-leading-of-9xl: 1;
839
+ }
840
+ }
841
+
279
842
  /* ./ref/color.css */
280
843
  /*
281
844
  * ===========================================================================
@@ -691,60 +1254,6 @@
691
1254
  }
692
1255
  }
693
1256
 
694
- /* ./ref/motion.css */
695
- /*
696
- * ===========================================================================
697
- * MOTION REFERENCE TOKENS
698
- * ===========================================================================
699
- */
700
-
701
- @layer pont.tokens {
702
- :root {
703
- --pont-ref-animate-iteration-infinite: infinite;
704
- }
705
- }
706
-
707
- /* ./ref/spacing.css */
708
- /*
709
- * ===========================================================================
710
- * SPACING REFERENCE TOKENS
711
- * ===========================================================================
712
- */
713
-
714
- @layer pont.tokens {
715
- :root {
716
- --pont-ref-spacing: 0.25rem;
717
- }
718
- }
719
-
720
- /* ./ref/typography.css */
721
- /*
722
- * ===========================================================================
723
- * TYPOGRAPHY REFERENCE TOKENS
724
- * ===========================================================================
725
- */
726
-
727
-
728
-
729
-
730
- @layer pont.tokens {
731
- :root {
732
- --pont-ref-font-sans:
733
- -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
734
- "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
735
- "Segoe UI Symbol", "Noto Color Emoji";
736
- --pont-ref-font-serif:
737
- ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
738
- --pont-ref-font-mono:
739
- ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
740
- "Courier New", monospace;
741
-
742
- --pont-ref-font-geist: "Geist", sans-serif;
743
- --pont-ref-font-inter: "Inter", sans-serif;
744
- --pont-ref-font-geist-mono: "Geist Mono", monospace;
745
- }
746
- }
747
-
748
1257
  /* ./sem/color.css */
749
1258
  /*
750
1259
  * sem · colour roles: shadcn's set plus pont's status colours, built on the
@@ -915,66 +1424,6 @@
915
1424
  }
916
1425
  }
917
1426
 
918
- /* ./sem/motion.css */
919
- /*
920
- * ===========================================================================
921
- * MOTION SEMANTIC TOKENS
922
- * ===========================================================================
923
- */
924
-
925
- @layer pont.tokens {
926
- :root {
927
- --pont-sem-duration: 150ms;
928
-
929
- --pont-sem-ease-linear: linear;
930
- --pont-sem-ease-in: cubic-bezier(0.4, 0, 1, 1);
931
- --pont-sem-ease-out: cubic-bezier(0, 0, 0.2, 1);
932
- --pont-sem-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
933
-
934
- --pont-sem-animate-spin-name: pont-spin;
935
- --pont-sem-animate-spin-duration: 1s;
936
- --pont-sem-animate-spin-function: var(--pont-sem-ease-linear);
937
- --pont-sem-animate-spin-iteration: var(
938
- --pont-ref-animate-iteration-infinite
939
- );
940
- --pont-sem-animate-spin: var(--pont-sem-animate-spin-name)
941
- var(--pont-sem-animate-spin-duration)
942
- var(--pont-sem-animate-spin-function)
943
- var(--pont-sem-animate-spin-iteration);
944
-
945
- --pont-sem-animate-ping-name: pont-ping;
946
- --pont-sem-animate-ping-duration: 1s;
947
- --pont-sem-animate-ping-function: var(--pont-sem-ease-out);
948
- --pont-sem-animate-ping-iteration: var(
949
- --pont-ref-animate-iteration-infinite
950
- );
951
- --pont-sem-animate-ping: var(--pont-sem-animate-ping-name)
952
- var(--pont-sem-animate-ping-duration)
953
- var(--pont-sem-animate-ping-function)
954
- var(--pont-sem-animate-ping-iteration);
955
-
956
- --pont-sem-animate-pulse-name: pont-pulse;
957
- --pont-sem-animate-pulse-duration: 2s;
958
- --pont-sem-animate-pulse-function: cubic-bezier(0.4, 0, 0.6, 1);
959
- --pont-sem-animate-pulse-iteration: var(
960
- --pont-ref-animate-iteration-infinite
961
- );
962
- --pont-sem-animate-pulse: var(--pont-sem-animate-pulse-name)
963
- var(--pont-sem-animate-pulse-duration)
964
- var(--pont-sem-animate-pulse-function)
965
- var(--pont-sem-animate-pulse-iteration);
966
-
967
- --pont-sem-animate-bounce-name: pont-bounce;
968
- --pont-sem-animate-bounce-duration: 1s;
969
- --pont-sem-animate-bounce-iteration: var(
970
- --pont-ref-animate-iteration-infinite
971
- );
972
- --pont-sem-animate-bounce: var(--pont-sem-animate-bounce-name)
973
- var(--pont-sem-animate-bounce-duration)
974
- var(--pont-sem-animate-bounce-iteration);
975
- }
976
- }
977
-
978
1427
  /* ./sem/shadow.css */
979
1428
  /*
980
1429
  * ===========================================================================
@@ -1018,125 +1467,111 @@
1018
1467
  }
1019
1468
  }
1020
1469
 
1021
- /* ./sem/spacing.css */
1470
+ /* ./base.css */
1022
1471
  /*
1023
1472
  * ===========================================================================
1024
- * SPACING SEMANTIC TOKENS
1473
+ * BASE STYLES
1474
+ * ---------------------------------------------------------------------------
1475
+ * The machinery every component recipe shares
1025
1476
  * ===========================================================================
1477
+ *
1478
+ * Nothing here styles the page. Components never rely on a global reset
1479
+ * (shadcn relies on Tailwind preflight); every recipe states the box,
1480
+ * border, font and margin it needs, so pont renders correctly with or
1481
+ * without `globals.css`. See docs/03-styling.md, "Self-sufficient recipes".
1026
1482
  */
1027
1483
 
1028
- @layer pont.tokens {
1029
- :root {
1030
- --pont-sem-container-3xs: 16rem;
1031
- --pont-sem-container-2xs: 18rem;
1032
- --pont-sem-container-xs: 20rem;
1033
- --pont-sem-container-sm: 24rem;
1034
- --pont-sem-container-md: 28rem;
1035
- --pont-sem-container-lg: 32rem;
1036
- --pont-sem-container-xl: 36rem;
1037
- --pont-sem-container-2xl: 42rem;
1038
- --pont-sem-container-3xl: 48rem;
1039
- --pont-sem-container-4xl: 56rem;
1040
- --pont-sem-container-5xl: 64rem;
1041
- --pont-sem-container-6xl: 72rem;
1042
- --pont-sem-container-7xl: 80rem;
1043
- }
1044
- }
1045
-
1046
- /* ./sem/typography.css */
1047
1484
  /*
1048
- * ===========================================================================
1049
- * TYPOGRAPHY SEMANTIC TOKENS
1050
- * ===========================================================================
1485
+ * ---------------------------------------------------------------------------
1486
+ * PROPERTY AT-RULES
1487
+ * ---------------------------------------------------------------------------
1488
+ * `@property`
1489
+ * ---------------------------------------------------------------------------
1051
1490
  */
1052
1491
 
1053
- @layer pont.tokens {
1054
- :root {
1055
- --pont-sem-font-body: var(--pont-ref-font-geist);
1056
- --pont-sem-font-heading: var(--pont-ref-font-geist);
1057
- --pont-sem-font-code: var(--pont-ref-font-geist-mono);
1058
-
1059
- --pont-sem-text-xs: 0.75rem;
1060
- --pont-sem-text-xs--line-height: calc(1 / 0.75);
1061
- --pont-sem-text-sm: 0.875rem;
1062
- --pont-sem-text-sm--line-height: calc(1.25 / 0.875);
1063
- --pont-sem-text-base: 1rem;
1064
- --pont-sem-text-base--line-height: calc(1.5 / 1);
1065
- --pont-sem-text-lg: 1.125rem;
1066
- --pont-sem-text-lg--line-height: calc(1.75 / 1.125);
1067
- --pont-sem-text-xl: 1.25rem;
1068
- --pont-sem-text-xl--line-height: calc(1.75 / 1.25);
1069
- --pont-sem-text-2xl: 1.5rem;
1070
- --pont-sem-text-2xl--line-height: calc(2 / 1.5);
1071
- --pont-sem-text-3xl: 1.875rem;
1072
- --pont-sem-text-3xl--line-height: calc(2.25 / 1.875);
1073
- --pont-sem-text-4xl: 2.25rem;
1074
- --pont-sem-text-4xl--line-height: calc(2.5 / 2.25);
1075
- --pont-sem-text-5xl: 3rem;
1076
- --pont-sem-text-5xl--line-height: 1;
1077
- --pont-sem-text-6xl: 3.75rem;
1078
- --pont-sem-text-6xl--line-height: 1;
1079
- --pont-sem-text-7xl: 4.5rem;
1080
- --pont-sem-text-7xl--line-height: 1;
1081
- --pont-sem-text-8xl: 6rem;
1082
- --pont-sem-text-8xl--line-height: 1;
1083
- --pont-sem-text-9xl: 8rem;
1084
- --pont-sem-text-9xl--line-height: 1;
1085
-
1086
- --pont-sem-font-weight-thin: 100;
1087
- --pont-sem-font-weight-extralight: 200;
1088
- --pont-sem-font-weight-light: 300;
1089
- --pont-sem-font-weight-normal: 400;
1090
- --pont-sem-font-weight-medium: 500;
1091
- --pont-sem-font-weight-semibold: 600;
1092
- --pont-sem-font-weight-bold: 700;
1093
- --pont-sem-font-weight-extrabold: 800;
1094
- --pont-sem-font-weight-black: 900;
1095
-
1096
- --pont-sem-tracking-tighter: -0.05em;
1097
- --pont-sem-tracking-tight: -0.025em;
1098
- --pont-sem-tracking-normal: 0em;
1099
- --pont-sem-tracking-wide: 0.025em;
1100
- --pont-sem-tracking-wider: 0.05em;
1101
- --pont-sem-tracking-widest: 0.1em;
1102
-
1103
- --pont-sem-leading-none: 1;
1104
- --pont-sem-leading-tight: 1.25;
1105
- --pont-sem-leading-snug: 1.375;
1106
- --pont-sem-leading-normal: 1.5;
1107
- --pont-sem-leading-relaxed: 1.625;
1108
- --pont-sem-leading-loose: 2;
1109
- }
1110
- }
1111
-
1112
- /* ./base.css */
1113
1492
  /*
1114
- * pont base: the machinery every component recipe shares.
1115
- *
1116
- * Nothing here styles the page. Components never rely on a global reset
1117
- * (shadcn relies on Tailwind preflight); every recipe states the box,
1118
- * border, font and margin it needs, so pont renders correctly with or
1119
- * without `globals.css`. See docs/03-styling.md, "Self-sufficient recipes".
1493
+ * --------------------------------------------------
1494
+ * GRADIENT PROPERTY AT-RULES
1495
+ * --------------------------------------------------
1120
1496
  */
1121
1497
 
1498
+ @property --pont-gradient-position {
1499
+ syntax: "*";
1500
+ inherits: false;
1501
+ }
1502
+
1503
+ @property --pont-gradient-from {
1504
+ syntax: "<color>";
1505
+ inherits: false;
1506
+ initial-value: #0000;
1507
+ }
1508
+
1509
+ @property --pont-gradient-via {
1510
+ syntax: "<color>";
1511
+ inherits: false;
1512
+ initial-value: #0000;
1513
+ }
1514
+
1515
+ @property --pont-gradient-to {
1516
+ syntax: "<color>";
1517
+ inherits: false;
1518
+ initial-value: #0000;
1519
+ }
1520
+
1521
+ @property --pont-gradient-stops {
1522
+ syntax: "*";
1523
+ inherits: false;
1524
+ }
1525
+
1526
+ @property --pont-gradient-via-stops {
1527
+ syntax: "*";
1528
+ inherits: false;
1529
+ }
1530
+
1531
+ @property --pont-gradient-from-position {
1532
+ syntax: "<length-percentage>";
1533
+ inherits: false;
1534
+ initial-value: 0%;
1535
+ }
1536
+
1537
+ @property --pont-gradient-via-position {
1538
+ syntax: "<length-percentage>";
1539
+ inherits: false;
1540
+ initial-value: 50%;
1541
+ }
1542
+
1543
+ @property --pont-gradient-to-position {
1544
+ syntax: "<length-percentage>";
1545
+ inherits: false;
1546
+ initial-value: 100%;
1547
+ }
1548
+
1122
1549
  /*
1550
+ * --------------------------------------------------
1551
+ * SHADOW PROPERTY AT-RULES
1552
+ * --------------------------------------------------
1553
+ *
1123
1554
  * Box-shadow composition (how Tailwind composes `shadow-xs` + `ring-3`).
1124
1555
  * A recipe sets `--pont-shadow` and/or `--pont-ring-shadow` and the
1125
1556
  * shared declaration below combines them, so a focus ring never erases the
1126
1557
  * elevation shadow. `inherits: false` stops a parent's ring leaking into
1127
1558
  * children. @property is global; it cannot be layered and does not need to be.
1128
1559
  */
1560
+
1129
1561
  @property --pont-shadow {
1130
1562
  syntax: "*";
1131
1563
  inherits: false;
1132
1564
  initial-value: 0 0 #0000;
1133
1565
  }
1566
+
1134
1567
  @property --pont-ring-shadow {
1135
1568
  syntax: "*";
1136
1569
  inherits: false;
1137
1570
  initial-value: 0 0 #0000;
1138
1571
  }
1139
1572
 
1573
+ /* * -------------------------------------------------------------------- * */
1574
+
1140
1575
  @layer pont.base {
1141
1576
  /* Tier 3 shells: a tag for authors, no box, no role, never styled. */
1142
1577
  [data-pont-shell] {
@@ -1181,6 +1616,7 @@
1181
1616
  transform: rotate(360deg);
1182
1617
  }
1183
1618
  }
1619
+
1184
1620
  @keyframes pont-ping {
1185
1621
  75%,
1186
1622
  100% {
@@ -1188,11 +1624,13 @@
1188
1624
  opacity: 0;
1189
1625
  }
1190
1626
  }
1627
+
1191
1628
  @keyframes pont-pulse {
1192
1629
  50% {
1193
1630
  opacity: 0.5;
1194
1631
  }
1195
1632
  }
1633
+
1196
1634
  @keyframes pont-bounce {
1197
1635
  0%,
1198
1636
  100% {
@@ -1232,7 +1670,7 @@
1232
1670
  /** @token Corner radius */
1233
1671
  --_pont-button-radius: var(--pont-button-radius, var(--pont-ref-radius-md));
1234
1672
  /** @token Label weight */
1235
- --_pont-button-font-weight: var(--pont-button-font-weight, var(--pont-sem-font-weight-medium));
1673
+ --_pont-button-font-weight: var(--pont-button-font-weight, var(--pont-ref-typography-weight-medium));
1236
1674
  /* Set per variant below; declared here so nothing is inherited from an ancestor. */
1237
1675
  --_pont-button-bg: transparent;
1238
1676
  --_pont-button-fg: currentcolor;
@@ -1316,9 +1754,9 @@
1316
1754
  white-space: nowrap;
1317
1755
  user-select: none;
1318
1756
  outline: none;
1319
- transition-property: all;
1320
- transition-duration: var(--pont-sem-duration);
1321
- transition-timing-function: var(--pont-sem-ease-in-out);
1757
+ transition-property: var(--pont-ref-motion-trans-property-all);
1758
+ transition-duration: var(--pont-sem-motion-trans-duration);
1759
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
1322
1760
 
1323
1761
  /* .cn-button */
1324
1762
  border: var(--pont-sem-border-width) solid var(--_pont-button-border-color);
@@ -1326,8 +1764,8 @@
1326
1764
  background-clip: padding-box;
1327
1765
  background-color: var(--_pont-button-bg);
1328
1766
  color: var(--_pont-button-fg);
1329
- font-size: var(--pont-sem-text-sm);
1330
- line-height: var(--pont-sem-text-sm--line-height);
1767
+ font-size: var(--pont-ref-typography-size-sm);
1768
+ line-height: var(--pont-ref-typography-leading-of-sm);
1331
1769
  font-weight: var(--_pont-button-font-weight);
1332
1770
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
1333
1771
  }
@@ -1403,8 +1841,8 @@
1403
1841
  gap: 0.25rem;
1404
1842
  padding: 0 0.5rem;
1405
1843
  border-radius: min(var(--_pont-button-radius), 8px);
1406
- font-size: var(--pont-sem-text-xs);
1407
- line-height: var(--pont-sem-text-xs--line-height);
1844
+ font-size: var(--pont-ref-typography-size-xs);
1845
+ line-height: var(--pont-ref-typography-leading-of-xs);
1408
1846
  }
1409
1847
  [data-pont-button][data-size="xs"]:has([data-icon="inline-end"]) {
1410
1848
  padding-right: 0.375rem;
@@ -1496,13 +1934,13 @@
1496
1934
  margin: 0;
1497
1935
  border: 0;
1498
1936
  background-color: var(--_pont-separator-bg);
1499
- height: 1px;
1500
- width: 100%;
1937
+ height: var(--pont-ref-dimension-size-px);
1938
+ width: var(--pont-ref-dimension-size-full);
1501
1939
  }
1502
1940
 
1503
1941
  :is(pont-prim-separator, pont-separator, [data-pont-separator]):is([data-orientation="vertical"], [orientation="vertical"]) {
1504
- width: 1px;
1505
- height: auto;
1942
+ width: var(--pont-ref-dimension-size-px);
1943
+ height: var(--pont-sem-dimension-size);
1506
1944
  align-self: stretch;
1507
1945
  }
1508
1946
  }
@@ -1521,9 +1959,9 @@
1521
1959
  @layer pont.primitives {
1522
1960
  [data-pont-label] {
1523
1961
  /** @token Text size */
1524
- --_pont-label-font-size: var(--pont-label-font-size, var(--pont-sem-text-sm));
1962
+ --_pont-label-font-size: var(--pont-label-font-size, var(--pont-ref-typography-size-sm));
1525
1963
  /** @token Weight */
1526
- --_pont-label-font-weight: var(--pont-label-font-weight, var(--pont-sem-font-weight-medium));
1964
+ --_pont-label-font-weight: var(--pont-label-font-weight, var(--pont-ref-typography-weight-medium));
1527
1965
  }
1528
1966
 
1529
1967
  [data-pont-label] {
@@ -1534,7 +1972,7 @@
1534
1972
  gap: 0.5rem;
1535
1973
  user-select: none;
1536
1974
  font-size: var(--_pont-label-font-size);
1537
- line-height: var(--pont-sem-leading-none);
1975
+ line-height: var(--pont-ref-typography-leading-none);
1538
1976
  font-weight: var(--_pont-label-font-weight);
1539
1977
  }
1540
1978
 
@@ -1589,27 +2027,27 @@
1589
2027
  -webkit-appearance: none;
1590
2028
  appearance: none;
1591
2029
 
1592
- width: 100%;
2030
+ width: var(--pont-ref-dimension-size-full);
1593
2031
  min-width: 0;
1594
2032
  height: var(--_pont-input-height);
1595
2033
  padding: 0.25rem 0.625rem;
1596
2034
  border: var(--pont-sem-border-width) solid var(--_pont-input-border-color);
1597
2035
  border-radius: var(--_pont-input-radius);
1598
2036
  background-color: var(--_pont-input-bg);
1599
- font-size: var(--pont-sem-text-base);
1600
- line-height: var(--pont-sem-text-base--line-height);
2037
+ font-size: var(--pont-ref-typography-size-base);
2038
+ line-height: var(--pont-ref-typography-leading-of-base);
1601
2039
  outline: none;
1602
2040
  --pont-shadow: var(--pont-sem-shadow-xs);
1603
2041
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
1604
2042
  transition-property: color, box-shadow;
1605
- transition-duration: var(--pont-sem-duration);
1606
- transition-timing-function: var(--pont-sem-ease-in-out);
2043
+ transition-duration: var(--pont-sem-motion-trans-duration);
2044
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
1607
2045
  }
1608
2046
 
1609
2047
  @media (width >= 48rem) {
1610
2048
  [data-pont-input] {
1611
- font-size: var(--pont-sem-text-sm);
1612
- line-height: var(--pont-sem-text-sm--line-height);
2049
+ font-size: var(--pont-ref-typography-size-sm);
2050
+ line-height: var(--pont-ref-typography-leading-of-sm);
1613
2051
  }
1614
2052
  }
1615
2053
 
@@ -1625,9 +2063,9 @@
1625
2063
  background-color: transparent;
1626
2064
  color: var(--pont-sem-color-foreground);
1627
2065
  font: inherit;
1628
- font-size: var(--pont-sem-text-sm);
1629
- line-height: var(--pont-sem-text-sm--line-height);
1630
- font-weight: var(--pont-sem-font-weight-medium);
2066
+ font-size: var(--pont-ref-typography-size-sm);
2067
+ line-height: var(--pont-ref-typography-leading-of-sm);
2068
+ font-weight: var(--pont-ref-typography-weight-medium);
1631
2069
  }
1632
2070
 
1633
2071
  [data-pont-input]:focus-visible {
@@ -1681,25 +2119,25 @@
1681
2119
  display: flex;
1682
2120
  field-sizing: content;
1683
2121
  min-height: 4rem;
1684
- width: 100%;
2122
+ width: var(--pont-ref-dimension-size-full);
1685
2123
  padding: 0.5rem 0.625rem;
1686
2124
  border: var(--pont-sem-border-width) solid var(--_pont-textarea-border-color);
1687
2125
  border-radius: var(--_pont-textarea-radius);
1688
2126
  background-color: var(--_pont-textarea-bg);
1689
- font-size: var(--pont-sem-text-base);
1690
- line-height: var(--pont-sem-text-base--line-height);
2127
+ font-size: var(--pont-ref-typography-size-base);
2128
+ line-height: var(--pont-ref-typography-leading-of-base);
1691
2129
  outline: none;
1692
2130
  --pont-shadow: var(--pont-sem-shadow-xs);
1693
2131
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
1694
2132
  transition-property: color, box-shadow;
1695
- transition-duration: var(--pont-sem-duration);
1696
- transition-timing-function: var(--pont-sem-ease-in-out);
2133
+ transition-duration: var(--pont-sem-motion-trans-duration);
2134
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
1697
2135
  }
1698
2136
 
1699
2137
  @media (width >= 48rem) {
1700
2138
  [data-pont-textarea] {
1701
- font-size: var(--pont-sem-text-sm);
1702
- line-height: var(--pont-sem-text-sm--line-height);
2139
+ font-size: var(--pont-ref-typography-size-sm);
2140
+ line-height: var(--pont-ref-typography-leading-of-sm);
1703
2141
  }
1704
2142
  }
1705
2143
 
@@ -1772,9 +2210,9 @@
1772
2210
  color: inherit;
1773
2211
  --pont-shadow: var(--pont-sem-shadow-xs);
1774
2212
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
1775
- transition-property: box-shadow;
1776
- transition-duration: var(--pont-sem-duration);
1777
- transition-timing-function: var(--pont-sem-ease-in-out);
2213
+ transition-property: var(--pont-ref-motion-trans-property-shadow);
2214
+ transition-duration: var(--pont-sem-motion-trans-duration);
2215
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
1778
2216
  }
1779
2217
 
1780
2218
  /* Enlarged hit area: after:absolute after:-inset-x-3 after:-inset-y-2 */
@@ -1828,7 +2266,7 @@
1828
2266
  display: grid;
1829
2267
  place-content: center;
1830
2268
  color: currentColor;
1831
- transition: none;
2269
+ transition-property: var(--pont-ref-motion-trans-property-none);
1832
2270
  }
1833
2271
  [data-pont-checkbox-indicator] > svg {
1834
2272
  width: 0.875rem;
@@ -1860,7 +2298,7 @@
1860
2298
  /** @token Corner radius */
1861
2299
  --_pont-badge-radius: var(--pont-badge-radius, var(--pont-ref-radius-4xl));
1862
2300
  /** @token Label weight */
1863
- --_pont-badge-font-weight: var(--pont-badge-font-weight, var(--pont-sem-font-weight-medium));
2301
+ --_pont-badge-font-weight: var(--pont-badge-font-weight, var(--pont-ref-typography-weight-medium));
1864
2302
  /** @token Height */
1865
2303
  --_pont-badge-height: var(--pont-badge-height, 1.25rem);
1866
2304
  /** @token Background */
@@ -1927,7 +2365,7 @@
1927
2365
  text-decoration: none;
1928
2366
 
1929
2367
  display: inline-flex;
1930
- width: fit-content;
2368
+ width: var(--pont-ref-dimension-size-fit);
1931
2369
  flex-shrink: 0;
1932
2370
  align-items: center;
1933
2371
  justify-content: center;
@@ -1938,14 +2376,14 @@
1938
2376
  padding: 0.125rem 0.5rem;
1939
2377
  border: var(--pont-sem-border-width) solid var(--_pont-badge-border-color);
1940
2378
  border-radius: var(--_pont-badge-radius);
1941
- font-size: var(--pont-sem-text-xs);
1942
- line-height: var(--pont-sem-text-xs--line-height);
2379
+ font-size: var(--pont-ref-typography-size-xs);
2380
+ line-height: var(--pont-ref-typography-leading-of-xs);
1943
2381
  font-weight: var(--_pont-badge-font-weight);
1944
2382
  outline: none;
1945
2383
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
1946
- transition-property: all;
1947
- transition-duration: var(--pont-sem-duration);
1948
- transition-timing-function: var(--pont-sem-ease-in-out);
2384
+ transition-property: var(--pont-ref-motion-trans-property-all);
2385
+ transition-duration: var(--pont-sem-motion-trans-duration);
2386
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
1949
2387
  background-color: var(--_pont-badge-bg);
1950
2388
  color: var(--_pont-badge-fg);
1951
2389
  }
@@ -2015,7 +2453,7 @@
2015
2453
  /** @token Height */
2016
2454
  --_pont-kbd-height: var(--pont-kbd-height, 1.25rem);
2017
2455
  /** @token Label weight */
2018
- --_pont-kbd-font-weight: var(--pont-kbd-font-weight, var(--pont-sem-font-weight-medium));
2456
+ --_pont-kbd-font-weight: var(--pont-kbd-font-weight, var(--pont-ref-typography-weight-medium));
2019
2457
  }
2020
2458
 
2021
2459
  /* in-data-[slot=tooltip-content]: the inverted tooltip colours */
@@ -2037,16 +2475,16 @@
2037
2475
  justify-content: center;
2038
2476
  user-select: none;
2039
2477
  height: var(--_pont-kbd-height);
2040
- width: fit-content;
2478
+ width: var(--pont-ref-dimension-size-fit);
2041
2479
  min-width: var(--_pont-kbd-height);
2042
2480
  gap: 0.25rem;
2043
2481
  padding: 0 0.25rem;
2044
2482
  border-radius: var(--_pont-kbd-radius);
2045
2483
  background-color: var(--_pont-kbd-bg);
2046
2484
  color: var(--_pont-kbd-fg);
2047
- font-family: var(--pont-sem-font-body);
2048
- font-size: var(--pont-sem-text-xs);
2049
- line-height: var(--pont-sem-text-xs--line-height);
2485
+ font-family: var(--pont-sem-typography-font-body);
2486
+ font-size: var(--pont-ref-typography-size-xs);
2487
+ line-height: var(--pont-ref-typography-leading-of-xs);
2050
2488
  font-weight: var(--_pont-kbd-font-weight);
2051
2489
  }
2052
2490
 
@@ -2081,12 +2519,12 @@
2081
2519
  box-sizing: border-box;
2082
2520
  background-color: var(--_pont-skeleton-bg);
2083
2521
  border-radius: var(--_pont-skeleton-radius);
2084
- animation: var(--pont-sem-animate-pulse);
2522
+ animation: var(--pont-sem-motion-anim-pulse);
2085
2523
  }
2086
2524
 
2087
2525
  @media (prefers-reduced-motion: reduce) {
2088
2526
  :is(pont-prim-skeleton, pont-skeleton, [data-pont-skeleton]) {
2089
- animation: none;
2527
+ animation: var(--pont-ref-motion-anim-none);
2090
2528
  }
2091
2529
  }
2092
2530
  }
@@ -2108,7 +2546,7 @@
2108
2546
  background-color: currentColor;
2109
2547
  -webkit-mask: var(--pont-spinner-icon, var(--_pont-spinner-default)) center / contain no-repeat;
2110
2548
  mask: var(--pont-spinner-icon, var(--_pont-spinner-default)) center / contain no-repeat;
2111
- animation: var(--pont-sem-animate-spin);
2549
+ animation: var(--pont-sem-motion-anim-spin);
2112
2550
  }
2113
2551
  }
2114
2552
 
@@ -2150,7 +2588,7 @@
2150
2588
  /** @token Vertical padding */
2151
2589
  --_pont-alert-padding-y: var(--pont-alert-padding-y, 0.75rem);
2152
2590
  /** @token Title weight */
2153
- --_pont-alert-title-font-weight: var(--pont-alert-title-font-weight, var(--pont-sem-font-weight-medium));
2591
+ --_pont-alert-title-font-weight: var(--pont-alert-title-font-weight, var(--pont-ref-typography-weight-medium));
2154
2592
  /** @token Description text */
2155
2593
  --_pont-alert-description-fg: var(--pont-alert-description-fg, var(--pont-sem-color-muted-foreground));
2156
2594
  }
@@ -2171,15 +2609,15 @@
2171
2609
  box-sizing: border-box;
2172
2610
  position: relative;
2173
2611
  display: grid;
2174
- width: 100%;
2612
+ width: var(--pont-ref-dimension-size-full);
2175
2613
  gap: 0.125rem;
2176
2614
  margin: 0;
2177
2615
  padding: var(--_pont-alert-padding-y) var(--_pont-alert-padding-x);
2178
2616
  border: var(--pont-sem-border-width) solid var(--_pont-alert-border-color);
2179
2617
  border-radius: var(--_pont-alert-radius);
2180
2618
  text-align: left;
2181
- font-size: var(--pont-sem-text-sm);
2182
- line-height: var(--pont-sem-text-sm--line-height);
2619
+ font-size: var(--pont-ref-typography-size-sm);
2620
+ line-height: var(--pont-ref-typography-leading-of-sm);
2183
2621
  background-color: var(--_pont-alert-bg);
2184
2622
  color: var(--_pont-alert-fg);
2185
2623
  }
@@ -2206,7 +2644,7 @@
2206
2644
  :is(pont-prim-alert-title, [data-pont-alert-title]) {
2207
2645
  display: block;
2208
2646
  /* fallbacks: a part used outside an alert */
2209
- font-weight: var(--_pont-alert-title-font-weight, var(--pont-sem-font-weight-medium));
2647
+ font-weight: var(--_pont-alert-title-font-weight, var(--pont-ref-typography-weight-medium));
2210
2648
  }
2211
2649
  :is(pont-prim-alert, [data-pont-alert]):has(> svg) :is(pont-prim-alert-title, [data-pont-alert-title]) {
2212
2650
  grid-column-start: 2;
@@ -2215,8 +2653,8 @@
2215
2653
  :is(pont-prim-alert-description, [data-pont-alert-description]) {
2216
2654
  display: block;
2217
2655
  color: var(--_pont-alert-description-fg, var(--pont-sem-color-muted-foreground));
2218
- font-size: var(--pont-sem-text-sm);
2219
- line-height: var(--pont-sem-text-sm--line-height);
2656
+ font-size: var(--pont-ref-typography-size-sm);
2657
+ line-height: var(--pont-ref-typography-leading-of-sm);
2220
2658
  text-wrap: balance;
2221
2659
  }
2222
2660
  @media (width >= 48rem) {
@@ -2330,9 +2768,9 @@
2330
2768
  display: none;
2331
2769
  box-sizing: border-box;
2332
2770
  aspect-ratio: var(--pont-ref-layout-aspect-square);
2333
- width: 100%;
2334
- height: 100%;
2335
- max-width: none;
2771
+ width: var(--pont-ref-dimension-size-full);
2772
+ height: var(--pont-ref-dimension-size-full);
2773
+ max-width: var(--pont-sem-dimension-size-max);
2336
2774
  object-fit: cover;
2337
2775
  border-radius: var(--_pont-avatar-radius);
2338
2776
  }
@@ -2344,17 +2782,17 @@
2344
2782
  display: flex;
2345
2783
  align-items: center;
2346
2784
  justify-content: center;
2347
- width: 100%;
2348
- height: 100%;
2785
+ width: var(--pont-ref-dimension-size-full);
2786
+ height: var(--pont-ref-dimension-size-full);
2349
2787
  border-radius: var(--_pont-avatar-radius, var(--pont-ref-radius-full));
2350
2788
  background-color: var(--_pont-avatar-fallback-bg, var(--pont-sem-color-muted));
2351
2789
  color: var(--_pont-avatar-fallback-fg, var(--pont-sem-color-muted-foreground));
2352
- font-size: var(--pont-sem-text-sm);
2353
- line-height: var(--pont-sem-text-sm--line-height);
2790
+ font-size: var(--pont-ref-typography-size-sm);
2791
+ line-height: var(--pont-ref-typography-leading-of-sm);
2354
2792
  }
2355
2793
  [data-pont-avatar][data-size="sm"] :is(pont-prim-avatar-fallback, [data-pont-avatar-fallback]) {
2356
- font-size: var(--pont-sem-text-xs);
2357
- line-height: var(--pont-sem-text-xs--line-height);
2794
+ font-size: var(--pont-ref-typography-size-xs);
2795
+ line-height: var(--pont-ref-typography-leading-of-xs);
2358
2796
  }
2359
2797
  [data-pont-avatar][data-image-loading-status="loaded"] :is(pont-prim-avatar-fallback, [data-pont-avatar-fallback]) {
2360
2798
  display: none;
@@ -2417,8 +2855,8 @@
2417
2855
  border-radius: var(--_pont-avatar-radius);
2418
2856
  background-color: var(--_pont-avatar-fallback-bg);
2419
2857
  color: var(--_pont-avatar-fallback-fg);
2420
- font-size: var(--pont-sem-text-sm);
2421
- line-height: var(--pont-sem-text-sm--line-height);
2858
+ font-size: var(--pont-ref-typography-size-sm);
2859
+ line-height: var(--pont-ref-typography-leading-of-sm);
2422
2860
  box-shadow: 0 0 0 2px var(--pont-sem-color-background);
2423
2861
  }
2424
2862
  :is(pont-prim-avatar-group-count, [data-pont-avatar-group-count]) > svg {
@@ -2478,7 +2916,7 @@
2478
2916
  /** @token Text cell corner radius */
2479
2917
  --_pont-button-group-text-radius: var(--pont-button-group-text-radius, var(--pont-ref-radius-md));
2480
2918
  /** @token Text cell weight */
2481
- --_pont-button-group-text-font-weight: var(--pont-button-group-text-font-weight, var(--pont-sem-font-weight-medium));
2919
+ --_pont-button-group-text-font-weight: var(--pont-button-group-text-font-weight, var(--pont-ref-typography-weight-medium));
2482
2920
  /** @token Separator colour */
2483
2921
  --_pont-button-group-separator-bg: var(--pont-button-group-separator-bg, var(--pont-sem-color-input));
2484
2922
  }
@@ -2490,7 +2928,7 @@
2490
2928
  :is(pont-prim-button-group, [data-pont-button-group]) {
2491
2929
  box-sizing: border-box;
2492
2930
  display: flex;
2493
- width: fit-content;
2931
+ width: var(--pont-ref-dimension-size-fit);
2494
2932
  align-items: stretch;
2495
2933
  }
2496
2934
  :is(pont-prim-button-group, [data-pont-button-group]):has(> [data-slot="button-group"]) {
@@ -2502,7 +2940,7 @@
2502
2940
  z-index: 10;
2503
2941
  }
2504
2942
  :is(pont-prim-button-group, [data-pont-button-group]) > [data-slot="select-trigger"]:not([class*="w-"]) {
2505
- width: fit-content;
2943
+ width: var(--pont-ref-dimension-size-fit);
2506
2944
  }
2507
2945
  :is(pont-prim-button-group, [data-pont-button-group]) > input,
2508
2946
  :is(pont-prim-button-group, [data-pont-button-group]) > [data-pont-shell] > input {
@@ -2553,11 +2991,11 @@
2553
2991
  background-color: var(--_pont-button-group-separator-bg, var(--pont-sem-color-input));
2554
2992
  }
2555
2993
  [data-pont-button-group-separator][data-orientation="vertical"] {
2556
- height: auto;
2994
+ height: var(--pont-sem-dimension-size);
2557
2995
  margin-block: 1px;
2558
2996
  }
2559
2997
  [data-pont-button-group-separator][data-orientation="horizontal"] {
2560
- width: auto;
2998
+ width: var(--pont-sem-dimension-size);
2561
2999
  margin-inline: 1px;
2562
3000
  }
2563
3001
 
@@ -2572,9 +3010,9 @@
2572
3010
  border: var(--pont-sem-border-width) solid var(--_pont-button-group-text-border-color, var(--pont-sem-color-border));
2573
3011
  border-radius: var(--_pont-button-group-text-radius, var(--pont-ref-radius-md));
2574
3012
  background-color: var(--_pont-button-group-text-bg, var(--pont-sem-color-muted));
2575
- font-size: var(--pont-sem-text-sm);
2576
- line-height: var(--pont-sem-text-sm--line-height);
2577
- font-weight: var(--_pont-button-group-text-font-weight, var(--pont-sem-font-weight-medium));
3013
+ font-size: var(--pont-ref-typography-size-sm);
3014
+ line-height: var(--pont-ref-typography-leading-of-sm);
3015
+ font-weight: var(--_pont-button-group-text-font-weight, var(--pont-ref-typography-weight-medium));
2578
3016
  --pont-shadow: var(--pont-sem-shadow-xs);
2579
3017
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
2580
3018
  }
@@ -2651,8 +3089,8 @@
2651
3089
  border-radius: var(--_pont-card-radius);
2652
3090
  background-color: var(--_pont-card-bg);
2653
3091
  color: var(--_pont-card-fg);
2654
- font-size: var(--pont-sem-text-sm);
2655
- line-height: var(--pont-sem-text-sm--line-height);
3092
+ font-size: var(--pont-ref-typography-size-sm);
3093
+ line-height: var(--pont-ref-typography-leading-of-sm);
2656
3094
  --pont-ring-shadow: 0 0 0 var(--pont-sem-border-width) var(--_pont-card-border-color);
2657
3095
  --pont-shadow: var(--_pont-card-shadow);
2658
3096
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
@@ -2693,19 +3131,19 @@
2693
3131
 
2694
3132
  :is(pont-prim-card-title, [data-pont-card-title]) {
2695
3133
  display: block;
2696
- font-size: var(--pont-sem-text-base);
2697
- line-height: var(--pont-sem-leading-normal);
2698
- font-weight: var(--pont-sem-font-weight-medium);
3134
+ font-size: var(--pont-ref-typography-size-base);
3135
+ line-height: var(--pont-ref-typography-leading-normal);
3136
+ font-weight: var(--pont-ref-typography-weight-medium);
2699
3137
  }
2700
3138
  :is(pont-prim-card, [data-pont-card])[data-size="sm"] :is(pont-prim-card-title, [data-pont-card-title]) {
2701
- font-size: var(--pont-sem-text-sm);
3139
+ font-size: var(--pont-ref-typography-size-sm);
2702
3140
  }
2703
3141
 
2704
3142
  :is(pont-prim-card-description, [data-pont-card-description]) {
2705
3143
  display: block;
2706
3144
  color: var(--pont-sem-color-muted-foreground);
2707
- font-size: var(--pont-sem-text-sm);
2708
- line-height: var(--pont-sem-text-sm--line-height);
3145
+ font-size: var(--pont-ref-typography-size-sm);
3146
+ line-height: var(--pont-ref-typography-leading-of-sm);
2709
3147
  }
2710
3148
 
2711
3149
  :is(pont-prim-card-action, [data-pont-card-action]) {
@@ -2782,7 +3220,7 @@
2782
3220
  /** @token Icon colour */
2783
3221
  --_pont-empty-media-icon-fg: var(--pont-empty-media-icon-fg, var(--pont-sem-color-foreground));
2784
3222
  /** @token Title weight */
2785
- --_pont-empty-title-font-weight: var(--pont-empty-title-font-weight, var(--pont-sem-font-weight-medium));
3223
+ --_pont-empty-title-font-weight: var(--pont-empty-title-font-weight, var(--pont-ref-typography-weight-medium));
2786
3224
  /** @token Description text */
2787
3225
  --_pont-empty-description-fg: var(--pont-empty-description-fg, var(--pont-sem-color-muted-foreground));
2788
3226
  }
@@ -2799,7 +3237,7 @@
2799
3237
  align-items: center;
2800
3238
  justify-content: center;
2801
3239
  gap: var(--_pont-empty-gap);
2802
- width: 100%;
3240
+ width: var(--pont-ref-dimension-size-full);
2803
3241
  min-width: 0;
2804
3242
  margin: 0;
2805
3243
  padding: var(--_pont-empty-padding-y) var(--_pont-empty-padding-x);
@@ -2814,7 +3252,7 @@
2814
3252
  flex-direction: column;
2815
3253
  align-items: center;
2816
3254
  gap: 0.5rem;
2817
- max-width: var(--pont-sem-container-sm);
3255
+ max-width: var(--pont-ref-dimension-size-sm);
2818
3256
  }
2819
3257
 
2820
3258
  :is(pont-prim-empty-media, [data-pont-empty-media]) {
@@ -2844,17 +3282,17 @@
2844
3282
 
2845
3283
  :is(pont-prim-empty-title, [data-pont-empty-title]) {
2846
3284
  display: block;
2847
- font-size: var(--pont-sem-text-lg);
2848
- line-height: var(--pont-sem-text-lg--line-height);
2849
- font-weight: var(--_pont-empty-title-font-weight, var(--pont-sem-font-weight-medium));
2850
- letter-spacing: var(--pont-sem-tracking-tight);
3285
+ font-size: var(--pont-ref-typography-size-lg);
3286
+ line-height: var(--pont-ref-typography-leading-of-lg);
3287
+ font-weight: var(--_pont-empty-title-font-weight, var(--pont-ref-typography-weight-medium));
3288
+ letter-spacing: var(--pont-ref-typography-tracking-tight);
2851
3289
  }
2852
3290
 
2853
3291
  :is(pont-prim-empty-description, [data-pont-empty-description]) {
2854
3292
  display: block;
2855
3293
  color: var(--_pont-empty-description-fg, var(--pont-sem-color-muted-foreground));
2856
- font-size: var(--pont-sem-text-sm);
2857
- line-height: var(--pont-sem-leading-relaxed);
3294
+ font-size: var(--pont-ref-typography-size-sm);
3295
+ line-height: var(--pont-ref-typography-leading-relaxed);
2858
3296
  }
2859
3297
  :is(pont-prim-empty-description, [data-pont-empty-description]) > a {
2860
3298
  color: inherit;
@@ -2870,11 +3308,11 @@
2870
3308
  flex-direction: column;
2871
3309
  align-items: center;
2872
3310
  gap: 1rem;
2873
- width: 100%;
2874
- max-width: var(--pont-sem-container-sm);
3311
+ width: var(--pont-ref-dimension-size-full);
3312
+ max-width: var(--pont-ref-dimension-size-sm);
2875
3313
  min-width: 0;
2876
- font-size: var(--pont-sem-text-sm);
2877
- line-height: var(--pont-sem-text-sm--line-height);
3314
+ font-size: var(--pont-ref-typography-size-sm);
3315
+ line-height: var(--pont-ref-typography-leading-of-sm);
2878
3316
  text-wrap: balance;
2879
3317
  }
2880
3318
  }
@@ -2958,13 +3396,13 @@
2958
3396
  [data-pont-field-legend] {
2959
3397
  margin: 0 0 0.75rem;
2960
3398
  padding: 0;
2961
- font-weight: var(--pont-sem-font-weight-medium);
2962
- font-size: var(--pont-sem-text-base);
2963
- line-height: var(--pont-sem-text-base--line-height);
3399
+ font-weight: var(--pont-ref-typography-weight-medium);
3400
+ font-size: var(--pont-ref-typography-size-base);
3401
+ line-height: var(--pont-ref-typography-leading-of-base);
2964
3402
  }
2965
3403
  [data-pont-field-legend][data-variant="label"] {
2966
- font-size: var(--pont-sem-text-sm);
2967
- line-height: var(--pont-sem-text-sm--line-height);
3404
+ font-size: var(--pont-ref-typography-size-sm);
3405
+ line-height: var(--pont-ref-typography-leading-of-sm);
2968
3406
  }
2969
3407
 
2970
3408
  /* ---------------- FieldGroup ---------------- */
@@ -2975,7 +3413,7 @@
2975
3413
  display: flex;
2976
3414
  flex-direction: column;
2977
3415
  gap: var(--_pont-field-group-gap);
2978
- width: 100%;
3416
+ width: var(--pont-ref-dimension-size-full);
2979
3417
  }
2980
3418
  :is(pont-prim-field-group, [data-pont-field-group])[data-slot="checkbox-group"] {
2981
3419
  gap: 0.75rem;
@@ -2990,7 +3428,7 @@
2990
3428
  display: flex;
2991
3429
  flex-direction: column;
2992
3430
  gap: var(--_pont-field-gap);
2993
- width: 100%;
3431
+ width: var(--pont-ref-dimension-size-full);
2994
3432
  }
2995
3433
  :is(pont-prim-field, [data-pont-field]):is([data-invalid]:not([data-invalid="false"])) {
2996
3434
  color: var(--_pont-field-fg-invalid);
@@ -2998,10 +3436,10 @@
2998
3436
 
2999
3437
  /* vertical (default) and responsive below @md */
3000
3438
  :is(pont-prim-field, [data-pont-field]):is(:not([data-orientation]), [data-orientation="vertical"], [data-orientation="responsive"]) > * {
3001
- width: 100%;
3439
+ width: var(--pont-ref-dimension-size-full);
3002
3440
  }
3003
3441
  :is(pont-prim-field, [data-pont-field]):is(:not([data-orientation]), [data-orientation="vertical"], [data-orientation="responsive"]) > :is(.sr-only, [data-pont-sr-only]) {
3004
- width: auto;
3442
+ width: var(--pont-sem-dimension-size);
3005
3443
  }
3006
3444
 
3007
3445
  /* horizontal */
@@ -3026,7 +3464,7 @@
3026
3464
  align-items: center;
3027
3465
  }
3028
3466
  [data-pont-field][data-orientation="responsive"] > * {
3029
- width: auto;
3467
+ width: var(--pont-sem-dimension-size);
3030
3468
  }
3031
3469
  [data-pont-field][data-orientation="responsive"]:has(> [data-slot="field-content"]) {
3032
3470
  align-items: flex-start;
@@ -3046,15 +3484,15 @@
3046
3484
  flex: 1 1 0%;
3047
3485
  flex-direction: column;
3048
3486
  gap: 0.25rem;
3049
- line-height: var(--pont-sem-leading-snug);
3487
+ line-height: var(--pont-ref-typography-leading-snug);
3050
3488
  }
3051
3489
 
3052
3490
  /* ---------------- FieldLabel (native label; Label recipe applies too) ---------------- */
3053
3491
  [data-pont-field-label] {
3054
3492
  display: flex;
3055
- width: fit-content;
3493
+ width: var(--pont-ref-dimension-size-fit);
3056
3494
  gap: 0.5rem;
3057
- line-height: var(--pont-sem-leading-snug);
3495
+ line-height: var(--pont-ref-typography-leading-snug);
3058
3496
  }
3059
3497
  [data-pont-field][data-disabled]:not([data-disabled="false"]) [data-pont-field-label],
3060
3498
  [data-pont-field][data-disabled]:not([data-disabled="false"]) [data-pont-field-title] {
@@ -3063,7 +3501,7 @@
3063
3501
 
3064
3502
  /* Choice card: a FieldLabel that wraps a whole Field */
3065
3503
  [data-pont-field-label]:has(> [data-slot="field"]) {
3066
- width: 100%;
3504
+ width: var(--pont-ref-dimension-size-full);
3067
3505
  flex-direction: column;
3068
3506
  border: var(--pont-sem-border-width) solid var(--_pont-field-choice-border-color);
3069
3507
  border-radius: var(--_pont-field-choice-radius);
@@ -3087,12 +3525,12 @@
3087
3525
  /* ---------------- FieldTitle ---------------- */
3088
3526
  :is(pont-prim-field-title, [data-pont-field-title]) {
3089
3527
  display: flex;
3090
- width: fit-content;
3528
+ width: var(--pont-ref-dimension-size-fit);
3091
3529
  align-items: center;
3092
3530
  gap: 0.5rem;
3093
- font-size: var(--pont-sem-text-sm);
3094
- line-height: var(--pont-sem-leading-snug);
3095
- font-weight: var(--pont-sem-font-weight-medium);
3531
+ font-size: var(--pont-ref-typography-size-sm);
3532
+ line-height: var(--pont-ref-typography-leading-snug);
3533
+ font-weight: var(--pont-ref-typography-weight-medium);
3096
3534
  }
3097
3535
 
3098
3536
  /* ---------------- FieldDescription ---------------- */
@@ -3101,9 +3539,9 @@
3101
3539
  margin: 0;
3102
3540
  color: var(--_pont-field-description-fg);
3103
3541
  text-align: left;
3104
- font-size: var(--pont-sem-text-sm);
3105
- line-height: var(--pont-sem-leading-normal);
3106
- font-weight: var(--pont-sem-font-weight-normal);
3542
+ font-size: var(--pont-ref-typography-size-sm);
3543
+ line-height: var(--pont-ref-typography-leading-normal);
3544
+ font-weight: var(--pont-ref-typography-weight-normal);
3107
3545
  }
3108
3546
  :is(pont-prim-field-description, [data-pont-field-description]):nth-last-child(2) {
3109
3547
  margin-top: -0.25rem;
@@ -3135,15 +3573,15 @@
3135
3573
  height: 1.25rem;
3136
3574
  margin-block: -0.5rem;
3137
3575
  color: var(--pont-sem-color-muted-foreground);
3138
- font-size: var(--pont-sem-text-sm);
3139
- line-height: var(--pont-sem-text-sm--line-height);
3576
+ font-size: var(--pont-ref-typography-size-sm);
3577
+ line-height: var(--pont-ref-typography-leading-of-sm);
3140
3578
  white-space: nowrap;
3141
3579
  }
3142
3580
  :is(pont-prim-field-separator, [data-pont-field-separator])::before,
3143
3581
  :is(pont-prim-field-separator, [data-pont-field-separator])::after {
3144
3582
  content: "";
3145
3583
  flex: 1 1 0%;
3146
- height: 1px;
3584
+ height: var(--pont-ref-dimension-size-px);
3147
3585
  background-color: var(--pont-sem-color-border);
3148
3586
  }
3149
3587
  :is(pont-prim-field-separator, [data-pont-field-separator])[data-content="true"] {
@@ -3160,9 +3598,9 @@
3160
3598
  :is(pont-prim-field-error, [data-pont-field-error]) {
3161
3599
  display: block;
3162
3600
  color: var(--_pont-field-error-fg);
3163
- font-size: var(--pont-sem-text-sm);
3164
- line-height: var(--pont-sem-text-sm--line-height);
3165
- font-weight: var(--pont-sem-font-weight-normal);
3601
+ font-size: var(--pont-ref-typography-size-sm);
3602
+ line-height: var(--pont-ref-typography-leading-of-sm);
3603
+ font-weight: var(--pont-ref-typography-weight-normal);
3166
3604
  }
3167
3605
  :is(pont-prim-field-error, [data-pont-field-error]):empty {
3168
3606
  display: none;
@@ -3231,7 +3669,7 @@
3231
3669
  position: relative;
3232
3670
  display: flex;
3233
3671
  align-items: center;
3234
- width: 100%;
3672
+ width: var(--pont-ref-dimension-size-full);
3235
3673
  min-width: 0;
3236
3674
  height: var(--_pont-input-group-height);
3237
3675
  margin: 0;
@@ -3242,8 +3680,8 @@
3242
3680
  --pont-shadow: var(--pont-sem-shadow-xs);
3243
3681
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
3244
3682
  transition-property: color, box-shadow;
3245
- transition-duration: var(--pont-sem-duration);
3246
- transition-timing-function: var(--pont-sem-ease-in-out);
3683
+ transition-duration: var(--pont-sem-motion-trans-duration);
3684
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
3247
3685
  }
3248
3686
 
3249
3687
  :is(pont-prim-input-group, [data-pont-input-group]):has([data-slot="input-group-control"]:focus-visible) {
@@ -3260,10 +3698,10 @@
3260
3698
  }
3261
3699
 
3262
3700
  :is(pont-prim-input-group, [data-pont-input-group]):has(> textarea, > [data-pont-shell] > textarea) {
3263
- height: auto;
3701
+ height: var(--pont-sem-dimension-size);
3264
3702
  }
3265
3703
  :is(pont-prim-input-group, [data-pont-input-group]):has(> [data-align="block-start"], > [data-align="block-end"]) {
3266
- height: auto;
3704
+ height: var(--pont-sem-dimension-size);
3267
3705
  flex-direction: column;
3268
3706
  }
3269
3707
  :is(pont-prim-input-group, [data-pont-input-group]):has(> [data-align="block-end"]) > input,
@@ -3290,14 +3728,14 @@
3290
3728
  align-items: center;
3291
3729
  justify-content: center;
3292
3730
  gap: 0.5rem;
3293
- height: auto;
3731
+ height: var(--pont-sem-dimension-size);
3294
3732
  padding-block: 0.375rem;
3295
3733
  cursor: var(--pont-sem-cursor-text);
3296
3734
  user-select: none;
3297
3735
  color: var(--_pont-input-group-addon-fg);
3298
- font-size: var(--pont-sem-text-sm);
3299
- line-height: var(--pont-sem-text-sm--line-height);
3300
- font-weight: var(--pont-sem-font-weight-medium);
3736
+ font-size: var(--pont-ref-typography-size-sm);
3737
+ line-height: var(--pont-ref-typography-leading-of-sm);
3738
+ font-weight: var(--pont-ref-typography-weight-medium);
3301
3739
  order: -9999;
3302
3740
  padding-left: 0.5rem;
3303
3741
  }
@@ -3332,7 +3770,7 @@
3332
3770
  }
3333
3771
 
3334
3772
  [data-pont-input-group-addon]:is([data-align="block-start"], [data-align="block-end"]) {
3335
- width: 100%;
3773
+ width: var(--pont-ref-dimension-size-full);
3336
3774
  justify-content: flex-start;
3337
3775
  padding-inline: 0.625rem;
3338
3776
  }
@@ -3363,8 +3801,8 @@
3363
3801
  align-items: center;
3364
3802
  gap: 0.5rem;
3365
3803
  color: var(--pont-sem-color-muted-foreground);
3366
- font-size: var(--pont-sem-text-sm);
3367
- line-height: var(--pont-sem-text-sm--line-height);
3804
+ font-size: var(--pont-ref-typography-size-sm);
3805
+ line-height: var(--pont-ref-typography-leading-of-sm);
3368
3806
  }
3369
3807
  :is(pont-prim-input-group-text, [data-pont-input-group-text]) svg {
3370
3808
  pointer-events: none;
@@ -3398,16 +3836,16 @@
3398
3836
  align-items: center;
3399
3837
  gap: 0.5rem;
3400
3838
  --pont-shadow: var(--pont-sem-shadow-none);
3401
- font-size: var(--pont-sem-text-sm);
3402
- line-height: var(--pont-sem-text-sm--line-height);
3839
+ font-size: var(--pont-ref-typography-size-sm);
3840
+ line-height: var(--pont-ref-typography-leading-of-sm);
3403
3841
  }
3404
3842
  [data-pont-input-group-button][data-size="xs"] {
3405
3843
  height: 1.5rem;
3406
3844
  gap: 0.25rem;
3407
3845
  padding: 0 0.375rem;
3408
3846
  border-radius: calc(var(--pont-ref-radius-lg) - 5px);
3409
- font-size: var(--pont-sem-text-sm);
3410
- line-height: var(--pont-sem-text-sm--line-height);
3847
+ font-size: var(--pont-ref-typography-size-sm);
3848
+ line-height: var(--pont-ref-typography-leading-of-sm);
3411
3849
  }
3412
3850
  [data-pont-input-group-button][data-size="xs"] > svg:not([class*="size-"]) {
3413
3851
  width: 0.875rem;
@@ -3464,7 +3902,7 @@
3464
3902
  /** @token Background on hover (link items) */
3465
3903
  --_pont-item-bg-hover: var(--pont-item-bg-hover, var(--pont-sem-color-muted));
3466
3904
  /** @token Title weight */
3467
- --_pont-item-title-font-weight: var(--pont-item-title-font-weight, var(--pont-sem-font-weight-medium));
3905
+ --_pont-item-title-font-weight: var(--pont-item-title-font-weight, var(--pont-ref-typography-weight-medium));
3468
3906
  /** @token Description text */
3469
3907
  --_pont-item-description-fg: var(--pont-item-description-fg, var(--pont-sem-color-muted-foreground));
3470
3908
  /* set per variant below; declared here so nothing is inherited from an ancestor */
@@ -3489,7 +3927,7 @@
3489
3927
  display: flex;
3490
3928
  flex-direction: column;
3491
3929
  gap: 1rem;
3492
- width: 100%;
3930
+ width: var(--pont-ref-dimension-size-full);
3493
3931
  }
3494
3932
  :is(pont-prim-item-group, [data-pont-item-group]):has([data-size="sm"]) {
3495
3933
  gap: 0.625rem;
@@ -3507,7 +3945,7 @@
3507
3945
  display: flex;
3508
3946
  flex-wrap: wrap;
3509
3947
  align-items: center;
3510
- width: 100%;
3948
+ width: var(--pont-ref-dimension-size-full);
3511
3949
  gap: 0.875rem;
3512
3950
  margin: 0;
3513
3951
  padding: 0.875rem 1rem;
@@ -3515,14 +3953,14 @@
3515
3953
  border-radius: var(--_pont-item-radius);
3516
3954
  background-color: var(--_pont-item-bg);
3517
3955
  color: inherit;
3518
- font-size: var(--pont-sem-text-sm);
3519
- line-height: var(--pont-sem-text-sm--line-height);
3956
+ font-size: var(--pont-ref-typography-size-sm);
3957
+ line-height: var(--pont-ref-typography-leading-of-sm);
3520
3958
  text-decoration: none;
3521
3959
  outline: none;
3522
3960
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
3523
- transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
3524
- transition-duration: 100ms;
3525
- transition-timing-function: var(--pont-sem-ease-in-out);
3961
+ transition-property: var(--pont-ref-motion-trans-property-colors);
3962
+ transition-duration: var(--pont-sem-motion-trans-duration-fast);
3963
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
3526
3964
  }
3527
3965
  [data-pont-item]:focus-visible {
3528
3966
  border-color: var(--pont-sem-color-ring);
@@ -3579,9 +4017,9 @@
3579
4017
  }
3580
4018
  [data-pont-item-media][data-variant="image"] img {
3581
4019
  display: block;
3582
- width: 100%;
3583
- height: 100%;
3584
- max-width: none;
4020
+ width: var(--pont-ref-dimension-size-full);
4021
+ height: var(--pont-ref-dimension-size-full);
4022
+ max-width: var(--pont-sem-dimension-size-max);
3585
4023
  object-fit: cover;
3586
4024
  }
3587
4025
 
@@ -3600,15 +4038,15 @@
3600
4038
 
3601
4039
  :is(pont-prim-item-title, [data-pont-item-title]) {
3602
4040
  display: flex;
3603
- width: fit-content;
4041
+ width: var(--pont-ref-dimension-size-fit);
3604
4042
  align-items: center;
3605
4043
  gap: 0.5rem;
3606
4044
  overflow: hidden;
3607
4045
  -webkit-line-clamp: 1;
3608
4046
  -webkit-box-orient: vertical;
3609
- font-size: var(--pont-sem-text-sm);
3610
- line-height: var(--pont-sem-leading-snug);
3611
- font-weight: var(--_pont-item-title-font-weight, var(--pont-sem-font-weight-medium));
4047
+ font-size: var(--pont-ref-typography-size-sm);
4048
+ line-height: var(--pont-ref-typography-leading-snug);
4049
+ font-weight: var(--_pont-item-title-font-weight, var(--pont-ref-typography-weight-medium));
3612
4050
  text-underline-offset: 4px;
3613
4051
  }
3614
4052
 
@@ -3620,12 +4058,12 @@
3620
4058
  margin: 0;
3621
4059
  color: var(--_pont-item-description-fg, var(--pont-sem-color-muted-foreground));
3622
4060
  text-align: left;
3623
- font-size: var(--pont-sem-text-sm);
3624
- line-height: var(--pont-sem-leading-normal);
3625
- font-weight: var(--pont-sem-font-weight-normal);
4061
+ font-size: var(--pont-ref-typography-size-sm);
4062
+ line-height: var(--pont-ref-typography-leading-normal);
4063
+ font-weight: var(--pont-ref-typography-weight-normal);
3626
4064
  }
3627
4065
  [data-pont-item][data-size="xs"] :is(pont-prim-item-description, [data-pont-item-description]) {
3628
- font-size: var(--pont-sem-text-xs);
4066
+ font-size: var(--pont-ref-typography-size-xs);
3629
4067
  }
3630
4068
  :is(pont-prim-item-description, [data-pont-item-description]) > a {
3631
4069
  color: inherit;
@@ -3644,7 +4082,7 @@
3644
4082
 
3645
4083
  :is(pont-prim-item-header, [data-pont-item-header], pont-prim-item-footer, [data-pont-item-footer]) {
3646
4084
  display: flex;
3647
- flex-basis: 100%;
4085
+ flex-basis: var(--pont-ref-dimension-size-full);
3648
4086
  align-items: center;
3649
4087
  justify-content: space-between;
3650
4088
  gap: 0.5rem;
@@ -3697,7 +4135,7 @@
3697
4135
  box-sizing: border-box;
3698
4136
  position: relative;
3699
4137
  display: block;
3700
- width: fit-content;
4138
+ width: var(--pont-ref-dimension-size-fit);
3701
4139
  }
3702
4140
  :is(pont-prim-native-select, pont-native-select, [data-pont-native-select-wrapper]):has(select:disabled) {
3703
4141
  opacity: var(--pont-sem-opacity-disabled);
@@ -3725,22 +4163,22 @@
3725
4163
  -webkit-appearance: none;
3726
4164
  appearance: none;
3727
4165
 
3728
- width: 100%;
4166
+ width: var(--pont-ref-dimension-size-full);
3729
4167
  min-width: 0;
3730
4168
  height: var(--_pont-native-select-height);
3731
4169
  padding: 0.25rem 2rem 0.25rem 0.625rem;
3732
4170
  border: var(--pont-sem-border-width) solid var(--_pont-native-select-border-color);
3733
4171
  border-radius: var(--_pont-native-select-radius);
3734
4172
  background-color: var(--_pont-native-select-bg);
3735
- font-size: var(--pont-sem-text-sm);
3736
- line-height: var(--pont-sem-text-sm--line-height);
4173
+ font-size: var(--pont-ref-typography-size-sm);
4174
+ line-height: var(--pont-ref-typography-leading-of-sm);
3737
4175
  user-select: none;
3738
4176
  outline: none;
3739
4177
  --pont-shadow: var(--pont-sem-shadow-xs);
3740
4178
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
3741
4179
  transition-property: color, box-shadow;
3742
- transition-duration: var(--pont-sem-duration);
3743
- transition-timing-function: var(--pont-sem-ease-in-out);
4180
+ transition-duration: var(--pont-sem-motion-trans-duration);
4181
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
3744
4182
  }
3745
4183
  [data-pont-native-select]::selection {
3746
4184
  background-color: var(--pont-sem-color-primary);
@@ -3808,7 +4246,7 @@
3808
4246
  /** @token Header text */
3809
4247
  --_pont-table-head-fg: var(--pont-table-head-fg, var(--pont-sem-color-foreground));
3810
4248
  /** @token Header weight */
3811
- --_pont-table-head-font-weight: var(--pont-table-head-font-weight, var(--pont-sem-font-weight-medium));
4249
+ --_pont-table-head-font-weight: var(--pont-table-head-font-weight, var(--pont-ref-typography-weight-medium));
3812
4250
  /** @token Header height */
3813
4251
  --_pont-table-head-height: var(--pont-table-head-height, 2.5rem);
3814
4252
  }
@@ -3821,18 +4259,18 @@
3821
4259
  box-sizing: border-box;
3822
4260
  position: relative;
3823
4261
  display: block;
3824
- width: 100%;
4262
+ width: var(--pont-ref-dimension-size-full);
3825
4263
  overflow-x: auto;
3826
4264
  }
3827
4265
 
3828
4266
  :is(:is(pont-prim-table, pont-table) > table, [data-pont-table]) {
3829
- width: 100%;
4267
+ width: var(--pont-ref-dimension-size-full);
3830
4268
  caption-side: bottom;
3831
4269
  border-collapse: collapse;
3832
4270
  text-indent: 0;
3833
4271
  border-color: inherit;
3834
- font-size: var(--pont-sem-text-sm);
3835
- line-height: var(--pont-sem-text-sm--line-height);
4272
+ font-size: var(--pont-ref-typography-size-sm);
4273
+ line-height: var(--pont-ref-typography-leading-of-sm);
3836
4274
  }
3837
4275
 
3838
4276
  :is(:is(pont-prim-table, pont-table) > table > thead, [data-pont-table-header]) tr {
@@ -3844,7 +4282,7 @@
3844
4282
  :is(:is(pont-prim-table, pont-table) > table > tfoot, [data-pont-table-footer]) {
3845
4283
  background-color: var(--_pont-table-footer-bg, color-mix(in oklab, var(--pont-sem-color-muted) 50%, transparent));
3846
4284
  border-top: var(--pont-sem-border-width) solid var(--_pont-table-border-color, var(--pont-sem-color-border));
3847
- font-weight: var(--pont-sem-font-weight-medium);
4285
+ font-weight: var(--pont-ref-typography-weight-medium);
3848
4286
  }
3849
4287
  :is(:is(pont-prim-table, pont-table) > table > tfoot, [data-pont-table-footer]) > tr:last-child {
3850
4288
  border-bottom-width: 0;
@@ -3852,9 +4290,9 @@
3852
4290
 
3853
4291
  :is(:is(pont-prim-table, pont-table) > table > * > tr, [data-pont-table-row]) {
3854
4292
  border-bottom: var(--pont-sem-border-width) solid var(--_pont-table-border-color, var(--pont-sem-color-border));
3855
- transition-property: color, background-color, border-color;
3856
- transition-duration: var(--pont-sem-duration);
3857
- transition-timing-function: var(--pont-sem-ease-in-out);
4293
+ transition-property: var(--pont-ref-motion-trans-property-colors);
4294
+ transition-duration: var(--pont-sem-motion-trans-duration);
4295
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
3858
4296
  }
3859
4297
  :is(:is(pont-prim-table, pont-table) > table > * > tr, [data-pont-table-row]):hover,
3860
4298
  :is(:is(pont-prim-table, pont-table) > table > * > tr, [data-pont-table-row]):has([aria-expanded="true"]) {
@@ -3870,7 +4308,7 @@
3870
4308
  color: var(--_pont-table-head-fg, var(--pont-sem-color-foreground));
3871
4309
  text-align: left;
3872
4310
  vertical-align: middle;
3873
- font-weight: var(--_pont-table-head-font-weight, var(--pont-sem-font-weight-medium));
4311
+ font-weight: var(--_pont-table-head-font-weight, var(--pont-ref-typography-weight-medium));
3874
4312
  white-space: nowrap;
3875
4313
  }
3876
4314
  :is(:is(pont-prim-table, pont-table) > table > * > tr > td, [data-pont-table-cell]) {
@@ -3888,8 +4326,8 @@
3888
4326
  :is(:is(pont-prim-table, pont-table) > table > caption, [data-pont-table-caption]) {
3889
4327
  margin-top: 1rem;
3890
4328
  color: var(--pont-sem-color-muted-foreground);
3891
- font-size: var(--pont-sem-text-sm);
3892
- line-height: var(--pont-sem-text-sm--line-height);
4329
+ font-size: var(--pont-ref-typography-size-sm);
4330
+ line-height: var(--pont-ref-typography-leading-of-sm);
3893
4331
  }
3894
4332
  }
3895
4333
 
@@ -3911,7 +4349,7 @@
3911
4349
  @layer pont.primitives {
3912
4350
  :is(pont-prim-pagination, pont-pagination, [data-pont-pagination]) {
3913
4351
  display: flex;
3914
- width: 100%;
4352
+ width: var(--pont-ref-dimension-size-full);
3915
4353
  margin-inline: auto;
3916
4354
  justify-content: center;
3917
4355
  }
@@ -4038,7 +4476,7 @@
4038
4476
  box-sizing: border-box;
4039
4477
  position: relative;
4040
4478
  display: flex;
4041
- width: fit-content;
4479
+ width: var(--pont-ref-dimension-size-fit);
4042
4480
  align-items: center;
4043
4481
  gap: var(--_pont-input-otp-gap);
4044
4482
  cursor: var(--pont-sem-cursor-text);
@@ -4059,8 +4497,8 @@
4059
4497
  box-sizing: border-box;
4060
4498
  position: absolute;
4061
4499
  inset: 0;
4062
- width: 100%;
4063
- height: 100%;
4500
+ width: var(--pont-ref-dimension-size-full);
4501
+ height: var(--pont-ref-dimension-size-full);
4064
4502
  margin: 0;
4065
4503
  padding: 0;
4066
4504
  border: 0;
@@ -4107,14 +4545,14 @@
4107
4545
  border-color: var(--_pont-input-otp-slot-border-color);
4108
4546
  border-width: var(--pont-sem-border-width) var(--pont-sem-border-width) var(--pont-sem-border-width) 0;
4109
4547
  background-color: var(--_pont-input-otp-slot-bg);
4110
- font-size: var(--pont-sem-text-sm);
4111
- line-height: var(--pont-sem-text-sm--line-height);
4548
+ font-size: var(--pont-ref-typography-size-sm);
4549
+ line-height: var(--pont-ref-typography-leading-of-sm);
4112
4550
  outline: none;
4113
4551
  --pont-shadow: var(--pont-sem-shadow-xs);
4114
4552
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
4115
- transition-property: all;
4116
- transition-duration: var(--pont-sem-duration);
4117
- transition-timing-function: var(--pont-sem-ease-in-out);
4553
+ transition-property: var(--pont-ref-motion-trans-property-all);
4554
+ transition-duration: var(--pont-sem-motion-trans-duration);
4555
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
4118
4556
  }
4119
4557
  :is(pont-prim-input-otp-slot, [data-pont-input-otp-slot]):first-child {
4120
4558
  border-left-width: var(--pont-sem-border-width);
@@ -4148,10 +4586,11 @@
4148
4586
  justify-content: center;
4149
4587
  }
4150
4588
  [data-pont-input-otp-caret-line] {
4151
- width: 1px;
4589
+ width: var(--pont-ref-dimension-size-px);
4152
4590
  height: 1rem;
4153
4591
  background-color: var(--pont-sem-color-foreground);
4154
- animation: pont-caret-blink 1s ease-out infinite;
4592
+ animation: pont-caret-blink var(--pont-sem-motion-anim-duration) var(--pont-ref-motion-easing-ease-out)
4593
+ var(--pont-ref-motion-anim-iteration-infinite);
4155
4594
  }
4156
4595
 
4157
4596
  :is(pont-prim-input-otp-separator, [data-pont-input-otp-separator]) {
@@ -4192,7 +4631,7 @@
4192
4631
  /** @token Indicator */
4193
4632
  --_pont-progress-indicator-bg: var(--pont-progress-indicator-bg, var(--pont-sem-color-primary));
4194
4633
  /** @token Label weight */
4195
- --_pont-progress-label-font-weight: var(--pont-progress-label-font-weight, var(--pont-sem-font-weight-medium));
4634
+ --_pont-progress-label-font-weight: var(--pont-progress-label-font-weight, var(--pont-ref-typography-weight-medium));
4196
4635
  }
4197
4636
 
4198
4637
  /* ------------------------------------------------------------------ */
@@ -4210,7 +4649,7 @@
4210
4649
  box-sizing: border-box;
4211
4650
  position: relative;
4212
4651
  display: flex;
4213
- width: 100%;
4652
+ width: var(--pont-ref-dimension-size-full);
4214
4653
  height: var(--_pont-progress-track-height, 0.375rem);
4215
4654
  align-items: center;
4216
4655
  overflow-x: hidden;
@@ -4219,24 +4658,24 @@
4219
4658
  }
4220
4659
 
4221
4660
  [data-pont-progress-indicator] {
4222
- height: 100%;
4661
+ height: var(--pont-ref-dimension-size-full);
4223
4662
  background-color: var(--_pont-progress-indicator-bg, var(--pont-sem-color-primary));
4224
- transition-property: all;
4225
- transition-duration: var(--pont-sem-duration);
4226
- transition-timing-function: var(--pont-sem-ease-in-out);
4663
+ transition-property: var(--pont-ref-motion-trans-property-all);
4664
+ transition-duration: var(--pont-sem-motion-trans-duration);
4665
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
4227
4666
  }
4228
4667
 
4229
4668
  :is(pont-prim-progress-label, [data-pont-progress-label]) {
4230
- font-size: var(--pont-sem-text-sm);
4231
- line-height: var(--pont-sem-text-sm--line-height);
4232
- font-weight: var(--_pont-progress-label-font-weight, var(--pont-sem-font-weight-medium));
4669
+ font-size: var(--pont-ref-typography-size-sm);
4670
+ line-height: var(--pont-ref-typography-leading-of-sm);
4671
+ font-weight: var(--_pont-progress-label-font-weight, var(--pont-ref-typography-weight-medium));
4233
4672
  }
4234
4673
 
4235
4674
  :is(pont-prim-progress-value, [data-pont-progress-value]) {
4236
4675
  margin-left: auto;
4237
4676
  color: var(--pont-sem-color-muted-foreground);
4238
- font-size: var(--pont-sem-text-sm);
4239
- line-height: var(--pont-sem-text-sm--line-height);
4677
+ font-size: var(--pont-ref-typography-size-sm);
4678
+ line-height: var(--pont-ref-typography-leading-of-sm);
4240
4679
  font-variant-numeric: tabular-nums;
4241
4680
  }
4242
4681
  }
@@ -4279,7 +4718,7 @@
4279
4718
  box-sizing: border-box;
4280
4719
  display: grid;
4281
4720
  gap: var(--_pont-radio-group-gap);
4282
- width: 100%;
4721
+ width: var(--pont-ref-dimension-size-full);
4283
4722
  }
4284
4723
 
4285
4724
  :is(pont-prim-radio-group-item, [data-pont-radio-group-item]) {
@@ -4399,27 +4838,27 @@
4399
4838
  :is(pont-prim-slider, pont-slider, [data-pont-slider]) {
4400
4839
  box-sizing: border-box;
4401
4840
  display: block;
4402
- width: 100%;
4841
+ width: var(--pont-ref-dimension-size-full);
4403
4842
  }
4404
4843
  :is(pont-prim-slider, pont-slider, [data-pont-slider]):is([data-orientation="vertical"], [orientation="vertical"]) {
4405
4844
  display: inline-block;
4406
- width: auto;
4407
- height: 100%;
4845
+ width: var(--pont-sem-dimension-size);
4846
+ height: var(--pont-ref-dimension-size-full);
4408
4847
  }
4409
4848
 
4410
4849
  [data-pont-slider-control] {
4411
4850
  box-sizing: border-box;
4412
4851
  position: relative;
4413
4852
  display: flex;
4414
- width: 100%;
4853
+ width: var(--pont-ref-dimension-size-full);
4415
4854
  min-height: var(--_pont-slider-thumb);
4416
4855
  align-items: center;
4417
4856
  touch-action: none;
4418
4857
  user-select: none;
4419
4858
  }
4420
4859
  [data-pont-slider-control][data-orientation="vertical"] {
4421
- height: 100%;
4422
- width: auto;
4860
+ height: var(--pont-ref-dimension-size-full);
4861
+ width: var(--pont-sem-dimension-size);
4423
4862
  min-width: var(--_pont-slider-thumb);
4424
4863
  min-height: 10rem;
4425
4864
  flex-direction: column;
@@ -4440,10 +4879,10 @@
4440
4879
  }
4441
4880
  [data-pont-slider-track][data-orientation="horizontal"] {
4442
4881
  height: 0.375rem;
4443
- width: 100%;
4882
+ width: var(--pont-ref-dimension-size-full);
4444
4883
  }
4445
4884
  [data-pont-slider-track][data-orientation="vertical"] {
4446
- height: 100%;
4885
+ height: var(--pont-ref-dimension-size-full);
4447
4886
  width: 0.375rem;
4448
4887
  }
4449
4888
 
@@ -4454,11 +4893,11 @@
4454
4893
  }
4455
4894
  [data-pont-slider-range][data-orientation="horizontal"] {
4456
4895
  top: 0;
4457
- height: 100%;
4896
+ height: var(--pont-ref-dimension-size-full);
4458
4897
  }
4459
4898
  [data-pont-slider-range][data-orientation="vertical"] {
4460
4899
  left: 0;
4461
- width: 100%;
4900
+ width: var(--pont-ref-dimension-size-full);
4462
4901
  }
4463
4902
 
4464
4903
  [data-pont-slider-thumb] {
@@ -4477,8 +4916,8 @@
4477
4916
  --pont-shadow: var(--_pont-slider-thumb-shadow);
4478
4917
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
4479
4918
  transition-property: color, box-shadow;
4480
- transition-duration: var(--pont-sem-duration);
4481
- transition-timing-function: var(--pont-sem-ease-in-out);
4919
+ transition-duration: var(--pont-sem-motion-trans-duration);
4920
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
4482
4921
  }
4483
4922
  [data-pont-slider-thumb][data-orientation="horizontal"] {
4484
4923
  top: 50%;
@@ -4546,9 +4985,9 @@
4546
4985
  outline: none;
4547
4986
  --pont-shadow: var(--pont-sem-shadow-xs);
4548
4987
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
4549
- transition-property: all;
4550
- transition-duration: var(--pont-sem-duration);
4551
- transition-timing-function: var(--pont-sem-ease-in-out);
4988
+ transition-property: var(--pont-ref-motion-trans-property-all);
4989
+ transition-duration: var(--pont-sem-motion-trans-duration);
4990
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
4552
4991
  }
4553
4992
 
4554
4993
  :is(pont-prim-switch, pont-switch, [data-pont-switch])::after {
@@ -4596,9 +5035,9 @@
4596
5035
  border-radius: var(--pont-ref-radius-full);
4597
5036
  background-color: var(--_pont-switch-thumb-bg);
4598
5037
  translate: 0 0;
4599
- transition-property: translate, transform;
4600
- transition-duration: var(--pont-sem-duration);
4601
- transition-timing-function: var(--pont-sem-ease-in-out);
5038
+ transition-property: var(--pont-ref-motion-trans-property-transform);
5039
+ transition-duration: var(--pont-sem-motion-trans-duration);
5040
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
4602
5041
  }
4603
5042
  [data-pont-switch][data-size="sm"] > [data-pont-switch-thumb] {
4604
5043
  width: 0.75rem;
@@ -4655,7 +5094,7 @@
4655
5094
  /** @token Tab corner radius */
4656
5095
  --_pont-tabs-trigger-radius: var(--pont-tabs-trigger-radius, var(--pont-ref-radius-md));
4657
5096
  /** @token Tab label weight */
4658
- --_pont-tabs-trigger-font-weight: var(--pont-tabs-trigger-font-weight, var(--pont-sem-font-weight-medium));
5097
+ --_pont-tabs-trigger-font-weight: var(--pont-tabs-trigger-font-weight, var(--pont-ref-typography-weight-medium));
4659
5098
  /** @token Tab text */
4660
5099
  --_pont-tabs-trigger-fg: var(--pont-tabs-trigger-fg, var(--pont-sem-color-segment-fg));
4661
5100
  /** @token Tab text on hover */
@@ -4695,7 +5134,7 @@
4695
5134
  :is(pont-prim-tabs-list, [data-pont-tabs-list]) {
4696
5135
  box-sizing: border-box;
4697
5136
  display: inline-flex;
4698
- width: fit-content;
5137
+ width: var(--pont-ref-dimension-size-fit);
4699
5138
  height: var(--_pont-tabs-list-height);
4700
5139
  align-items: center;
4701
5140
  justify-content: center;
@@ -4705,7 +5144,7 @@
4705
5144
  color: var(--pont-sem-color-muted-foreground);
4706
5145
  }
4707
5146
  [data-pont-tabs][data-orientation="vertical"] [data-pont-tabs-list] {
4708
- height: fit-content;
5147
+ height: var(--pont-ref-dimension-size-fit);
4709
5148
  flex-direction: column;
4710
5149
  }
4711
5150
  [data-pont-tabs-list][data-variant="line"] {
@@ -4726,19 +5165,19 @@
4726
5165
  border: var(--pont-sem-border-width) solid transparent;
4727
5166
  border-radius: var(--_pont-tabs-trigger-radius, var(--pont-ref-radius-md));
4728
5167
  color: var(--_pont-tabs-trigger-fg, var(--pont-sem-color-segment-fg));
4729
- font-size: var(--pont-sem-text-sm);
4730
- line-height: var(--pont-sem-text-sm--line-height);
4731
- font-weight: var(--_pont-tabs-trigger-font-weight, var(--pont-sem-font-weight-medium));
5168
+ font-size: var(--pont-ref-typography-size-sm);
5169
+ line-height: var(--pont-ref-typography-leading-of-sm);
5170
+ font-weight: var(--_pont-tabs-trigger-font-weight, var(--pont-ref-typography-weight-medium));
4732
5171
  cursor: var(--pont-sem-cursor-interactive);
4733
5172
  user-select: none;
4734
5173
  outline: none;
4735
5174
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
4736
- transition-property: all;
4737
- transition-duration: var(--pont-sem-duration);
4738
- transition-timing-function: var(--pont-sem-ease-in-out);
5175
+ transition-property: var(--pont-ref-motion-trans-property-all);
5176
+ transition-duration: var(--pont-sem-motion-trans-duration);
5177
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
4739
5178
  }
4740
5179
  [data-pont-tabs][data-orientation="vertical"] [data-pont-tabs-trigger] {
4741
- width: 100%;
5180
+ width: var(--pont-ref-dimension-size-full);
4742
5181
  justify-content: flex-start;
4743
5182
  }
4744
5183
  [data-pont-tabs-trigger]:hover {
@@ -4791,7 +5230,9 @@
4791
5230
  position: absolute;
4792
5231
  background-color: var(--_pont-tabs-indicator-bg, var(--pont-sem-color-foreground));
4793
5232
  opacity: 0;
4794
- transition: opacity var(--pont-sem-duration) var(--pont-sem-ease-in-out);
5233
+ transition-property: var(--pont-ref-motion-trans-property-opacity);
5234
+ transition-duration: var(--pont-sem-motion-trans-duration);
5235
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
4795
5236
  }
4796
5237
  [data-pont-tabs]:not([data-orientation="vertical"]) [data-pont-tabs-trigger]::after {
4797
5238
  left: 0;
@@ -4814,8 +5255,8 @@
4814
5255
  display: block;
4815
5256
  flex: 1 1 0%;
4816
5257
  outline: none;
4817
- font-size: var(--pont-sem-text-sm);
4818
- line-height: var(--pont-sem-text-sm--line-height);
5258
+ font-size: var(--pont-ref-typography-size-sm);
5259
+ line-height: var(--pont-ref-typography-leading-of-sm);
4819
5260
  }
4820
5261
  }
4821
5262
 
@@ -4836,7 +5277,8 @@
4836
5277
  * A component opts into the slide by setting the --_pont-popup-enter-*
4837
5278
  * privates; the defaults below are exactly that shadcn recipe. They are
4838
5279
  * CSS-internal (no script writes them) and not tokens: animation mechanics
4839
- * stay literal (docs/11-tokens.md §5). Every one is declared on each popup,
5280
+ * stay literal (docs/11-tokens.md §5); the duration and easing read the
5281
+ * motion roles (tokens/motion.css). Every one is declared on each popup,
4840
5282
  * so a nested popup (a submenu) never inherits its parent's slide, as
4841
5283
  * tw-animate-css's non-inheriting `--tw-enter-*` properties behave.
4842
5284
  */
@@ -4877,7 +5319,7 @@
4877
5319
  [data-pont-popup] {
4878
5320
  /* Undo the UA popover box (inset:0; margin:auto; border; padding; Canvas colours) */
4879
5321
  position: fixed;
4880
- inset: auto;
5322
+ inset: var(--pont-sem-dimension-space-inset);
4881
5323
  left: var(--pont-popup-x, 0px);
4882
5324
  top: var(--pont-popup-y, 0px);
4883
5325
  margin: 0;
@@ -4899,7 +5341,7 @@
4899
5341
  --_pont-popup-exit-scale: 0.95;
4900
5342
  --_pont-popup-exit-translate-x: 0;
4901
5343
  --_pont-popup-exit-translate-y: 0;
4902
- --_pont-popup-duration: 100ms;
5344
+ --_pont-popup-duration: var(--pont-sem-motion-trans-duration-fast);
4903
5345
  }
4904
5346
 
4905
5347
  /* An author `display` must never reveal a closed popover. */
@@ -4922,16 +5364,16 @@
4922
5364
  }
4923
5365
 
4924
5366
  [data-pont-popup][data-open] {
4925
- animation: pont-popup-enter var(--_pont-popup-duration) var(--pont-sem-ease-in-out);
5367
+ animation: pont-popup-enter var(--_pont-popup-duration) var(--pont-sem-motion-trans-easing);
4926
5368
  }
4927
5369
  [data-pont-popup][data-closed] {
4928
- animation: pont-popup-exit var(--_pont-popup-duration) var(--pont-sem-ease-in-out) forwards;
5370
+ animation: pont-popup-exit var(--_pont-popup-duration) var(--pont-sem-motion-trans-easing) forwards;
4929
5371
  }
4930
5372
 
4931
5373
  @media (prefers-reduced-motion: reduce) {
4932
5374
  [data-pont-popup]:is([data-open], [data-closed]),
4933
5375
  [data-pont-popup]:is([data-open], [data-closed])::backdrop {
4934
- animation: none;
5376
+ animation: var(--pont-ref-motion-anim-none);
4935
5377
  }
4936
5378
  }
4937
5379
  }
@@ -4987,8 +5429,8 @@
4987
5429
  border-radius: var(--_pont-popover-radius);
4988
5430
  background-color: var(--_pont-popover-bg);
4989
5431
  color: var(--_pont-popover-fg);
4990
- font-size: var(--pont-sem-text-sm);
4991
- line-height: var(--pont-sem-text-sm--line-height);
5432
+ font-size: var(--pont-ref-typography-size-sm);
5433
+ line-height: var(--pont-ref-typography-leading-of-sm);
4992
5434
  outline: none;
4993
5435
  --pont-shadow: var(--_pont-popover-shadow);
4994
5436
  --pont-ring-shadow: 0 0 0 var(--pont-sem-border-width) var(--_pont-popover-border-color);
@@ -4999,14 +5441,14 @@
4999
5441
  display: flex;
5000
5442
  flex-direction: column;
5001
5443
  gap: 0.25rem;
5002
- font-size: var(--pont-sem-text-sm);
5003
- line-height: var(--pont-sem-text-sm--line-height);
5444
+ font-size: var(--pont-ref-typography-size-sm);
5445
+ line-height: var(--pont-ref-typography-leading-of-sm);
5004
5446
  }
5005
5447
 
5006
5448
  :is(pont-prim-popover-title, [data-pont-popover-title]) {
5007
5449
  display: block;
5008
5450
  margin: 0;
5009
- font-weight: var(--pont-sem-font-weight-medium);
5451
+ font-weight: var(--pont-ref-typography-weight-medium);
5010
5452
  }
5011
5453
 
5012
5454
  :is(pont-prim-popover-description, [data-pont-popover-description]) {
@@ -5099,7 +5541,7 @@
5099
5541
 
5100
5542
  /* sub content: "w-auto" + .cn-dropdown-menu-sub-content "min-w-[96px]" (shadow: tokens) */
5101
5543
  :is(pont-prim-dropdown-menu-sub-content, [data-pont-dropdown-menu-sub-content]) {
5102
- width: auto;
5544
+ width: var(--pont-sem-dimension-size);
5103
5545
  min-width: 96px;
5104
5546
  }
5105
5547
 
@@ -5114,8 +5556,8 @@
5114
5556
  gap: 0.5rem;
5115
5557
  padding: 0.375rem 0.5rem;
5116
5558
  border-radius: var(--_pont-dropdown-menu-item-radius);
5117
- font-size: var(--pont-sem-text-sm);
5118
- line-height: var(--pont-sem-text-sm--line-height);
5559
+ font-size: var(--pont-ref-typography-size-sm);
5560
+ line-height: var(--pont-ref-typography-leading-of-sm);
5119
5561
  cursor: var(--pont-sem-cursor-item);
5120
5562
  outline: none;
5121
5563
  user-select: none;
@@ -5187,9 +5629,9 @@
5187
5629
  display: block;
5188
5630
  padding: 0.375rem 0.5rem;
5189
5631
  color: var(--pont-sem-color-muted-foreground);
5190
- font-size: var(--pont-sem-text-xs);
5191
- line-height: var(--pont-sem-text-xs--line-height);
5192
- font-weight: var(--pont-sem-font-weight-medium);
5632
+ font-size: var(--pont-ref-typography-size-xs);
5633
+ line-height: var(--pont-ref-typography-leading-of-xs);
5634
+ font-weight: var(--pont-ref-typography-weight-medium);
5193
5635
  }
5194
5636
  [data-pont-dropdown-menu-label][data-inset] {
5195
5637
  padding-left: 2rem;
@@ -5201,7 +5643,7 @@
5201
5643
 
5202
5644
  /* separator: is-a Separator; + "bg-border -mx-1 my-1 h-px" */
5203
5645
  [data-pont-dropdown-menu-separator] {
5204
- width: auto;
5646
+ width: var(--pont-sem-dimension-size);
5205
5647
  margin: 0.25rem -0.25rem;
5206
5648
  }
5207
5649
 
@@ -5210,9 +5652,9 @@
5210
5652
  :is(pont-prim-dropdown-menu-shortcut, [data-pont-dropdown-menu-shortcut]) {
5211
5653
  margin-left: auto;
5212
5654
  color: var(--pont-sem-color-muted-foreground);
5213
- font-size: var(--pont-sem-text-xs);
5214
- line-height: var(--pont-sem-text-xs--line-height);
5215
- letter-spacing: var(--pont-sem-tracking-widest);
5655
+ font-size: var(--pont-ref-typography-size-xs);
5656
+ line-height: var(--pont-ref-typography-leading-of-xs);
5657
+ letter-spacing: var(--pont-ref-typography-tracking-widest);
5216
5658
  }
5217
5659
  [data-pont-menu-item]:focus [data-pont-dropdown-menu-shortcut] {
5218
5660
  color: var(--_pont-dropdown-menu-item-fg-focus);
@@ -5278,7 +5720,7 @@
5278
5720
  appearance: none;
5279
5721
 
5280
5722
  display: flex;
5281
- width: fit-content;
5723
+ width: var(--pont-ref-dimension-size-fit);
5282
5724
  align-items: center;
5283
5725
  justify-content: space-between;
5284
5726
  gap: 0.375rem;
@@ -5288,14 +5730,14 @@
5288
5730
  border: var(--pont-sem-border-width) solid var(--_pont-select-trigger-border-color);
5289
5731
  border-radius: var(--_pont-select-trigger-radius);
5290
5732
  background-color: var(--_pont-select-trigger-bg);
5291
- font-size: var(--pont-sem-text-sm);
5292
- line-height: var(--pont-sem-text-sm--line-height);
5733
+ font-size: var(--pont-ref-typography-size-sm);
5734
+ line-height: var(--pont-ref-typography-leading-of-sm);
5293
5735
  outline: none;
5294
5736
  --pont-shadow: var(--pont-sem-shadow-xs);
5295
5737
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
5296
5738
  transition-property: color, box-shadow;
5297
- transition-duration: var(--pont-sem-duration);
5298
- transition-timing-function: var(--pont-sem-ease-in-out);
5739
+ transition-duration: var(--pont-sem-motion-trans-duration);
5740
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
5299
5741
  }
5300
5742
  [data-pont-select-trigger][data-placeholder] {
5301
5743
  color: var(--pont-sem-color-muted-foreground);
@@ -5361,7 +5803,7 @@
5361
5803
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
5362
5804
  }
5363
5805
  [data-pont-select-content][data-align-trigger="true"] {
5364
- animation: none;
5806
+ animation: var(--pont-ref-motion-anim-none);
5365
5807
  }
5366
5808
 
5367
5809
  /* group: "scroll-my-1 p-1" */
@@ -5376,8 +5818,8 @@
5376
5818
  display: block;
5377
5819
  padding: 0.375rem 0.5rem;
5378
5820
  color: var(--pont-sem-color-muted-foreground);
5379
- font-size: var(--pont-sem-text-xs);
5380
- line-height: var(--pont-sem-text-xs--line-height);
5821
+ font-size: var(--pont-ref-typography-size-xs);
5822
+ line-height: var(--pont-ref-typography-leading-of-xs);
5381
5823
  }
5382
5824
 
5383
5825
  /* item: "relative flex w-full cursor-default items-center outline-hidden select-none
@@ -5387,14 +5829,14 @@
5387
5829
  :is(pont-prim-select-item, [data-pont-select-item]) {
5388
5830
  position: relative;
5389
5831
  display: flex;
5390
- width: 100%;
5832
+ width: var(--pont-ref-dimension-size-full);
5391
5833
  box-sizing: border-box;
5392
5834
  align-items: center;
5393
5835
  gap: 0.5rem;
5394
5836
  padding: 0.375rem 2rem 0.375rem 0.5rem;
5395
5837
  border-radius: var(--_pont-select-item-radius);
5396
- font-size: var(--pont-sem-text-sm);
5397
- line-height: var(--pont-sem-text-sm--line-height);
5838
+ font-size: var(--pont-ref-typography-size-sm);
5839
+ line-height: var(--pont-ref-typography-leading-of-sm);
5398
5840
  white-space: nowrap;
5399
5841
  cursor: var(--pont-sem-cursor-item);
5400
5842
  outline: none;
@@ -5434,7 +5876,7 @@
5434
5876
 
5435
5877
  /* separator: is-a Separator + "-mx-1 my-1 pointer-events-none" */
5436
5878
  [data-pont-select-separator] {
5437
- width: auto;
5879
+ width: var(--pont-sem-dimension-size);
5438
5880
  margin: 0.25rem -0.25rem;
5439
5881
  pointer-events: none;
5440
5882
  }
@@ -5494,7 +5936,7 @@
5494
5936
  position: relative;
5495
5937
  display: flex;
5496
5938
  box-sizing: border-box;
5497
- width: auto;
5939
+ width: var(--pont-sem-dimension-size);
5498
5940
  min-width: 0;
5499
5941
  height: var(--_pont-combobox-input-height);
5500
5942
  align-items: center;
@@ -5505,8 +5947,8 @@
5505
5947
  --pont-shadow: var(--pont-sem-shadow-xs);
5506
5948
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
5507
5949
  transition-property: color, box-shadow;
5508
- transition-duration: var(--pont-sem-duration);
5509
- transition-timing-function: var(--pont-sem-ease-in-out);
5950
+ transition-duration: var(--pont-sem-motion-trans-duration);
5951
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
5510
5952
  }
5511
5953
  [data-pont-combobox-input]:has(> [data-slot="input-group-control"]:focus-visible) {
5512
5954
  border-color: var(--pont-sem-color-ring);
@@ -5523,24 +5965,24 @@
5523
5965
  box-sizing: border-box;
5524
5966
  margin: 0;
5525
5967
  flex: 1 1 0%;
5526
- width: 100%;
5968
+ width: var(--pont-ref-dimension-size-full);
5527
5969
  min-width: 0;
5528
- height: 100%;
5970
+ height: var(--pont-ref-dimension-size-full);
5529
5971
  padding: 0.25rem 0.375rem 0.25rem 0.625rem;
5530
5972
  border: 0;
5531
5973
  border-radius: var(--pont-ref-radius-none);
5532
5974
  background: transparent;
5533
5975
  color: inherit;
5534
5976
  font-family: inherit;
5535
- font-size: var(--pont-sem-text-base);
5536
- line-height: var(--pont-sem-text-base--line-height);
5977
+ font-size: var(--pont-ref-typography-size-base);
5978
+ line-height: var(--pont-ref-typography-leading-of-base);
5537
5979
  outline: none;
5538
5980
  box-shadow: none;
5539
5981
  }
5540
5982
  @media (width >= 48rem) {
5541
5983
  [data-pont-combobox-input-control] {
5542
- font-size: var(--pont-sem-text-sm);
5543
- line-height: var(--pont-sem-text-sm--line-height);
5984
+ font-size: var(--pont-ref-typography-size-sm);
5985
+ line-height: var(--pont-ref-typography-leading-of-sm);
5544
5986
  }
5545
5987
  }
5546
5988
  [data-pont-combobox-input-control]::placeholder {
@@ -5562,9 +6004,9 @@
5562
6004
  gap: 0.5rem;
5563
6005
  padding: 0.375rem 0.5rem 0.375rem 0;
5564
6006
  color: var(--pont-sem-color-muted-foreground);
5565
- font-size: var(--pont-sem-text-sm);
5566
- line-height: var(--pont-sem-text-sm--line-height);
5567
- font-weight: var(--pont-sem-font-weight-medium);
6007
+ font-size: var(--pont-ref-typography-size-sm);
6008
+ line-height: var(--pont-ref-typography-leading-of-sm);
6009
+ font-weight: var(--pont-ref-typography-weight-medium);
5568
6010
  cursor: var(--pont-sem-cursor-text);
5569
6011
  user-select: none;
5570
6012
  }
@@ -5613,7 +6055,7 @@
5613
6055
  scroll-py-1 overflow-y-auto p-1 data-empty:p-0" */
5614
6056
  :is(pont-prim-combobox-list, [data-pont-combobox-list]) {
5615
6057
  display: block;
5616
- max-height: min(15.75rem, calc(var(--pont-available-height, 100vh) - 2.25rem));
6058
+ max-height: min(15.75rem, calc(var(--pont-available-height, var(--pont-sem-dimension-size-height-screen)) - 2.25rem));
5617
6059
  overflow-y: auto;
5618
6060
  overscroll-behavior: contain;
5619
6061
  scroll-padding-block: 0.25rem;
@@ -5634,14 +6076,14 @@
5634
6076
  :is(pont-prim-combobox-item, [data-pont-combobox-item]) {
5635
6077
  position: relative;
5636
6078
  display: flex;
5637
- width: 100%;
6079
+ width: var(--pont-ref-dimension-size-full);
5638
6080
  box-sizing: border-box;
5639
6081
  align-items: center;
5640
6082
  gap: 0.5rem;
5641
6083
  padding: 0.375rem 2rem 0.375rem 0.5rem;
5642
6084
  border-radius: var(--_pont-combobox-item-radius);
5643
- font-size: var(--pont-sem-text-sm);
5644
- line-height: var(--pont-sem-text-sm--line-height);
6085
+ font-size: var(--pont-ref-typography-size-sm);
6086
+ line-height: var(--pont-ref-typography-leading-of-sm);
5645
6087
  cursor: var(--pont-sem-cursor-item);
5646
6088
  outline: none;
5647
6089
  user-select: none;
@@ -5681,13 +6123,13 @@
5681
6123
  group-data-empty/combobox-content:flex" */
5682
6124
  :is(pont-prim-combobox-empty, [data-pont-combobox-empty]) {
5683
6125
  display: none;
5684
- width: 100%;
6126
+ width: var(--pont-ref-dimension-size-full);
5685
6127
  justify-content: center;
5686
6128
  padding: 0.5rem 0;
5687
6129
  text-align: center;
5688
6130
  color: var(--pont-sem-color-muted-foreground);
5689
- font-size: var(--pont-sem-text-sm);
5690
- line-height: var(--pont-sem-text-sm--line-height);
6131
+ font-size: var(--pont-ref-typography-size-sm);
6132
+ line-height: var(--pont-ref-typography-leading-of-sm);
5691
6133
  }
5692
6134
  [data-pont-combobox-content][data-empty] [data-pont-combobox-empty] {
5693
6135
  display: flex;
@@ -5702,13 +6144,13 @@
5702
6144
  display: block;
5703
6145
  padding: 0.375rem 0.5rem;
5704
6146
  color: var(--pont-sem-color-muted-foreground);
5705
- font-size: var(--pont-sem-text-xs);
5706
- line-height: var(--pont-sem-text-xs--line-height);
6147
+ font-size: var(--pont-ref-typography-size-xs);
6148
+ line-height: var(--pont-ref-typography-leading-of-xs);
5707
6149
  }
5708
6150
 
5709
6151
  /* separator: is-a Separator + "-mx-1 my-1" */
5710
6152
  [data-pont-combobox-separator] {
5711
- width: auto;
6153
+ width: var(--pont-sem-dimension-size);
5712
6154
  margin: 0.25rem -0.25rem;
5713
6155
  }
5714
6156
 
@@ -5722,14 +6164,14 @@
5722
6164
  has-data-[slot=combobox-chip]:px-1.5". It is a ComboboxInput (combobox.ts), so the input
5723
6165
  group box above applies; these rules make it a wrapping row. */
5724
6166
  :is(pont-prim-combobox-chips, [data-pont-combobox-chips]) {
5725
- height: auto;
6167
+ height: var(--pont-sem-dimension-size);
5726
6168
  min-height: var(--_pont-combobox-input-height);
5727
6169
  flex-wrap: wrap;
5728
6170
  gap: 0.375rem;
5729
6171
  padding: 0.375rem 0.625rem;
5730
6172
  background-clip: padding-box;
5731
- font-size: var(--pont-sem-text-sm);
5732
- line-height: var(--pont-sem-text-sm--line-height);
6173
+ font-size: var(--pont-ref-typography-size-sm);
6174
+ line-height: var(--pont-ref-typography-leading-of-sm);
5733
6175
  cursor: var(--pont-sem-cursor-text);
5734
6176
  }
5735
6177
  [data-pont-combobox-chips]:has(> [data-slot="combobox-chip"]) {
@@ -5750,7 +6192,7 @@
5750
6192
  has-data-[slot=combobox-chip-remove]:pr-0" */
5751
6193
  [data-pont-combobox-chip] {
5752
6194
  display: flex;
5753
- width: fit-content;
6195
+ width: var(--pont-ref-dimension-size-fit);
5754
6196
  height: 1.375rem;
5755
6197
  box-sizing: border-box;
5756
6198
  align-items: center;
@@ -5760,9 +6202,9 @@
5760
6202
  border-radius: var(--_pont-combobox-chip-radius);
5761
6203
  background-color: var(--_pont-combobox-chip-bg);
5762
6204
  color: var(--_pont-combobox-chip-fg);
5763
- font-size: var(--pont-sem-text-xs);
5764
- line-height: var(--pont-sem-text-xs--line-height);
5765
- font-weight: var(--pont-sem-font-weight-medium);
6205
+ font-size: var(--pont-ref-typography-size-xs);
6206
+ line-height: var(--pont-ref-typography-leading-of-xs);
6207
+ font-weight: var(--pont-ref-typography-weight-medium);
5766
6208
  white-space: nowrap;
5767
6209
  outline: none;
5768
6210
  }
@@ -5832,7 +6274,7 @@
5832
6274
  /** @token Corner radius */
5833
6275
  --_pont-tooltip-radius: var(--pont-tooltip-radius, var(--pont-ref-radius-md));
5834
6276
  /** @token Maximum width */
5835
- --_pont-tooltip-max-width: var(--pont-tooltip-max-width, var(--pont-sem-container-xs));
6277
+ --_pont-tooltip-max-width: var(--pont-tooltip-max-width, var(--pont-ref-dimension-size-xs));
5836
6278
  /** @token Horizontal padding */
5837
6279
  --_pont-tooltip-padding-x: var(--pont-tooltip-padding-x, 0.75rem);
5838
6280
  /** @token Vertical padding */
@@ -5847,14 +6289,14 @@
5847
6289
  display: inline-flex;
5848
6290
  align-items: center;
5849
6291
  gap: 0.375rem;
5850
- width: fit-content;
6292
+ width: var(--pont-ref-dimension-size-fit);
5851
6293
  max-width: var(--_pont-tooltip-max-width);
5852
6294
  padding: var(--_pont-tooltip-padding-y) var(--_pont-tooltip-padding-x);
5853
6295
  border-radius: var(--_pont-tooltip-radius);
5854
6296
  background-color: var(--_pont-tooltip-bg);
5855
6297
  color: var(--_pont-tooltip-fg);
5856
- font-size: var(--pont-sem-text-xs);
5857
- line-height: var(--pont-sem-text-xs--line-height);
6298
+ font-size: var(--pont-ref-typography-size-xs);
6299
+ line-height: var(--pont-ref-typography-leading-of-xs);
5858
6300
  overflow: visible;
5859
6301
  }
5860
6302
  [data-pont-tooltip-content]:has([data-slot="kbd"]) {
@@ -5952,9 +6394,9 @@
5952
6394
  margin: auto;
5953
6395
  display: grid;
5954
6396
  box-sizing: border-box;
5955
- width: 100%;
6397
+ width: var(--pont-ref-dimension-size-full);
5956
6398
  max-width: calc(100% - 2rem);
5957
- height: fit-content;
6399
+ height: var(--pont-ref-dimension-size-fit);
5958
6400
  max-height: calc(100% - 2rem);
5959
6401
  overflow-y: auto;
5960
6402
  gap: var(--_pont-dialog-gap);
@@ -5962,8 +6404,8 @@
5962
6404
  border-radius: var(--_pont-dialog-radius);
5963
6405
  background-color: var(--_pont-dialog-bg);
5964
6406
  color: var(--_pont-dialog-fg);
5965
- font-size: var(--pont-sem-text-sm);
5966
- line-height: var(--pont-sem-text-sm--line-height);
6407
+ font-size: var(--pont-ref-typography-size-sm);
6408
+ line-height: var(--pont-ref-typography-leading-of-sm);
5967
6409
  outline: none;
5968
6410
  --pont-shadow: var(--_pont-dialog-shadow);
5969
6411
  --pont-ring-shadow: 0 0 0 var(--pont-sem-border-width) var(--_pont-dialog-border-color);
@@ -6008,17 +6450,17 @@
6008
6450
  :is(pont-prim-dialog-title, [data-pont-dialog-title]) {
6009
6451
  display: block;
6010
6452
  margin: 0;
6011
- font-family: var(--pont-sem-font-heading);
6453
+ font-family: var(--pont-sem-typography-font-heading);
6012
6454
  line-height: 1;
6013
- font-weight: var(--pont-sem-font-weight-medium);
6455
+ font-weight: var(--pont-ref-typography-weight-medium);
6014
6456
  }
6015
6457
 
6016
6458
  :is(pont-prim-dialog-description, [data-pont-dialog-description]) {
6017
6459
  display: block;
6018
6460
  margin: 0;
6019
6461
  color: var(--pont-sem-color-muted-foreground);
6020
- font-size: var(--pont-sem-text-sm);
6021
- line-height: var(--pont-sem-text-sm--line-height);
6462
+ font-size: var(--pont-ref-typography-size-sm);
6463
+ line-height: var(--pont-ref-typography-leading-of-sm);
6022
6464
  }
6023
6465
  :is(pont-prim-dialog-description, [data-pont-dialog-description]) > a {
6024
6466
  color: inherit;
@@ -6038,10 +6480,10 @@
6038
6480
  backdrop-filter: blur(var(--pont-ref-filter-blur-xs));
6039
6481
  }
6040
6482
  :is([data-pont-dialog-content], [data-pont-alert-dialog-content], [data-pont-sheet-content], [data-pont-drawer-content])[data-open]::backdrop {
6041
- animation: pont-backdrop-enter var(--_pont-popup-duration) var(--pont-sem-ease-in-out);
6483
+ animation: pont-backdrop-enter var(--_pont-popup-duration) var(--pont-sem-motion-trans-easing);
6042
6484
  }
6043
6485
  :is([data-pont-dialog-content], [data-pont-alert-dialog-content], [data-pont-sheet-content], [data-pont-drawer-content])[data-closed]::backdrop {
6044
- animation: pont-backdrop-exit var(--_pont-popup-duration) var(--pont-sem-ease-in-out) forwards;
6486
+ animation: pont-backdrop-exit var(--_pont-popup-duration) var(--pont-sem-motion-trans-easing) forwards;
6045
6487
  }
6046
6488
  /* modal="false": no overlay. */
6047
6489
  :is([data-pont-dialog-content], [data-pont-alert-dialog-content], [data-pont-sheet-content], [data-pont-drawer-content])[data-modal="false"]::backdrop {
@@ -6097,9 +6539,9 @@
6097
6539
  margin: auto;
6098
6540
  display: grid;
6099
6541
  box-sizing: border-box;
6100
- width: 100%;
6542
+ width: var(--pont-ref-dimension-size-full);
6101
6543
  max-width: min(var(--_pont-alert-dialog-sm-max-width), calc(100% - 2rem));
6102
- height: fit-content;
6544
+ height: var(--pont-ref-dimension-size-fit);
6103
6545
  max-height: calc(100% - 2rem);
6104
6546
  overflow-y: auto;
6105
6547
  gap: var(--_pont-alert-dialog-gap);
@@ -6107,8 +6549,8 @@
6107
6549
  border-radius: var(--_pont-alert-dialog-radius);
6108
6550
  background-color: var(--_pont-alert-dialog-bg);
6109
6551
  color: var(--_pont-alert-dialog-fg);
6110
- font-size: var(--pont-sem-text-sm);
6111
- line-height: var(--pont-sem-text-sm--line-height);
6552
+ font-size: var(--pont-ref-typography-size-sm);
6553
+ line-height: var(--pont-ref-typography-leading-of-sm);
6112
6554
  outline: none;
6113
6555
  --pont-ring-shadow: 0 0 0 var(--pont-sem-border-width) var(--_pont-alert-dialog-border-color);
6114
6556
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
@@ -6147,18 +6589,18 @@
6147
6589
  :is(pont-prim-alert-dialog-title, [data-pont-alert-dialog-title]) {
6148
6590
  display: block;
6149
6591
  margin: 0;
6150
- font-family: var(--pont-sem-font-heading);
6151
- font-size: var(--pont-sem-text-lg);
6152
- line-height: var(--pont-sem-text-lg--line-height);
6153
- font-weight: var(--pont-sem-font-weight-medium);
6592
+ font-family: var(--pont-sem-typography-font-heading);
6593
+ font-size: var(--pont-ref-typography-size-lg);
6594
+ line-height: var(--pont-ref-typography-leading-of-lg);
6595
+ font-weight: var(--pont-ref-typography-weight-medium);
6154
6596
  }
6155
6597
 
6156
6598
  :is(pont-prim-alert-dialog-description, [data-pont-alert-dialog-description]) {
6157
6599
  display: block;
6158
6600
  margin: 0;
6159
6601
  color: var(--pont-sem-color-muted-foreground);
6160
- font-size: var(--pont-sem-text-sm);
6161
- line-height: var(--pont-sem-text-sm--line-height);
6602
+ font-size: var(--pont-ref-typography-size-sm);
6603
+ line-height: var(--pont-ref-typography-leading-of-sm);
6162
6604
  text-wrap: balance;
6163
6605
  }
6164
6606
  :is(pont-prim-alert-dialog-description, [data-pont-alert-dialog-description]) > a {
@@ -6260,13 +6702,13 @@
6260
6702
  background-color: var(--_pont-sheet-bg);
6261
6703
  background-clip: padding-box;
6262
6704
  color: var(--_pont-sheet-fg);
6263
- font-size: var(--pont-sem-text-sm);
6264
- line-height: var(--pont-sem-text-sm--line-height);
6705
+ font-size: var(--pont-ref-typography-size-sm);
6706
+ line-height: var(--pont-ref-typography-leading-of-sm);
6265
6707
  outline: none;
6266
6708
  --pont-shadow: var(--_pont-sheet-shadow);
6267
6709
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
6268
6710
  /* the slide (core/popup/popup.css keyframes) */
6269
- --_pont-popup-duration: 200ms;
6711
+ --_pont-popup-duration: var(--pont-sem-motion-trans-duration-slow);
6270
6712
  --_pont-popup-enter-scale: 1;
6271
6713
  --_pont-popup-exit-scale: 1;
6272
6714
  }
@@ -6278,7 +6720,7 @@
6278
6720
  [data-pont-sheet-content]:not([data-side]) {
6279
6721
  inset: 0 0 0 auto;
6280
6722
  width: var(--_pont-sheet-width);
6281
- height: 100%;
6723
+ height: var(--pont-ref-dimension-size-full);
6282
6724
  border-left-width: var(--pont-sem-border-width);
6283
6725
  --_pont-popup-enter-translate-x: 2.5rem;
6284
6726
  --_pont-popup-exit-translate-x: 2.5rem;
@@ -6287,7 +6729,7 @@
6287
6729
  [data-pont-sheet-content][data-side="left"] {
6288
6730
  inset: 0 auto 0 0;
6289
6731
  width: var(--_pont-sheet-width);
6290
- height: 100%;
6732
+ height: var(--pont-ref-dimension-size-full);
6291
6733
  border-right-width: var(--pont-sem-border-width);
6292
6734
  --_pont-popup-enter-translate-x: -2.5rem;
6293
6735
  --_pont-popup-exit-translate-x: -2.5rem;
@@ -6295,8 +6737,8 @@
6295
6737
  }
6296
6738
  [data-pont-sheet-content][data-side="top"] {
6297
6739
  inset: 0 0 auto 0;
6298
- width: 100%;
6299
- height: auto;
6740
+ width: var(--pont-ref-dimension-size-full);
6741
+ height: var(--pont-sem-dimension-size);
6300
6742
  border-bottom-width: var(--pont-sem-border-width);
6301
6743
  --_pont-popup-enter-translate-x: 0;
6302
6744
  --_pont-popup-enter-translate-y: -2.5rem;
@@ -6304,8 +6746,8 @@
6304
6746
  }
6305
6747
  [data-pont-sheet-content][data-side="bottom"] {
6306
6748
  inset: auto 0 0 0;
6307
- width: 100%;
6308
- height: auto;
6749
+ width: var(--pont-ref-dimension-size-full);
6750
+ height: var(--pont-sem-dimension-size);
6309
6751
  border-top-width: var(--pont-sem-border-width);
6310
6752
  --_pont-popup-enter-translate-x: 0;
6311
6753
  --_pont-popup-enter-translate-y: 2.5rem;
@@ -6340,15 +6782,15 @@
6340
6782
  display: block;
6341
6783
  margin: 0;
6342
6784
  color: var(--pont-sem-color-foreground);
6343
- font-family: var(--pont-sem-font-heading);
6344
- font-weight: var(--pont-sem-font-weight-medium);
6785
+ font-family: var(--pont-sem-typography-font-heading);
6786
+ font-weight: var(--pont-ref-typography-weight-medium);
6345
6787
  }
6346
6788
  :is(pont-prim-sheet-description, [data-pont-sheet-description]) {
6347
6789
  display: block;
6348
6790
  margin: 0;
6349
6791
  color: var(--pont-sem-color-muted-foreground);
6350
- font-size: var(--pont-sem-text-sm);
6351
- line-height: var(--pont-sem-text-sm--line-height);
6792
+ font-size: var(--pont-ref-typography-size-sm);
6793
+ line-height: var(--pont-ref-typography-leading-of-sm);
6352
6794
  }
6353
6795
  }
6354
6796
 
@@ -6399,8 +6841,8 @@
6399
6841
  border: 0 solid var(--_pont-drawer-border-color);
6400
6842
  background-color: var(--_pont-drawer-bg);
6401
6843
  color: var(--_pont-drawer-fg);
6402
- font-size: var(--pont-sem-text-sm);
6403
- line-height: var(--pont-sem-text-sm--line-height);
6844
+ font-size: var(--pont-ref-typography-size-sm);
6845
+ line-height: var(--pont-ref-typography-leading-of-sm);
6404
6846
  outline: none;
6405
6847
  --_pont-popup-duration: 450ms;
6406
6848
  --_pont-popup-enter-opacity: 1;
@@ -6417,7 +6859,7 @@
6417
6859
 
6418
6860
  [data-pont-drawer-content]:is([data-swipe-direction="down"], :not([data-swipe-direction])) {
6419
6861
  inset: auto 0 0 0;
6420
- max-height: calc(100dvh - 6rem);
6862
+ max-height: calc(var(--pont-ref-dimension-size-dvh) - 6rem);
6421
6863
  border-top-width: var(--pont-sem-border-width);
6422
6864
  border-radius: var(--_pont-drawer-radius) var(--_pont-drawer-radius) 0 0;
6423
6865
  --_pont-popup-enter-translate-x: 0;
@@ -6426,7 +6868,7 @@
6426
6868
  }
6427
6869
  [data-pont-drawer-content][data-swipe-direction="up"] {
6428
6870
  inset: 0 0 auto 0;
6429
- max-height: calc(100dvh - 6rem);
6871
+ max-height: calc(var(--pont-ref-dimension-size-dvh) - 6rem);
6430
6872
  border-bottom-width: var(--pont-sem-border-width);
6431
6873
  border-radius: 0 0 var(--_pont-drawer-radius) var(--_pont-drawer-radius);
6432
6874
  --_pont-popup-enter-translate-x: 0;
@@ -6479,7 +6921,7 @@
6479
6921
  position: absolute;
6480
6922
  inset-block: 0;
6481
6923
  width: 0.75rem;
6482
- height: auto;
6924
+ height: var(--pont-sem-dimension-size);
6483
6925
  align-items: center;
6484
6926
  }
6485
6927
  [data-pont-drawer-content][data-swipe-direction="right"] > [data-pont-drawer-swipe-handle] {
@@ -6527,15 +6969,15 @@
6527
6969
  display: block;
6528
6970
  margin: 0;
6529
6971
  color: var(--pont-sem-color-foreground);
6530
- font-family: var(--pont-sem-font-heading);
6531
- font-weight: var(--pont-sem-font-weight-medium);
6972
+ font-family: var(--pont-sem-typography-font-heading);
6973
+ font-weight: var(--pont-ref-typography-weight-medium);
6532
6974
  }
6533
6975
  :is(pont-prim-drawer-description, [data-pont-drawer-description]) {
6534
6976
  display: block;
6535
6977
  margin: 0;
6536
6978
  color: var(--pont-sem-color-muted-foreground);
6537
- font-size: var(--pont-sem-text-sm);
6538
- line-height: var(--pont-sem-text-sm--line-height);
6979
+ font-size: var(--pont-ref-typography-size-sm);
6980
+ line-height: var(--pont-ref-typography-leading-of-sm);
6539
6981
  text-wrap: balance;
6540
6982
  }
6541
6983
  }
@@ -6579,8 +7021,8 @@
6579
7021
  border-radius: var(--_pont-hover-card-radius);
6580
7022
  background-color: var(--_pont-hover-card-bg);
6581
7023
  color: var(--_pont-hover-card-fg);
6582
- font-size: var(--pont-sem-text-sm);
6583
- line-height: var(--pont-sem-text-sm--line-height);
7024
+ font-size: var(--pont-ref-typography-size-sm);
7025
+ line-height: var(--pont-ref-typography-leading-of-sm);
6584
7026
  outline: none;
6585
7027
  --pont-shadow: var(--_pont-hover-card-shadow);
6586
7028
  --pont-ring-shadow: 0 0 0 var(--pont-sem-border-width) var(--_pont-hover-card-border-color);
@@ -6623,16 +7065,16 @@
6623
7065
  /* The section: a popover in the top layer, with the UA popover box undone. */
6624
7066
  :is(pont-prim-toaster, [data-pont-toaster]) {
6625
7067
  position: fixed;
6626
- inset: auto;
7068
+ inset: var(--pont-sem-dimension-space-inset);
6627
7069
  width: var(--_pont-toast-width);
6628
- height: auto;
7070
+ height: var(--pont-sem-dimension-size);
6629
7071
  margin: 0;
6630
7072
  padding: 0;
6631
7073
  border: 0;
6632
7074
  overflow: visible;
6633
7075
  background: transparent;
6634
7076
  color: var(--_pont-toast-fg);
6635
- font-family: var(--pont-sem-font-body);
7077
+ font-family: var(--pont-sem-typography-font-body);
6636
7078
  outline: none;
6637
7079
  }
6638
7080
  :is(pont-prim-toaster, [data-pont-toaster]):not(:popover-open) {
@@ -6679,7 +7121,7 @@
6679
7121
  position: relative;
6680
7122
  display: flex;
6681
7123
  box-sizing: border-box;
6682
- width: 100%;
7124
+ width: var(--pont-ref-dimension-size-full);
6683
7125
  align-items: center;
6684
7126
  gap: 6px;
6685
7127
  padding: 16px;
@@ -6693,7 +7135,7 @@
6693
7135
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
6694
7136
  outline: none;
6695
7137
  overflow-wrap: anywhere;
6696
- animation: pont-toast-enter 400ms var(--pont-sem-ease-out);
7138
+ animation: pont-toast-enter 400ms var(--pont-ref-motion-easing-ease-out);
6697
7139
  transition: opacity 400ms, translate 400ms;
6698
7140
  }
6699
7141
  [data-pont-toast]:focus-visible {
@@ -6727,7 +7169,7 @@
6727
7169
  height: 1rem;
6728
7170
  }
6729
7171
  [data-pont-toast] svg[data-spin] {
6730
- animation: var(--pont-sem-animate-spin);
7172
+ animation: var(--pont-sem-motion-anim-spin);
6731
7173
  }
6732
7174
 
6733
7175
  [data-pont-toast] > [data-content] {
@@ -6737,11 +7179,11 @@
6737
7179
  min-width: 0;
6738
7180
  }
6739
7181
  [data-pont-toast] [data-title] {
6740
- font-weight: var(--pont-sem-font-weight-medium);
7182
+ font-weight: var(--pont-ref-typography-weight-medium);
6741
7183
  line-height: 1.5;
6742
7184
  }
6743
7185
  [data-pont-toast] [data-description] {
6744
- font-weight: var(--pont-sem-font-weight-normal);
7186
+ font-weight: var(--pont-ref-typography-weight-normal);
6745
7187
  line-height: 1.4;
6746
7188
  color: var(--pont-sem-color-muted-foreground);
6747
7189
  }
@@ -6758,7 +7200,7 @@
6758
7200
  color: var(--_pont-toast-bg);
6759
7201
  font: inherit;
6760
7202
  font-size: 12px;
6761
- font-weight: var(--pont-sem-font-weight-medium);
7203
+ font-weight: var(--pont-ref-typography-weight-medium);
6762
7204
  cursor: pointer;
6763
7205
  outline: none;
6764
7206
  transition: opacity 400ms, box-shadow 200ms;
@@ -6800,8 +7242,8 @@
6800
7242
  @media (prefers-reduced-motion: reduce) {
6801
7243
  [data-pont-toast],
6802
7244
  [data-pont-toast][data-removed] {
6803
- animation: none;
6804
- transition: none;
7245
+ animation: var(--pont-ref-motion-anim-none);
7246
+ transition-property: var(--pont-ref-motion-trans-property-none);
6805
7247
  translate: none;
6806
7248
  }
6807
7249
  }
@@ -6984,7 +7426,7 @@
6984
7426
  /* `mark` / required caret after the label text. */
6985
7427
  [data-pont-field-label] > [data-slot="field-mark"] {
6986
7428
  color: var(--pont-sem-color-muted-foreground);
6987
- font-weight: var(--pont-sem-font-weight-normal, 400);
7429
+ font-weight: var(--pont-ref-typography-weight-normal, 400);
6988
7430
  }
6989
7431
 
6990
7432
  /* Password: label + "Forgot your password?" on one row, as in shadcn's login blocks
@@ -6996,9 +7438,9 @@
6996
7438
  }
6997
7439
  [data-pont-auth-field-label-row] > [data-slot="field-forgot"] {
6998
7440
  margin-left: auto;
6999
- height: auto;
7441
+ height: var(--pont-sem-dimension-size);
7000
7442
  padding: 0;
7001
- font-weight: var(--pont-sem-font-weight-normal, 400);
7443
+ font-weight: var(--pont-ref-typography-weight-normal, 400);
7002
7444
  }
7003
7445
  }
7004
7446
 
@@ -7037,11 +7479,11 @@
7037
7479
  align-items: center;
7038
7480
  min-height: 1.25rem;
7039
7481
  color: var(--_pont-otp-resend-fg);
7040
- font-size: var(--pont-sem-text-sm);
7041
- line-height: var(--pont-sem-text-sm--line-height);
7482
+ font-size: var(--pont-ref-typography-size-sm);
7483
+ line-height: var(--pont-ref-typography-leading-of-sm);
7042
7484
  }
7043
7485
  [data-pont-otp-resend] > [data-slot="otp-resend-button"] {
7044
- height: auto;
7486
+ height: var(--pont-sem-dimension-size);
7045
7487
  padding: 0;
7046
7488
  color: var(--_pont-otp-resend-button-fg);
7047
7489
  font-size: inherit;
@@ -7088,8 +7530,8 @@
7088
7530
  justify-content: center;
7089
7531
  column-gap: 0.25rem;
7090
7532
  color: var(--_pont-link-fg);
7091
- font-size: var(--pont-sem-text-sm);
7092
- line-height: var(--pont-sem-text-sm--line-height);
7533
+ font-size: var(--pont-ref-typography-size-sm);
7534
+ line-height: var(--pont-ref-typography-leading-of-sm);
7093
7535
  }
7094
7536
  [data-pont-link][data-align="start"] {
7095
7537
  justify-content: flex-start;
@@ -7098,7 +7540,7 @@
7098
7540
  justify-content: flex-end;
7099
7541
  }
7100
7542
  [data-pont-link] > [data-slot="link-button"] {
7101
- height: auto;
7543
+ height: var(--pont-sem-dimension-size);
7102
7544
  padding: 0;
7103
7545
  color: var(--_pont-link-button-fg);
7104
7546
  font-size: inherit;
@@ -7153,31 +7595,31 @@
7153
7595
  /** @token component=title Text */
7154
7596
  --_pont-title-fg: var(--pont-title-fg, var(--pont-sem-color-foreground));
7155
7597
  /** @token component=title Weight */
7156
- --_pont-title-font-weight: var(--pont-title-font-weight, var(--pont-sem-font-weight-semibold));
7598
+ --_pont-title-font-weight: var(--pont-title-font-weight, var(--pont-ref-typography-weight-semibold));
7157
7599
  }
7158
7600
  [data-pont-title][data-level="1"] {
7159
7601
  /** @token component=title Size (level 1) */
7160
- --_pont-title-font-size: var(--pont-title-h1-font-size, var(--pont-sem-text-2xl));
7602
+ --_pont-title-font-size: var(--pont-title-h1-font-size, var(--pont-ref-typography-size-2xl));
7161
7603
  /** @token component=title Weight (level 1) */
7162
- --_pont-title-font-weight: var(--pont-title-h1-font-weight, var(--pont-title-font-weight, var(--pont-sem-font-weight-bold)));
7604
+ --_pont-title-font-weight: var(--pont-title-h1-font-weight, var(--pont-title-font-weight, var(--pont-ref-typography-weight-bold)));
7163
7605
  }
7164
7606
  [data-pont-title][data-level="2"] {
7165
7607
  /** @token component=title Size (level 2) */
7166
- --_pont-title-font-size: var(--pont-title-h2-font-size, var(--pont-sem-text-xl));
7608
+ --_pont-title-font-size: var(--pont-title-h2-font-size, var(--pont-ref-typography-size-xl));
7167
7609
  }
7168
7610
  [data-pont-title][data-level="3"] {
7169
7611
  /** @token component=title Size (level 3) */
7170
- --_pont-title-font-size: var(--pont-title-h3-font-size, var(--pont-sem-text-lg));
7612
+ --_pont-title-font-size: var(--pont-title-h3-font-size, var(--pont-ref-typography-size-lg));
7171
7613
  }
7172
7614
  [data-pont-title][data-level="4"] {
7173
7615
  /** @token component=title Size (level 4) */
7174
- --_pont-title-font-size: var(--pont-title-h4-font-size, var(--pont-sem-text-base));
7616
+ --_pont-title-font-size: var(--pont-title-h4-font-size, var(--pont-ref-typography-size-base));
7175
7617
  }
7176
7618
  [data-pont-subtitle] {
7177
7619
  /** @token component=subtitle Text */
7178
7620
  --_pont-subtitle-fg: var(--pont-subtitle-fg, var(--pont-sem-color-muted-foreground));
7179
7621
  /** @token component=subtitle Size */
7180
- --_pont-subtitle-font-size: var(--pont-subtitle-font-size, var(--pont-sem-text-sm));
7622
+ --_pont-subtitle-font-size: var(--pont-subtitle-font-size, var(--pont-ref-typography-size-sm));
7181
7623
  }
7182
7624
 
7183
7625
  /* ------------------------------------------------------------------ */
@@ -7187,30 +7629,30 @@
7187
7629
  [data-pont-title] {
7188
7630
  margin: 0;
7189
7631
  color: var(--_pont-title-fg);
7190
- font-family: var(--pont-sem-font-heading);
7632
+ font-family: var(--pont-sem-typography-font-heading);
7191
7633
  font-size: var(--_pont-title-font-size);
7192
7634
  font-weight: var(--_pont-title-font-weight);
7193
- letter-spacing: var(--pont-sem-tracking-tight);
7635
+ letter-spacing: var(--pont-ref-typography-tracking-tight);
7194
7636
  text-wrap: balance;
7195
7637
  }
7196
7638
  [data-pont-title][data-level="1"] {
7197
- line-height: var(--pont-sem-text-2xl--line-height);
7639
+ line-height: var(--pont-ref-typography-leading-of-2xl);
7198
7640
  }
7199
7641
  [data-pont-title][data-level="2"] {
7200
- line-height: var(--pont-sem-text-xl--line-height);
7642
+ line-height: var(--pont-ref-typography-leading-of-xl);
7201
7643
  }
7202
7644
  [data-pont-title][data-level="3"] {
7203
- line-height: var(--pont-sem-text-lg--line-height);
7645
+ line-height: var(--pont-ref-typography-leading-of-lg);
7204
7646
  }
7205
7647
  [data-pont-title][data-level="4"] {
7206
- line-height: var(--pont-sem-text-base--line-height);
7648
+ line-height: var(--pont-ref-typography-leading-of-base);
7207
7649
  }
7208
7650
 
7209
7651
  [data-pont-subtitle] {
7210
7652
  margin: 0;
7211
7653
  color: var(--_pont-subtitle-fg);
7212
7654
  font-size: var(--_pont-subtitle-font-size);
7213
- line-height: var(--pont-sem-text-sm--line-height);
7655
+ line-height: var(--pont-ref-typography-leading-of-sm);
7214
7656
  text-wrap: balance;
7215
7657
  }
7216
7658
 
@@ -7260,7 +7702,7 @@
7260
7702
  }
7261
7703
  pont-provider-field > pont-provider-button > [data-pont-button] {
7262
7704
  grid-column: span 12 / span 12;
7263
- width: 100%;
7705
+ width: var(--pont-ref-dimension-size-full);
7264
7706
  }
7265
7707
  pont-provider-field[data-columns$="three"] > pont-provider-button > [data-pont-button] {
7266
7708
  grid-column: span 4 / span 4;
@@ -7315,7 +7757,7 @@
7315
7757
  /** @token Spacing (padding) */
7316
7758
  --_pont-card-spacing: var(--pont-block-spacing, var(--pont-card-spacing, 1.5rem));
7317
7759
  /** @token Maximum width */
7318
- --_pont-block-max-width: var(--pont-block-max-width, var(--pont-sem-container-sm));
7760
+ --_pont-block-max-width: var(--pont-block-max-width, var(--pont-ref-dimension-size-sm));
7319
7761
  /** @token Gap between children */
7320
7762
  --_pont-block-gap: var(--pont-block-gap, 1rem);
7321
7763
  /** @token Background (watermark band) */
@@ -7336,7 +7778,7 @@
7336
7778
  display: flex;
7337
7779
  flex-direction: column;
7338
7780
  gap: var(--_pont-block-gap);
7339
- width: 100%;
7781
+ width: var(--pont-ref-dimension-size-full);
7340
7782
  max-width: var(--_pont-block-max-width);
7341
7783
  margin-inline: auto;
7342
7784
  padding-inline: var(--_pont-card-spacing);
@@ -7362,8 +7804,8 @@
7362
7804
 
7363
7805
  @media (width < 40rem) {
7364
7806
  pont-block {
7365
- max-width: none;
7366
- min-height: 100svh;
7807
+ max-width: var(--pont-sem-dimension-size-max);
7808
+ min-height: var(--pont-ref-dimension-size-svh);
7367
7809
  border-radius: 0;
7368
7810
  }
7369
7811
  }
@@ -7382,7 +7824,7 @@
7382
7824
  upgrade, so give the shell its width now to avoid a jump. */
7383
7825
  pont-block:not([data-pont-card]) {
7384
7826
  display: block;
7385
- width: 100%;
7827
+ width: var(--pont-ref-dimension-size-full);
7386
7828
  max-width: var(--_pont-block-max-width);
7387
7829
  margin-inline: auto;
7388
7830
  }
@@ -7427,11 +7869,11 @@
7427
7869
  gap: 0.375rem;
7428
7870
  color: var(--_pont-watermark-fg);
7429
7871
  font-size: 0.8125rem;
7430
- line-height: var(--pont-sem-leading-none);
7872
+ line-height: var(--pont-ref-typography-leading-none);
7431
7873
  }
7432
7874
  [data-pont-watermark] > [data-slot="watermark-logo"] {
7433
7875
  flex-shrink: 0;
7434
- width: auto;
7876
+ width: var(--pont-sem-dimension-size);
7435
7877
  height: 0.875rem;
7436
7878
  }
7437
7879
  [data-pont-watermark] [data-logo-mark] {
@@ -7457,7 +7899,7 @@
7457
7899
  display: flex;
7458
7900
  flex-direction: column;
7459
7901
  gap: var(--_pont-container-gap);
7460
- width: 100%;
7902
+ width: var(--pont-ref-dimension-size-full);
7461
7903
  }
7462
7904
  [data-pont-container][data-type="flex_row"] {
7463
7905
  flex-direction: row;
@@ -7509,7 +7951,7 @@
7509
7951
  align-items: center;
7510
7952
  justify-content: center;
7511
7953
  color: var(--pont-sem-color-muted-foreground);
7512
- font-size: var(--pont-sem-text-sm);
7954
+ font-size: var(--pont-ref-typography-size-sm);
7513
7955
  pointer-events: none;
7514
7956
  }
7515
7957
  }
@@ -7533,7 +7975,7 @@
7533
7975
  flex-direction: column;
7534
7976
  align-items: center;
7535
7977
  gap: var(--_pont-header-gap);
7536
- width: 100%;
7978
+ width: var(--pont-ref-dimension-size-full);
7537
7979
  text-align: center;
7538
7980
  }
7539
7981
  [data-pont-header][data-align="start"] {
@@ -7552,12 +7994,12 @@
7552
7994
  :is(pont-gap, [data-pont-gap]) {
7553
7995
  display: block;
7554
7996
  flex-shrink: 0;
7555
- width: 1px;
7997
+ width: var(--pont-ref-dimension-size-px);
7556
7998
  height: var(--pont-gap-size, 8px);
7557
7999
  }
7558
8000
  [data-pont-gap][data-type="horizontal"] {
7559
8001
  width: var(--pont-gap-size, 8px);
7560
- height: 1px;
8002
+ height: var(--pont-ref-dimension-size-px);
7561
8003
  }
7562
8004
  }
7563
8005
 
@@ -7571,7 +8013,7 @@
7571
8013
  :is(pont-logo, [data-pont-logo]) {
7572
8014
  display: flex;
7573
8015
  justify-content: center;
7574
- width: 100%;
8016
+ width: var(--pont-ref-dimension-size-full);
7575
8017
  }
7576
8018
  [data-pont-logo][data-align="start"] {
7577
8019
  justify-content: flex-start;
@@ -7581,8 +8023,8 @@
7581
8023
  }
7582
8024
  [data-pont-logo] > img {
7583
8025
  display: block;
7584
- max-width: 100%;
7585
- height: auto;
8026
+ max-width: var(--pont-ref-dimension-size-full);
8027
+ height: var(--pont-sem-dimension-size);
7586
8028
  }
7587
8029
  [data-pont-logo] > img[data-logo-theme="dark"] {
7588
8030
  display: var(--pont-sem-mode-dark-display, none);
@@ -7599,8 +8041,8 @@
7599
8041
  :is(pont-countdown, [data-pont-countdown]) {
7600
8042
  display: block;
7601
8043
  color: var(--pont-sem-color-muted-foreground);
7602
- font-size: var(--pont-sem-text-sm);
7603
- line-height: var(--pont-sem-text-sm--line-height);
8044
+ font-size: var(--pont-ref-typography-size-sm);
8045
+ line-height: var(--pont-ref-typography-leading-of-sm);
7604
8046
  font-variant-numeric: tabular-nums;
7605
8047
  text-align: center;
7606
8048
  }
@@ -7615,12 +8057,12 @@
7615
8057
  justify-content: center;
7616
8058
  gap: 0.25rem;
7617
8059
  min-width: 0;
7618
- font-size: var(--pont-sem-text-sm);
7619
- line-height: var(--pont-sem-text-sm--line-height);
8060
+ font-size: var(--pont-ref-typography-size-sm);
8061
+ line-height: var(--pont-ref-typography-leading-of-sm);
7620
8062
  }
7621
8063
  [data-pont-edit-identifier] > [data-slot="edit-identifier-value"] {
7622
8064
  overflow: hidden;
7623
- font-weight: var(--pont-sem-font-weight-medium);
8065
+ font-weight: var(--pont-ref-typography-weight-medium);
7624
8066
  text-overflow: ellipsis;
7625
8067
  white-space: nowrap;
7626
8068
  }
@@ -7633,23 +8075,23 @@
7633
8075
  display: flex;
7634
8076
  flex-direction: column;
7635
8077
  gap: 0.5rem;
7636
- width: 100%;
8078
+ width: var(--pont-ref-dimension-size-full);
7637
8079
  }
7638
8080
  [data-pont-secret] > [data-slot="secret-title"] {
7639
8081
  margin: 0;
7640
- font-size: var(--pont-sem-text-sm);
7641
- line-height: var(--pont-sem-text-sm--line-height);
7642
- font-weight: var(--pont-sem-font-weight-medium);
8082
+ font-size: var(--pont-ref-typography-size-sm);
8083
+ line-height: var(--pont-ref-typography-leading-of-sm);
8084
+ font-weight: var(--pont-ref-typography-weight-medium);
7643
8085
  }
7644
8086
  [data-pont-secret] [data-secret] {
7645
- font-family: var(--pont-sem-font-code);
7646
- letter-spacing: var(--pont-sem-tracking-wider);
8087
+ font-family: var(--pont-sem-typography-font-code);
8088
+ letter-spacing: var(--pont-ref-typography-tracking-wider);
7647
8089
  }
7648
8090
  /* Reserved line, so the status appearing does not shift the layout. */
7649
8091
  [data-pont-secret] > [data-slot="secret-copied"] {
7650
8092
  min-height: 1rem;
7651
8093
  color: var(--pont-sem-color-muted-foreground);
7652
- font-size: var(--pont-sem-text-xs);
8094
+ font-size: var(--pont-ref-typography-size-xs);
7653
8095
  line-height: 1rem;
7654
8096
  }
7655
8097
  [data-pont-secret] > [data-slot="secret-metadata"] {
@@ -7660,14 +8102,14 @@
7660
8102
  }
7661
8103
  [data-pont-secret] > [data-slot="secret-metadata"] dt {
7662
8104
  color: var(--pont-sem-color-muted-foreground);
7663
- font-size: var(--pont-sem-text-xs);
8105
+ font-size: var(--pont-ref-typography-size-xs);
7664
8106
  line-height: 1rem;
7665
8107
  }
7666
8108
  [data-pont-secret] > [data-slot="secret-metadata"] dd {
7667
8109
  margin: 0;
7668
- font-size: var(--pont-sem-text-sm);
7669
- line-height: var(--pont-sem-text-sm--line-height);
7670
- font-weight: var(--pont-sem-font-weight-medium);
8110
+ font-size: var(--pont-ref-typography-size-sm);
8111
+ line-height: var(--pont-ref-typography-leading-of-sm);
8112
+ font-weight: var(--pont-ref-typography-weight-medium);
7671
8113
  }
7672
8114
  }
7673
8115
 
@@ -7688,16 +8130,18 @@
7688
8130
  position: relative;
7689
8131
  display: grid;
7690
8132
  place-items: center;
7691
- width: fit-content;
8133
+ width: var(--pont-ref-dimension-size-fit);
7692
8134
  margin-inline: auto;
7693
8135
  }
7694
8136
  [data-pont-qr-code] > [data-slot="qr-code-image"] {
7695
8137
  display: block;
7696
8138
  width: var(--_pont-qr-code-width);
7697
- height: auto;
8139
+ height: var(--pont-sem-dimension-size);
7698
8140
  border-radius: var(--pont-ref-radius-md);
7699
8141
  box-shadow: 0 0 0 var(--pont-sem-border-width) var(--pont-sem-color-border);
7700
- transition: opacity 200ms ease;
8142
+ transition-property: var(--pont-ref-motion-trans-property-opacity);
8143
+ transition-duration: var(--pont-sem-motion-trans-duration-slow);
8144
+ transition-timing-function: var(--pont-ref-motion-easing-ease);
7701
8145
  }
7702
8146
  [data-pont-qr-code][data-obscured] > [data-slot="qr-code-image"] {
7703
8147
  opacity: 0.15;
@@ -7710,7 +8154,7 @@
7710
8154
  }
7711
8155
  @media (prefers-reduced-motion: reduce) {
7712
8156
  [data-pont-qr-code] > [data-slot="qr-code-image"] {
7713
- transition: none;
8157
+ transition-property: var(--pont-ref-motion-trans-property-none);
7714
8158
  }
7715
8159
  }
7716
8160
  }
@@ -7731,17 +8175,17 @@
7731
8175
  display: flex;
7732
8176
  flex-direction: column;
7733
8177
  gap: 0.75rem;
7734
- width: 100%;
8178
+ width: var(--pont-ref-dimension-size-full);
7735
8179
  }
7736
8180
  [data-pont-recovery-codes] > [data-slot="recovery-codes-title"] {
7737
8181
  margin: 0;
7738
- font-weight: var(--pont-sem-font-weight-medium);
8182
+ font-weight: var(--pont-ref-typography-weight-medium);
7739
8183
  }
7740
8184
  [data-pont-recovery-codes] > :is([data-slot="recovery-codes-description"], [data-slot="recovery-codes-empty"]) {
7741
8185
  margin: 0;
7742
8186
  color: var(--pont-sem-color-muted-foreground);
7743
- font-size: var(--pont-sem-text-sm);
7744
- line-height: var(--pont-sem-text-sm--line-height);
8187
+ font-size: var(--pont-ref-typography-size-sm);
8188
+ line-height: var(--pont-ref-typography-leading-of-sm);
7745
8189
  }
7746
8190
  [data-pont-recovery-codes] > [data-slot="recovery-codes-list"] {
7747
8191
  display: grid;
@@ -7752,9 +8196,9 @@
7752
8196
  list-style: none;
7753
8197
  border-radius: var(--_pont-recovery-codes-list-radius);
7754
8198
  background-color: var(--_pont-recovery-codes-list-bg);
7755
- font-family: var(--pont-sem-font-code);
7756
- font-size: var(--pont-sem-text-sm);
7757
- line-height: var(--pont-sem-text-sm--line-height);
8199
+ font-family: var(--pont-sem-typography-font-code);
8200
+ font-size: var(--pont-ref-typography-size-sm);
8201
+ line-height: var(--pont-ref-typography-leading-of-sm);
7758
8202
  text-align: center;
7759
8203
  }
7760
8204
  [data-pont-recovery-codes] > [data-slot="recovery-codes-actions"] {
@@ -7767,7 +8211,7 @@
7767
8211
  [data-pont-recovery-codes] > [data-slot="recovery-codes-copied"] {
7768
8212
  min-height: 1rem;
7769
8213
  color: var(--pont-sem-color-muted-foreground);
7770
- font-size: var(--pont-sem-text-xs);
8214
+ font-size: var(--pont-ref-typography-size-xs);
7771
8215
  line-height: 1rem;
7772
8216
  text-align: center;
7773
8217
  }
@@ -7785,8 +8229,8 @@
7785
8229
  display: flex;
7786
8230
  align-items: center;
7787
8231
  gap: 0.75rem;
7788
- font-size: var(--pont-sem-text-sm);
7789
- line-height: var(--pont-sem-text-sm--line-height);
8232
+ font-size: var(--pont-ref-typography-size-sm);
8233
+ line-height: var(--pont-ref-typography-leading-of-sm);
7790
8234
  cursor: pointer;
7791
8235
  }
7792
8236
  [data-pont-scope-list] [data-required] [data-slot="scope-list-label"],
@@ -7807,14 +8251,14 @@
7807
8251
  @layer pont.kit {
7808
8252
  :is(pont-layout, [data-pont-layout]) {
7809
8253
  display: block;
7810
- width: 100%;
8254
+ width: var(--pont-ref-dimension-size-full);
7811
8255
  }
7812
8256
  [data-pont-layout] > [data-slot="layout-form"] {
7813
8257
  display: contents;
7814
8258
  }
7815
8259
  /* The error banner sits in the screen's flow (block gap); the restart button spans it. */
7816
8260
  [data-pont-layout] pont-button[data-flow-error] > [data-pont-button] {
7817
- width: 100%;
8261
+ width: var(--pont-ref-dimension-size-full);
7818
8262
  }
7819
8263
  }
7820
8264
 
@@ -7823,7 +8267,7 @@
7823
8267
  @layer pont.kit {
7824
8268
  :is(pont-consent, [data-pont-consent]) {
7825
8269
  display: block;
7826
- width: 100%;
8270
+ width: var(--pont-ref-dimension-size-full);
7827
8271
  }
7828
8272
  [data-pont-consent] > [data-slot="flow-widget-loading"] {
7829
8273
  display: grid;
@@ -7838,7 +8282,7 @@
7838
8282
  @layer pont.kit {
7839
8283
  :is(pont-signin, pont-signup, pont-invitation, [data-pont-flow-widget]) {
7840
8284
  display: block;
7841
- width: 100%;
8285
+ width: var(--pont-ref-dimension-size-full);
7842
8286
  }
7843
8287
  [data-pont-flow-widget] > [data-slot="flow-widget-loading"] {
7844
8288
  display: grid;
@@ -7903,7 +8347,7 @@
7903
8347
  padding-inline: 0;
7904
8348
  }
7905
8349
  pont-data-table [data-pont-data-table-actions] {
7906
- width: 1px;
8350
+ width: var(--pont-ref-dimension-size-px);
7907
8351
  text-align: end;
7908
8352
  }
7909
8353
  pont-data-table [data-pont-data-table-empty] > td {
@@ -7915,7 +8359,7 @@
7915
8359
  background-color: transparent;
7916
8360
  }
7917
8361
  pont-data-table [data-pont-data-table-skeleton] {
7918
- width: 100%;
8362
+ width: var(--pont-ref-dimension-size-full);
7919
8363
  min-width: 3rem;
7920
8364
  height: 1rem;
7921
8365
  }
@@ -7929,7 +8373,7 @@
7929
8373
  */
7930
8374
  @layer pont.kit {
7931
8375
  pont-badge-selector > [data-pont-combobox-chips] {
7932
- width: 100%;
8376
+ width: var(--pont-ref-dimension-size-full);
7933
8377
  }
7934
8378
  }
7935
8379
 
@@ -7947,7 +8391,7 @@
7947
8391
  min-width: 0;
7948
8392
  }
7949
8393
  pont-multi-email-input > [data-pont-multi-email-box] {
7950
- width: 100%;
8394
+ width: var(--pont-ref-dimension-size-full);
7951
8395
  }
7952
8396
  pont-multi-email-input > [data-pont-multi-email-count] {
7953
8397
  font-variant-numeric: tabular-nums;
@@ -7966,7 +8410,7 @@
7966
8410
  [data-pont-multi-select-filter-trigger] [data-pont-multi-select-filter-count] {
7967
8411
  padding-inline: 0.25rem;
7968
8412
  border-radius: var(--pont-ref-radius-sm);
7969
- font-weight: var(--pont-sem-font-weight-normal);
8413
+ font-weight: var(--pont-ref-typography-weight-normal);
7970
8414
  }
7971
8415
  }
7972
8416
 
@@ -7979,7 +8423,7 @@
7979
8423
  */
7980
8424
  @layer pont.kit {
7981
8425
  [data-pont-account-menu-trigger] {
7982
- max-inline-size: 100%;
8426
+ max-inline-size: var(--pont-ref-dimension-size-full);
7983
8427
  }
7984
8428
 
7985
8429
  [data-pont-account-menu-user] {
@@ -7995,7 +8439,7 @@
7995
8439
  display: grid;
7996
8440
  flex: 1 1 auto;
7997
8441
  min-inline-size: 0;
7998
- font-size: var(--pont-sem-text-sm);
8442
+ font-size: var(--pont-ref-typography-size-sm);
7999
8443
  line-height: 1.25;
8000
8444
  }
8001
8445
 
@@ -8003,21 +8447,21 @@
8003
8447
  overflow: hidden;
8004
8448
  text-overflow: ellipsis;
8005
8449
  white-space: nowrap;
8006
- font-weight: var(--pont-sem-font-weight-medium);
8450
+ font-weight: var(--pont-ref-typography-weight-medium);
8007
8451
  }
8008
8452
 
8009
8453
  [data-pont-account-menu-email] {
8010
8454
  overflow: hidden;
8011
8455
  text-overflow: ellipsis;
8012
8456
  white-space: nowrap;
8013
- font-size: var(--pont-sem-text-xs);
8014
- font-weight: var(--pont-sem-font-weight-normal);
8457
+ font-size: var(--pont-ref-typography-size-xs);
8458
+ font-weight: var(--pont-ref-typography-weight-normal);
8015
8459
  color: var(--pont-sem-color-muted-foreground);
8016
8460
  }
8017
8461
 
8018
8462
  /* The header is a group label: give it the snippet's normal weight and colour. */
8019
8463
  [data-pont-account-menu-header] {
8020
- font-weight: var(--pont-sem-font-weight-normal);
8464
+ font-weight: var(--pont-ref-typography-weight-normal);
8021
8465
  color: inherit;
8022
8466
  }
8023
8467
 
@@ -8047,13 +8491,13 @@
8047
8491
 
8048
8492
  [data-pont-organization-switcher-switching] {
8049
8493
  margin-inline-start: auto;
8050
- font-size: var(--pont-sem-text-xs);
8494
+ font-size: var(--pont-ref-typography-size-xs);
8051
8495
  color: var(--pont-sem-color-muted-foreground);
8052
8496
  }
8053
8497
 
8054
8498
  [data-pont-organization-switcher-error] {
8055
8499
  padding: 0.375rem 0.5rem;
8056
- font-size: var(--pont-sem-text-xs);
8500
+ font-size: var(--pont-ref-typography-size-xs);
8057
8501
  color: var(--pont-sem-color-destructive);
8058
8502
  }
8059
8503
  }
@@ -8075,20 +8519,20 @@
8075
8519
  display: flex;
8076
8520
  flex-direction: column;
8077
8521
  gap: 1.5rem;
8078
- inline-size: 100%;
8522
+ inline-size: var(--pont-ref-dimension-size-full);
8079
8523
  }
8080
8524
 
8081
8525
  [data-pont-account-settings-title] {
8082
8526
  margin: 0;
8083
- font-size: var(--pont-sem-text-xl);
8084
- font-weight: var(--pont-sem-font-weight-semibold);
8527
+ font-size: var(--pont-ref-typography-size-xl);
8528
+ font-weight: var(--pont-ref-typography-weight-semibold);
8085
8529
  line-height: 1.3;
8086
8530
  }
8087
8531
 
8088
8532
  /* The dialog is wider than a form dialog: the cards need room for a label column. */
8089
8533
  [data-pont-account-settings-dialog] {
8090
8534
  max-inline-size: min(56rem, calc(100% - 2rem));
8091
- inline-size: 100%;
8535
+ inline-size: var(--pont-ref-dimension-size-full);
8092
8536
  max-block-size: calc(100% - 2rem);
8093
8537
  overflow-y: auto;
8094
8538
  container: pont-account-settings / inline-size;
@@ -8142,8 +8586,8 @@
8142
8586
 
8143
8587
  [data-pont-account-settings-label] {
8144
8588
  margin: 0;
8145
- font-size: var(--pont-sem-text-sm);
8146
- font-weight: var(--pont-sem-font-weight-medium);
8589
+ font-size: var(--pont-ref-typography-size-sm);
8590
+ font-weight: var(--pont-ref-typography-weight-medium);
8147
8591
  color: var(--pont-sem-color-muted-foreground);
8148
8592
  overflow-wrap: anywhere;
8149
8593
  hyphens: auto;
@@ -8152,7 +8596,7 @@
8152
8596
  [data-pont-account-settings-value] {
8153
8597
  margin: 0;
8154
8598
  min-inline-size: 0;
8155
- font-size: var(--pont-sem-text-sm);
8599
+ font-size: var(--pont-ref-typography-size-sm);
8156
8600
  overflow-wrap: anywhere;
8157
8601
  display: grid;
8158
8602
  gap: 0.375rem;
@@ -8215,8 +8659,8 @@
8215
8659
 
8216
8660
  [data-pont-account-settings-sr] {
8217
8661
  position: absolute;
8218
- inline-size: 1px;
8219
- block-size: 1px;
8662
+ inline-size: var(--pont-ref-dimension-size-px);
8663
+ block-size: var(--pont-ref-dimension-size-px);
8220
8664
  overflow: hidden;
8221
8665
  clip-path: inset(50%);
8222
8666
  white-space: nowrap;
@@ -8237,7 +8681,7 @@
8237
8681
  [data-pont-account-settings-tabs][data-orientation="vertical"] [data-pont-account-settings-sidebar] {
8238
8682
  flex: 0 0 auto;
8239
8683
  flex-direction: row;
8240
- inline-size: 100%;
8684
+ inline-size: var(--pont-ref-dimension-size-full);
8241
8685
  overflow-x: auto;
8242
8686
  }
8243
8687
  }
@@ -8264,12 +8708,12 @@
8264
8708
  display: flex;
8265
8709
  flex-direction: column;
8266
8710
  gap: 1.5rem;
8267
- inline-size: 100%;
8711
+ inline-size: var(--pont-ref-dimension-size-full);
8268
8712
  }
8269
8713
 
8270
8714
  [data-pont-member-management-dialog] {
8271
8715
  max-inline-size: min(64rem, calc(100% - 2rem));
8272
- inline-size: 100%;
8716
+ inline-size: var(--pont-ref-dimension-size-full);
8273
8717
  }
8274
8718
 
8275
8719
  [data-pont-member-management-header] {
@@ -8279,14 +8723,14 @@
8279
8723
 
8280
8724
  [data-pont-member-management-title] {
8281
8725
  margin: 0;
8282
- font-size: var(--pont-sem-text-xl);
8283
- font-weight: var(--pont-sem-font-weight-semibold);
8726
+ font-size: var(--pont-ref-typography-size-xl);
8727
+ font-weight: var(--pont-ref-typography-weight-semibold);
8284
8728
  line-height: 1.3;
8285
8729
  }
8286
8730
 
8287
8731
  [data-pont-member-management-subtitle] {
8288
8732
  margin: 0;
8289
- font-size: var(--pont-sem-text-sm);
8733
+ font-size: var(--pont-ref-typography-size-sm);
8290
8734
  color: var(--pont-sem-color-muted-foreground);
8291
8735
  }
8292
8736
 
@@ -8342,14 +8786,14 @@
8342
8786
  overflow: hidden;
8343
8787
  text-overflow: ellipsis;
8344
8788
  white-space: nowrap;
8345
- font-weight: var(--pont-sem-font-weight-medium);
8789
+ font-weight: var(--pont-ref-typography-weight-medium);
8346
8790
  }
8347
8791
 
8348
8792
  [data-pont-member-management-person-email] {
8349
8793
  overflow: hidden;
8350
8794
  text-overflow: ellipsis;
8351
8795
  white-space: nowrap;
8352
- font-size: var(--pont-sem-text-xs);
8796
+ font-size: var(--pont-ref-typography-size-xs);
8353
8797
  color: var(--pont-sem-color-muted-foreground);
8354
8798
  }
8355
8799
 
@@ -8365,7 +8809,7 @@
8365
8809
  }
8366
8810
 
8367
8811
  [data-pont-member-management-time] {
8368
- font-size: var(--pont-sem-text-xs);
8812
+ font-size: var(--pont-ref-typography-size-xs);
8369
8813
  color: var(--pont-sem-color-muted-foreground);
8370
8814
  }
8371
8815
 
@@ -8375,7 +8819,7 @@
8375
8819
  align-items: center;
8376
8820
  justify-content: space-between;
8377
8821
  gap: 0.75rem 1.5rem;
8378
- font-size: var(--pont-sem-text-sm);
8822
+ font-size: var(--pont-ref-typography-size-sm);
8379
8823
  }
8380
8824
 
8381
8825
  [data-pont-member-management-range] {
@@ -8392,7 +8836,7 @@
8392
8836
 
8393
8837
  [data-pont-member-management-pager] > :is(pont-pagination, [data-pont-pagination]) {
8394
8838
  margin-inline: 0;
8395
- inline-size: auto;
8839
+ inline-size: var(--pont-sem-dimension-size);
8396
8840
  }
8397
8841
 
8398
8842
  [data-pont-member-management-problem] {
@@ -8425,8 +8869,8 @@
8425
8869
  }
8426
8870
 
8427
8871
  [data-pont-member-management-who] dt {
8428
- font-size: var(--pont-sem-text-sm);
8429
- font-weight: var(--pont-sem-font-weight-medium);
8872
+ font-size: var(--pont-ref-typography-size-sm);
8873
+ font-weight: var(--pont-ref-typography-weight-medium);
8430
8874
  }
8431
8875
 
8432
8876
  [data-pont-member-management-who] dd {