@pontive/pontkit-core 3.1.0 → 3.3.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
  /*
@@ -39,12 +36,293 @@
39
36
  * reads its public tokens with a fallback and resolves them on the element
40
37
  * (11 §4, §5).
41
38
  *
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
41
+ * filter.css the blur unit (--pont-ref-filter-blur) and the blur scale derived from it
42
+ * layout.css aspect ratios (--pont-ref-layout-aspect-auto, -square, -video)
42
43
  * opacity.css the opacity unit (--pont-ref-opacity), none/full, and the disabled role
43
44
  * radius.css the radius knob (--pont-ref-radius) and the ref scale derived from it
45
+ * typography.css font stacks (ref) and roles (sem), size, weight, tracking and leading scales (ref)
44
46
  * ref/ raw values, global only
45
47
  * sem/ design roles; light/dark lives in sem/color.css
46
48
  */
47
49
 
50
+ /* ./cursor.css */
51
+ /*
52
+ * ===========================================================================
53
+ * CURSOR TOKENS
54
+ * ---------------------------------------------------------------------------
55
+ * `cursor`
56
+ * ===========================================================================
57
+ */
58
+
59
+ /*
60
+ * --------------------------------------------------
61
+ * CURSOR REFERENCE TOKENS
62
+ * --------------------------------------------------
63
+ */
64
+
65
+ @layer pont.tokens {
66
+ :root {
67
+ --pont-ref-cursor-auto: auto;
68
+ --pont-ref-cursor-default: default;
69
+ --pont-ref-cursor-pointer: pointer;
70
+ --pont-ref-cursor-wait: wait;
71
+ --pont-ref-cursor-text: text;
72
+ --pont-ref-cursor-move: move;
73
+ --pont-ref-cursor-help: help;
74
+ --pont-ref-cursor-not-allowed: not-allowed;
75
+ --pont-ref-cursor-none: none;
76
+ --pont-ref-cursor-context-menu: context-menu;
77
+ --pont-ref-cursor-progress: progress;
78
+ --pont-ref-cursor-cell: cell;
79
+ --pont-ref-cursor-crosshair: crosshair;
80
+ --pont-ref-cursor-vertical-text: vertical-text;
81
+ --pont-ref-cursor-alias: alias;
82
+ --pont-ref-cursor-copy: copy;
83
+ --pont-ref-cursor-no-drop: no-drop;
84
+ --pont-ref-cursor-grab: grab;
85
+ --pont-ref-cursor-grabbing: grabbing;
86
+ --pont-ref-cursor-all-scroll: all-scroll;
87
+ --pont-ref-cursor-col-resize: col-resize;
88
+ --pont-ref-cursor-row-resize: row-resize;
89
+ --pont-ref-cursor-n-resize: n-resize;
90
+ --pont-ref-cursor-e-resize: e-resize;
91
+ --pont-ref-cursor-s-resize: s-resize;
92
+ --pont-ref-cursor-w-resize: w-resize;
93
+ --pont-ref-cursor-ne-resize: ne-resize;
94
+ --pont-ref-cursor-nw-resize: nw-resize;
95
+ --pont-ref-cursor-se-resize: se-resize;
96
+ --pont-ref-cursor-sw-resize: sw-resize;
97
+ --pont-ref-cursor-ew-resize: ew-resize;
98
+ --pont-ref-cursor-ns-resize: ns-resize;
99
+ --pont-ref-cursor-nesw-resize: nesw-resize;
100
+ --pont-ref-cursor-nwse-resize: nwse-resize;
101
+ --pont-ref-cursor-zoom-in: zoom-in;
102
+ --pont-ref-cursor-zoom-out: zoom-out;
103
+ }
104
+ }
105
+
106
+ /*
107
+ * --------------------------------------------------
108
+ * CURSOR SEMANTIC TOKENS
109
+ * --------------------------------------------------
110
+ */
111
+
112
+ @layer pont.tokens {
113
+ :root {
114
+ /*
115
+ * Roles, not components: a brand that wants the hand cursor on every
116
+ * pressable control sets -interactive once. `default` is shadcn's
117
+ * (Tailwind v4) choice for buttons and controls.
118
+ */
119
+
120
+ /* Pressable controls: button, tabs trigger, checkbox, radio, switch, slider thumb */
121
+ --pont-sem-cursor-interactive: var(--pont-ref-cursor-default);
122
+ /* Options in a list: combobox, dropdown menu and select items */
123
+ --pont-sem-cursor-item: var(--pont-ref-cursor-default);
124
+ /* Areas that focus a text field: input-group addon, OTP slots, combobox chips */
125
+ --pont-sem-cursor-text: var(--pont-ref-cursor-text);
126
+ /* Drag handles: the drawer handle */
127
+ --pont-sem-cursor-grab: var(--pont-ref-cursor-grab);
128
+ /* Every disabled control and its label */
129
+ --pont-sem-cursor-disabled: var(--pont-ref-cursor-not-allowed);
130
+ }
131
+ }
132
+
133
+ /* ./dimension.css */
134
+ /*
135
+ * ===========================================================================
136
+ * DIMENSION TOKENS
137
+ * ===========================================================================
138
+ */
139
+
140
+ @layer pont.tokens {
141
+ :root {
142
+ --pont-ref-dimension: 0.25rem;
143
+ }
144
+ }
145
+
146
+ /*
147
+ * ---------------------------------------------------------------------------
148
+ * DIMENSION SIZE TOKENS
149
+ * ---------------------------------------------------------------------------
150
+ * `width`, `height`, `min-width`, `max-width`, `min-height`, `max-height`,
151
+ * `box-size`, `flex-basis`
152
+ * ---------------------------------------------------------------------------
153
+ */
154
+
155
+ /*
156
+ * --------------------------------------------------
157
+ * DIMENSION SIZE REFERENCE TOKENS
158
+ * --------------------------------------------------
159
+ */
160
+
161
+ @layer pont.tokens {
162
+ :root {
163
+ --pont-ref-dimension-size-auto: auto;
164
+ --pont-ref-dimension-size-none: none;
165
+ --pont-ref-dimension-size-px: 1px;
166
+ --pont-ref-dimension-size-full: 100%;
167
+ --pont-ref-dimension-size-min: min-content;
168
+ --pont-ref-dimension-size-max: max-content;
169
+ --pont-ref-dimension-size-fit: fit-content;
170
+
171
+ --pont-ref-dimension-size-dvw: 100dvw;
172
+ --pont-ref-dimension-size-dvh: 100dvh;
173
+ --pont-ref-dimension-size-lvw: 100lvw;
174
+ --pont-ref-dimension-size-lvh: 100lvh;
175
+ --pont-ref-dimension-size-svw: 100svw;
176
+ --pont-ref-dimension-size-svh: 100svh;
177
+ --pont-ref-dimension-size-vw: 100vw;
178
+ --pont-ref-dimension-size-vh: 100vh;
179
+ --pont-ref-dimension-size-lh: 1lh;
180
+
181
+ --pont-ref-dimension-size-3xs: 16rem;
182
+ --pont-ref-dimension-size-2xs: 18rem;
183
+ --pont-ref-dimension-size-xs: 20rem;
184
+ --pont-ref-dimension-size-sm: 24rem;
185
+ --pont-ref-dimension-size-md: 28rem;
186
+ --pont-ref-dimension-size-lg: 32rem;
187
+ --pont-ref-dimension-size-xl: 36rem;
188
+ --pont-ref-dimension-size-2xl: 42rem;
189
+ --pont-ref-dimension-size-3xl: 48rem;
190
+ --pont-ref-dimension-size-4xl: 56rem;
191
+ --pont-ref-dimension-size-5xl: 64rem;
192
+ --pont-ref-dimension-size-6xl: 72rem;
193
+ --pont-ref-dimension-size-7xl: 80rem;
194
+ }
195
+ }
196
+
197
+ /*
198
+ * --------------------------------------------------
199
+ * DIMENSION SIZE SEMANTIC TOKENS
200
+ * --------------------------------------------------
201
+ */
202
+
203
+ @layer pont.tokens {
204
+ :root {
205
+ /* Default size (width/height) */
206
+ --pont-sem-dimension-size: var(--pont-ref-dimension-size-auto);
207
+
208
+ /* Default min size (min-width/min-height) */
209
+ --pont-sem-dimension-size-min: var(--pont-ref-dimension-size-auto);
210
+ /* Default max size (max-width/max-height) */
211
+ --pont-sem-dimension-size-max: var(--pont-ref-dimension-size-none);
212
+
213
+ --pont-sem-dimension-size-width-screen: var(--pont-ref-dimension-size-vw);
214
+ --pont-sem-dimension-size-height-screen: var(--pont-ref-dimension-size-vh);
215
+ }
216
+ }
217
+
218
+ /*
219
+ * ---------------------------------------------------------------------------
220
+ * DIMENSION SPACE TOKENS
221
+ * ---------------------------------------------------------------------------
222
+ * `padding`, `gap`, `top`, `right`, `bottom`, `left`, `inset`,
223
+ * `scroll-margin`, `scroll-padding`, `text-indent`, `outline-offset`
224
+ * ---------------------------------------------------------------------------
225
+ */
226
+
227
+ /*
228
+ * --------------------------------------------------
229
+ * DIMENSION SPACE REFERENCE TOKENS
230
+ * --------------------------------------------------
231
+ */
232
+
233
+ @layer pont.tokens {
234
+ :root {
235
+ --pont-ref-dimension-space-auto: auto;
236
+ --pont-ref-dimension-space-px: 1px;
237
+ --pont-ref-dimension-space-full: 100%;
238
+ }
239
+ }
240
+
241
+ /*
242
+ * --------------------------------------------------
243
+ * DIMENSION SPACE SEMANTIC TOKENS
244
+ * --------------------------------------------------
245
+ */
246
+
247
+ @layer pont.tokens {
248
+ :root {
249
+ /* Default inset/top/right/bottom/left */
250
+ --pont-sem-dimension-space-inset: var(--pont-ref-dimension-space-auto);
251
+ }
252
+ }
253
+
254
+ /* ./filter.css */
255
+ /*
256
+ * ===========================================================================
257
+ * FILTER TOKENS
258
+ * ---------------------------------------------------------------------------
259
+ * `filter`, `backdrop-filter`
260
+ * ===========================================================================
261
+ */
262
+
263
+ /*
264
+ * ---------------------------------------------------------------------------
265
+ * FILTER BLUR TOKENS
266
+ * ---------------------------------------------------------------------------
267
+ * length value arg for `blur()`
268
+ * ---------------------------------------------------------------------------
269
+ */
270
+
271
+ /*
272
+ * --------------------------------------------------
273
+ * FILTER BLUR REFERENCE TOKENS
274
+ * --------------------------------------------------
275
+ */
276
+
277
+ @layer pont.tokens {
278
+ :root {
279
+ /* Anchor/seed value */
280
+ --pont-ref-filter-blur: 1px;
281
+
282
+ /* Derived values */
283
+ --pont-ref-filter-blur-xs: calc(var(--pont-ref-filter-blur) * 4);
284
+ --pont-ref-filter-blur-sm: calc(var(--pont-ref-filter-blur) * 8);
285
+ --pont-ref-filter-blur-md: calc(var(--pont-ref-filter-blur) * 12);
286
+ --pont-ref-filter-blur-lg: calc(var(--pont-ref-filter-blur) * 16);
287
+ --pont-ref-filter-blur-xl: calc(var(--pont-ref-filter-blur) * 24);
288
+ --pont-ref-filter-blur-2xl: calc(var(--pont-ref-filter-blur) * 40);
289
+ --pont-ref-filter-blur-3xl: calc(var(--pont-ref-filter-blur) * 64);
290
+
291
+ /* Special values */
292
+ --pont-ref-filter-blur-none: 0;
293
+ }
294
+ }
295
+
296
+ /* ./layout.css */
297
+ /*
298
+ * ===========================================================================
299
+ * LAYOUT TOKENS
300
+ * ===========================================================================
301
+ */
302
+
303
+ /*
304
+ * ---------------------------------------------------------------------------
305
+ * LAYOUT ASPECT TOKENS
306
+ * ---------------------------------------------------------------------------
307
+ * `aspect-ratio`
308
+ * ---------------------------------------------------------------------------
309
+ */
310
+
311
+ /*
312
+ * --------------------------------------------------
313
+ * LAYOUT ASPECT REFERENCE TOKENS
314
+ * --------------------------------------------------
315
+ */
316
+
317
+ @layer pont.tokens {
318
+ :root {
319
+ --pont-ref-layout-aspect-auto: auto;
320
+
321
+ --pont-ref-layout-aspect-square: 1 / 1;
322
+ --pont-ref-layout-aspect-video: 16 / 9;
323
+ }
324
+ }
325
+
48
326
  /* ./opacity.css */
49
327
  /*
50
328
  * ===========================================================================
@@ -120,6 +398,195 @@
120
398
  }
121
399
  }
122
400
 
401
+ /* ./typography.css */
402
+ /*
403
+ * ===========================================================================
404
+ * TYPOGRAPHY TOKENS
405
+ * ===========================================================================
406
+ */
407
+
408
+ /*
409
+ * ---------------------------------------------------------------------------
410
+ * TYPOGRAPHY FONT TOKENS
411
+ * ---------------------------------------------------------------------------
412
+ * `font-family`
413
+ * ---------------------------------------------------------------------------
414
+ */
415
+
416
+ /*
417
+ * --------------------------------------------------
418
+ * TYPOGRAPHY FONT REFERENCE TOKENS
419
+ * --------------------------------------------------
420
+ */
421
+
422
+ @layer pont.tokens {
423
+ :root {
424
+ --pont-ref-typography-font-sans:
425
+ -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
426
+ "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
427
+ "Segoe UI Symbol", "Noto Color Emoji";
428
+
429
+ --pont-ref-typography-font-serif:
430
+ ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
431
+
432
+ --pont-ref-typography-font-mono:
433
+ ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
434
+ "Courier New", monospace;
435
+ }
436
+ }
437
+
438
+ /*
439
+ * --------------------------------------------------
440
+ * TYPOGRAPHY FONT SEMANTIC TOKENS
441
+ * --------------------------------------------------
442
+ */
443
+
444
+ @layer pont.tokens {
445
+ :root {
446
+ --pont-sem-typography-font-body: var(--pont-ref-typography-font-sans);
447
+ --pont-sem-typography-font-heading: var(--pont-ref-typography-font-sans);
448
+ --pont-sem-typography-font-code: var(--pont-ref-typography-font-mono);
449
+ }
450
+ }
451
+
452
+ /*
453
+ * ---------------------------------------------------------------------------
454
+ * TYPOGRAPHY SIZE TOKENS
455
+ * ---------------------------------------------------------------------------
456
+ * `font-size`
457
+ * ---------------------------------------------------------------------------
458
+ */
459
+
460
+ /*
461
+ * --------------------------------------------------
462
+ * TYPOGRAPHY SIZE REFERENCE TOKENS
463
+ * --------------------------------------------------
464
+ */
465
+
466
+ @layer pont.tokens {
467
+ :root {
468
+ --pont-ref-typography-size-xs: 0.75rem;
469
+ --pont-ref-typography-size-sm: 0.875rem;
470
+ --pont-ref-typography-size-base: 1rem;
471
+ --pont-ref-typography-size-lg: 1.125rem;
472
+ --pont-ref-typography-size-xl: 1.25rem;
473
+ --pont-ref-typography-size-2xl: 1.5rem;
474
+ --pont-ref-typography-size-3xl: 1.875rem;
475
+ --pont-ref-typography-size-4xl: 2.25rem;
476
+ --pont-ref-typography-size-5xl: 3rem;
477
+ --pont-ref-typography-size-6xl: 3.75rem;
478
+ --pont-ref-typography-size-7xl: 4.5rem;
479
+ --pont-ref-typography-size-8xl: 6rem;
480
+ --pont-ref-typography-size-9xl: 8rem;
481
+ }
482
+ }
483
+
484
+ /*
485
+ * ---------------------------------------------------------------------------
486
+ * TYPOGRAPHY WEIGHT TOKENS
487
+ * ---------------------------------------------------------------------------
488
+ * `font-weight`
489
+ * ---------------------------------------------------------------------------
490
+ */
491
+
492
+ /*
493
+ * --------------------------------------------------
494
+ * TYPOGRAPHY WEIGHT REFERENCE TOKENS
495
+ * --------------------------------------------------
496
+ */
497
+
498
+ @layer pont.tokens {
499
+ :root {
500
+ --pont-ref-typography-weight-thin: 100;
501
+ --pont-ref-typography-weight-extralight: 200;
502
+ --pont-ref-typography-weight-light: 300;
503
+ --pont-ref-typography-weight-normal: 400;
504
+ --pont-ref-typography-weight-medium: 500;
505
+ --pont-ref-typography-weight-semibold: 600;
506
+ --pont-ref-typography-weight-bold: 700;
507
+ --pont-ref-typography-weight-extrabold: 800;
508
+ --pont-ref-typography-weight-black: 900;
509
+ }
510
+ }
511
+
512
+ /*
513
+ * ---------------------------------------------------------------------------
514
+ * TYPOGRAPHY TRACKING TOKENS
515
+ * ---------------------------------------------------------------------------
516
+ * `letter-spacing`
517
+ * ---------------------------------------------------------------------------
518
+ */
519
+
520
+ /*
521
+ * --------------------------------------------------
522
+ * TYPOGRAPHY TRACKING REFERENCE TOKENS
523
+ * --------------------------------------------------
524
+ */
525
+
526
+ @layer pont.tokens {
527
+ :root {
528
+ --pont-ref-typography-tracking: 0.01em;
529
+
530
+ --pont-ref-typography-tracking-tighter: calc(
531
+ var(--pont-ref-typography-tracking) * -5
532
+ );
533
+ --pont-ref-typography-tracking-tight: calc(
534
+ var(--pont-ref-typography-tracking) * -2.5
535
+ );
536
+ --pont-ref-typography-tracking-normal: calc(
537
+ var(--pont-ref-typography-tracking) * 0
538
+ );
539
+ --pont-ref-typography-tracking-wide: calc(
540
+ var(--pont-ref-typography-tracking) * 2.5
541
+ );
542
+ --pont-ref-typography-tracking-wider: calc(
543
+ var(--pont-ref-typography-tracking) * 5
544
+ );
545
+ --pont-ref-typography-tracking-widest: calc(
546
+ var(--pont-ref-typography-tracking) * 10
547
+ );
548
+ }
549
+ }
550
+
551
+ /*
552
+ * ---------------------------------------------------------------------------
553
+ * TYPOGRAPHY LEADING TOKENS
554
+ * ---------------------------------------------------------------------------
555
+ * `line-height`
556
+ * ---------------------------------------------------------------------------
557
+ */
558
+
559
+ /*
560
+ * --------------------------------------------------
561
+ * TYPOGRAPHY LEADING REFERENCE TOKENS
562
+ * --------------------------------------------------
563
+ */
564
+
565
+ @layer pont.tokens {
566
+ :root {
567
+ --pont-ref-typography-leading-none: 1;
568
+ --pont-ref-typography-leading-tight: 1.25;
569
+ --pont-ref-typography-leading-snug: 1.375;
570
+ --pont-ref-typography-leading-normal: 1.5;
571
+ --pont-ref-typography-leading-relaxed: 1.625;
572
+ --pont-ref-typography-leading-loose: 2;
573
+
574
+ --pont-ref-typography-leading-of-xs: calc(1 / 0.75);
575
+ --pont-ref-typography-leading-of-sm: calc(1.25 / 0.875);
576
+ --pont-ref-typography-leading-of-base: calc(1.5 / 1);
577
+ --pont-ref-typography-leading-of-lg: calc(1.75 / 1.125);
578
+ --pont-ref-typography-leading-of-xl: calc(1.75 / 1.25);
579
+ --pont-ref-typography-leading-of-2xl: calc(2 / 1.5);
580
+ --pont-ref-typography-leading-of-3xl: calc(2.25 / 1.875);
581
+ --pont-ref-typography-leading-of-4xl: calc(2.5 / 2.25);
582
+ --pont-ref-typography-leading-of-5xl: 1;
583
+ --pont-ref-typography-leading-of-6xl: 1;
584
+ --pont-ref-typography-leading-of-7xl: 1;
585
+ --pont-ref-typography-leading-of-8xl: 1;
586
+ --pont-ref-typography-leading-of-9xl: 1;
587
+ }
588
+ }
589
+
123
590
  /* ./ref/color.css */
124
591
  /*
125
592
  * ===========================================================================
@@ -548,47 +1015,6 @@
548
1015
  }
549
1016
  }
550
1017
 
551
- /* ./ref/spacing.css */
552
- /*
553
- * ===========================================================================
554
- * SPACING REFERENCE TOKENS
555
- * ===========================================================================
556
- */
557
-
558
- @layer pont.tokens {
559
- :root {
560
- --pont-ref-spacing: 0.25rem;
561
- }
562
- }
563
-
564
- /* ./ref/typography.css */
565
- /*
566
- * ===========================================================================
567
- * TYPOGRAPHY REFERENCE TOKENS
568
- * ===========================================================================
569
- */
570
-
571
-
572
-
573
-
574
- @layer pont.tokens {
575
- :root {
576
- --pont-ref-font-sans:
577
- -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
578
- "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
579
- "Segoe UI Symbol", "Noto Color Emoji";
580
- --pont-ref-font-serif:
581
- ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
582
- --pont-ref-font-mono:
583
- ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
584
- "Courier New", monospace;
585
-
586
- --pont-ref-font-geist: "Geist", sans-serif;
587
- --pont-ref-font-inter: "Inter", sans-serif;
588
- --pont-ref-font-geist-mono: "Geist Mono", monospace;
589
- }
590
- }
591
-
592
1018
  /* ./sem/color.css */
593
1019
  /*
594
1020
  * sem · colour roles: shadcn's set plus pont's status colours, built on the
@@ -730,21 +1156,6 @@
730
1156
  }
731
1157
  }
732
1158
 
733
- /* ./sem/layout.css */
734
- /*
735
- * ===========================================================================
736
- * LAYOUT SEMANTIC TOKENS
737
- * ===========================================================================
738
- */
739
-
740
- @layer pont.tokens {
741
- :root {
742
- --pont-sem-aspect-square: 1 / 1;
743
- --pont-sem-aspect-video: 16 / 9;
744
- --pont-sem-aspect-auto: auto;
745
- }
746
- }
747
-
748
1159
  /* ./sem/mode.css */
749
1160
  /*
750
1161
  * sem · mode switches: non-colour values that follow the colour scheme
@@ -877,97 +1288,6 @@
877
1288
  }
878
1289
  }
879
1290
 
880
- /* ./sem/spacing.css */
881
- /*
882
- * ===========================================================================
883
- * SPACING SEMANTIC TOKENS
884
- * ===========================================================================
885
- */
886
-
887
- @layer pont.tokens {
888
- :root {
889
- --pont-sem-container-3xs: 16rem;
890
- --pont-sem-container-2xs: 18rem;
891
- --pont-sem-container-xs: 20rem;
892
- --pont-sem-container-sm: 24rem;
893
- --pont-sem-container-md: 28rem;
894
- --pont-sem-container-lg: 32rem;
895
- --pont-sem-container-xl: 36rem;
896
- --pont-sem-container-2xl: 42rem;
897
- --pont-sem-container-3xl: 48rem;
898
- --pont-sem-container-4xl: 56rem;
899
- --pont-sem-container-5xl: 64rem;
900
- --pont-sem-container-6xl: 72rem;
901
- --pont-sem-container-7xl: 80rem;
902
- }
903
- }
904
-
905
- /* ./sem/typography.css */
906
- /*
907
- * ===========================================================================
908
- * TYPOGRAPHY SEMANTIC TOKENS
909
- * ===========================================================================
910
- */
911
-
912
- @layer pont.tokens {
913
- :root {
914
- --pont-sem-font-body: var(--pont-ref-font-geist);
915
- --pont-sem-font-heading: var(--pont-ref-font-geist);
916
- --pont-sem-font-code: var(--pont-ref-font-geist-mono);
917
-
918
- --pont-sem-text-xs: 0.75rem;
919
- --pont-sem-text-xs--line-height: calc(1 / 0.75);
920
- --pont-sem-text-sm: 0.875rem;
921
- --pont-sem-text-sm--line-height: calc(1.25 / 0.875);
922
- --pont-sem-text-base: 1rem;
923
- --pont-sem-text-base--line-height: calc(1.5 / 1);
924
- --pont-sem-text-lg: 1.125rem;
925
- --pont-sem-text-lg--line-height: calc(1.75 / 1.125);
926
- --pont-sem-text-xl: 1.25rem;
927
- --pont-sem-text-xl--line-height: calc(1.75 / 1.25);
928
- --pont-sem-text-2xl: 1.5rem;
929
- --pont-sem-text-2xl--line-height: calc(2 / 1.5);
930
- --pont-sem-text-3xl: 1.875rem;
931
- --pont-sem-text-3xl--line-height: calc(2.25 / 1.875);
932
- --pont-sem-text-4xl: 2.25rem;
933
- --pont-sem-text-4xl--line-height: calc(2.5 / 2.25);
934
- --pont-sem-text-5xl: 3rem;
935
- --pont-sem-text-5xl--line-height: 1;
936
- --pont-sem-text-6xl: 3.75rem;
937
- --pont-sem-text-6xl--line-height: 1;
938
- --pont-sem-text-7xl: 4.5rem;
939
- --pont-sem-text-7xl--line-height: 1;
940
- --pont-sem-text-8xl: 6rem;
941
- --pont-sem-text-8xl--line-height: 1;
942
- --pont-sem-text-9xl: 8rem;
943
- --pont-sem-text-9xl--line-height: 1;
944
-
945
- --pont-sem-font-weight-thin: 100;
946
- --pont-sem-font-weight-extralight: 200;
947
- --pont-sem-font-weight-light: 300;
948
- --pont-sem-font-weight-normal: 400;
949
- --pont-sem-font-weight-medium: 500;
950
- --pont-sem-font-weight-semibold: 600;
951
- --pont-sem-font-weight-bold: 700;
952
- --pont-sem-font-weight-extrabold: 800;
953
- --pont-sem-font-weight-black: 900;
954
-
955
- --pont-sem-tracking-tighter: -0.05em;
956
- --pont-sem-tracking-tight: -0.025em;
957
- --pont-sem-tracking-normal: 0em;
958
- --pont-sem-tracking-wide: 0.025em;
959
- --pont-sem-tracking-wider: 0.05em;
960
- --pont-sem-tracking-widest: 0.1em;
961
-
962
- --pont-sem-leading-none: 1;
963
- --pont-sem-leading-tight: 1.25;
964
- --pont-sem-leading-snug: 1.375;
965
- --pont-sem-leading-normal: 1.5;
966
- --pont-sem-leading-relaxed: 1.625;
967
- --pont-sem-leading-loose: 2;
968
- }
969
- }
970
-
971
1291
  /* ./base.css */
972
1292
  /*
973
1293
  * pont base: the machinery every component recipe shares.
@@ -1091,7 +1411,7 @@
1091
1411
  /** @token Corner radius */
1092
1412
  --_pont-button-radius: var(--pont-button-radius, var(--pont-ref-radius-md));
1093
1413
  /** @token Label weight */
1094
- --_pont-button-font-weight: var(--pont-button-font-weight, var(--pont-sem-font-weight-medium));
1414
+ --_pont-button-font-weight: var(--pont-button-font-weight, var(--pont-ref-typography-weight-medium));
1095
1415
  /* Set per variant below; declared here so nothing is inherited from an ancestor. */
1096
1416
  --_pont-button-bg: transparent;
1097
1417
  --_pont-button-fg: currentcolor;
@@ -1163,7 +1483,7 @@
1163
1483
  margin: 0;
1164
1484
  font-family: inherit;
1165
1485
  text-decoration: none;
1166
- cursor: default;
1486
+ cursor: var(--pont-sem-cursor-interactive);
1167
1487
  -webkit-appearance: none;
1168
1488
  appearance: none;
1169
1489
 
@@ -1185,8 +1505,8 @@
1185
1505
  background-clip: padding-box;
1186
1506
  background-color: var(--_pont-button-bg);
1187
1507
  color: var(--_pont-button-fg);
1188
- font-size: var(--pont-sem-text-sm);
1189
- line-height: var(--pont-sem-text-sm--line-height);
1508
+ font-size: var(--pont-ref-typography-size-sm);
1509
+ line-height: var(--pont-ref-typography-leading-of-sm);
1190
1510
  font-weight: var(--_pont-button-font-weight);
1191
1511
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
1192
1512
  }
@@ -1262,8 +1582,8 @@
1262
1582
  gap: 0.25rem;
1263
1583
  padding: 0 0.5rem;
1264
1584
  border-radius: min(var(--_pont-button-radius), 8px);
1265
- font-size: var(--pont-sem-text-xs);
1266
- line-height: var(--pont-sem-text-xs--line-height);
1585
+ font-size: var(--pont-ref-typography-size-xs);
1586
+ line-height: var(--pont-ref-typography-leading-of-xs);
1267
1587
  }
1268
1588
  [data-pont-button][data-size="xs"]:has([data-icon="inline-end"]) {
1269
1589
  padding-right: 0.375rem;
@@ -1355,13 +1675,13 @@
1355
1675
  margin: 0;
1356
1676
  border: 0;
1357
1677
  background-color: var(--_pont-separator-bg);
1358
- height: 1px;
1359
- width: 100%;
1678
+ height: var(--pont-ref-dimension-size-px);
1679
+ width: var(--pont-ref-dimension-size-full);
1360
1680
  }
1361
1681
 
1362
1682
  :is(pont-prim-separator, pont-separator, [data-pont-separator]):is([data-orientation="vertical"], [orientation="vertical"]) {
1363
- width: 1px;
1364
- height: auto;
1683
+ width: var(--pont-ref-dimension-size-px);
1684
+ height: var(--pont-sem-dimension-size);
1365
1685
  align-self: stretch;
1366
1686
  }
1367
1687
  }
@@ -1380,9 +1700,9 @@
1380
1700
  @layer pont.primitives {
1381
1701
  [data-pont-label] {
1382
1702
  /** @token Text size */
1383
- --_pont-label-font-size: var(--pont-label-font-size, var(--pont-sem-text-sm));
1703
+ --_pont-label-font-size: var(--pont-label-font-size, var(--pont-ref-typography-size-sm));
1384
1704
  /** @token Weight */
1385
- --_pont-label-font-weight: var(--pont-label-font-weight, var(--pont-sem-font-weight-medium));
1705
+ --_pont-label-font-weight: var(--pont-label-font-weight, var(--pont-ref-typography-weight-medium));
1386
1706
  }
1387
1707
 
1388
1708
  [data-pont-label] {
@@ -1393,7 +1713,7 @@
1393
1713
  gap: 0.5rem;
1394
1714
  user-select: none;
1395
1715
  font-size: var(--_pont-label-font-size);
1396
- line-height: var(--pont-sem-leading-none);
1716
+ line-height: var(--pont-ref-typography-leading-none);
1397
1717
  font-weight: var(--_pont-label-font-weight);
1398
1718
  }
1399
1719
 
@@ -1408,7 +1728,7 @@
1408
1728
  has no box, but it is still the DOM sibling. */
1409
1729
  :is(:disabled, [data-disabled]) ~ [data-pont-label],
1410
1730
  :is(:disabled, [data-disabled]) ~ [data-pont-shell] > [data-pont-label] {
1411
- cursor: not-allowed;
1731
+ cursor: var(--pont-sem-cursor-disabled);
1412
1732
  opacity: var(--pont-sem-opacity-disabled);
1413
1733
  }
1414
1734
  }
@@ -1448,15 +1768,15 @@
1448
1768
  -webkit-appearance: none;
1449
1769
  appearance: none;
1450
1770
 
1451
- width: 100%;
1771
+ width: var(--pont-ref-dimension-size-full);
1452
1772
  min-width: 0;
1453
1773
  height: var(--_pont-input-height);
1454
1774
  padding: 0.25rem 0.625rem;
1455
1775
  border: var(--pont-sem-border-width) solid var(--_pont-input-border-color);
1456
1776
  border-radius: var(--_pont-input-radius);
1457
1777
  background-color: var(--_pont-input-bg);
1458
- font-size: var(--pont-sem-text-base);
1459
- line-height: var(--pont-sem-text-base--line-height);
1778
+ font-size: var(--pont-ref-typography-size-base);
1779
+ line-height: var(--pont-ref-typography-leading-of-base);
1460
1780
  outline: none;
1461
1781
  --pont-shadow: var(--pont-sem-shadow-xs);
1462
1782
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
@@ -1467,8 +1787,8 @@
1467
1787
 
1468
1788
  @media (width >= 48rem) {
1469
1789
  [data-pont-input] {
1470
- font-size: var(--pont-sem-text-sm);
1471
- line-height: var(--pont-sem-text-sm--line-height);
1790
+ font-size: var(--pont-ref-typography-size-sm);
1791
+ line-height: var(--pont-ref-typography-leading-of-sm);
1472
1792
  }
1473
1793
  }
1474
1794
 
@@ -1484,9 +1804,9 @@
1484
1804
  background-color: transparent;
1485
1805
  color: var(--pont-sem-color-foreground);
1486
1806
  font: inherit;
1487
- font-size: var(--pont-sem-text-sm);
1488
- line-height: var(--pont-sem-text-sm--line-height);
1489
- font-weight: var(--pont-sem-font-weight-medium);
1807
+ font-size: var(--pont-ref-typography-size-sm);
1808
+ line-height: var(--pont-ref-typography-leading-of-sm);
1809
+ font-weight: var(--pont-ref-typography-weight-medium);
1490
1810
  }
1491
1811
 
1492
1812
  [data-pont-input]:focus-visible {
@@ -1501,7 +1821,7 @@
1501
1821
 
1502
1822
  [data-pont-input]:disabled {
1503
1823
  pointer-events: none;
1504
- cursor: not-allowed;
1824
+ cursor: var(--pont-sem-cursor-disabled);
1505
1825
  opacity: var(--pont-sem-opacity-disabled);
1506
1826
  }
1507
1827
  }
@@ -1540,13 +1860,13 @@
1540
1860
  display: flex;
1541
1861
  field-sizing: content;
1542
1862
  min-height: 4rem;
1543
- width: 100%;
1863
+ width: var(--pont-ref-dimension-size-full);
1544
1864
  padding: 0.5rem 0.625rem;
1545
1865
  border: var(--pont-sem-border-width) solid var(--_pont-textarea-border-color);
1546
1866
  border-radius: var(--_pont-textarea-radius);
1547
1867
  background-color: var(--_pont-textarea-bg);
1548
- font-size: var(--pont-sem-text-base);
1549
- line-height: var(--pont-sem-text-base--line-height);
1868
+ font-size: var(--pont-ref-typography-size-base);
1869
+ line-height: var(--pont-ref-typography-leading-of-base);
1550
1870
  outline: none;
1551
1871
  --pont-shadow: var(--pont-sem-shadow-xs);
1552
1872
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
@@ -1557,8 +1877,8 @@
1557
1877
 
1558
1878
  @media (width >= 48rem) {
1559
1879
  [data-pont-textarea] {
1560
- font-size: var(--pont-sem-text-sm);
1561
- line-height: var(--pont-sem-text-sm--line-height);
1880
+ font-size: var(--pont-ref-typography-size-sm);
1881
+ line-height: var(--pont-ref-typography-leading-of-sm);
1562
1882
  }
1563
1883
  }
1564
1884
 
@@ -1578,7 +1898,7 @@
1578
1898
  }
1579
1899
 
1580
1900
  [data-pont-textarea]:disabled {
1581
- cursor: not-allowed;
1901
+ cursor: var(--pont-sem-cursor-disabled);
1582
1902
  opacity: var(--pont-sem-opacity-disabled);
1583
1903
  }
1584
1904
  }
@@ -1615,6 +1935,7 @@
1615
1935
  }
1616
1936
 
1617
1937
  :is(pont-prim-checkbox, pont-checkbox, [data-pont-checkbox]) {
1938
+ cursor: var(--pont-sem-cursor-interactive);
1618
1939
  box-sizing: border-box;
1619
1940
  position: relative;
1620
1941
  flex-shrink: 0;
@@ -1662,7 +1983,7 @@
1662
1983
  }
1663
1984
 
1664
1985
  [data-pont-checkbox]:is(:disabled, [data-disabled]) {
1665
- cursor: not-allowed;
1986
+ cursor: var(--pont-sem-cursor-disabled);
1666
1987
  opacity: var(--pont-sem-opacity-disabled);
1667
1988
  }
1668
1989
 
@@ -1718,7 +2039,7 @@
1718
2039
  /** @token Corner radius */
1719
2040
  --_pont-badge-radius: var(--pont-badge-radius, var(--pont-ref-radius-4xl));
1720
2041
  /** @token Label weight */
1721
- --_pont-badge-font-weight: var(--pont-badge-font-weight, var(--pont-sem-font-weight-medium));
2042
+ --_pont-badge-font-weight: var(--pont-badge-font-weight, var(--pont-ref-typography-weight-medium));
1722
2043
  /** @token Height */
1723
2044
  --_pont-badge-height: var(--pont-badge-height, 1.25rem);
1724
2045
  /** @token Background */
@@ -1785,7 +2106,7 @@
1785
2106
  text-decoration: none;
1786
2107
 
1787
2108
  display: inline-flex;
1788
- width: fit-content;
2109
+ width: var(--pont-ref-dimension-size-fit);
1789
2110
  flex-shrink: 0;
1790
2111
  align-items: center;
1791
2112
  justify-content: center;
@@ -1796,8 +2117,8 @@
1796
2117
  padding: 0.125rem 0.5rem;
1797
2118
  border: var(--pont-sem-border-width) solid var(--_pont-badge-border-color);
1798
2119
  border-radius: var(--_pont-badge-radius);
1799
- font-size: var(--pont-sem-text-xs);
1800
- line-height: var(--pont-sem-text-xs--line-height);
2120
+ font-size: var(--pont-ref-typography-size-xs);
2121
+ line-height: var(--pont-ref-typography-leading-of-xs);
1801
2122
  font-weight: var(--_pont-badge-font-weight);
1802
2123
  outline: none;
1803
2124
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
@@ -1873,7 +2194,7 @@
1873
2194
  /** @token Height */
1874
2195
  --_pont-kbd-height: var(--pont-kbd-height, 1.25rem);
1875
2196
  /** @token Label weight */
1876
- --_pont-kbd-font-weight: var(--pont-kbd-font-weight, var(--pont-sem-font-weight-medium));
2197
+ --_pont-kbd-font-weight: var(--pont-kbd-font-weight, var(--pont-ref-typography-weight-medium));
1877
2198
  }
1878
2199
 
1879
2200
  /* in-data-[slot=tooltip-content]: the inverted tooltip colours */
@@ -1895,16 +2216,16 @@
1895
2216
  justify-content: center;
1896
2217
  user-select: none;
1897
2218
  height: var(--_pont-kbd-height);
1898
- width: fit-content;
2219
+ width: var(--pont-ref-dimension-size-fit);
1899
2220
  min-width: var(--_pont-kbd-height);
1900
2221
  gap: 0.25rem;
1901
2222
  padding: 0 0.25rem;
1902
2223
  border-radius: var(--_pont-kbd-radius);
1903
2224
  background-color: var(--_pont-kbd-bg);
1904
2225
  color: var(--_pont-kbd-fg);
1905
- font-family: var(--pont-sem-font-body);
1906
- font-size: var(--pont-sem-text-xs);
1907
- line-height: var(--pont-sem-text-xs--line-height);
2226
+ font-family: var(--pont-sem-typography-font-body);
2227
+ font-size: var(--pont-ref-typography-size-xs);
2228
+ line-height: var(--pont-ref-typography-leading-of-xs);
1908
2229
  font-weight: var(--_pont-kbd-font-weight);
1909
2230
  }
1910
2231
 
@@ -2008,7 +2329,7 @@
2008
2329
  /** @token Vertical padding */
2009
2330
  --_pont-alert-padding-y: var(--pont-alert-padding-y, 0.75rem);
2010
2331
  /** @token Title weight */
2011
- --_pont-alert-title-font-weight: var(--pont-alert-title-font-weight, var(--pont-sem-font-weight-medium));
2332
+ --_pont-alert-title-font-weight: var(--pont-alert-title-font-weight, var(--pont-ref-typography-weight-medium));
2012
2333
  /** @token Description text */
2013
2334
  --_pont-alert-description-fg: var(--pont-alert-description-fg, var(--pont-sem-color-muted-foreground));
2014
2335
  }
@@ -2029,15 +2350,15 @@
2029
2350
  box-sizing: border-box;
2030
2351
  position: relative;
2031
2352
  display: grid;
2032
- width: 100%;
2353
+ width: var(--pont-ref-dimension-size-full);
2033
2354
  gap: 0.125rem;
2034
2355
  margin: 0;
2035
2356
  padding: var(--_pont-alert-padding-y) var(--_pont-alert-padding-x);
2036
2357
  border: var(--pont-sem-border-width) solid var(--_pont-alert-border-color);
2037
2358
  border-radius: var(--_pont-alert-radius);
2038
2359
  text-align: left;
2039
- font-size: var(--pont-sem-text-sm);
2040
- line-height: var(--pont-sem-text-sm--line-height);
2360
+ font-size: var(--pont-ref-typography-size-sm);
2361
+ line-height: var(--pont-ref-typography-leading-of-sm);
2041
2362
  background-color: var(--_pont-alert-bg);
2042
2363
  color: var(--_pont-alert-fg);
2043
2364
  }
@@ -2064,7 +2385,7 @@
2064
2385
  :is(pont-prim-alert-title, [data-pont-alert-title]) {
2065
2386
  display: block;
2066
2387
  /* fallbacks: a part used outside an alert */
2067
- font-weight: var(--_pont-alert-title-font-weight, var(--pont-sem-font-weight-medium));
2388
+ font-weight: var(--_pont-alert-title-font-weight, var(--pont-ref-typography-weight-medium));
2068
2389
  }
2069
2390
  :is(pont-prim-alert, [data-pont-alert]):has(> svg) :is(pont-prim-alert-title, [data-pont-alert-title]) {
2070
2391
  grid-column-start: 2;
@@ -2073,8 +2394,8 @@
2073
2394
  :is(pont-prim-alert-description, [data-pont-alert-description]) {
2074
2395
  display: block;
2075
2396
  color: var(--_pont-alert-description-fg, var(--pont-sem-color-muted-foreground));
2076
- font-size: var(--pont-sem-text-sm);
2077
- line-height: var(--pont-sem-text-sm--line-height);
2397
+ font-size: var(--pont-ref-typography-size-sm);
2398
+ line-height: var(--pont-ref-typography-leading-of-sm);
2078
2399
  text-wrap: balance;
2079
2400
  }
2080
2401
  @media (width >= 48rem) {
@@ -2187,10 +2508,10 @@
2187
2508
  :is(pont-prim-avatar, [data-pont-avatar]) > img {
2188
2509
  display: none;
2189
2510
  box-sizing: border-box;
2190
- aspect-ratio: var(--pont-sem-aspect-square);
2191
- width: 100%;
2192
- height: 100%;
2193
- max-width: none;
2511
+ aspect-ratio: var(--pont-ref-layout-aspect-square);
2512
+ width: var(--pont-ref-dimension-size-full);
2513
+ height: var(--pont-ref-dimension-size-full);
2514
+ max-width: var(--pont-sem-dimension-size-max);
2194
2515
  object-fit: cover;
2195
2516
  border-radius: var(--_pont-avatar-radius);
2196
2517
  }
@@ -2202,17 +2523,17 @@
2202
2523
  display: flex;
2203
2524
  align-items: center;
2204
2525
  justify-content: center;
2205
- width: 100%;
2206
- height: 100%;
2526
+ width: var(--pont-ref-dimension-size-full);
2527
+ height: var(--pont-ref-dimension-size-full);
2207
2528
  border-radius: var(--_pont-avatar-radius, var(--pont-ref-radius-full));
2208
2529
  background-color: var(--_pont-avatar-fallback-bg, var(--pont-sem-color-muted));
2209
2530
  color: var(--_pont-avatar-fallback-fg, var(--pont-sem-color-muted-foreground));
2210
- font-size: var(--pont-sem-text-sm);
2211
- line-height: var(--pont-sem-text-sm--line-height);
2531
+ font-size: var(--pont-ref-typography-size-sm);
2532
+ line-height: var(--pont-ref-typography-leading-of-sm);
2212
2533
  }
2213
2534
  [data-pont-avatar][data-size="sm"] :is(pont-prim-avatar-fallback, [data-pont-avatar-fallback]) {
2214
- font-size: var(--pont-sem-text-xs);
2215
- line-height: var(--pont-sem-text-xs--line-height);
2535
+ font-size: var(--pont-ref-typography-size-xs);
2536
+ line-height: var(--pont-ref-typography-leading-of-xs);
2216
2537
  }
2217
2538
  [data-pont-avatar][data-image-loading-status="loaded"] :is(pont-prim-avatar-fallback, [data-pont-avatar-fallback]) {
2218
2539
  display: none;
@@ -2275,8 +2596,8 @@
2275
2596
  border-radius: var(--_pont-avatar-radius);
2276
2597
  background-color: var(--_pont-avatar-fallback-bg);
2277
2598
  color: var(--_pont-avatar-fallback-fg);
2278
- font-size: var(--pont-sem-text-sm);
2279
- line-height: var(--pont-sem-text-sm--line-height);
2599
+ font-size: var(--pont-ref-typography-size-sm);
2600
+ line-height: var(--pont-ref-typography-leading-of-sm);
2280
2601
  box-shadow: 0 0 0 2px var(--pont-sem-color-background);
2281
2602
  }
2282
2603
  :is(pont-prim-avatar-group-count, [data-pont-avatar-group-count]) > svg {
@@ -2336,7 +2657,7 @@
2336
2657
  /** @token Text cell corner radius */
2337
2658
  --_pont-button-group-text-radius: var(--pont-button-group-text-radius, var(--pont-ref-radius-md));
2338
2659
  /** @token Text cell weight */
2339
- --_pont-button-group-text-font-weight: var(--pont-button-group-text-font-weight, var(--pont-sem-font-weight-medium));
2660
+ --_pont-button-group-text-font-weight: var(--pont-button-group-text-font-weight, var(--pont-ref-typography-weight-medium));
2340
2661
  /** @token Separator colour */
2341
2662
  --_pont-button-group-separator-bg: var(--pont-button-group-separator-bg, var(--pont-sem-color-input));
2342
2663
  }
@@ -2348,7 +2669,7 @@
2348
2669
  :is(pont-prim-button-group, [data-pont-button-group]) {
2349
2670
  box-sizing: border-box;
2350
2671
  display: flex;
2351
- width: fit-content;
2672
+ width: var(--pont-ref-dimension-size-fit);
2352
2673
  align-items: stretch;
2353
2674
  }
2354
2675
  :is(pont-prim-button-group, [data-pont-button-group]):has(> [data-slot="button-group"]) {
@@ -2360,7 +2681,7 @@
2360
2681
  z-index: 10;
2361
2682
  }
2362
2683
  :is(pont-prim-button-group, [data-pont-button-group]) > [data-slot="select-trigger"]:not([class*="w-"]) {
2363
- width: fit-content;
2684
+ width: var(--pont-ref-dimension-size-fit);
2364
2685
  }
2365
2686
  :is(pont-prim-button-group, [data-pont-button-group]) > input,
2366
2687
  :is(pont-prim-button-group, [data-pont-button-group]) > [data-pont-shell] > input {
@@ -2411,11 +2732,11 @@
2411
2732
  background-color: var(--_pont-button-group-separator-bg, var(--pont-sem-color-input));
2412
2733
  }
2413
2734
  [data-pont-button-group-separator][data-orientation="vertical"] {
2414
- height: auto;
2735
+ height: var(--pont-sem-dimension-size);
2415
2736
  margin-block: 1px;
2416
2737
  }
2417
2738
  [data-pont-button-group-separator][data-orientation="horizontal"] {
2418
- width: auto;
2739
+ width: var(--pont-sem-dimension-size);
2419
2740
  margin-inline: 1px;
2420
2741
  }
2421
2742
 
@@ -2430,9 +2751,9 @@
2430
2751
  border: var(--pont-sem-border-width) solid var(--_pont-button-group-text-border-color, var(--pont-sem-color-border));
2431
2752
  border-radius: var(--_pont-button-group-text-radius, var(--pont-ref-radius-md));
2432
2753
  background-color: var(--_pont-button-group-text-bg, var(--pont-sem-color-muted));
2433
- font-size: var(--pont-sem-text-sm);
2434
- line-height: var(--pont-sem-text-sm--line-height);
2435
- font-weight: var(--_pont-button-group-text-font-weight, var(--pont-sem-font-weight-medium));
2754
+ font-size: var(--pont-ref-typography-size-sm);
2755
+ line-height: var(--pont-ref-typography-leading-of-sm);
2756
+ font-weight: var(--_pont-button-group-text-font-weight, var(--pont-ref-typography-weight-medium));
2436
2757
  --pont-shadow: var(--pont-sem-shadow-xs);
2437
2758
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
2438
2759
  }
@@ -2509,8 +2830,8 @@
2509
2830
  border-radius: var(--_pont-card-radius);
2510
2831
  background-color: var(--_pont-card-bg);
2511
2832
  color: var(--_pont-card-fg);
2512
- font-size: var(--pont-sem-text-sm);
2513
- line-height: var(--pont-sem-text-sm--line-height);
2833
+ font-size: var(--pont-ref-typography-size-sm);
2834
+ line-height: var(--pont-ref-typography-leading-of-sm);
2514
2835
  --pont-ring-shadow: 0 0 0 var(--pont-sem-border-width) var(--_pont-card-border-color);
2515
2836
  --pont-shadow: var(--_pont-card-shadow);
2516
2837
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
@@ -2551,19 +2872,19 @@
2551
2872
 
2552
2873
  :is(pont-prim-card-title, [data-pont-card-title]) {
2553
2874
  display: block;
2554
- font-size: var(--pont-sem-text-base);
2555
- line-height: var(--pont-sem-leading-normal);
2556
- font-weight: var(--pont-sem-font-weight-medium);
2875
+ font-size: var(--pont-ref-typography-size-base);
2876
+ line-height: var(--pont-ref-typography-leading-normal);
2877
+ font-weight: var(--pont-ref-typography-weight-medium);
2557
2878
  }
2558
2879
  :is(pont-prim-card, [data-pont-card])[data-size="sm"] :is(pont-prim-card-title, [data-pont-card-title]) {
2559
- font-size: var(--pont-sem-text-sm);
2880
+ font-size: var(--pont-ref-typography-size-sm);
2560
2881
  }
2561
2882
 
2562
2883
  :is(pont-prim-card-description, [data-pont-card-description]) {
2563
2884
  display: block;
2564
2885
  color: var(--pont-sem-color-muted-foreground);
2565
- font-size: var(--pont-sem-text-sm);
2566
- line-height: var(--pont-sem-text-sm--line-height);
2886
+ font-size: var(--pont-ref-typography-size-sm);
2887
+ line-height: var(--pont-ref-typography-leading-of-sm);
2567
2888
  }
2568
2889
 
2569
2890
  :is(pont-prim-card-action, [data-pont-card-action]) {
@@ -2640,7 +2961,7 @@
2640
2961
  /** @token Icon colour */
2641
2962
  --_pont-empty-media-icon-fg: var(--pont-empty-media-icon-fg, var(--pont-sem-color-foreground));
2642
2963
  /** @token Title weight */
2643
- --_pont-empty-title-font-weight: var(--pont-empty-title-font-weight, var(--pont-sem-font-weight-medium));
2964
+ --_pont-empty-title-font-weight: var(--pont-empty-title-font-weight, var(--pont-ref-typography-weight-medium));
2644
2965
  /** @token Description text */
2645
2966
  --_pont-empty-description-fg: var(--pont-empty-description-fg, var(--pont-sem-color-muted-foreground));
2646
2967
  }
@@ -2657,7 +2978,7 @@
2657
2978
  align-items: center;
2658
2979
  justify-content: center;
2659
2980
  gap: var(--_pont-empty-gap);
2660
- width: 100%;
2981
+ width: var(--pont-ref-dimension-size-full);
2661
2982
  min-width: 0;
2662
2983
  margin: 0;
2663
2984
  padding: var(--_pont-empty-padding-y) var(--_pont-empty-padding-x);
@@ -2672,7 +2993,7 @@
2672
2993
  flex-direction: column;
2673
2994
  align-items: center;
2674
2995
  gap: 0.5rem;
2675
- max-width: var(--pont-sem-container-sm);
2996
+ max-width: var(--pont-ref-dimension-size-sm);
2676
2997
  }
2677
2998
 
2678
2999
  :is(pont-prim-empty-media, [data-pont-empty-media]) {
@@ -2702,17 +3023,17 @@
2702
3023
 
2703
3024
  :is(pont-prim-empty-title, [data-pont-empty-title]) {
2704
3025
  display: block;
2705
- font-size: var(--pont-sem-text-lg);
2706
- line-height: var(--pont-sem-text-lg--line-height);
2707
- font-weight: var(--_pont-empty-title-font-weight, var(--pont-sem-font-weight-medium));
2708
- letter-spacing: var(--pont-sem-tracking-tight);
3026
+ font-size: var(--pont-ref-typography-size-lg);
3027
+ line-height: var(--pont-ref-typography-leading-of-lg);
3028
+ font-weight: var(--_pont-empty-title-font-weight, var(--pont-ref-typography-weight-medium));
3029
+ letter-spacing: var(--pont-ref-typography-tracking-tight);
2709
3030
  }
2710
3031
 
2711
3032
  :is(pont-prim-empty-description, [data-pont-empty-description]) {
2712
3033
  display: block;
2713
3034
  color: var(--_pont-empty-description-fg, var(--pont-sem-color-muted-foreground));
2714
- font-size: var(--pont-sem-text-sm);
2715
- line-height: var(--pont-sem-leading-relaxed);
3035
+ font-size: var(--pont-ref-typography-size-sm);
3036
+ line-height: var(--pont-ref-typography-leading-relaxed);
2716
3037
  }
2717
3038
  :is(pont-prim-empty-description, [data-pont-empty-description]) > a {
2718
3039
  color: inherit;
@@ -2728,11 +3049,11 @@
2728
3049
  flex-direction: column;
2729
3050
  align-items: center;
2730
3051
  gap: 1rem;
2731
- width: 100%;
2732
- max-width: var(--pont-sem-container-sm);
3052
+ width: var(--pont-ref-dimension-size-full);
3053
+ max-width: var(--pont-ref-dimension-size-sm);
2733
3054
  min-width: 0;
2734
- font-size: var(--pont-sem-text-sm);
2735
- line-height: var(--pont-sem-text-sm--line-height);
3055
+ font-size: var(--pont-ref-typography-size-sm);
3056
+ line-height: var(--pont-ref-typography-leading-of-sm);
2736
3057
  text-wrap: balance;
2737
3058
  }
2738
3059
  }
@@ -2816,13 +3137,13 @@
2816
3137
  [data-pont-field-legend] {
2817
3138
  margin: 0 0 0.75rem;
2818
3139
  padding: 0;
2819
- font-weight: var(--pont-sem-font-weight-medium);
2820
- font-size: var(--pont-sem-text-base);
2821
- line-height: var(--pont-sem-text-base--line-height);
3140
+ font-weight: var(--pont-ref-typography-weight-medium);
3141
+ font-size: var(--pont-ref-typography-size-base);
3142
+ line-height: var(--pont-ref-typography-leading-of-base);
2822
3143
  }
2823
3144
  [data-pont-field-legend][data-variant="label"] {
2824
- font-size: var(--pont-sem-text-sm);
2825
- 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);
2826
3147
  }
2827
3148
 
2828
3149
  /* ---------------- FieldGroup ---------------- */
@@ -2833,7 +3154,7 @@
2833
3154
  display: flex;
2834
3155
  flex-direction: column;
2835
3156
  gap: var(--_pont-field-group-gap);
2836
- width: 100%;
3157
+ width: var(--pont-ref-dimension-size-full);
2837
3158
  }
2838
3159
  :is(pont-prim-field-group, [data-pont-field-group])[data-slot="checkbox-group"] {
2839
3160
  gap: 0.75rem;
@@ -2848,7 +3169,7 @@
2848
3169
  display: flex;
2849
3170
  flex-direction: column;
2850
3171
  gap: var(--_pont-field-gap);
2851
- width: 100%;
3172
+ width: var(--pont-ref-dimension-size-full);
2852
3173
  }
2853
3174
  :is(pont-prim-field, [data-pont-field]):is([data-invalid]:not([data-invalid="false"])) {
2854
3175
  color: var(--_pont-field-fg-invalid);
@@ -2856,10 +3177,10 @@
2856
3177
 
2857
3178
  /* vertical (default) and responsive below @md */
2858
3179
  :is(pont-prim-field, [data-pont-field]):is(:not([data-orientation]), [data-orientation="vertical"], [data-orientation="responsive"]) > * {
2859
- width: 100%;
3180
+ width: var(--pont-ref-dimension-size-full);
2860
3181
  }
2861
3182
  :is(pont-prim-field, [data-pont-field]):is(:not([data-orientation]), [data-orientation="vertical"], [data-orientation="responsive"]) > :is(.sr-only, [data-pont-sr-only]) {
2862
- width: auto;
3183
+ width: var(--pont-sem-dimension-size);
2863
3184
  }
2864
3185
 
2865
3186
  /* horizontal */
@@ -2884,7 +3205,7 @@
2884
3205
  align-items: center;
2885
3206
  }
2886
3207
  [data-pont-field][data-orientation="responsive"] > * {
2887
- width: auto;
3208
+ width: var(--pont-sem-dimension-size);
2888
3209
  }
2889
3210
  [data-pont-field][data-orientation="responsive"]:has(> [data-slot="field-content"]) {
2890
3211
  align-items: flex-start;
@@ -2904,15 +3225,15 @@
2904
3225
  flex: 1 1 0%;
2905
3226
  flex-direction: column;
2906
3227
  gap: 0.25rem;
2907
- line-height: var(--pont-sem-leading-snug);
3228
+ line-height: var(--pont-ref-typography-leading-snug);
2908
3229
  }
2909
3230
 
2910
3231
  /* ---------------- FieldLabel (native label; Label recipe applies too) ---------------- */
2911
3232
  [data-pont-field-label] {
2912
3233
  display: flex;
2913
- width: fit-content;
3234
+ width: var(--pont-ref-dimension-size-fit);
2914
3235
  gap: 0.5rem;
2915
- line-height: var(--pont-sem-leading-snug);
3236
+ line-height: var(--pont-ref-typography-leading-snug);
2916
3237
  }
2917
3238
  [data-pont-field][data-disabled]:not([data-disabled="false"]) [data-pont-field-label],
2918
3239
  [data-pont-field][data-disabled]:not([data-disabled="false"]) [data-pont-field-title] {
@@ -2921,7 +3242,7 @@
2921
3242
 
2922
3243
  /* Choice card: a FieldLabel that wraps a whole Field */
2923
3244
  [data-pont-field-label]:has(> [data-slot="field"]) {
2924
- width: 100%;
3245
+ width: var(--pont-ref-dimension-size-full);
2925
3246
  flex-direction: column;
2926
3247
  border: var(--pont-sem-border-width) solid var(--_pont-field-choice-border-color);
2927
3248
  border-radius: var(--_pont-field-choice-radius);
@@ -2945,12 +3266,12 @@
2945
3266
  /* ---------------- FieldTitle ---------------- */
2946
3267
  :is(pont-prim-field-title, [data-pont-field-title]) {
2947
3268
  display: flex;
2948
- width: fit-content;
3269
+ width: var(--pont-ref-dimension-size-fit);
2949
3270
  align-items: center;
2950
3271
  gap: 0.5rem;
2951
- font-size: var(--pont-sem-text-sm);
2952
- line-height: var(--pont-sem-leading-snug);
2953
- font-weight: var(--pont-sem-font-weight-medium);
3272
+ font-size: var(--pont-ref-typography-size-sm);
3273
+ line-height: var(--pont-ref-typography-leading-snug);
3274
+ font-weight: var(--pont-ref-typography-weight-medium);
2954
3275
  }
2955
3276
 
2956
3277
  /* ---------------- FieldDescription ---------------- */
@@ -2959,9 +3280,9 @@
2959
3280
  margin: 0;
2960
3281
  color: var(--_pont-field-description-fg);
2961
3282
  text-align: left;
2962
- font-size: var(--pont-sem-text-sm);
2963
- line-height: var(--pont-sem-leading-normal);
2964
- font-weight: var(--pont-sem-font-weight-normal);
3283
+ font-size: var(--pont-ref-typography-size-sm);
3284
+ line-height: var(--pont-ref-typography-leading-normal);
3285
+ font-weight: var(--pont-ref-typography-weight-normal);
2965
3286
  }
2966
3287
  :is(pont-prim-field-description, [data-pont-field-description]):nth-last-child(2) {
2967
3288
  margin-top: -0.25rem;
@@ -2993,15 +3314,15 @@
2993
3314
  height: 1.25rem;
2994
3315
  margin-block: -0.5rem;
2995
3316
  color: var(--pont-sem-color-muted-foreground);
2996
- font-size: var(--pont-sem-text-sm);
2997
- line-height: var(--pont-sem-text-sm--line-height);
3317
+ font-size: var(--pont-ref-typography-size-sm);
3318
+ line-height: var(--pont-ref-typography-leading-of-sm);
2998
3319
  white-space: nowrap;
2999
3320
  }
3000
3321
  :is(pont-prim-field-separator, [data-pont-field-separator])::before,
3001
3322
  :is(pont-prim-field-separator, [data-pont-field-separator])::after {
3002
3323
  content: "";
3003
3324
  flex: 1 1 0%;
3004
- height: 1px;
3325
+ height: var(--pont-ref-dimension-size-px);
3005
3326
  background-color: var(--pont-sem-color-border);
3006
3327
  }
3007
3328
  :is(pont-prim-field-separator, [data-pont-field-separator])[data-content="true"] {
@@ -3018,9 +3339,9 @@
3018
3339
  :is(pont-prim-field-error, [data-pont-field-error]) {
3019
3340
  display: block;
3020
3341
  color: var(--_pont-field-error-fg);
3021
- font-size: var(--pont-sem-text-sm);
3022
- line-height: var(--pont-sem-text-sm--line-height);
3023
- font-weight: var(--pont-sem-font-weight-normal);
3342
+ font-size: var(--pont-ref-typography-size-sm);
3343
+ line-height: var(--pont-ref-typography-leading-of-sm);
3344
+ font-weight: var(--pont-ref-typography-weight-normal);
3024
3345
  }
3025
3346
  :is(pont-prim-field-error, [data-pont-field-error]):empty {
3026
3347
  display: none;
@@ -3089,7 +3410,7 @@
3089
3410
  position: relative;
3090
3411
  display: flex;
3091
3412
  align-items: center;
3092
- width: 100%;
3413
+ width: var(--pont-ref-dimension-size-full);
3093
3414
  min-width: 0;
3094
3415
  height: var(--_pont-input-group-height);
3095
3416
  margin: 0;
@@ -3118,10 +3439,10 @@
3118
3439
  }
3119
3440
 
3120
3441
  :is(pont-prim-input-group, [data-pont-input-group]):has(> textarea, > [data-pont-shell] > textarea) {
3121
- height: auto;
3442
+ height: var(--pont-sem-dimension-size);
3122
3443
  }
3123
3444
  :is(pont-prim-input-group, [data-pont-input-group]):has(> [data-align="block-start"], > [data-align="block-end"]) {
3124
- height: auto;
3445
+ height: var(--pont-sem-dimension-size);
3125
3446
  flex-direction: column;
3126
3447
  }
3127
3448
  :is(pont-prim-input-group, [data-pont-input-group]):has(> [data-align="block-end"]) > input,
@@ -3148,14 +3469,14 @@
3148
3469
  align-items: center;
3149
3470
  justify-content: center;
3150
3471
  gap: 0.5rem;
3151
- height: auto;
3472
+ height: var(--pont-sem-dimension-size);
3152
3473
  padding-block: 0.375rem;
3153
- cursor: text;
3474
+ cursor: var(--pont-sem-cursor-text);
3154
3475
  user-select: none;
3155
3476
  color: var(--_pont-input-group-addon-fg);
3156
- font-size: var(--pont-sem-text-sm);
3157
- line-height: var(--pont-sem-text-sm--line-height);
3158
- font-weight: var(--pont-sem-font-weight-medium);
3477
+ font-size: var(--pont-ref-typography-size-sm);
3478
+ line-height: var(--pont-ref-typography-leading-of-sm);
3479
+ font-weight: var(--pont-ref-typography-weight-medium);
3159
3480
  order: -9999;
3160
3481
  padding-left: 0.5rem;
3161
3482
  }
@@ -3190,7 +3511,7 @@
3190
3511
  }
3191
3512
 
3192
3513
  [data-pont-input-group-addon]:is([data-align="block-start"], [data-align="block-end"]) {
3193
- width: 100%;
3514
+ width: var(--pont-ref-dimension-size-full);
3194
3515
  justify-content: flex-start;
3195
3516
  padding-inline: 0.625rem;
3196
3517
  }
@@ -3221,8 +3542,8 @@
3221
3542
  align-items: center;
3222
3543
  gap: 0.5rem;
3223
3544
  color: var(--pont-sem-color-muted-foreground);
3224
- font-size: var(--pont-sem-text-sm);
3225
- line-height: var(--pont-sem-text-sm--line-height);
3545
+ font-size: var(--pont-ref-typography-size-sm);
3546
+ line-height: var(--pont-ref-typography-leading-of-sm);
3226
3547
  }
3227
3548
  :is(pont-prim-input-group-text, [data-pont-input-group-text]) svg {
3228
3549
  pointer-events: none;
@@ -3256,16 +3577,16 @@
3256
3577
  align-items: center;
3257
3578
  gap: 0.5rem;
3258
3579
  --pont-shadow: var(--pont-sem-shadow-none);
3259
- font-size: var(--pont-sem-text-sm);
3260
- line-height: var(--pont-sem-text-sm--line-height);
3580
+ font-size: var(--pont-ref-typography-size-sm);
3581
+ line-height: var(--pont-ref-typography-leading-of-sm);
3261
3582
  }
3262
3583
  [data-pont-input-group-button][data-size="xs"] {
3263
3584
  height: 1.5rem;
3264
3585
  gap: 0.25rem;
3265
3586
  padding: 0 0.375rem;
3266
3587
  border-radius: calc(var(--pont-ref-radius-lg) - 5px);
3267
- font-size: var(--pont-sem-text-sm);
3268
- line-height: var(--pont-sem-text-sm--line-height);
3588
+ font-size: var(--pont-ref-typography-size-sm);
3589
+ line-height: var(--pont-ref-typography-leading-of-sm);
3269
3590
  }
3270
3591
  [data-pont-input-group-button][data-size="xs"] > svg:not([class*="size-"]) {
3271
3592
  width: 0.875rem;
@@ -3322,7 +3643,7 @@
3322
3643
  /** @token Background on hover (link items) */
3323
3644
  --_pont-item-bg-hover: var(--pont-item-bg-hover, var(--pont-sem-color-muted));
3324
3645
  /** @token Title weight */
3325
- --_pont-item-title-font-weight: var(--pont-item-title-font-weight, var(--pont-sem-font-weight-medium));
3646
+ --_pont-item-title-font-weight: var(--pont-item-title-font-weight, var(--pont-ref-typography-weight-medium));
3326
3647
  /** @token Description text */
3327
3648
  --_pont-item-description-fg: var(--pont-item-description-fg, var(--pont-sem-color-muted-foreground));
3328
3649
  /* set per variant below; declared here so nothing is inherited from an ancestor */
@@ -3347,7 +3668,7 @@
3347
3668
  display: flex;
3348
3669
  flex-direction: column;
3349
3670
  gap: 1rem;
3350
- width: 100%;
3671
+ width: var(--pont-ref-dimension-size-full);
3351
3672
  }
3352
3673
  :is(pont-prim-item-group, [data-pont-item-group]):has([data-size="sm"]) {
3353
3674
  gap: 0.625rem;
@@ -3365,7 +3686,7 @@
3365
3686
  display: flex;
3366
3687
  flex-wrap: wrap;
3367
3688
  align-items: center;
3368
- width: 100%;
3689
+ width: var(--pont-ref-dimension-size-full);
3369
3690
  gap: 0.875rem;
3370
3691
  margin: 0;
3371
3692
  padding: 0.875rem 1rem;
@@ -3373,8 +3694,8 @@
3373
3694
  border-radius: var(--_pont-item-radius);
3374
3695
  background-color: var(--_pont-item-bg);
3375
3696
  color: inherit;
3376
- font-size: var(--pont-sem-text-sm);
3377
- line-height: var(--pont-sem-text-sm--line-height);
3697
+ font-size: var(--pont-ref-typography-size-sm);
3698
+ line-height: var(--pont-ref-typography-leading-of-sm);
3378
3699
  text-decoration: none;
3379
3700
  outline: none;
3380
3701
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
@@ -3437,9 +3758,9 @@
3437
3758
  }
3438
3759
  [data-pont-item-media][data-variant="image"] img {
3439
3760
  display: block;
3440
- width: 100%;
3441
- height: 100%;
3442
- max-width: none;
3761
+ width: var(--pont-ref-dimension-size-full);
3762
+ height: var(--pont-ref-dimension-size-full);
3763
+ max-width: var(--pont-sem-dimension-size-max);
3443
3764
  object-fit: cover;
3444
3765
  }
3445
3766
 
@@ -3458,15 +3779,15 @@
3458
3779
 
3459
3780
  :is(pont-prim-item-title, [data-pont-item-title]) {
3460
3781
  display: flex;
3461
- width: fit-content;
3782
+ width: var(--pont-ref-dimension-size-fit);
3462
3783
  align-items: center;
3463
3784
  gap: 0.5rem;
3464
3785
  overflow: hidden;
3465
3786
  -webkit-line-clamp: 1;
3466
3787
  -webkit-box-orient: vertical;
3467
- font-size: var(--pont-sem-text-sm);
3468
- line-height: var(--pont-sem-leading-snug);
3469
- font-weight: var(--_pont-item-title-font-weight, var(--pont-sem-font-weight-medium));
3788
+ font-size: var(--pont-ref-typography-size-sm);
3789
+ line-height: var(--pont-ref-typography-leading-snug);
3790
+ font-weight: var(--_pont-item-title-font-weight, var(--pont-ref-typography-weight-medium));
3470
3791
  text-underline-offset: 4px;
3471
3792
  }
3472
3793
 
@@ -3478,12 +3799,12 @@
3478
3799
  margin: 0;
3479
3800
  color: var(--_pont-item-description-fg, var(--pont-sem-color-muted-foreground));
3480
3801
  text-align: left;
3481
- font-size: var(--pont-sem-text-sm);
3482
- line-height: var(--pont-sem-leading-normal);
3483
- font-weight: var(--pont-sem-font-weight-normal);
3802
+ font-size: var(--pont-ref-typography-size-sm);
3803
+ line-height: var(--pont-ref-typography-leading-normal);
3804
+ font-weight: var(--pont-ref-typography-weight-normal);
3484
3805
  }
3485
3806
  [data-pont-item][data-size="xs"] :is(pont-prim-item-description, [data-pont-item-description]) {
3486
- font-size: var(--pont-sem-text-xs);
3807
+ font-size: var(--pont-ref-typography-size-xs);
3487
3808
  }
3488
3809
  :is(pont-prim-item-description, [data-pont-item-description]) > a {
3489
3810
  color: inherit;
@@ -3502,7 +3823,7 @@
3502
3823
 
3503
3824
  :is(pont-prim-item-header, [data-pont-item-header], pont-prim-item-footer, [data-pont-item-footer]) {
3504
3825
  display: flex;
3505
- flex-basis: 100%;
3826
+ flex-basis: var(--pont-ref-dimension-size-full);
3506
3827
  align-items: center;
3507
3828
  justify-content: space-between;
3508
3829
  gap: 0.5rem;
@@ -3555,7 +3876,7 @@
3555
3876
  box-sizing: border-box;
3556
3877
  position: relative;
3557
3878
  display: block;
3558
- width: fit-content;
3879
+ width: var(--pont-ref-dimension-size-fit);
3559
3880
  }
3560
3881
  :is(pont-prim-native-select, pont-native-select, [data-pont-native-select-wrapper]):has(select:disabled) {
3561
3882
  opacity: var(--pont-sem-opacity-disabled);
@@ -3583,15 +3904,15 @@
3583
3904
  -webkit-appearance: none;
3584
3905
  appearance: none;
3585
3906
 
3586
- width: 100%;
3907
+ width: var(--pont-ref-dimension-size-full);
3587
3908
  min-width: 0;
3588
3909
  height: var(--_pont-native-select-height);
3589
3910
  padding: 0.25rem 2rem 0.25rem 0.625rem;
3590
3911
  border: var(--pont-sem-border-width) solid var(--_pont-native-select-border-color);
3591
3912
  border-radius: var(--_pont-native-select-radius);
3592
3913
  background-color: var(--_pont-native-select-bg);
3593
- font-size: var(--pont-sem-text-sm);
3594
- line-height: var(--pont-sem-text-sm--line-height);
3914
+ font-size: var(--pont-ref-typography-size-sm);
3915
+ line-height: var(--pont-ref-typography-leading-of-sm);
3595
3916
  user-select: none;
3596
3917
  outline: none;
3597
3918
  --pont-shadow: var(--pont-sem-shadow-xs);
@@ -3617,7 +3938,7 @@
3617
3938
  }
3618
3939
  [data-pont-native-select]:disabled {
3619
3940
  pointer-events: none;
3620
- cursor: not-allowed;
3941
+ cursor: var(--pont-sem-cursor-disabled);
3621
3942
  }
3622
3943
  [data-pont-native-select] :is(option, optgroup) {
3623
3944
  background-color: Canvas;
@@ -3666,7 +3987,7 @@
3666
3987
  /** @token Header text */
3667
3988
  --_pont-table-head-fg: var(--pont-table-head-fg, var(--pont-sem-color-foreground));
3668
3989
  /** @token Header weight */
3669
- --_pont-table-head-font-weight: var(--pont-table-head-font-weight, var(--pont-sem-font-weight-medium));
3990
+ --_pont-table-head-font-weight: var(--pont-table-head-font-weight, var(--pont-ref-typography-weight-medium));
3670
3991
  /** @token Header height */
3671
3992
  --_pont-table-head-height: var(--pont-table-head-height, 2.5rem);
3672
3993
  }
@@ -3679,18 +4000,18 @@
3679
4000
  box-sizing: border-box;
3680
4001
  position: relative;
3681
4002
  display: block;
3682
- width: 100%;
4003
+ width: var(--pont-ref-dimension-size-full);
3683
4004
  overflow-x: auto;
3684
4005
  }
3685
4006
 
3686
4007
  :is(:is(pont-prim-table, pont-table) > table, [data-pont-table]) {
3687
- width: 100%;
4008
+ width: var(--pont-ref-dimension-size-full);
3688
4009
  caption-side: bottom;
3689
4010
  border-collapse: collapse;
3690
4011
  text-indent: 0;
3691
4012
  border-color: inherit;
3692
- font-size: var(--pont-sem-text-sm);
3693
- line-height: var(--pont-sem-text-sm--line-height);
4013
+ font-size: var(--pont-ref-typography-size-sm);
4014
+ line-height: var(--pont-ref-typography-leading-of-sm);
3694
4015
  }
3695
4016
 
3696
4017
  :is(:is(pont-prim-table, pont-table) > table > thead, [data-pont-table-header]) tr {
@@ -3702,7 +4023,7 @@
3702
4023
  :is(:is(pont-prim-table, pont-table) > table > tfoot, [data-pont-table-footer]) {
3703
4024
  background-color: var(--_pont-table-footer-bg, color-mix(in oklab, var(--pont-sem-color-muted) 50%, transparent));
3704
4025
  border-top: var(--pont-sem-border-width) solid var(--_pont-table-border-color, var(--pont-sem-color-border));
3705
- font-weight: var(--pont-sem-font-weight-medium);
4026
+ font-weight: var(--pont-ref-typography-weight-medium);
3706
4027
  }
3707
4028
  :is(:is(pont-prim-table, pont-table) > table > tfoot, [data-pont-table-footer]) > tr:last-child {
3708
4029
  border-bottom-width: 0;
@@ -3728,7 +4049,7 @@
3728
4049
  color: var(--_pont-table-head-fg, var(--pont-sem-color-foreground));
3729
4050
  text-align: left;
3730
4051
  vertical-align: middle;
3731
- font-weight: var(--_pont-table-head-font-weight, var(--pont-sem-font-weight-medium));
4052
+ font-weight: var(--_pont-table-head-font-weight, var(--pont-ref-typography-weight-medium));
3732
4053
  white-space: nowrap;
3733
4054
  }
3734
4055
  :is(:is(pont-prim-table, pont-table) > table > * > tr > td, [data-pont-table-cell]) {
@@ -3746,8 +4067,8 @@
3746
4067
  :is(:is(pont-prim-table, pont-table) > table > caption, [data-pont-table-caption]) {
3747
4068
  margin-top: 1rem;
3748
4069
  color: var(--pont-sem-color-muted-foreground);
3749
- font-size: var(--pont-sem-text-sm);
3750
- line-height: var(--pont-sem-text-sm--line-height);
4070
+ font-size: var(--pont-ref-typography-size-sm);
4071
+ line-height: var(--pont-ref-typography-leading-of-sm);
3751
4072
  }
3752
4073
  }
3753
4074
 
@@ -3769,7 +4090,7 @@
3769
4090
  @layer pont.primitives {
3770
4091
  :is(pont-prim-pagination, pont-pagination, [data-pont-pagination]) {
3771
4092
  display: flex;
3772
- width: 100%;
4093
+ width: var(--pont-ref-dimension-size-full);
3773
4094
  margin-inline: auto;
3774
4095
  justify-content: center;
3775
4096
  }
@@ -3896,10 +4217,10 @@
3896
4217
  box-sizing: border-box;
3897
4218
  position: relative;
3898
4219
  display: flex;
3899
- width: fit-content;
4220
+ width: var(--pont-ref-dimension-size-fit);
3900
4221
  align-items: center;
3901
4222
  gap: var(--_pont-input-otp-gap);
3902
- cursor: text;
4223
+ cursor: var(--pont-sem-cursor-text);
3903
4224
  user-select: none;
3904
4225
  }
3905
4226
  :is(pont-prim-input-otp, [data-pont-input-otp]):has(:disabled) {
@@ -3917,8 +4238,8 @@
3917
4238
  box-sizing: border-box;
3918
4239
  position: absolute;
3919
4240
  inset: 0;
3920
- width: 100%;
3921
- height: 100%;
4241
+ width: var(--pont-ref-dimension-size-full);
4242
+ height: var(--pont-ref-dimension-size-full);
3922
4243
  margin: 0;
3923
4244
  padding: 0;
3924
4245
  border: 0;
@@ -3939,7 +4260,7 @@
3939
4260
  background: transparent;
3940
4261
  }
3941
4262
  [data-pont-input-otp-input]:disabled {
3942
- cursor: not-allowed;
4263
+ cursor: var(--pont-sem-cursor-disabled);
3943
4264
  }
3944
4265
 
3945
4266
  :is(pont-prim-input-otp-group, [data-pont-input-otp-group]) {
@@ -3965,8 +4286,8 @@
3965
4286
  border-color: var(--_pont-input-otp-slot-border-color);
3966
4287
  border-width: var(--pont-sem-border-width) var(--pont-sem-border-width) var(--pont-sem-border-width) 0;
3967
4288
  background-color: var(--_pont-input-otp-slot-bg);
3968
- font-size: var(--pont-sem-text-sm);
3969
- line-height: var(--pont-sem-text-sm--line-height);
4289
+ font-size: var(--pont-ref-typography-size-sm);
4290
+ line-height: var(--pont-ref-typography-leading-of-sm);
3970
4291
  outline: none;
3971
4292
  --pont-shadow: var(--pont-sem-shadow-xs);
3972
4293
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
@@ -4006,7 +4327,7 @@
4006
4327
  justify-content: center;
4007
4328
  }
4008
4329
  [data-pont-input-otp-caret-line] {
4009
- width: 1px;
4330
+ width: var(--pont-ref-dimension-size-px);
4010
4331
  height: 1rem;
4011
4332
  background-color: var(--pont-sem-color-foreground);
4012
4333
  animation: pont-caret-blink 1s ease-out infinite;
@@ -4050,7 +4371,7 @@
4050
4371
  /** @token Indicator */
4051
4372
  --_pont-progress-indicator-bg: var(--pont-progress-indicator-bg, var(--pont-sem-color-primary));
4052
4373
  /** @token Label weight */
4053
- --_pont-progress-label-font-weight: var(--pont-progress-label-font-weight, var(--pont-sem-font-weight-medium));
4374
+ --_pont-progress-label-font-weight: var(--pont-progress-label-font-weight, var(--pont-ref-typography-weight-medium));
4054
4375
  }
4055
4376
 
4056
4377
  /* ------------------------------------------------------------------ */
@@ -4068,7 +4389,7 @@
4068
4389
  box-sizing: border-box;
4069
4390
  position: relative;
4070
4391
  display: flex;
4071
- width: 100%;
4392
+ width: var(--pont-ref-dimension-size-full);
4072
4393
  height: var(--_pont-progress-track-height, 0.375rem);
4073
4394
  align-items: center;
4074
4395
  overflow-x: hidden;
@@ -4077,7 +4398,7 @@
4077
4398
  }
4078
4399
 
4079
4400
  [data-pont-progress-indicator] {
4080
- height: 100%;
4401
+ height: var(--pont-ref-dimension-size-full);
4081
4402
  background-color: var(--_pont-progress-indicator-bg, var(--pont-sem-color-primary));
4082
4403
  transition-property: all;
4083
4404
  transition-duration: var(--pont-sem-duration);
@@ -4085,16 +4406,16 @@
4085
4406
  }
4086
4407
 
4087
4408
  :is(pont-prim-progress-label, [data-pont-progress-label]) {
4088
- font-size: var(--pont-sem-text-sm);
4089
- line-height: var(--pont-sem-text-sm--line-height);
4090
- font-weight: var(--_pont-progress-label-font-weight, var(--pont-sem-font-weight-medium));
4409
+ font-size: var(--pont-ref-typography-size-sm);
4410
+ line-height: var(--pont-ref-typography-leading-of-sm);
4411
+ font-weight: var(--_pont-progress-label-font-weight, var(--pont-ref-typography-weight-medium));
4091
4412
  }
4092
4413
 
4093
4414
  :is(pont-prim-progress-value, [data-pont-progress-value]) {
4094
4415
  margin-left: auto;
4095
4416
  color: var(--pont-sem-color-muted-foreground);
4096
- font-size: var(--pont-sem-text-sm);
4097
- line-height: var(--pont-sem-text-sm--line-height);
4417
+ font-size: var(--pont-ref-typography-size-sm);
4418
+ line-height: var(--pont-ref-typography-leading-of-sm);
4098
4419
  font-variant-numeric: tabular-nums;
4099
4420
  }
4100
4421
  }
@@ -4137,15 +4458,16 @@
4137
4458
  box-sizing: border-box;
4138
4459
  display: grid;
4139
4460
  gap: var(--_pont-radio-group-gap);
4140
- width: 100%;
4461
+ width: var(--pont-ref-dimension-size-full);
4141
4462
  }
4142
4463
 
4143
4464
  :is(pont-prim-radio-group-item, [data-pont-radio-group-item]) {
4465
+ cursor: var(--pont-sem-cursor-interactive);
4144
4466
  box-sizing: border-box;
4145
4467
  position: relative;
4146
4468
  display: flex;
4147
4469
  flex-shrink: 0;
4148
- aspect-ratio: var(--pont-sem-aspect-square);
4470
+ aspect-ratio: var(--pont-ref-layout-aspect-square);
4149
4471
  width: 1rem;
4150
4472
  height: 1rem;
4151
4473
  border: var(--pont-sem-border-width) solid var(--_pont-radio-group-item-border-color);
@@ -4184,7 +4506,7 @@
4184
4506
  }
4185
4507
 
4186
4508
  [data-pont-radio-group-item]:is(:disabled, [data-disabled]) {
4187
- cursor: not-allowed;
4509
+ cursor: var(--pont-sem-cursor-disabled);
4188
4510
  opacity: var(--pont-sem-opacity-disabled);
4189
4511
  }
4190
4512
 
@@ -4256,27 +4578,27 @@
4256
4578
  :is(pont-prim-slider, pont-slider, [data-pont-slider]) {
4257
4579
  box-sizing: border-box;
4258
4580
  display: block;
4259
- width: 100%;
4581
+ width: var(--pont-ref-dimension-size-full);
4260
4582
  }
4261
4583
  :is(pont-prim-slider, pont-slider, [data-pont-slider]):is([data-orientation="vertical"], [orientation="vertical"]) {
4262
4584
  display: inline-block;
4263
- width: auto;
4264
- height: 100%;
4585
+ width: var(--pont-sem-dimension-size);
4586
+ height: var(--pont-ref-dimension-size-full);
4265
4587
  }
4266
4588
 
4267
4589
  [data-pont-slider-control] {
4268
4590
  box-sizing: border-box;
4269
4591
  position: relative;
4270
4592
  display: flex;
4271
- width: 100%;
4593
+ width: var(--pont-ref-dimension-size-full);
4272
4594
  min-height: var(--_pont-slider-thumb);
4273
4595
  align-items: center;
4274
4596
  touch-action: none;
4275
4597
  user-select: none;
4276
4598
  }
4277
4599
  [data-pont-slider-control][data-orientation="vertical"] {
4278
- height: 100%;
4279
- width: auto;
4600
+ height: var(--pont-ref-dimension-size-full);
4601
+ width: var(--pont-sem-dimension-size);
4280
4602
  min-width: var(--_pont-slider-thumb);
4281
4603
  min-height: 10rem;
4282
4604
  flex-direction: column;
@@ -4297,10 +4619,10 @@
4297
4619
  }
4298
4620
  [data-pont-slider-track][data-orientation="horizontal"] {
4299
4621
  height: 0.375rem;
4300
- width: 100%;
4622
+ width: var(--pont-ref-dimension-size-full);
4301
4623
  }
4302
4624
  [data-pont-slider-track][data-orientation="vertical"] {
4303
- height: 100%;
4625
+ height: var(--pont-ref-dimension-size-full);
4304
4626
  width: 0.375rem;
4305
4627
  }
4306
4628
 
@@ -4311,14 +4633,15 @@
4311
4633
  }
4312
4634
  [data-pont-slider-range][data-orientation="horizontal"] {
4313
4635
  top: 0;
4314
- height: 100%;
4636
+ height: var(--pont-ref-dimension-size-full);
4315
4637
  }
4316
4638
  [data-pont-slider-range][data-orientation="vertical"] {
4317
4639
  left: 0;
4318
- width: 100%;
4640
+ width: var(--pont-ref-dimension-size-full);
4319
4641
  }
4320
4642
 
4321
4643
  [data-pont-slider-thumb] {
4644
+ cursor: var(--pont-sem-cursor-interactive);
4322
4645
  box-sizing: border-box;
4323
4646
  position: absolute;
4324
4647
  display: block;
@@ -4388,6 +4711,7 @@
4388
4711
  }
4389
4712
 
4390
4713
  :is(pont-prim-switch, pont-switch, [data-pont-switch]) {
4714
+ cursor: var(--pont-sem-cursor-interactive);
4391
4715
  box-sizing: border-box;
4392
4716
  position: relative;
4393
4717
  display: inline-flex;
@@ -4432,7 +4756,7 @@
4432
4756
  }
4433
4757
 
4434
4758
  [data-pont-switch][data-disabled] {
4435
- cursor: not-allowed;
4759
+ cursor: var(--pont-sem-cursor-disabled);
4436
4760
  opacity: var(--pont-sem-opacity-disabled);
4437
4761
  }
4438
4762
 
@@ -4510,7 +4834,7 @@
4510
4834
  /** @token Tab corner radius */
4511
4835
  --_pont-tabs-trigger-radius: var(--pont-tabs-trigger-radius, var(--pont-ref-radius-md));
4512
4836
  /** @token Tab label weight */
4513
- --_pont-tabs-trigger-font-weight: var(--pont-tabs-trigger-font-weight, var(--pont-sem-font-weight-medium));
4837
+ --_pont-tabs-trigger-font-weight: var(--pont-tabs-trigger-font-weight, var(--pont-ref-typography-weight-medium));
4514
4838
  /** @token Tab text */
4515
4839
  --_pont-tabs-trigger-fg: var(--pont-tabs-trigger-fg, var(--pont-sem-color-segment-fg));
4516
4840
  /** @token Tab text on hover */
@@ -4550,7 +4874,7 @@
4550
4874
  :is(pont-prim-tabs-list, [data-pont-tabs-list]) {
4551
4875
  box-sizing: border-box;
4552
4876
  display: inline-flex;
4553
- width: fit-content;
4877
+ width: var(--pont-ref-dimension-size-fit);
4554
4878
  height: var(--_pont-tabs-list-height);
4555
4879
  align-items: center;
4556
4880
  justify-content: center;
@@ -4560,7 +4884,7 @@
4560
4884
  color: var(--pont-sem-color-muted-foreground);
4561
4885
  }
4562
4886
  [data-pont-tabs][data-orientation="vertical"] [data-pont-tabs-list] {
4563
- height: fit-content;
4887
+ height: var(--pont-ref-dimension-size-fit);
4564
4888
  flex-direction: column;
4565
4889
  }
4566
4890
  [data-pont-tabs-list][data-variant="line"] {
@@ -4581,10 +4905,10 @@
4581
4905
  border: var(--pont-sem-border-width) solid transparent;
4582
4906
  border-radius: var(--_pont-tabs-trigger-radius, var(--pont-ref-radius-md));
4583
4907
  color: var(--_pont-tabs-trigger-fg, var(--pont-sem-color-segment-fg));
4584
- font-size: var(--pont-sem-text-sm);
4585
- line-height: var(--pont-sem-text-sm--line-height);
4586
- font-weight: var(--_pont-tabs-trigger-font-weight, var(--pont-sem-font-weight-medium));
4587
- cursor: default;
4908
+ font-size: var(--pont-ref-typography-size-sm);
4909
+ line-height: var(--pont-ref-typography-leading-of-sm);
4910
+ font-weight: var(--_pont-tabs-trigger-font-weight, var(--pont-ref-typography-weight-medium));
4911
+ cursor: var(--pont-sem-cursor-interactive);
4588
4912
  user-select: none;
4589
4913
  outline: none;
4590
4914
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
@@ -4593,7 +4917,7 @@
4593
4917
  transition-timing-function: var(--pont-sem-ease-in-out);
4594
4918
  }
4595
4919
  [data-pont-tabs][data-orientation="vertical"] [data-pont-tabs-trigger] {
4596
- width: 100%;
4920
+ width: var(--pont-ref-dimension-size-full);
4597
4921
  justify-content: flex-start;
4598
4922
  }
4599
4923
  [data-pont-tabs-trigger]:hover {
@@ -4669,8 +4993,8 @@
4669
4993
  display: block;
4670
4994
  flex: 1 1 0%;
4671
4995
  outline: none;
4672
- font-size: var(--pont-sem-text-sm);
4673
- line-height: var(--pont-sem-text-sm--line-height);
4996
+ font-size: var(--pont-ref-typography-size-sm);
4997
+ line-height: var(--pont-ref-typography-leading-of-sm);
4674
4998
  }
4675
4999
  }
4676
5000
 
@@ -4732,7 +5056,7 @@
4732
5056
  [data-pont-popup] {
4733
5057
  /* Undo the UA popover box (inset:0; margin:auto; border; padding; Canvas colours) */
4734
5058
  position: fixed;
4735
- inset: auto;
5059
+ inset: var(--pont-sem-dimension-space-inset);
4736
5060
  left: var(--pont-popup-x, 0px);
4737
5061
  top: var(--pont-popup-y, 0px);
4738
5062
  margin: 0;
@@ -4842,8 +5166,8 @@
4842
5166
  border-radius: var(--_pont-popover-radius);
4843
5167
  background-color: var(--_pont-popover-bg);
4844
5168
  color: var(--_pont-popover-fg);
4845
- font-size: var(--pont-sem-text-sm);
4846
- line-height: var(--pont-sem-text-sm--line-height);
5169
+ font-size: var(--pont-ref-typography-size-sm);
5170
+ line-height: var(--pont-ref-typography-leading-of-sm);
4847
5171
  outline: none;
4848
5172
  --pont-shadow: var(--_pont-popover-shadow);
4849
5173
  --pont-ring-shadow: 0 0 0 var(--pont-sem-border-width) var(--_pont-popover-border-color);
@@ -4854,14 +5178,14 @@
4854
5178
  display: flex;
4855
5179
  flex-direction: column;
4856
5180
  gap: 0.25rem;
4857
- font-size: var(--pont-sem-text-sm);
4858
- line-height: var(--pont-sem-text-sm--line-height);
5181
+ font-size: var(--pont-ref-typography-size-sm);
5182
+ line-height: var(--pont-ref-typography-leading-of-sm);
4859
5183
  }
4860
5184
 
4861
5185
  :is(pont-prim-popover-title, [data-pont-popover-title]) {
4862
5186
  display: block;
4863
5187
  margin: 0;
4864
- font-weight: var(--pont-sem-font-weight-medium);
5188
+ font-weight: var(--pont-ref-typography-weight-medium);
4865
5189
  }
4866
5190
 
4867
5191
  :is(pont-prim-popover-description, [data-pont-popover-description]) {
@@ -4954,7 +5278,7 @@
4954
5278
 
4955
5279
  /* sub content: "w-auto" + .cn-dropdown-menu-sub-content "min-w-[96px]" (shadow: tokens) */
4956
5280
  :is(pont-prim-dropdown-menu-sub-content, [data-pont-dropdown-menu-sub-content]) {
4957
- width: auto;
5281
+ width: var(--pont-sem-dimension-size);
4958
5282
  min-width: 96px;
4959
5283
  }
4960
5284
 
@@ -4969,9 +5293,9 @@
4969
5293
  gap: 0.5rem;
4970
5294
  padding: 0.375rem 0.5rem;
4971
5295
  border-radius: var(--_pont-dropdown-menu-item-radius);
4972
- font-size: var(--pont-sem-text-sm);
4973
- line-height: var(--pont-sem-text-sm--line-height);
4974
- cursor: default;
5296
+ font-size: var(--pont-ref-typography-size-sm);
5297
+ line-height: var(--pont-ref-typography-leading-of-sm);
5298
+ cursor: var(--pont-sem-cursor-item);
4975
5299
  outline: none;
4976
5300
  user-select: none;
4977
5301
  }
@@ -5042,9 +5366,9 @@
5042
5366
  display: block;
5043
5367
  padding: 0.375rem 0.5rem;
5044
5368
  color: var(--pont-sem-color-muted-foreground);
5045
- font-size: var(--pont-sem-text-xs);
5046
- line-height: var(--pont-sem-text-xs--line-height);
5047
- font-weight: var(--pont-sem-font-weight-medium);
5369
+ font-size: var(--pont-ref-typography-size-xs);
5370
+ line-height: var(--pont-ref-typography-leading-of-xs);
5371
+ font-weight: var(--pont-ref-typography-weight-medium);
5048
5372
  }
5049
5373
  [data-pont-dropdown-menu-label][data-inset] {
5050
5374
  padding-left: 2rem;
@@ -5056,7 +5380,7 @@
5056
5380
 
5057
5381
  /* separator: is-a Separator; + "bg-border -mx-1 my-1 h-px" */
5058
5382
  [data-pont-dropdown-menu-separator] {
5059
- width: auto;
5383
+ width: var(--pont-sem-dimension-size);
5060
5384
  margin: 0.25rem -0.25rem;
5061
5385
  }
5062
5386
 
@@ -5065,9 +5389,9 @@
5065
5389
  :is(pont-prim-dropdown-menu-shortcut, [data-pont-dropdown-menu-shortcut]) {
5066
5390
  margin-left: auto;
5067
5391
  color: var(--pont-sem-color-muted-foreground);
5068
- font-size: var(--pont-sem-text-xs);
5069
- line-height: var(--pont-sem-text-xs--line-height);
5070
- letter-spacing: var(--pont-sem-tracking-widest);
5392
+ font-size: var(--pont-ref-typography-size-xs);
5393
+ line-height: var(--pont-ref-typography-leading-of-xs);
5394
+ letter-spacing: var(--pont-ref-typography-tracking-widest);
5071
5395
  }
5072
5396
  [data-pont-menu-item]:focus [data-pont-dropdown-menu-shortcut] {
5073
5397
  color: var(--_pont-dropdown-menu-item-fg-focus);
@@ -5133,7 +5457,7 @@
5133
5457
  appearance: none;
5134
5458
 
5135
5459
  display: flex;
5136
- width: fit-content;
5460
+ width: var(--pont-ref-dimension-size-fit);
5137
5461
  align-items: center;
5138
5462
  justify-content: space-between;
5139
5463
  gap: 0.375rem;
@@ -5143,8 +5467,8 @@
5143
5467
  border: var(--pont-sem-border-width) solid var(--_pont-select-trigger-border-color);
5144
5468
  border-radius: var(--_pont-select-trigger-radius);
5145
5469
  background-color: var(--_pont-select-trigger-bg);
5146
- font-size: var(--pont-sem-text-sm);
5147
- line-height: var(--pont-sem-text-sm--line-height);
5470
+ font-size: var(--pont-ref-typography-size-sm);
5471
+ line-height: var(--pont-ref-typography-leading-of-sm);
5148
5472
  outline: none;
5149
5473
  --pont-shadow: var(--pont-sem-shadow-xs);
5150
5474
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
@@ -5167,7 +5491,7 @@
5167
5491
  --pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-destructive-ring);
5168
5492
  }
5169
5493
  [data-pont-select-trigger]:disabled {
5170
- cursor: not-allowed;
5494
+ cursor: var(--pont-sem-cursor-disabled);
5171
5495
  opacity: var(--pont-sem-opacity-disabled);
5172
5496
  }
5173
5497
  [data-pont-select-trigger] svg {
@@ -5231,8 +5555,8 @@
5231
5555
  display: block;
5232
5556
  padding: 0.375rem 0.5rem;
5233
5557
  color: var(--pont-sem-color-muted-foreground);
5234
- font-size: var(--pont-sem-text-xs);
5235
- line-height: var(--pont-sem-text-xs--line-height);
5558
+ font-size: var(--pont-ref-typography-size-xs);
5559
+ line-height: var(--pont-ref-typography-leading-of-xs);
5236
5560
  }
5237
5561
 
5238
5562
  /* item: "relative flex w-full cursor-default items-center outline-hidden select-none
@@ -5242,16 +5566,16 @@
5242
5566
  :is(pont-prim-select-item, [data-pont-select-item]) {
5243
5567
  position: relative;
5244
5568
  display: flex;
5245
- width: 100%;
5569
+ width: var(--pont-ref-dimension-size-full);
5246
5570
  box-sizing: border-box;
5247
5571
  align-items: center;
5248
5572
  gap: 0.5rem;
5249
5573
  padding: 0.375rem 2rem 0.375rem 0.5rem;
5250
5574
  border-radius: var(--_pont-select-item-radius);
5251
- font-size: var(--pont-sem-text-sm);
5252
- line-height: var(--pont-sem-text-sm--line-height);
5575
+ font-size: var(--pont-ref-typography-size-sm);
5576
+ line-height: var(--pont-ref-typography-leading-of-sm);
5253
5577
  white-space: nowrap;
5254
- cursor: default;
5578
+ cursor: var(--pont-sem-cursor-item);
5255
5579
  outline: none;
5256
5580
  user-select: none;
5257
5581
  }
@@ -5289,7 +5613,7 @@
5289
5613
 
5290
5614
  /* separator: is-a Separator + "-mx-1 my-1 pointer-events-none" */
5291
5615
  [data-pont-select-separator] {
5292
- width: auto;
5616
+ width: var(--pont-sem-dimension-size);
5293
5617
  margin: 0.25rem -0.25rem;
5294
5618
  pointer-events: none;
5295
5619
  }
@@ -5349,7 +5673,7 @@
5349
5673
  position: relative;
5350
5674
  display: flex;
5351
5675
  box-sizing: border-box;
5352
- width: auto;
5676
+ width: var(--pont-sem-dimension-size);
5353
5677
  min-width: 0;
5354
5678
  height: var(--_pont-combobox-input-height);
5355
5679
  align-items: center;
@@ -5378,24 +5702,24 @@
5378
5702
  box-sizing: border-box;
5379
5703
  margin: 0;
5380
5704
  flex: 1 1 0%;
5381
- width: 100%;
5705
+ width: var(--pont-ref-dimension-size-full);
5382
5706
  min-width: 0;
5383
- height: 100%;
5707
+ height: var(--pont-ref-dimension-size-full);
5384
5708
  padding: 0.25rem 0.375rem 0.25rem 0.625rem;
5385
5709
  border: 0;
5386
5710
  border-radius: var(--pont-ref-radius-none);
5387
5711
  background: transparent;
5388
5712
  color: inherit;
5389
5713
  font-family: inherit;
5390
- font-size: var(--pont-sem-text-base);
5391
- line-height: var(--pont-sem-text-base--line-height);
5714
+ font-size: var(--pont-ref-typography-size-base);
5715
+ line-height: var(--pont-ref-typography-leading-of-base);
5392
5716
  outline: none;
5393
5717
  box-shadow: none;
5394
5718
  }
5395
5719
  @media (width >= 48rem) {
5396
5720
  [data-pont-combobox-input-control] {
5397
- font-size: var(--pont-sem-text-sm);
5398
- line-height: var(--pont-sem-text-sm--line-height);
5721
+ font-size: var(--pont-ref-typography-size-sm);
5722
+ line-height: var(--pont-ref-typography-leading-of-sm);
5399
5723
  }
5400
5724
  }
5401
5725
  [data-pont-combobox-input-control]::placeholder {
@@ -5403,7 +5727,7 @@
5403
5727
  opacity: 1;
5404
5728
  }
5405
5729
  [data-pont-combobox-input-control]:disabled {
5406
- cursor: not-allowed;
5730
+ cursor: var(--pont-sem-cursor-disabled);
5407
5731
  opacity: var(--pont-sem-opacity-disabled);
5408
5732
  }
5409
5733
 
@@ -5417,10 +5741,10 @@
5417
5741
  gap: 0.5rem;
5418
5742
  padding: 0.375rem 0.5rem 0.375rem 0;
5419
5743
  color: var(--pont-sem-color-muted-foreground);
5420
- font-size: var(--pont-sem-text-sm);
5421
- line-height: var(--pont-sem-text-sm--line-height);
5422
- font-weight: var(--pont-sem-font-weight-medium);
5423
- cursor: text;
5744
+ font-size: var(--pont-ref-typography-size-sm);
5745
+ line-height: var(--pont-ref-typography-leading-of-sm);
5746
+ font-weight: var(--pont-ref-typography-weight-medium);
5747
+ cursor: var(--pont-sem-cursor-text);
5424
5748
  user-select: none;
5425
5749
  }
5426
5750
  [data-pont-combobox-input-addon]:has(> button) {
@@ -5468,7 +5792,7 @@
5468
5792
  scroll-py-1 overflow-y-auto p-1 data-empty:p-0" */
5469
5793
  :is(pont-prim-combobox-list, [data-pont-combobox-list]) {
5470
5794
  display: block;
5471
- max-height: min(15.75rem, calc(var(--pont-available-height, 100vh) - 2.25rem));
5795
+ max-height: min(15.75rem, calc(var(--pont-available-height, var(--pont-sem-dimension-size-height-screen)) - 2.25rem));
5472
5796
  overflow-y: auto;
5473
5797
  overscroll-behavior: contain;
5474
5798
  scroll-padding-block: 0.25rem;
@@ -5489,15 +5813,15 @@
5489
5813
  :is(pont-prim-combobox-item, [data-pont-combobox-item]) {
5490
5814
  position: relative;
5491
5815
  display: flex;
5492
- width: 100%;
5816
+ width: var(--pont-ref-dimension-size-full);
5493
5817
  box-sizing: border-box;
5494
5818
  align-items: center;
5495
5819
  gap: 0.5rem;
5496
5820
  padding: 0.375rem 2rem 0.375rem 0.5rem;
5497
5821
  border-radius: var(--_pont-combobox-item-radius);
5498
- font-size: var(--pont-sem-text-sm);
5499
- line-height: var(--pont-sem-text-sm--line-height);
5500
- cursor: default;
5822
+ font-size: var(--pont-ref-typography-size-sm);
5823
+ line-height: var(--pont-ref-typography-leading-of-sm);
5824
+ cursor: var(--pont-sem-cursor-item);
5501
5825
  outline: none;
5502
5826
  user-select: none;
5503
5827
  }
@@ -5536,13 +5860,13 @@
5536
5860
  group-data-empty/combobox-content:flex" */
5537
5861
  :is(pont-prim-combobox-empty, [data-pont-combobox-empty]) {
5538
5862
  display: none;
5539
- width: 100%;
5863
+ width: var(--pont-ref-dimension-size-full);
5540
5864
  justify-content: center;
5541
5865
  padding: 0.5rem 0;
5542
5866
  text-align: center;
5543
5867
  color: var(--pont-sem-color-muted-foreground);
5544
- font-size: var(--pont-sem-text-sm);
5545
- line-height: var(--pont-sem-text-sm--line-height);
5868
+ font-size: var(--pont-ref-typography-size-sm);
5869
+ line-height: var(--pont-ref-typography-leading-of-sm);
5546
5870
  }
5547
5871
  [data-pont-combobox-content][data-empty] [data-pont-combobox-empty] {
5548
5872
  display: flex;
@@ -5557,13 +5881,13 @@
5557
5881
  display: block;
5558
5882
  padding: 0.375rem 0.5rem;
5559
5883
  color: var(--pont-sem-color-muted-foreground);
5560
- font-size: var(--pont-sem-text-xs);
5561
- line-height: var(--pont-sem-text-xs--line-height);
5884
+ font-size: var(--pont-ref-typography-size-xs);
5885
+ line-height: var(--pont-ref-typography-leading-of-xs);
5562
5886
  }
5563
5887
 
5564
5888
  /* separator: is-a Separator + "-mx-1 my-1" */
5565
5889
  [data-pont-combobox-separator] {
5566
- width: auto;
5890
+ width: var(--pont-sem-dimension-size);
5567
5891
  margin: 0.25rem -0.25rem;
5568
5892
  }
5569
5893
 
@@ -5577,15 +5901,15 @@
5577
5901
  has-data-[slot=combobox-chip]:px-1.5". It is a ComboboxInput (combobox.ts), so the input
5578
5902
  group box above applies; these rules make it a wrapping row. */
5579
5903
  :is(pont-prim-combobox-chips, [data-pont-combobox-chips]) {
5580
- height: auto;
5904
+ height: var(--pont-sem-dimension-size);
5581
5905
  min-height: var(--_pont-combobox-input-height);
5582
5906
  flex-wrap: wrap;
5583
5907
  gap: 0.375rem;
5584
5908
  padding: 0.375rem 0.625rem;
5585
5909
  background-clip: padding-box;
5586
- font-size: var(--pont-sem-text-sm);
5587
- line-height: var(--pont-sem-text-sm--line-height);
5588
- cursor: text;
5910
+ font-size: var(--pont-ref-typography-size-sm);
5911
+ line-height: var(--pont-ref-typography-leading-of-sm);
5912
+ cursor: var(--pont-sem-cursor-text);
5589
5913
  }
5590
5914
  [data-pont-combobox-chips]:has(> [data-slot="combobox-chip"]) {
5591
5915
  padding-inline: 0.375rem;
@@ -5596,7 +5920,7 @@
5596
5920
  }
5597
5921
  [data-pont-combobox-chips][data-disabled],
5598
5922
  [data-pont-combobox][data-disabled] [data-pont-combobox-chips] {
5599
- cursor: not-allowed;
5923
+ cursor: var(--pont-sem-cursor-disabled);
5600
5924
  opacity: var(--pont-sem-opacity-disabled);
5601
5925
  }
5602
5926
 
@@ -5605,7 +5929,7 @@
5605
5929
  has-data-[slot=combobox-chip-remove]:pr-0" */
5606
5930
  [data-pont-combobox-chip] {
5607
5931
  display: flex;
5608
- width: fit-content;
5932
+ width: var(--pont-ref-dimension-size-fit);
5609
5933
  height: 1.375rem;
5610
5934
  box-sizing: border-box;
5611
5935
  align-items: center;
@@ -5615,9 +5939,9 @@
5615
5939
  border-radius: var(--_pont-combobox-chip-radius);
5616
5940
  background-color: var(--_pont-combobox-chip-bg);
5617
5941
  color: var(--_pont-combobox-chip-fg);
5618
- font-size: var(--pont-sem-text-xs);
5619
- line-height: var(--pont-sem-text-xs--line-height);
5620
- font-weight: var(--pont-sem-font-weight-medium);
5942
+ font-size: var(--pont-ref-typography-size-xs);
5943
+ line-height: var(--pont-ref-typography-leading-of-xs);
5944
+ font-weight: var(--pont-ref-typography-weight-medium);
5621
5945
  white-space: nowrap;
5622
5946
  outline: none;
5623
5947
  }
@@ -5658,7 +5982,7 @@
5658
5982
  opacity: 1;
5659
5983
  }
5660
5984
  [data-pont-combobox-chip-input]:disabled {
5661
- cursor: not-allowed;
5985
+ cursor: var(--pont-sem-cursor-disabled);
5662
5986
  }
5663
5987
  }
5664
5988
 
@@ -5687,7 +6011,7 @@
5687
6011
  /** @token Corner radius */
5688
6012
  --_pont-tooltip-radius: var(--pont-tooltip-radius, var(--pont-ref-radius-md));
5689
6013
  /** @token Maximum width */
5690
- --_pont-tooltip-max-width: var(--pont-tooltip-max-width, var(--pont-sem-container-xs));
6014
+ --_pont-tooltip-max-width: var(--pont-tooltip-max-width, var(--pont-ref-dimension-size-xs));
5691
6015
  /** @token Horizontal padding */
5692
6016
  --_pont-tooltip-padding-x: var(--pont-tooltip-padding-x, 0.75rem);
5693
6017
  /** @token Vertical padding */
@@ -5702,14 +6026,14 @@
5702
6026
  display: inline-flex;
5703
6027
  align-items: center;
5704
6028
  gap: 0.375rem;
5705
- width: fit-content;
6029
+ width: var(--pont-ref-dimension-size-fit);
5706
6030
  max-width: var(--_pont-tooltip-max-width);
5707
6031
  padding: var(--_pont-tooltip-padding-y) var(--_pont-tooltip-padding-x);
5708
6032
  border-radius: var(--_pont-tooltip-radius);
5709
6033
  background-color: var(--_pont-tooltip-bg);
5710
6034
  color: var(--_pont-tooltip-fg);
5711
- font-size: var(--pont-sem-text-xs);
5712
- line-height: var(--pont-sem-text-xs--line-height);
6035
+ font-size: var(--pont-ref-typography-size-xs);
6036
+ line-height: var(--pont-ref-typography-leading-of-xs);
5713
6037
  overflow: visible;
5714
6038
  }
5715
6039
  [data-pont-tooltip-content]:has([data-slot="kbd"]) {
@@ -5807,9 +6131,9 @@
5807
6131
  margin: auto;
5808
6132
  display: grid;
5809
6133
  box-sizing: border-box;
5810
- width: 100%;
6134
+ width: var(--pont-ref-dimension-size-full);
5811
6135
  max-width: calc(100% - 2rem);
5812
- height: fit-content;
6136
+ height: var(--pont-ref-dimension-size-fit);
5813
6137
  max-height: calc(100% - 2rem);
5814
6138
  overflow-y: auto;
5815
6139
  gap: var(--_pont-dialog-gap);
@@ -5817,8 +6141,8 @@
5817
6141
  border-radius: var(--_pont-dialog-radius);
5818
6142
  background-color: var(--_pont-dialog-bg);
5819
6143
  color: var(--_pont-dialog-fg);
5820
- font-size: var(--pont-sem-text-sm);
5821
- line-height: var(--pont-sem-text-sm--line-height);
6144
+ font-size: var(--pont-ref-typography-size-sm);
6145
+ line-height: var(--pont-ref-typography-leading-of-sm);
5822
6146
  outline: none;
5823
6147
  --pont-shadow: var(--_pont-dialog-shadow);
5824
6148
  --pont-ring-shadow: 0 0 0 var(--pont-sem-border-width) var(--_pont-dialog-border-color);
@@ -5863,17 +6187,17 @@
5863
6187
  :is(pont-prim-dialog-title, [data-pont-dialog-title]) {
5864
6188
  display: block;
5865
6189
  margin: 0;
5866
- font-family: var(--pont-sem-font-heading);
6190
+ font-family: var(--pont-sem-typography-font-heading);
5867
6191
  line-height: 1;
5868
- font-weight: var(--pont-sem-font-weight-medium);
6192
+ font-weight: var(--pont-ref-typography-weight-medium);
5869
6193
  }
5870
6194
 
5871
6195
  :is(pont-prim-dialog-description, [data-pont-dialog-description]) {
5872
6196
  display: block;
5873
6197
  margin: 0;
5874
6198
  color: var(--pont-sem-color-muted-foreground);
5875
- font-size: var(--pont-sem-text-sm);
5876
- line-height: var(--pont-sem-text-sm--line-height);
6199
+ font-size: var(--pont-ref-typography-size-sm);
6200
+ line-height: var(--pont-ref-typography-leading-of-sm);
5877
6201
  }
5878
6202
  :is(pont-prim-dialog-description, [data-pont-dialog-description]) > a {
5879
6203
  color: inherit;
@@ -5890,7 +6214,7 @@
5890
6214
 
5891
6215
  /* supports-backdrop-filter:backdrop-blur-xs; fade-in-0 / fade-out-0 with the popup. */
5892
6216
  :is([data-pont-dialog-content], [data-pont-alert-dialog-content], [data-pont-sheet-content], [data-pont-drawer-content])::backdrop {
5893
- backdrop-filter: blur(4px);
6217
+ backdrop-filter: blur(var(--pont-ref-filter-blur-xs));
5894
6218
  }
5895
6219
  :is([data-pont-dialog-content], [data-pont-alert-dialog-content], [data-pont-sheet-content], [data-pont-drawer-content])[data-open]::backdrop {
5896
6220
  animation: pont-backdrop-enter var(--_pont-popup-duration) var(--pont-sem-ease-in-out);
@@ -5952,9 +6276,9 @@
5952
6276
  margin: auto;
5953
6277
  display: grid;
5954
6278
  box-sizing: border-box;
5955
- width: 100%;
6279
+ width: var(--pont-ref-dimension-size-full);
5956
6280
  max-width: min(var(--_pont-alert-dialog-sm-max-width), calc(100% - 2rem));
5957
- height: fit-content;
6281
+ height: var(--pont-ref-dimension-size-fit);
5958
6282
  max-height: calc(100% - 2rem);
5959
6283
  overflow-y: auto;
5960
6284
  gap: var(--_pont-alert-dialog-gap);
@@ -5962,8 +6286,8 @@
5962
6286
  border-radius: var(--_pont-alert-dialog-radius);
5963
6287
  background-color: var(--_pont-alert-dialog-bg);
5964
6288
  color: var(--_pont-alert-dialog-fg);
5965
- font-size: var(--pont-sem-text-sm);
5966
- line-height: var(--pont-sem-text-sm--line-height);
6289
+ font-size: var(--pont-ref-typography-size-sm);
6290
+ line-height: var(--pont-ref-typography-leading-of-sm);
5967
6291
  outline: none;
5968
6292
  --pont-ring-shadow: 0 0 0 var(--pont-sem-border-width) var(--_pont-alert-dialog-border-color);
5969
6293
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
@@ -6002,18 +6326,18 @@
6002
6326
  :is(pont-prim-alert-dialog-title, [data-pont-alert-dialog-title]) {
6003
6327
  display: block;
6004
6328
  margin: 0;
6005
- font-family: var(--pont-sem-font-heading);
6006
- font-size: var(--pont-sem-text-lg);
6007
- line-height: var(--pont-sem-text-lg--line-height);
6008
- font-weight: var(--pont-sem-font-weight-medium);
6329
+ font-family: var(--pont-sem-typography-font-heading);
6330
+ font-size: var(--pont-ref-typography-size-lg);
6331
+ line-height: var(--pont-ref-typography-leading-of-lg);
6332
+ font-weight: var(--pont-ref-typography-weight-medium);
6009
6333
  }
6010
6334
 
6011
6335
  :is(pont-prim-alert-dialog-description, [data-pont-alert-dialog-description]) {
6012
6336
  display: block;
6013
6337
  margin: 0;
6014
6338
  color: var(--pont-sem-color-muted-foreground);
6015
- font-size: var(--pont-sem-text-sm);
6016
- line-height: var(--pont-sem-text-sm--line-height);
6339
+ font-size: var(--pont-ref-typography-size-sm);
6340
+ line-height: var(--pont-ref-typography-leading-of-sm);
6017
6341
  text-wrap: balance;
6018
6342
  }
6019
6343
  :is(pont-prim-alert-dialog-description, [data-pont-alert-dialog-description]) > a {
@@ -6115,8 +6439,8 @@
6115
6439
  background-color: var(--_pont-sheet-bg);
6116
6440
  background-clip: padding-box;
6117
6441
  color: var(--_pont-sheet-fg);
6118
- font-size: var(--pont-sem-text-sm);
6119
- line-height: var(--pont-sem-text-sm--line-height);
6442
+ font-size: var(--pont-ref-typography-size-sm);
6443
+ line-height: var(--pont-ref-typography-leading-of-sm);
6120
6444
  outline: none;
6121
6445
  --pont-shadow: var(--_pont-sheet-shadow);
6122
6446
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
@@ -6133,7 +6457,7 @@
6133
6457
  [data-pont-sheet-content]:not([data-side]) {
6134
6458
  inset: 0 0 0 auto;
6135
6459
  width: var(--_pont-sheet-width);
6136
- height: 100%;
6460
+ height: var(--pont-ref-dimension-size-full);
6137
6461
  border-left-width: var(--pont-sem-border-width);
6138
6462
  --_pont-popup-enter-translate-x: 2.5rem;
6139
6463
  --_pont-popup-exit-translate-x: 2.5rem;
@@ -6142,7 +6466,7 @@
6142
6466
  [data-pont-sheet-content][data-side="left"] {
6143
6467
  inset: 0 auto 0 0;
6144
6468
  width: var(--_pont-sheet-width);
6145
- height: 100%;
6469
+ height: var(--pont-ref-dimension-size-full);
6146
6470
  border-right-width: var(--pont-sem-border-width);
6147
6471
  --_pont-popup-enter-translate-x: -2.5rem;
6148
6472
  --_pont-popup-exit-translate-x: -2.5rem;
@@ -6150,8 +6474,8 @@
6150
6474
  }
6151
6475
  [data-pont-sheet-content][data-side="top"] {
6152
6476
  inset: 0 0 auto 0;
6153
- width: 100%;
6154
- height: auto;
6477
+ width: var(--pont-ref-dimension-size-full);
6478
+ height: var(--pont-sem-dimension-size);
6155
6479
  border-bottom-width: var(--pont-sem-border-width);
6156
6480
  --_pont-popup-enter-translate-x: 0;
6157
6481
  --_pont-popup-enter-translate-y: -2.5rem;
@@ -6159,8 +6483,8 @@
6159
6483
  }
6160
6484
  [data-pont-sheet-content][data-side="bottom"] {
6161
6485
  inset: auto 0 0 0;
6162
- width: 100%;
6163
- height: auto;
6486
+ width: var(--pont-ref-dimension-size-full);
6487
+ height: var(--pont-sem-dimension-size);
6164
6488
  border-top-width: var(--pont-sem-border-width);
6165
6489
  --_pont-popup-enter-translate-x: 0;
6166
6490
  --_pont-popup-enter-translate-y: 2.5rem;
@@ -6195,15 +6519,15 @@
6195
6519
  display: block;
6196
6520
  margin: 0;
6197
6521
  color: var(--pont-sem-color-foreground);
6198
- font-family: var(--pont-sem-font-heading);
6199
- font-weight: var(--pont-sem-font-weight-medium);
6522
+ font-family: var(--pont-sem-typography-font-heading);
6523
+ font-weight: var(--pont-ref-typography-weight-medium);
6200
6524
  }
6201
6525
  :is(pont-prim-sheet-description, [data-pont-sheet-description]) {
6202
6526
  display: block;
6203
6527
  margin: 0;
6204
6528
  color: var(--pont-sem-color-muted-foreground);
6205
- font-size: var(--pont-sem-text-sm);
6206
- line-height: var(--pont-sem-text-sm--line-height);
6529
+ font-size: var(--pont-ref-typography-size-sm);
6530
+ line-height: var(--pont-ref-typography-leading-of-sm);
6207
6531
  }
6208
6532
  }
6209
6533
 
@@ -6254,8 +6578,8 @@
6254
6578
  border: 0 solid var(--_pont-drawer-border-color);
6255
6579
  background-color: var(--_pont-drawer-bg);
6256
6580
  color: var(--_pont-drawer-fg);
6257
- font-size: var(--pont-sem-text-sm);
6258
- line-height: var(--pont-sem-text-sm--line-height);
6581
+ font-size: var(--pont-ref-typography-size-sm);
6582
+ line-height: var(--pont-ref-typography-leading-of-sm);
6259
6583
  outline: none;
6260
6584
  --_pont-popup-duration: 450ms;
6261
6585
  --_pont-popup-enter-opacity: 1;
@@ -6272,7 +6596,7 @@
6272
6596
 
6273
6597
  [data-pont-drawer-content]:is([data-swipe-direction="down"], :not([data-swipe-direction])) {
6274
6598
  inset: auto 0 0 0;
6275
- max-height: calc(100dvh - 6rem);
6599
+ max-height: calc(var(--pont-ref-dimension-size-dvh) - 6rem);
6276
6600
  border-top-width: var(--pont-sem-border-width);
6277
6601
  border-radius: var(--_pont-drawer-radius) var(--_pont-drawer-radius) 0 0;
6278
6602
  --_pont-popup-enter-translate-x: 0;
@@ -6281,7 +6605,7 @@
6281
6605
  }
6282
6606
  [data-pont-drawer-content][data-swipe-direction="up"] {
6283
6607
  inset: 0 0 auto 0;
6284
- max-height: calc(100dvh - 6rem);
6608
+ max-height: calc(var(--pont-ref-dimension-size-dvh) - 6rem);
6285
6609
  border-bottom-width: var(--pont-sem-border-width);
6286
6610
  border-radius: 0 0 var(--_pont-drawer-radius) var(--_pont-drawer-radius);
6287
6611
  --_pont-popup-enter-translate-x: 0;
@@ -6320,7 +6644,7 @@
6320
6644
  justify-content: center;
6321
6645
  align-items: flex-end;
6322
6646
  height: 0.75rem;
6323
- cursor: grab;
6647
+ cursor: var(--pont-sem-cursor-grab);
6324
6648
  }
6325
6649
  [data-pont-drawer-swipe-handle]::after {
6326
6650
  content: "";
@@ -6334,7 +6658,7 @@
6334
6658
  position: absolute;
6335
6659
  inset-block: 0;
6336
6660
  width: 0.75rem;
6337
- height: auto;
6661
+ height: var(--pont-sem-dimension-size);
6338
6662
  align-items: center;
6339
6663
  }
6340
6664
  [data-pont-drawer-content][data-swipe-direction="right"] > [data-pont-drawer-swipe-handle] {
@@ -6382,15 +6706,15 @@
6382
6706
  display: block;
6383
6707
  margin: 0;
6384
6708
  color: var(--pont-sem-color-foreground);
6385
- font-family: var(--pont-sem-font-heading);
6386
- font-weight: var(--pont-sem-font-weight-medium);
6709
+ font-family: var(--pont-sem-typography-font-heading);
6710
+ font-weight: var(--pont-ref-typography-weight-medium);
6387
6711
  }
6388
6712
  :is(pont-prim-drawer-description, [data-pont-drawer-description]) {
6389
6713
  display: block;
6390
6714
  margin: 0;
6391
6715
  color: var(--pont-sem-color-muted-foreground);
6392
- font-size: var(--pont-sem-text-sm);
6393
- line-height: var(--pont-sem-text-sm--line-height);
6716
+ font-size: var(--pont-ref-typography-size-sm);
6717
+ line-height: var(--pont-ref-typography-leading-of-sm);
6394
6718
  text-wrap: balance;
6395
6719
  }
6396
6720
  }
@@ -6434,8 +6758,8 @@
6434
6758
  border-radius: var(--_pont-hover-card-radius);
6435
6759
  background-color: var(--_pont-hover-card-bg);
6436
6760
  color: var(--_pont-hover-card-fg);
6437
- font-size: var(--pont-sem-text-sm);
6438
- line-height: var(--pont-sem-text-sm--line-height);
6761
+ font-size: var(--pont-ref-typography-size-sm);
6762
+ line-height: var(--pont-ref-typography-leading-of-sm);
6439
6763
  outline: none;
6440
6764
  --pont-shadow: var(--_pont-hover-card-shadow);
6441
6765
  --pont-ring-shadow: 0 0 0 var(--pont-sem-border-width) var(--_pont-hover-card-border-color);
@@ -6478,16 +6802,16 @@
6478
6802
  /* The section: a popover in the top layer, with the UA popover box undone. */
6479
6803
  :is(pont-prim-toaster, [data-pont-toaster]) {
6480
6804
  position: fixed;
6481
- inset: auto;
6805
+ inset: var(--pont-sem-dimension-space-inset);
6482
6806
  width: var(--_pont-toast-width);
6483
- height: auto;
6807
+ height: var(--pont-sem-dimension-size);
6484
6808
  margin: 0;
6485
6809
  padding: 0;
6486
6810
  border: 0;
6487
6811
  overflow: visible;
6488
6812
  background: transparent;
6489
6813
  color: var(--_pont-toast-fg);
6490
- font-family: var(--pont-sem-font-body);
6814
+ font-family: var(--pont-sem-typography-font-body);
6491
6815
  outline: none;
6492
6816
  }
6493
6817
  :is(pont-prim-toaster, [data-pont-toaster]):not(:popover-open) {
@@ -6534,7 +6858,7 @@
6534
6858
  position: relative;
6535
6859
  display: flex;
6536
6860
  box-sizing: border-box;
6537
- width: 100%;
6861
+ width: var(--pont-ref-dimension-size-full);
6538
6862
  align-items: center;
6539
6863
  gap: 6px;
6540
6864
  padding: 16px;
@@ -6592,11 +6916,11 @@
6592
6916
  min-width: 0;
6593
6917
  }
6594
6918
  [data-pont-toast] [data-title] {
6595
- font-weight: var(--pont-sem-font-weight-medium);
6919
+ font-weight: var(--pont-ref-typography-weight-medium);
6596
6920
  line-height: 1.5;
6597
6921
  }
6598
6922
  [data-pont-toast] [data-description] {
6599
- font-weight: var(--pont-sem-font-weight-normal);
6923
+ font-weight: var(--pont-ref-typography-weight-normal);
6600
6924
  line-height: 1.4;
6601
6925
  color: var(--pont-sem-color-muted-foreground);
6602
6926
  }
@@ -6613,7 +6937,7 @@
6613
6937
  color: var(--_pont-toast-bg);
6614
6938
  font: inherit;
6615
6939
  font-size: 12px;
6616
- font-weight: var(--pont-sem-font-weight-medium);
6940
+ font-weight: var(--pont-ref-typography-weight-medium);
6617
6941
  cursor: pointer;
6618
6942
  outline: none;
6619
6943
  transition: opacity 400ms, box-shadow 200ms;
@@ -6839,7 +7163,7 @@
6839
7163
  /* `mark` / required caret after the label text. */
6840
7164
  [data-pont-field-label] > [data-slot="field-mark"] {
6841
7165
  color: var(--pont-sem-color-muted-foreground);
6842
- font-weight: var(--pont-sem-font-weight-normal, 400);
7166
+ font-weight: var(--pont-ref-typography-weight-normal, 400);
6843
7167
  }
6844
7168
 
6845
7169
  /* Password: label + "Forgot your password?" on one row, as in shadcn's login blocks
@@ -6851,9 +7175,9 @@
6851
7175
  }
6852
7176
  [data-pont-auth-field-label-row] > [data-slot="field-forgot"] {
6853
7177
  margin-left: auto;
6854
- height: auto;
7178
+ height: var(--pont-sem-dimension-size);
6855
7179
  padding: 0;
6856
- font-weight: var(--pont-sem-font-weight-normal, 400);
7180
+ font-weight: var(--pont-ref-typography-weight-normal, 400);
6857
7181
  }
6858
7182
  }
6859
7183
 
@@ -6892,11 +7216,11 @@
6892
7216
  align-items: center;
6893
7217
  min-height: 1.25rem;
6894
7218
  color: var(--_pont-otp-resend-fg);
6895
- font-size: var(--pont-sem-text-sm);
6896
- line-height: var(--pont-sem-text-sm--line-height);
7219
+ font-size: var(--pont-ref-typography-size-sm);
7220
+ line-height: var(--pont-ref-typography-leading-of-sm);
6897
7221
  }
6898
7222
  [data-pont-otp-resend] > [data-slot="otp-resend-button"] {
6899
- height: auto;
7223
+ height: var(--pont-sem-dimension-size);
6900
7224
  padding: 0;
6901
7225
  color: var(--_pont-otp-resend-button-fg);
6902
7226
  font-size: inherit;
@@ -6943,8 +7267,8 @@
6943
7267
  justify-content: center;
6944
7268
  column-gap: 0.25rem;
6945
7269
  color: var(--_pont-link-fg);
6946
- font-size: var(--pont-sem-text-sm);
6947
- line-height: var(--pont-sem-text-sm--line-height);
7270
+ font-size: var(--pont-ref-typography-size-sm);
7271
+ line-height: var(--pont-ref-typography-leading-of-sm);
6948
7272
  }
6949
7273
  [data-pont-link][data-align="start"] {
6950
7274
  justify-content: flex-start;
@@ -6953,7 +7277,7 @@
6953
7277
  justify-content: flex-end;
6954
7278
  }
6955
7279
  [data-pont-link] > [data-slot="link-button"] {
6956
- height: auto;
7280
+ height: var(--pont-sem-dimension-size);
6957
7281
  padding: 0;
6958
7282
  color: var(--_pont-link-button-fg);
6959
7283
  font-size: inherit;
@@ -7008,31 +7332,31 @@
7008
7332
  /** @token component=title Text */
7009
7333
  --_pont-title-fg: var(--pont-title-fg, var(--pont-sem-color-foreground));
7010
7334
  /** @token component=title Weight */
7011
- --_pont-title-font-weight: var(--pont-title-font-weight, var(--pont-sem-font-weight-semibold));
7335
+ --_pont-title-font-weight: var(--pont-title-font-weight, var(--pont-ref-typography-weight-semibold));
7012
7336
  }
7013
7337
  [data-pont-title][data-level="1"] {
7014
7338
  /** @token component=title Size (level 1) */
7015
- --_pont-title-font-size: var(--pont-title-h1-font-size, var(--pont-sem-text-2xl));
7339
+ --_pont-title-font-size: var(--pont-title-h1-font-size, var(--pont-ref-typography-size-2xl));
7016
7340
  /** @token component=title Weight (level 1) */
7017
- --_pont-title-font-weight: var(--pont-title-h1-font-weight, var(--pont-title-font-weight, var(--pont-sem-font-weight-bold)));
7341
+ --_pont-title-font-weight: var(--pont-title-h1-font-weight, var(--pont-title-font-weight, var(--pont-ref-typography-weight-bold)));
7018
7342
  }
7019
7343
  [data-pont-title][data-level="2"] {
7020
7344
  /** @token component=title Size (level 2) */
7021
- --_pont-title-font-size: var(--pont-title-h2-font-size, var(--pont-sem-text-xl));
7345
+ --_pont-title-font-size: var(--pont-title-h2-font-size, var(--pont-ref-typography-size-xl));
7022
7346
  }
7023
7347
  [data-pont-title][data-level="3"] {
7024
7348
  /** @token component=title Size (level 3) */
7025
- --_pont-title-font-size: var(--pont-title-h3-font-size, var(--pont-sem-text-lg));
7349
+ --_pont-title-font-size: var(--pont-title-h3-font-size, var(--pont-ref-typography-size-lg));
7026
7350
  }
7027
7351
  [data-pont-title][data-level="4"] {
7028
7352
  /** @token component=title Size (level 4) */
7029
- --_pont-title-font-size: var(--pont-title-h4-font-size, var(--pont-sem-text-base));
7353
+ --_pont-title-font-size: var(--pont-title-h4-font-size, var(--pont-ref-typography-size-base));
7030
7354
  }
7031
7355
  [data-pont-subtitle] {
7032
7356
  /** @token component=subtitle Text */
7033
7357
  --_pont-subtitle-fg: var(--pont-subtitle-fg, var(--pont-sem-color-muted-foreground));
7034
7358
  /** @token component=subtitle Size */
7035
- --_pont-subtitle-font-size: var(--pont-subtitle-font-size, var(--pont-sem-text-sm));
7359
+ --_pont-subtitle-font-size: var(--pont-subtitle-font-size, var(--pont-ref-typography-size-sm));
7036
7360
  }
7037
7361
 
7038
7362
  /* ------------------------------------------------------------------ */
@@ -7042,30 +7366,30 @@
7042
7366
  [data-pont-title] {
7043
7367
  margin: 0;
7044
7368
  color: var(--_pont-title-fg);
7045
- font-family: var(--pont-sem-font-heading);
7369
+ font-family: var(--pont-sem-typography-font-heading);
7046
7370
  font-size: var(--_pont-title-font-size);
7047
7371
  font-weight: var(--_pont-title-font-weight);
7048
- letter-spacing: var(--pont-sem-tracking-tight);
7372
+ letter-spacing: var(--pont-ref-typography-tracking-tight);
7049
7373
  text-wrap: balance;
7050
7374
  }
7051
7375
  [data-pont-title][data-level="1"] {
7052
- line-height: var(--pont-sem-text-2xl--line-height);
7376
+ line-height: var(--pont-ref-typography-leading-of-2xl);
7053
7377
  }
7054
7378
  [data-pont-title][data-level="2"] {
7055
- line-height: var(--pont-sem-text-xl--line-height);
7379
+ line-height: var(--pont-ref-typography-leading-of-xl);
7056
7380
  }
7057
7381
  [data-pont-title][data-level="3"] {
7058
- line-height: var(--pont-sem-text-lg--line-height);
7382
+ line-height: var(--pont-ref-typography-leading-of-lg);
7059
7383
  }
7060
7384
  [data-pont-title][data-level="4"] {
7061
- line-height: var(--pont-sem-text-base--line-height);
7385
+ line-height: var(--pont-ref-typography-leading-of-base);
7062
7386
  }
7063
7387
 
7064
7388
  [data-pont-subtitle] {
7065
7389
  margin: 0;
7066
7390
  color: var(--_pont-subtitle-fg);
7067
7391
  font-size: var(--_pont-subtitle-font-size);
7068
- line-height: var(--pont-sem-text-sm--line-height);
7392
+ line-height: var(--pont-ref-typography-leading-of-sm);
7069
7393
  text-wrap: balance;
7070
7394
  }
7071
7395
 
@@ -7115,7 +7439,7 @@
7115
7439
  }
7116
7440
  pont-provider-field > pont-provider-button > [data-pont-button] {
7117
7441
  grid-column: span 12 / span 12;
7118
- width: 100%;
7442
+ width: var(--pont-ref-dimension-size-full);
7119
7443
  }
7120
7444
  pont-provider-field[data-columns$="three"] > pont-provider-button > [data-pont-button] {
7121
7445
  grid-column: span 4 / span 4;
@@ -7170,7 +7494,7 @@
7170
7494
  /** @token Spacing (padding) */
7171
7495
  --_pont-card-spacing: var(--pont-block-spacing, var(--pont-card-spacing, 1.5rem));
7172
7496
  /** @token Maximum width */
7173
- --_pont-block-max-width: var(--pont-block-max-width, var(--pont-sem-container-sm));
7497
+ --_pont-block-max-width: var(--pont-block-max-width, var(--pont-ref-dimension-size-sm));
7174
7498
  /** @token Gap between children */
7175
7499
  --_pont-block-gap: var(--pont-block-gap, 1rem);
7176
7500
  /** @token Background (watermark band) */
@@ -7191,7 +7515,7 @@
7191
7515
  display: flex;
7192
7516
  flex-direction: column;
7193
7517
  gap: var(--_pont-block-gap);
7194
- width: 100%;
7518
+ width: var(--pont-ref-dimension-size-full);
7195
7519
  max-width: var(--_pont-block-max-width);
7196
7520
  margin-inline: auto;
7197
7521
  padding-inline: var(--_pont-card-spacing);
@@ -7217,8 +7541,8 @@
7217
7541
 
7218
7542
  @media (width < 40rem) {
7219
7543
  pont-block {
7220
- max-width: none;
7221
- min-height: 100svh;
7544
+ max-width: var(--pont-sem-dimension-size-max);
7545
+ min-height: var(--pont-ref-dimension-size-svh);
7222
7546
  border-radius: 0;
7223
7547
  }
7224
7548
  }
@@ -7237,7 +7561,7 @@
7237
7561
  upgrade, so give the shell its width now to avoid a jump. */
7238
7562
  pont-block:not([data-pont-card]) {
7239
7563
  display: block;
7240
- width: 100%;
7564
+ width: var(--pont-ref-dimension-size-full);
7241
7565
  max-width: var(--_pont-block-max-width);
7242
7566
  margin-inline: auto;
7243
7567
  }
@@ -7282,11 +7606,11 @@
7282
7606
  gap: 0.375rem;
7283
7607
  color: var(--_pont-watermark-fg);
7284
7608
  font-size: 0.8125rem;
7285
- line-height: var(--pont-sem-leading-none);
7609
+ line-height: var(--pont-ref-typography-leading-none);
7286
7610
  }
7287
7611
  [data-pont-watermark] > [data-slot="watermark-logo"] {
7288
7612
  flex-shrink: 0;
7289
- width: auto;
7613
+ width: var(--pont-sem-dimension-size);
7290
7614
  height: 0.875rem;
7291
7615
  }
7292
7616
  [data-pont-watermark] [data-logo-mark] {
@@ -7312,7 +7636,7 @@
7312
7636
  display: flex;
7313
7637
  flex-direction: column;
7314
7638
  gap: var(--_pont-container-gap);
7315
- width: 100%;
7639
+ width: var(--pont-ref-dimension-size-full);
7316
7640
  }
7317
7641
  [data-pont-container][data-type="flex_row"] {
7318
7642
  flex-direction: row;
@@ -7364,7 +7688,7 @@
7364
7688
  align-items: center;
7365
7689
  justify-content: center;
7366
7690
  color: var(--pont-sem-color-muted-foreground);
7367
- font-size: var(--pont-sem-text-sm);
7691
+ font-size: var(--pont-ref-typography-size-sm);
7368
7692
  pointer-events: none;
7369
7693
  }
7370
7694
  }
@@ -7388,7 +7712,7 @@
7388
7712
  flex-direction: column;
7389
7713
  align-items: center;
7390
7714
  gap: var(--_pont-header-gap);
7391
- width: 100%;
7715
+ width: var(--pont-ref-dimension-size-full);
7392
7716
  text-align: center;
7393
7717
  }
7394
7718
  [data-pont-header][data-align="start"] {
@@ -7407,12 +7731,12 @@
7407
7731
  :is(pont-gap, [data-pont-gap]) {
7408
7732
  display: block;
7409
7733
  flex-shrink: 0;
7410
- width: 1px;
7734
+ width: var(--pont-ref-dimension-size-px);
7411
7735
  height: var(--pont-gap-size, 8px);
7412
7736
  }
7413
7737
  [data-pont-gap][data-type="horizontal"] {
7414
7738
  width: var(--pont-gap-size, 8px);
7415
- height: 1px;
7739
+ height: var(--pont-ref-dimension-size-px);
7416
7740
  }
7417
7741
  }
7418
7742
 
@@ -7426,7 +7750,7 @@
7426
7750
  :is(pont-logo, [data-pont-logo]) {
7427
7751
  display: flex;
7428
7752
  justify-content: center;
7429
- width: 100%;
7753
+ width: var(--pont-ref-dimension-size-full);
7430
7754
  }
7431
7755
  [data-pont-logo][data-align="start"] {
7432
7756
  justify-content: flex-start;
@@ -7436,8 +7760,8 @@
7436
7760
  }
7437
7761
  [data-pont-logo] > img {
7438
7762
  display: block;
7439
- max-width: 100%;
7440
- height: auto;
7763
+ max-width: var(--pont-ref-dimension-size-full);
7764
+ height: var(--pont-sem-dimension-size);
7441
7765
  }
7442
7766
  [data-pont-logo] > img[data-logo-theme="dark"] {
7443
7767
  display: var(--pont-sem-mode-dark-display, none);
@@ -7454,8 +7778,8 @@
7454
7778
  :is(pont-countdown, [data-pont-countdown]) {
7455
7779
  display: block;
7456
7780
  color: var(--pont-sem-color-muted-foreground);
7457
- font-size: var(--pont-sem-text-sm);
7458
- line-height: var(--pont-sem-text-sm--line-height);
7781
+ font-size: var(--pont-ref-typography-size-sm);
7782
+ line-height: var(--pont-ref-typography-leading-of-sm);
7459
7783
  font-variant-numeric: tabular-nums;
7460
7784
  text-align: center;
7461
7785
  }
@@ -7470,12 +7794,12 @@
7470
7794
  justify-content: center;
7471
7795
  gap: 0.25rem;
7472
7796
  min-width: 0;
7473
- font-size: var(--pont-sem-text-sm);
7474
- line-height: var(--pont-sem-text-sm--line-height);
7797
+ font-size: var(--pont-ref-typography-size-sm);
7798
+ line-height: var(--pont-ref-typography-leading-of-sm);
7475
7799
  }
7476
7800
  [data-pont-edit-identifier] > [data-slot="edit-identifier-value"] {
7477
7801
  overflow: hidden;
7478
- font-weight: var(--pont-sem-font-weight-medium);
7802
+ font-weight: var(--pont-ref-typography-weight-medium);
7479
7803
  text-overflow: ellipsis;
7480
7804
  white-space: nowrap;
7481
7805
  }
@@ -7488,23 +7812,23 @@
7488
7812
  display: flex;
7489
7813
  flex-direction: column;
7490
7814
  gap: 0.5rem;
7491
- width: 100%;
7815
+ width: var(--pont-ref-dimension-size-full);
7492
7816
  }
7493
7817
  [data-pont-secret] > [data-slot="secret-title"] {
7494
7818
  margin: 0;
7495
- font-size: var(--pont-sem-text-sm);
7496
- line-height: var(--pont-sem-text-sm--line-height);
7497
- font-weight: var(--pont-sem-font-weight-medium);
7819
+ font-size: var(--pont-ref-typography-size-sm);
7820
+ line-height: var(--pont-ref-typography-leading-of-sm);
7821
+ font-weight: var(--pont-ref-typography-weight-medium);
7498
7822
  }
7499
7823
  [data-pont-secret] [data-secret] {
7500
- font-family: var(--pont-sem-font-code);
7501
- letter-spacing: var(--pont-sem-tracking-wider);
7824
+ font-family: var(--pont-sem-typography-font-code);
7825
+ letter-spacing: var(--pont-ref-typography-tracking-wider);
7502
7826
  }
7503
7827
  /* Reserved line, so the status appearing does not shift the layout. */
7504
7828
  [data-pont-secret] > [data-slot="secret-copied"] {
7505
7829
  min-height: 1rem;
7506
7830
  color: var(--pont-sem-color-muted-foreground);
7507
- font-size: var(--pont-sem-text-xs);
7831
+ font-size: var(--pont-ref-typography-size-xs);
7508
7832
  line-height: 1rem;
7509
7833
  }
7510
7834
  [data-pont-secret] > [data-slot="secret-metadata"] {
@@ -7515,14 +7839,14 @@
7515
7839
  }
7516
7840
  [data-pont-secret] > [data-slot="secret-metadata"] dt {
7517
7841
  color: var(--pont-sem-color-muted-foreground);
7518
- font-size: var(--pont-sem-text-xs);
7842
+ font-size: var(--pont-ref-typography-size-xs);
7519
7843
  line-height: 1rem;
7520
7844
  }
7521
7845
  [data-pont-secret] > [data-slot="secret-metadata"] dd {
7522
7846
  margin: 0;
7523
- font-size: var(--pont-sem-text-sm);
7524
- line-height: var(--pont-sem-text-sm--line-height);
7525
- font-weight: var(--pont-sem-font-weight-medium);
7847
+ font-size: var(--pont-ref-typography-size-sm);
7848
+ line-height: var(--pont-ref-typography-leading-of-sm);
7849
+ font-weight: var(--pont-ref-typography-weight-medium);
7526
7850
  }
7527
7851
  }
7528
7852
 
@@ -7543,13 +7867,13 @@
7543
7867
  position: relative;
7544
7868
  display: grid;
7545
7869
  place-items: center;
7546
- width: fit-content;
7870
+ width: var(--pont-ref-dimension-size-fit);
7547
7871
  margin-inline: auto;
7548
7872
  }
7549
7873
  [data-pont-qr-code] > [data-slot="qr-code-image"] {
7550
7874
  display: block;
7551
7875
  width: var(--_pont-qr-code-width);
7552
- height: auto;
7876
+ height: var(--pont-sem-dimension-size);
7553
7877
  border-radius: var(--pont-ref-radius-md);
7554
7878
  box-shadow: 0 0 0 var(--pont-sem-border-width) var(--pont-sem-color-border);
7555
7879
  transition: opacity 200ms ease;
@@ -7586,17 +7910,17 @@
7586
7910
  display: flex;
7587
7911
  flex-direction: column;
7588
7912
  gap: 0.75rem;
7589
- width: 100%;
7913
+ width: var(--pont-ref-dimension-size-full);
7590
7914
  }
7591
7915
  [data-pont-recovery-codes] > [data-slot="recovery-codes-title"] {
7592
7916
  margin: 0;
7593
- font-weight: var(--pont-sem-font-weight-medium);
7917
+ font-weight: var(--pont-ref-typography-weight-medium);
7594
7918
  }
7595
7919
  [data-pont-recovery-codes] > :is([data-slot="recovery-codes-description"], [data-slot="recovery-codes-empty"]) {
7596
7920
  margin: 0;
7597
7921
  color: var(--pont-sem-color-muted-foreground);
7598
- font-size: var(--pont-sem-text-sm);
7599
- line-height: var(--pont-sem-text-sm--line-height);
7922
+ font-size: var(--pont-ref-typography-size-sm);
7923
+ line-height: var(--pont-ref-typography-leading-of-sm);
7600
7924
  }
7601
7925
  [data-pont-recovery-codes] > [data-slot="recovery-codes-list"] {
7602
7926
  display: grid;
@@ -7607,9 +7931,9 @@
7607
7931
  list-style: none;
7608
7932
  border-radius: var(--_pont-recovery-codes-list-radius);
7609
7933
  background-color: var(--_pont-recovery-codes-list-bg);
7610
- font-family: var(--pont-sem-font-code);
7611
- font-size: var(--pont-sem-text-sm);
7612
- line-height: var(--pont-sem-text-sm--line-height);
7934
+ font-family: var(--pont-sem-typography-font-code);
7935
+ font-size: var(--pont-ref-typography-size-sm);
7936
+ line-height: var(--pont-ref-typography-leading-of-sm);
7613
7937
  text-align: center;
7614
7938
  }
7615
7939
  [data-pont-recovery-codes] > [data-slot="recovery-codes-actions"] {
@@ -7622,7 +7946,7 @@
7622
7946
  [data-pont-recovery-codes] > [data-slot="recovery-codes-copied"] {
7623
7947
  min-height: 1rem;
7624
7948
  color: var(--pont-sem-color-muted-foreground);
7625
- font-size: var(--pont-sem-text-xs);
7949
+ font-size: var(--pont-ref-typography-size-xs);
7626
7950
  line-height: 1rem;
7627
7951
  text-align: center;
7628
7952
  }
@@ -7640,8 +7964,8 @@
7640
7964
  display: flex;
7641
7965
  align-items: center;
7642
7966
  gap: 0.75rem;
7643
- font-size: var(--pont-sem-text-sm);
7644
- line-height: var(--pont-sem-text-sm--line-height);
7967
+ font-size: var(--pont-ref-typography-size-sm);
7968
+ line-height: var(--pont-ref-typography-leading-of-sm);
7645
7969
  cursor: pointer;
7646
7970
  }
7647
7971
  [data-pont-scope-list] [data-required] [data-slot="scope-list-label"],
@@ -7662,14 +7986,14 @@
7662
7986
  @layer pont.kit {
7663
7987
  :is(pont-layout, [data-pont-layout]) {
7664
7988
  display: block;
7665
- width: 100%;
7989
+ width: var(--pont-ref-dimension-size-full);
7666
7990
  }
7667
7991
  [data-pont-layout] > [data-slot="layout-form"] {
7668
7992
  display: contents;
7669
7993
  }
7670
7994
  /* The error banner sits in the screen's flow (block gap); the restart button spans it. */
7671
7995
  [data-pont-layout] pont-button[data-flow-error] > [data-pont-button] {
7672
- width: 100%;
7996
+ width: var(--pont-ref-dimension-size-full);
7673
7997
  }
7674
7998
  }
7675
7999
 
@@ -7678,7 +8002,7 @@
7678
8002
  @layer pont.kit {
7679
8003
  :is(pont-consent, [data-pont-consent]) {
7680
8004
  display: block;
7681
- width: 100%;
8005
+ width: var(--pont-ref-dimension-size-full);
7682
8006
  }
7683
8007
  [data-pont-consent] > [data-slot="flow-widget-loading"] {
7684
8008
  display: grid;
@@ -7693,7 +8017,7 @@
7693
8017
  @layer pont.kit {
7694
8018
  :is(pont-signin, pont-signup, pont-invitation, [data-pont-flow-widget]) {
7695
8019
  display: block;
7696
- width: 100%;
8020
+ width: var(--pont-ref-dimension-size-full);
7697
8021
  }
7698
8022
  [data-pont-flow-widget] > [data-slot="flow-widget-loading"] {
7699
8023
  display: grid;
@@ -7722,7 +8046,7 @@
7722
8046
  */
7723
8047
  @layer pont.kit {
7724
8048
  pont-pagination[data-disabled] {
7725
- cursor: not-allowed;
8049
+ cursor: var(--pont-sem-cursor-disabled);
7726
8050
  }
7727
8051
  }
7728
8052
 
@@ -7758,7 +8082,7 @@
7758
8082
  padding-inline: 0;
7759
8083
  }
7760
8084
  pont-data-table [data-pont-data-table-actions] {
7761
- width: 1px;
8085
+ width: var(--pont-ref-dimension-size-px);
7762
8086
  text-align: end;
7763
8087
  }
7764
8088
  pont-data-table [data-pont-data-table-empty] > td {
@@ -7770,7 +8094,7 @@
7770
8094
  background-color: transparent;
7771
8095
  }
7772
8096
  pont-data-table [data-pont-data-table-skeleton] {
7773
- width: 100%;
8097
+ width: var(--pont-ref-dimension-size-full);
7774
8098
  min-width: 3rem;
7775
8099
  height: 1rem;
7776
8100
  }
@@ -7784,7 +8108,7 @@
7784
8108
  */
7785
8109
  @layer pont.kit {
7786
8110
  pont-badge-selector > [data-pont-combobox-chips] {
7787
- width: 100%;
8111
+ width: var(--pont-ref-dimension-size-full);
7788
8112
  }
7789
8113
  }
7790
8114
 
@@ -7802,7 +8126,7 @@
7802
8126
  min-width: 0;
7803
8127
  }
7804
8128
  pont-multi-email-input > [data-pont-multi-email-box] {
7805
- width: 100%;
8129
+ width: var(--pont-ref-dimension-size-full);
7806
8130
  }
7807
8131
  pont-multi-email-input > [data-pont-multi-email-count] {
7808
8132
  font-variant-numeric: tabular-nums;
@@ -7821,7 +8145,7 @@
7821
8145
  [data-pont-multi-select-filter-trigger] [data-pont-multi-select-filter-count] {
7822
8146
  padding-inline: 0.25rem;
7823
8147
  border-radius: var(--pont-ref-radius-sm);
7824
- font-weight: var(--pont-sem-font-weight-normal);
8148
+ font-weight: var(--pont-ref-typography-weight-normal);
7825
8149
  }
7826
8150
  }
7827
8151
 
@@ -7834,7 +8158,7 @@
7834
8158
  */
7835
8159
  @layer pont.kit {
7836
8160
  [data-pont-account-menu-trigger] {
7837
- max-inline-size: 100%;
8161
+ max-inline-size: var(--pont-ref-dimension-size-full);
7838
8162
  }
7839
8163
 
7840
8164
  [data-pont-account-menu-user] {
@@ -7850,7 +8174,7 @@
7850
8174
  display: grid;
7851
8175
  flex: 1 1 auto;
7852
8176
  min-inline-size: 0;
7853
- font-size: var(--pont-sem-text-sm);
8177
+ font-size: var(--pont-ref-typography-size-sm);
7854
8178
  line-height: 1.25;
7855
8179
  }
7856
8180
 
@@ -7858,21 +8182,21 @@
7858
8182
  overflow: hidden;
7859
8183
  text-overflow: ellipsis;
7860
8184
  white-space: nowrap;
7861
- font-weight: var(--pont-sem-font-weight-medium);
8185
+ font-weight: var(--pont-ref-typography-weight-medium);
7862
8186
  }
7863
8187
 
7864
8188
  [data-pont-account-menu-email] {
7865
8189
  overflow: hidden;
7866
8190
  text-overflow: ellipsis;
7867
8191
  white-space: nowrap;
7868
- font-size: var(--pont-sem-text-xs);
7869
- font-weight: var(--pont-sem-font-weight-normal);
8192
+ font-size: var(--pont-ref-typography-size-xs);
8193
+ font-weight: var(--pont-ref-typography-weight-normal);
7870
8194
  color: var(--pont-sem-color-muted-foreground);
7871
8195
  }
7872
8196
 
7873
8197
  /* The header is a group label: give it the snippet's normal weight and colour. */
7874
8198
  [data-pont-account-menu-header] {
7875
- font-weight: var(--pont-sem-font-weight-normal);
8199
+ font-weight: var(--pont-ref-typography-weight-normal);
7876
8200
  color: inherit;
7877
8201
  }
7878
8202
 
@@ -7902,13 +8226,13 @@
7902
8226
 
7903
8227
  [data-pont-organization-switcher-switching] {
7904
8228
  margin-inline-start: auto;
7905
- font-size: var(--pont-sem-text-xs);
8229
+ font-size: var(--pont-ref-typography-size-xs);
7906
8230
  color: var(--pont-sem-color-muted-foreground);
7907
8231
  }
7908
8232
 
7909
8233
  [data-pont-organization-switcher-error] {
7910
8234
  padding: 0.375rem 0.5rem;
7911
- font-size: var(--pont-sem-text-xs);
8235
+ font-size: var(--pont-ref-typography-size-xs);
7912
8236
  color: var(--pont-sem-color-destructive);
7913
8237
  }
7914
8238
  }
@@ -7930,20 +8254,20 @@
7930
8254
  display: flex;
7931
8255
  flex-direction: column;
7932
8256
  gap: 1.5rem;
7933
- inline-size: 100%;
8257
+ inline-size: var(--pont-ref-dimension-size-full);
7934
8258
  }
7935
8259
 
7936
8260
  [data-pont-account-settings-title] {
7937
8261
  margin: 0;
7938
- font-size: var(--pont-sem-text-xl);
7939
- font-weight: var(--pont-sem-font-weight-semibold);
8262
+ font-size: var(--pont-ref-typography-size-xl);
8263
+ font-weight: var(--pont-ref-typography-weight-semibold);
7940
8264
  line-height: 1.3;
7941
8265
  }
7942
8266
 
7943
8267
  /* The dialog is wider than a form dialog: the cards need room for a label column. */
7944
8268
  [data-pont-account-settings-dialog] {
7945
8269
  max-inline-size: min(56rem, calc(100% - 2rem));
7946
- inline-size: 100%;
8270
+ inline-size: var(--pont-ref-dimension-size-full);
7947
8271
  max-block-size: calc(100% - 2rem);
7948
8272
  overflow-y: auto;
7949
8273
  container: pont-account-settings / inline-size;
@@ -7997,8 +8321,8 @@
7997
8321
 
7998
8322
  [data-pont-account-settings-label] {
7999
8323
  margin: 0;
8000
- font-size: var(--pont-sem-text-sm);
8001
- font-weight: var(--pont-sem-font-weight-medium);
8324
+ font-size: var(--pont-ref-typography-size-sm);
8325
+ font-weight: var(--pont-ref-typography-weight-medium);
8002
8326
  color: var(--pont-sem-color-muted-foreground);
8003
8327
  overflow-wrap: anywhere;
8004
8328
  hyphens: auto;
@@ -8007,7 +8331,7 @@
8007
8331
  [data-pont-account-settings-value] {
8008
8332
  margin: 0;
8009
8333
  min-inline-size: 0;
8010
- font-size: var(--pont-sem-text-sm);
8334
+ font-size: var(--pont-ref-typography-size-sm);
8011
8335
  overflow-wrap: anywhere;
8012
8336
  display: grid;
8013
8337
  gap: 0.375rem;
@@ -8070,8 +8394,8 @@
8070
8394
 
8071
8395
  [data-pont-account-settings-sr] {
8072
8396
  position: absolute;
8073
- inline-size: 1px;
8074
- block-size: 1px;
8397
+ inline-size: var(--pont-ref-dimension-size-px);
8398
+ block-size: var(--pont-ref-dimension-size-px);
8075
8399
  overflow: hidden;
8076
8400
  clip-path: inset(50%);
8077
8401
  white-space: nowrap;
@@ -8092,7 +8416,7 @@
8092
8416
  [data-pont-account-settings-tabs][data-orientation="vertical"] [data-pont-account-settings-sidebar] {
8093
8417
  flex: 0 0 auto;
8094
8418
  flex-direction: row;
8095
- inline-size: 100%;
8419
+ inline-size: var(--pont-ref-dimension-size-full);
8096
8420
  overflow-x: auto;
8097
8421
  }
8098
8422
  }
@@ -8119,12 +8443,12 @@
8119
8443
  display: flex;
8120
8444
  flex-direction: column;
8121
8445
  gap: 1.5rem;
8122
- inline-size: 100%;
8446
+ inline-size: var(--pont-ref-dimension-size-full);
8123
8447
  }
8124
8448
 
8125
8449
  [data-pont-member-management-dialog] {
8126
8450
  max-inline-size: min(64rem, calc(100% - 2rem));
8127
- inline-size: 100%;
8451
+ inline-size: var(--pont-ref-dimension-size-full);
8128
8452
  }
8129
8453
 
8130
8454
  [data-pont-member-management-header] {
@@ -8134,14 +8458,14 @@
8134
8458
 
8135
8459
  [data-pont-member-management-title] {
8136
8460
  margin: 0;
8137
- font-size: var(--pont-sem-text-xl);
8138
- font-weight: var(--pont-sem-font-weight-semibold);
8461
+ font-size: var(--pont-ref-typography-size-xl);
8462
+ font-weight: var(--pont-ref-typography-weight-semibold);
8139
8463
  line-height: 1.3;
8140
8464
  }
8141
8465
 
8142
8466
  [data-pont-member-management-subtitle] {
8143
8467
  margin: 0;
8144
- font-size: var(--pont-sem-text-sm);
8468
+ font-size: var(--pont-ref-typography-size-sm);
8145
8469
  color: var(--pont-sem-color-muted-foreground);
8146
8470
  }
8147
8471
 
@@ -8197,14 +8521,14 @@
8197
8521
  overflow: hidden;
8198
8522
  text-overflow: ellipsis;
8199
8523
  white-space: nowrap;
8200
- font-weight: var(--pont-sem-font-weight-medium);
8524
+ font-weight: var(--pont-ref-typography-weight-medium);
8201
8525
  }
8202
8526
 
8203
8527
  [data-pont-member-management-person-email] {
8204
8528
  overflow: hidden;
8205
8529
  text-overflow: ellipsis;
8206
8530
  white-space: nowrap;
8207
- font-size: var(--pont-sem-text-xs);
8531
+ font-size: var(--pont-ref-typography-size-xs);
8208
8532
  color: var(--pont-sem-color-muted-foreground);
8209
8533
  }
8210
8534
 
@@ -8220,7 +8544,7 @@
8220
8544
  }
8221
8545
 
8222
8546
  [data-pont-member-management-time] {
8223
- font-size: var(--pont-sem-text-xs);
8547
+ font-size: var(--pont-ref-typography-size-xs);
8224
8548
  color: var(--pont-sem-color-muted-foreground);
8225
8549
  }
8226
8550
 
@@ -8230,7 +8554,7 @@
8230
8554
  align-items: center;
8231
8555
  justify-content: space-between;
8232
8556
  gap: 0.75rem 1.5rem;
8233
- font-size: var(--pont-sem-text-sm);
8557
+ font-size: var(--pont-ref-typography-size-sm);
8234
8558
  }
8235
8559
 
8236
8560
  [data-pont-member-management-range] {
@@ -8247,7 +8571,7 @@
8247
8571
 
8248
8572
  [data-pont-member-management-pager] > :is(pont-pagination, [data-pont-pagination]) {
8249
8573
  margin-inline: 0;
8250
- inline-size: auto;
8574
+ inline-size: var(--pont-sem-dimension-size);
8251
8575
  }
8252
8576
 
8253
8577
  [data-pont-member-management-problem] {
@@ -8280,8 +8604,8 @@
8280
8604
  }
8281
8605
 
8282
8606
  [data-pont-member-management-who] dt {
8283
- font-size: var(--pont-sem-text-sm);
8284
- font-weight: var(--pont-sem-font-weight-medium);
8607
+ font-size: var(--pont-ref-typography-size-sm);
8608
+ font-weight: var(--pont-ref-typography-weight-medium);
8285
8609
  }
8286
8610
 
8287
8611
  [data-pont-member-management-who] dd {