@pontive/pontkit-core 3.3.0 → 3.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/styles.css CHANGED
@@ -36,1123 +36,1405 @@
36
36
  * reads its public tokens with a fallback and resolves them on the element
37
37
  * (11 §4, §5).
38
38
  *
39
+ * color/ index.css imports ref-color/ and sem-color.css (the colour
40
+ * roles, light/dark); ref-color/index.css declares the ref colour
41
+ * keywords and roles (global only) and imports tw-scales.css (the
42
+ * hue ramps)
39
43
  * cursor.css cursor keywords (ref) and the cursor roles (sem)
40
44
  * dimension.css the dimension unit, size scale and keywords, space keywords, size/inset defaults
41
45
  * filter.css the blur unit (--pont-ref-filter-blur) and the blur scale derived from it
42
46
  * layout.css aspect ratios (--pont-ref-layout-aspect-auto, -square, -video)
47
+ * motion.css durations, easings, transition properties (ref) and the transition/animation roles (sem)
43
48
  * opacity.css the opacity unit (--pont-ref-opacity), none/full, and the disabled role
44
49
  * radius.css the radius knob (--pont-ref-radius) and the ref scale derived from it
45
50
  * typography.css font stacks (ref) and roles (sem), size, weight, tracking and leading scales (ref)
46
- * ref/ raw values, global only
47
- * sem/ design roles; light/dark lives in sem/color.css
51
+ * sem/ design roles: mode switches, shadows, shape
48
52
  */
49
53
 
50
- /* ./cursor.css */
54
+ /* ./color/index.css */
51
55
  /*
52
56
  * ===========================================================================
53
- * CURSOR TOKENS
57
+ * COLOR TOKENS
54
58
  * ---------------------------------------------------------------------------
55
- * `cursor`
59
+ * `color`, `background`, `border-color`, `outline-color`, `fill`, `stroke`,
60
+ * `caret-color`, `accent-color`, `text-decoration-color`, `box-shadow-color`
56
61
  * ===========================================================================
57
62
  */
58
63
 
59
64
  /*
60
- * --------------------------------------------------
61
- * CURSOR REFERENCE TOKENS
62
- * --------------------------------------------------
65
+ * ---------------------------------------------------------------------------
66
+ * COLOR REFERENCE TOKENS
67
+ * ---------------------------------------------------------------------------
63
68
  */
64
69
 
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
-
70
+ /* ./ref-color/index.css */
106
71
  /*
107
- * --------------------------------------------------
108
- * CURSOR SEMANTIC TOKENS
109
- * --------------------------------------------------
72
+ * ===========================================================================
73
+ * COLOR REFERENCE TOKENS
74
+ * ===========================================================================
110
75
  */
111
76
 
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 */
77
+ /* ./tw-scales.css */
134
78
  /*
135
79
  * ===========================================================================
136
- * DIMENSION TOKENS
80
+ * TAILWIND COLOR SCALE TOKENS
81
+ * ---------------------------------------------------------------------------
82
+ * Tailwind CSS Colors: https://tailwindcss.com/docs/colors
83
+ * 11-step (50-950) scales for chromatic and achromatic colors
137
84
  * ===========================================================================
138
85
  */
139
86
 
140
- @layer pont.tokens {
141
- :root {
142
- --pont-ref-dimension: 0.25rem;
143
- }
144
- }
145
-
146
87
  /*
147
88
  * ---------------------------------------------------------------------------
148
- * DIMENSION SIZE TOKENS
149
- * ---------------------------------------------------------------------------
150
- * `width`, `height`, `min-width`, `max-width`, `min-height`, `max-height`,
151
- * `box-size`, `flex-basis`
89
+ * CHROMATIC COLOR SCALES
152
90
  * ---------------------------------------------------------------------------
153
91
  */
154
92
 
155
- /*
156
- * --------------------------------------------------
157
- * DIMENSION SIZE REFERENCE TOKENS
158
- * --------------------------------------------------
159
- */
160
-
161
93
  @layer pont.tokens {
162
94
  :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;
95
+ --pont-ref-color-red-50: oklch(97.1% 0.013 17.38);
96
+ --pont-ref-color-red-100: oklch(93.6% 0.032 17.717);
97
+ --pont-ref-color-red-200: oklch(88.5% 0.062 18.334);
98
+ --pont-ref-color-red-300: oklch(80.8% 0.114 19.571);
99
+ --pont-ref-color-red-400: oklch(70.4% 0.191 22.216);
100
+ --pont-ref-color-red-500: oklch(63.7% 0.237 25.331);
101
+ --pont-ref-color-red-600: oklch(57.7% 0.245 27.325);
102
+ --pont-ref-color-red-700: oklch(50.5% 0.213 27.518);
103
+ --pont-ref-color-red-800: oklch(44.4% 0.177 26.899);
104
+ --pont-ref-color-red-900: oklch(39.6% 0.141 25.723);
105
+ --pont-ref-color-red-950: oklch(25.8% 0.092 26.042);
170
106
 
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;
107
+ --pont-ref-color-orange-50: oklch(98% 0.016 73.684);
108
+ --pont-ref-color-orange-100: oklch(95.4% 0.038 75.164);
109
+ --pont-ref-color-orange-200: oklch(90.1% 0.076 70.697);
110
+ --pont-ref-color-orange-300: oklch(83.7% 0.128 66.29);
111
+ --pont-ref-color-orange-400: oklch(75% 0.183 55.934);
112
+ --pont-ref-color-orange-500: oklch(70.5% 0.213 47.604);
113
+ --pont-ref-color-orange-600: oklch(64.6% 0.222 41.116);
114
+ --pont-ref-color-orange-700: oklch(55.3% 0.195 38.402);
115
+ --pont-ref-color-orange-800: oklch(47% 0.157 37.304);
116
+ --pont-ref-color-orange-900: oklch(40.8% 0.123 38.172);
117
+ --pont-ref-color-orange-950: oklch(26.6% 0.079 36.259);
180
118
 
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
- }
119
+ --pont-ref-color-amber-50: oklch(98.7% 0.022 95.277);
120
+ --pont-ref-color-amber-100: oklch(96.2% 0.059 95.617);
121
+ --pont-ref-color-amber-200: oklch(92.4% 0.12 95.746);
122
+ --pont-ref-color-amber-300: oklch(87.9% 0.169 91.605);
123
+ --pont-ref-color-amber-400: oklch(82.8% 0.189 84.429);
124
+ --pont-ref-color-amber-500: oklch(76.9% 0.188 70.08);
125
+ --pont-ref-color-amber-600: oklch(66.6% 0.179 58.318);
126
+ --pont-ref-color-amber-700: oklch(55.5% 0.163 48.998);
127
+ --pont-ref-color-amber-800: oklch(47.3% 0.137 46.201);
128
+ --pont-ref-color-amber-900: oklch(41.4% 0.112 45.904);
129
+ --pont-ref-color-amber-950: oklch(27.9% 0.077 45.635);
196
130
 
197
- /*
198
- * --------------------------------------------------
199
- * DIMENSION SIZE SEMANTIC TOKENS
200
- * --------------------------------------------------
201
- */
131
+ --pont-ref-color-yellow-50: oklch(98.7% 0.026 102.212);
132
+ --pont-ref-color-yellow-100: oklch(97.3% 0.071 103.193);
133
+ --pont-ref-color-yellow-200: oklch(94.5% 0.129 101.54);
134
+ --pont-ref-color-yellow-300: oklch(90.5% 0.182 98.111);
135
+ --pont-ref-color-yellow-400: oklch(85.2% 0.199 91.936);
136
+ --pont-ref-color-yellow-500: oklch(79.5% 0.184 86.047);
137
+ --pont-ref-color-yellow-600: oklch(68.1% 0.162 75.834);
138
+ --pont-ref-color-yellow-700: oklch(55.4% 0.135 66.442);
139
+ --pont-ref-color-yellow-800: oklch(47.6% 0.114 61.907);
140
+ --pont-ref-color-yellow-900: oklch(42.1% 0.095 57.708);
141
+ --pont-ref-color-yellow-950: oklch(28.6% 0.066 53.813);
202
142
 
203
- @layer pont.tokens {
204
- :root {
205
- /* Default size (width/height) */
206
- --pont-sem-dimension-size: var(--pont-ref-dimension-size-auto);
143
+ --pont-ref-color-lime-50: oklch(98.6% 0.031 120.757);
144
+ --pont-ref-color-lime-100: oklch(96.7% 0.067 122.328);
145
+ --pont-ref-color-lime-200: oklch(93.8% 0.127 124.321);
146
+ --pont-ref-color-lime-300: oklch(89.7% 0.196 126.665);
147
+ --pont-ref-color-lime-400: oklch(84.1% 0.238 128.85);
148
+ --pont-ref-color-lime-500: oklch(76.8% 0.233 130.85);
149
+ --pont-ref-color-lime-600: oklch(64.8% 0.2 131.684);
150
+ --pont-ref-color-lime-700: oklch(53.2% 0.157 131.589);
151
+ --pont-ref-color-lime-800: oklch(45.3% 0.124 130.933);
152
+ --pont-ref-color-lime-900: oklch(40.5% 0.101 131.063);
153
+ --pont-ref-color-lime-950: oklch(27.4% 0.072 132.109);
207
154
 
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);
155
+ --pont-ref-color-green-50: oklch(98.2% 0.018 155.826);
156
+ --pont-ref-color-green-100: oklch(96.2% 0.044 156.743);
157
+ --pont-ref-color-green-200: oklch(92.5% 0.084 155.995);
158
+ --pont-ref-color-green-300: oklch(87.1% 0.15 154.449);
159
+ --pont-ref-color-green-400: oklch(79.2% 0.209 151.711);
160
+ --pont-ref-color-green-500: oklch(72.3% 0.219 149.579);
161
+ --pont-ref-color-green-600: oklch(62.7% 0.194 149.214);
162
+ --pont-ref-color-green-700: oklch(52.7% 0.154 150.069);
163
+ --pont-ref-color-green-800: oklch(44.8% 0.119 151.328);
164
+ --pont-ref-color-green-900: oklch(39.3% 0.095 152.535);
165
+ --pont-ref-color-green-950: oklch(26.6% 0.065 152.934);
212
166
 
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
- }
167
+ --pont-ref-color-emerald-50: oklch(97.9% 0.021 166.113);
168
+ --pont-ref-color-emerald-100: oklch(95% 0.052 163.051);
169
+ --pont-ref-color-emerald-200: oklch(90.5% 0.093 164.15);
170
+ --pont-ref-color-emerald-300: oklch(84.5% 0.143 164.978);
171
+ --pont-ref-color-emerald-400: oklch(76.5% 0.177 163.223);
172
+ --pont-ref-color-emerald-500: oklch(69.6% 0.17 162.48);
173
+ --pont-ref-color-emerald-600: oklch(59.6% 0.145 163.225);
174
+ --pont-ref-color-emerald-700: oklch(50.8% 0.118 165.612);
175
+ --pont-ref-color-emerald-800: oklch(43.2% 0.095 166.913);
176
+ --pont-ref-color-emerald-900: oklch(37.8% 0.077 168.94);
177
+ --pont-ref-color-emerald-950: oklch(26.2% 0.051 172.552);
217
178
 
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
- */
179
+ --pont-ref-color-teal-50: oklch(98.4% 0.014 180.72);
180
+ --pont-ref-color-teal-100: oklch(95.3% 0.051 180.801);
181
+ --pont-ref-color-teal-200: oklch(91% 0.096 180.426);
182
+ --pont-ref-color-teal-300: oklch(85.5% 0.138 181.071);
183
+ --pont-ref-color-teal-400: oklch(77.7% 0.152 181.912);
184
+ --pont-ref-color-teal-500: oklch(70.4% 0.14 182.503);
185
+ --pont-ref-color-teal-600: oklch(60% 0.118 184.704);
186
+ --pont-ref-color-teal-700: oklch(51.1% 0.096 186.391);
187
+ --pont-ref-color-teal-800: oklch(43.7% 0.078 188.216);
188
+ --pont-ref-color-teal-900: oklch(38.6% 0.063 188.416);
189
+ --pont-ref-color-teal-950: oklch(27.7% 0.046 192.524);
226
190
 
227
- /*
228
- * --------------------------------------------------
229
- * DIMENSION SPACE REFERENCE TOKENS
230
- * --------------------------------------------------
231
- */
191
+ --pont-ref-color-cyan-50: oklch(98.4% 0.019 200.873);
192
+ --pont-ref-color-cyan-100: oklch(95.6% 0.045 203.388);
193
+ --pont-ref-color-cyan-200: oklch(91.7% 0.08 205.041);
194
+ --pont-ref-color-cyan-300: oklch(86.5% 0.127 207.078);
195
+ --pont-ref-color-cyan-400: oklch(78.9% 0.154 211.53);
196
+ --pont-ref-color-cyan-500: oklch(71.5% 0.143 215.221);
197
+ --pont-ref-color-cyan-600: oklch(60.9% 0.126 221.723);
198
+ --pont-ref-color-cyan-700: oklch(52% 0.105 223.128);
199
+ --pont-ref-color-cyan-800: oklch(45% 0.085 224.283);
200
+ --pont-ref-color-cyan-900: oklch(39.8% 0.07 227.392);
201
+ --pont-ref-color-cyan-950: oklch(30.2% 0.056 229.695);
232
202
 
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
- */
203
+ --pont-ref-color-sky-50: oklch(97.7% 0.013 236.62);
204
+ --pont-ref-color-sky-100: oklch(95.1% 0.026 236.824);
205
+ --pont-ref-color-sky-200: oklch(90.1% 0.058 230.902);
206
+ --pont-ref-color-sky-300: oklch(82.8% 0.111 230.318);
207
+ --pont-ref-color-sky-400: oklch(74.6% 0.16 232.661);
208
+ --pont-ref-color-sky-500: oklch(68.5% 0.169 237.323);
209
+ --pont-ref-color-sky-600: oklch(58.8% 0.158 241.966);
210
+ --pont-ref-color-sky-700: oklch(50% 0.134 242.749);
211
+ --pont-ref-color-sky-800: oklch(44.3% 0.11 240.79);
212
+ --pont-ref-color-sky-900: oklch(39.1% 0.09 240.876);
213
+ --pont-ref-color-sky-950: oklch(29.3% 0.066 243.157);
246
214
 
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
- }
215
+ --pont-ref-color-blue-50: oklch(97% 0.014 254.604);
216
+ --pont-ref-color-blue-100: oklch(93.2% 0.032 255.585);
217
+ --pont-ref-color-blue-200: oklch(88.2% 0.059 254.128);
218
+ --pont-ref-color-blue-300: oklch(80.9% 0.105 251.813);
219
+ --pont-ref-color-blue-400: oklch(70.7% 0.165 254.624);
220
+ --pont-ref-color-blue-500: oklch(62.3% 0.214 259.815);
221
+ --pont-ref-color-blue-600: oklch(54.6% 0.245 262.881);
222
+ --pont-ref-color-blue-700: oklch(48.8% 0.243 264.376);
223
+ --pont-ref-color-blue-800: oklch(42.4% 0.199 265.638);
224
+ --pont-ref-color-blue-900: oklch(37.9% 0.146 265.522);
225
+ --pont-ref-color-blue-950: oklch(28.2% 0.091 267.935);
253
226
 
254
- /* ./filter.css */
255
- /*
256
- * ===========================================================================
257
- * FILTER TOKENS
258
- * ---------------------------------------------------------------------------
259
- * `filter`, `backdrop-filter`
260
- * ===========================================================================
261
- */
227
+ --pont-ref-color-indigo-50: oklch(96.2% 0.018 272.314);
228
+ --pont-ref-color-indigo-100: oklch(93% 0.034 272.788);
229
+ --pont-ref-color-indigo-200: oklch(87% 0.065 274.039);
230
+ --pont-ref-color-indigo-300: oklch(78.5% 0.115 274.713);
231
+ --pont-ref-color-indigo-400: oklch(67.3% 0.182 276.935);
232
+ --pont-ref-color-indigo-500: oklch(58.5% 0.233 277.117);
233
+ --pont-ref-color-indigo-600: oklch(51.1% 0.262 276.966);
234
+ --pont-ref-color-indigo-700: oklch(45.7% 0.24 277.023);
235
+ --pont-ref-color-indigo-800: oklch(39.8% 0.195 277.366);
236
+ --pont-ref-color-indigo-900: oklch(35.9% 0.144 278.697);
237
+ --pont-ref-color-indigo-950: oklch(25.7% 0.09 281.288);
262
238
 
263
- /*
264
- * ---------------------------------------------------------------------------
265
- * FILTER BLUR TOKENS
266
- * ---------------------------------------------------------------------------
267
- * length value arg for `blur()`
268
- * ---------------------------------------------------------------------------
269
- */
239
+ --pont-ref-color-violet-50: oklch(96.9% 0.016 293.756);
240
+ --pont-ref-color-violet-100: oklch(94.3% 0.029 294.588);
241
+ --pont-ref-color-violet-200: oklch(89.4% 0.057 293.283);
242
+ --pont-ref-color-violet-300: oklch(81.1% 0.111 293.571);
243
+ --pont-ref-color-violet-400: oklch(70.2% 0.183 293.541);
244
+ --pont-ref-color-violet-500: oklch(60.6% 0.25 292.717);
245
+ --pont-ref-color-violet-600: oklch(54.1% 0.281 293.009);
246
+ --pont-ref-color-violet-700: oklch(49.1% 0.27 292.581);
247
+ --pont-ref-color-violet-800: oklch(43.2% 0.232 292.759);
248
+ --pont-ref-color-violet-900: oklch(38% 0.189 293.745);
249
+ --pont-ref-color-violet-950: oklch(28.3% 0.141 291.089);
270
250
 
271
- /*
272
- * --------------------------------------------------
273
- * FILTER BLUR REFERENCE TOKENS
274
- * --------------------------------------------------
275
- */
251
+ --pont-ref-color-purple-50: oklch(97.7% 0.014 308.299);
252
+ --pont-ref-color-purple-100: oklch(94.6% 0.033 307.174);
253
+ --pont-ref-color-purple-200: oklch(90.2% 0.063 306.703);
254
+ --pont-ref-color-purple-300: oklch(82.7% 0.119 306.383);
255
+ --pont-ref-color-purple-400: oklch(71.4% 0.203 305.504);
256
+ --pont-ref-color-purple-500: oklch(62.7% 0.265 303.9);
257
+ --pont-ref-color-purple-600: oklch(55.8% 0.288 302.321);
258
+ --pont-ref-color-purple-700: oklch(49.6% 0.265 301.924);
259
+ --pont-ref-color-purple-800: oklch(43.8% 0.218 303.724);
260
+ --pont-ref-color-purple-900: oklch(38.1% 0.176 304.987);
261
+ --pont-ref-color-purple-950: oklch(29.1% 0.149 302.717);
276
262
 
277
- @layer pont.tokens {
278
- :root {
279
- /* Anchor/seed value */
280
- --pont-ref-filter-blur: 1px;
263
+ --pont-ref-color-fuchsia-50: oklch(97.7% 0.017 320.058);
264
+ --pont-ref-color-fuchsia-100: oklch(95.2% 0.037 318.852);
265
+ --pont-ref-color-fuchsia-200: oklch(90.3% 0.076 319.62);
266
+ --pont-ref-color-fuchsia-300: oklch(83.3% 0.145 321.434);
267
+ --pont-ref-color-fuchsia-400: oklch(74% 0.238 322.16);
268
+ --pont-ref-color-fuchsia-500: oklch(66.7% 0.295 322.15);
269
+ --pont-ref-color-fuchsia-600: oklch(59.1% 0.293 322.896);
270
+ --pont-ref-color-fuchsia-700: oklch(51.8% 0.253 323.949);
271
+ --pont-ref-color-fuchsia-800: oklch(45.2% 0.211 324.591);
272
+ --pont-ref-color-fuchsia-900: oklch(40.1% 0.17 325.612);
273
+ --pont-ref-color-fuchsia-950: oklch(29.3% 0.136 325.661);
281
274
 
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);
275
+ --pont-ref-color-pink-50: oklch(97.1% 0.014 343.198);
276
+ --pont-ref-color-pink-100: oklch(94.8% 0.028 342.258);
277
+ --pont-ref-color-pink-200: oklch(89.9% 0.061 343.231);
278
+ --pont-ref-color-pink-300: oklch(82.3% 0.12 346.018);
279
+ --pont-ref-color-pink-400: oklch(71.8% 0.202 349.761);
280
+ --pont-ref-color-pink-500: oklch(65.6% 0.241 354.308);
281
+ --pont-ref-color-pink-600: oklch(59.2% 0.249 0.584);
282
+ --pont-ref-color-pink-700: oklch(52.5% 0.223 3.958);
283
+ --pont-ref-color-pink-800: oklch(45.9% 0.187 3.815);
284
+ --pont-ref-color-pink-900: oklch(40.8% 0.153 2.432);
285
+ --pont-ref-color-pink-950: oklch(28.4% 0.109 3.907);
290
286
 
291
- /* Special values */
292
- --pont-ref-filter-blur-none: 0;
287
+ --pont-ref-color-rose-50: oklch(96.9% 0.015 12.422);
288
+ --pont-ref-color-rose-100: oklch(94.1% 0.03 12.58);
289
+ --pont-ref-color-rose-200: oklch(89.2% 0.058 10.001);
290
+ --pont-ref-color-rose-300: oklch(81% 0.117 11.638);
291
+ --pont-ref-color-rose-400: oklch(71.2% 0.194 13.428);
292
+ --pont-ref-color-rose-500: oklch(64.5% 0.246 16.439);
293
+ --pont-ref-color-rose-600: oklch(58.6% 0.253 17.585);
294
+ --pont-ref-color-rose-700: oklch(51.4% 0.222 16.935);
295
+ --pont-ref-color-rose-800: oklch(45.5% 0.188 13.697);
296
+ --pont-ref-color-rose-900: oklch(41% 0.159 10.272);
297
+ --pont-ref-color-rose-950: oklch(27.1% 0.105 12.094);
293
298
  }
294
299
  }
295
300
 
296
- /* ./layout.css */
297
- /*
298
- * ===========================================================================
299
- * LAYOUT TOKENS
300
- * ===========================================================================
301
- */
302
-
303
301
  /*
304
302
  * ---------------------------------------------------------------------------
305
- * LAYOUT ASPECT TOKENS
306
- * ---------------------------------------------------------------------------
307
- * `aspect-ratio`
303
+ * ACHROMATIC COLOR SCALES
308
304
  * ---------------------------------------------------------------------------
309
305
  */
310
306
 
311
- /*
312
- * --------------------------------------------------
313
- * LAYOUT ASPECT REFERENCE TOKENS
314
- * --------------------------------------------------
315
- */
316
-
317
307
  @layer pont.tokens {
318
308
  :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
- }
309
+ --pont-ref-color-slate-50: oklch(98.4% 0.003 247.858);
310
+ --pont-ref-color-slate-100: oklch(96.8% 0.007 247.896);
311
+ --pont-ref-color-slate-200: oklch(92.9% 0.013 255.508);
312
+ --pont-ref-color-slate-300: oklch(86.9% 0.022 252.894);
313
+ --pont-ref-color-slate-400: oklch(70.4% 0.04 256.788);
314
+ --pont-ref-color-slate-500: oklch(55.4% 0.046 257.417);
315
+ --pont-ref-color-slate-600: oklch(44.6% 0.043 257.281);
316
+ --pont-ref-color-slate-700: oklch(37.2% 0.044 257.287);
317
+ --pont-ref-color-slate-800: oklch(27.9% 0.041 260.031);
318
+ --pont-ref-color-slate-900: oklch(20.8% 0.042 265.755);
319
+ --pont-ref-color-slate-950: oklch(12.9% 0.042 264.695);
325
320
 
326
- /* ./opacity.css */
327
- /*
328
- * ===========================================================================
329
- * OPACITY TOKENS
330
- * ---------------------------------------------------------------------------
331
- * `opacity`
332
- * ===========================================================================
333
- */
321
+ --pont-ref-color-gray-50: oklch(98.5% 0.002 247.839);
322
+ --pont-ref-color-gray-100: oklch(96.7% 0.003 264.542);
323
+ --pont-ref-color-gray-200: oklch(92.8% 0.006 264.531);
324
+ --pont-ref-color-gray-300: oklch(87.2% 0.01 258.338);
325
+ --pont-ref-color-gray-400: oklch(70.7% 0.022 261.325);
326
+ --pont-ref-color-gray-500: oklch(55.1% 0.027 264.364);
327
+ --pont-ref-color-gray-600: oklch(44.6% 0.03 256.802);
328
+ --pont-ref-color-gray-700: oklch(37.3% 0.034 259.733);
329
+ --pont-ref-color-gray-800: oklch(27.8% 0.033 256.848);
330
+ --pont-ref-color-gray-900: oklch(21% 0.034 264.665);
331
+ --pont-ref-color-gray-950: oklch(13% 0.028 261.692);
334
332
 
335
- /*
336
- * --------------------------------------------------
337
- * OPACITY REFERENCE TOKENS
338
- * --------------------------------------------------
339
- */
333
+ --pont-ref-color-zinc-50: oklch(98.5% 0 0);
334
+ --pont-ref-color-zinc-100: oklch(96.7% 0.001 286.375);
335
+ --pont-ref-color-zinc-200: oklch(92% 0.004 286.32);
336
+ --pont-ref-color-zinc-300: oklch(87.1% 0.006 286.286);
337
+ --pont-ref-color-zinc-400: oklch(70.5% 0.015 286.067);
338
+ --pont-ref-color-zinc-500: oklch(55.2% 0.016 285.938);
339
+ --pont-ref-color-zinc-600: oklch(44.2% 0.017 285.786);
340
+ --pont-ref-color-zinc-700: oklch(37% 0.013 285.805);
341
+ --pont-ref-color-zinc-800: oklch(27.4% 0.006 286.033);
342
+ --pont-ref-color-zinc-900: oklch(21% 0.006 285.885);
343
+ --pont-ref-color-zinc-950: oklch(14.1% 0.005 285.823);
340
344
 
341
- @layer pont.tokens {
342
- :root {
343
- /* Anchor/seed value */
344
- --pont-ref-opacity: 0.01;
345
+ --pont-ref-color-neutral-50: oklch(98.5% 0 0);
346
+ --pont-ref-color-neutral-100: oklch(97% 0 0);
347
+ --pont-ref-color-neutral-200: oklch(92.2% 0 0);
348
+ --pont-ref-color-neutral-300: oklch(87% 0 0);
349
+ --pont-ref-color-neutral-400: oklch(70.8% 0 0);
350
+ --pont-ref-color-neutral-500: oklch(55.6% 0 0);
351
+ --pont-ref-color-neutral-600: oklch(43.9% 0 0);
352
+ --pont-ref-color-neutral-700: oklch(37.1% 0 0);
353
+ --pont-ref-color-neutral-800: oklch(26.9% 0 0);
354
+ --pont-ref-color-neutral-900: oklch(20.5% 0 0);
355
+ --pont-ref-color-neutral-950: oklch(14.5% 0 0);
345
356
 
346
- /* Absolute values */
347
- --pont-ref-opacity-none: 0;
348
- --pont-ref-opacity-full: 1;
349
- }
350
- }
357
+ --pont-ref-color-stone-50: oklch(98.5% 0.001 106.423);
358
+ --pont-ref-color-stone-100: oklch(97% 0.001 106.424);
359
+ --pont-ref-color-stone-200: oklch(92.3% 0.003 48.717);
360
+ --pont-ref-color-stone-300: oklch(86.9% 0.005 56.366);
361
+ --pont-ref-color-stone-400: oklch(70.9% 0.01 56.259);
362
+ --pont-ref-color-stone-500: oklch(55.3% 0.013 58.071);
363
+ --pont-ref-color-stone-600: oklch(44.4% 0.011 73.639);
364
+ --pont-ref-color-stone-700: oklch(37.4% 0.01 67.558);
365
+ --pont-ref-color-stone-800: oklch(26.8% 0.007 34.298);
366
+ --pont-ref-color-stone-900: oklch(21.6% 0.006 56.043);
367
+ --pont-ref-color-stone-950: oklch(14.7% 0.004 49.25);
351
368
 
352
- /*
353
- * --------------------------------------------------
354
- * OPACITY SEMANTIC TOKENS
355
- * --------------------------------------------------
356
- */
369
+ --pont-ref-color-mauve-50: oklch(98.5% 0 0);
370
+ --pont-ref-color-mauve-100: oklch(96% 0.003 325.6);
371
+ --pont-ref-color-mauve-200: oklch(92.2% 0.005 325.62);
372
+ --pont-ref-color-mauve-300: oklch(86.5% 0.012 325.68);
373
+ --pont-ref-color-mauve-400: oklch(71.1% 0.019 323.02);
374
+ --pont-ref-color-mauve-500: oklch(54.2% 0.034 322.5);
375
+ --pont-ref-color-mauve-600: oklch(43.5% 0.029 321.78);
376
+ --pont-ref-color-mauve-700: oklch(36.4% 0.029 323.89);
377
+ --pont-ref-color-mauve-800: oklch(26.3% 0.024 320.12);
378
+ --pont-ref-color-mauve-900: oklch(21.2% 0.019 322.12);
379
+ --pont-ref-color-mauve-950: oklch(14.5% 0.008 326);
357
380
 
358
- @layer pont.tokens {
359
- :root {
360
- /* Anchor/seed value */
361
- --pont-sem-opacity-disabled: calc(var(--pont-ref-opacity) * 50);
362
- }
363
- }
364
-
365
- /* ./radius.css */
366
- /*
367
- * ===========================================================================
368
- * RADIUS TOKENS
369
- * ---------------------------------------------------------------------------
370
- * `border-radius`
371
- * ===========================================================================
372
- */
373
-
374
- /*
375
- * --------------------------------------------------
376
- * RADIUS REFERENCE TOKENS
377
- * --------------------------------------------------
378
- */
379
-
380
- @layer pont.tokens {
381
- :root {
382
- /* Anchor/seed value */
383
- --pont-ref-radius: 0.625rem;
381
+ --pont-ref-color-olive-50: oklch(98.8% 0.003 106.5);
382
+ --pont-ref-color-olive-100: oklch(96.6% 0.005 106.5);
383
+ --pont-ref-color-olive-200: oklch(93% 0.007 106.5);
384
+ --pont-ref-color-olive-300: oklch(88% 0.011 106.6);
385
+ --pont-ref-color-olive-400: oklch(73.7% 0.021 106.9);
386
+ --pont-ref-color-olive-500: oklch(58% 0.031 107.3);
387
+ --pont-ref-color-olive-600: oklch(46.6% 0.025 107.3);
388
+ --pont-ref-color-olive-700: oklch(39.4% 0.023 107.4);
389
+ --pont-ref-color-olive-800: oklch(28.6% 0.016 107.4);
390
+ --pont-ref-color-olive-900: oklch(22.8% 0.013 107.4);
391
+ --pont-ref-color-olive-950: oklch(15.3% 0.006 107.1);
384
392
 
385
- /* Proportional scale derived from anchor */
386
- --pont-ref-radius-xs: calc(var(--pont-ref-radius) * 0.2);
387
- --pont-ref-radius-sm: calc(var(--pont-ref-radius) * 0.6);
388
- --pont-ref-radius-md: calc(var(--pont-ref-radius) * 0.8);
389
- --pont-ref-radius-lg: var(--pont-ref-radius);
390
- --pont-ref-radius-xl: calc(var(--pont-ref-radius) * 1.4);
391
- --pont-ref-radius-2xl: calc(var(--pont-ref-radius) * 1.8);
392
- --pont-ref-radius-3xl: calc(var(--pont-ref-radius) * 2.2);
393
- --pont-ref-radius-4xl: calc(var(--pont-ref-radius) * 2.6);
393
+ --pont-ref-color-mist-50: oklch(98.7% 0.002 197.1);
394
+ --pont-ref-color-mist-100: oklch(96.3% 0.002 197.1);
395
+ --pont-ref-color-mist-200: oklch(92.5% 0.005 214.3);
396
+ --pont-ref-color-mist-300: oklch(87.2% 0.007 219.6);
397
+ --pont-ref-color-mist-400: oklch(72.3% 0.014 214.4);
398
+ --pont-ref-color-mist-500: oklch(56% 0.021 213.5);
399
+ --pont-ref-color-mist-600: oklch(45% 0.017 213.2);
400
+ --pont-ref-color-mist-700: oklch(37.8% 0.015 216);
401
+ --pont-ref-color-mist-800: oklch(27.5% 0.011 216.9);
402
+ --pont-ref-color-mist-900: oklch(21.8% 0.008 223.9);
403
+ --pont-ref-color-mist-950: oklch(14.8% 0.004 228.8);
394
404
 
395
- /* Absolute values */
396
- --pont-ref-radius-none: 0;
397
- --pont-ref-radius-full: calc(infinity * 1rem);
405
+ --pont-ref-color-taupe-50: oklch(98.6% 0.002 67.8);
406
+ --pont-ref-color-taupe-100: oklch(96% 0.002 17.2);
407
+ --pont-ref-color-taupe-200: oklch(92.2% 0.005 34.3);
408
+ --pont-ref-color-taupe-300: oklch(86.8% 0.007 39.5);
409
+ --pont-ref-color-taupe-400: oklch(71.4% 0.014 41.2);
410
+ --pont-ref-color-taupe-500: oklch(54.7% 0.021 43.1);
411
+ --pont-ref-color-taupe-600: oklch(43.8% 0.017 39.3);
412
+ --pont-ref-color-taupe-700: oklch(36.7% 0.016 35.7);
413
+ --pont-ref-color-taupe-800: oklch(26.8% 0.011 36.5);
414
+ --pont-ref-color-taupe-900: oklch(21.4% 0.009 43.1);
415
+ --pont-ref-color-taupe-950: oklch(14.7% 0.004 49.3);
398
416
  }
399
417
  }
400
418
 
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
419
  @layer pont.tokens {
423
420
  :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";
421
+ --pont-ref-color-transparent: transparent;
422
+ --pont-ref-color-current: currentColor;
428
423
 
429
- --pont-ref-typography-font-serif:
430
- ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
424
+ --pont-ref-color-white: #ffffff;
425
+ --pont-ref-color-black: #000000;
431
426
 
432
- --pont-ref-typography-font-mono:
433
- ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
434
- "Courier New", monospace;
435
- }
436
- }
427
+ --pont-ref-color-base-50: var(--pont-ref-color-neutral-50);
428
+ --pont-ref-color-base-100: var(--pont-ref-color-neutral-100);
429
+ --pont-ref-color-base-200: var(--pont-ref-color-neutral-200);
430
+ --pont-ref-color-base-300: var(--pont-ref-color-neutral-300);
431
+ --pont-ref-color-base-400: var(--pont-ref-color-neutral-400);
432
+ --pont-ref-color-base-500: var(--pont-ref-color-neutral-500);
433
+ --pont-ref-color-base-600: var(--pont-ref-color-neutral-600);
434
+ --pont-ref-color-base-700: var(--pont-ref-color-neutral-700);
435
+ --pont-ref-color-base-800: var(--pont-ref-color-neutral-800);
436
+ --pont-ref-color-base-900: var(--pont-ref-color-neutral-900);
437
+ --pont-ref-color-base-950: var(--pont-ref-color-neutral-950);
437
438
 
438
- /*
439
- * --------------------------------------------------
440
- * TYPOGRAPHY FONT SEMANTIC TOKENS
441
- * --------------------------------------------------
442
- */
439
+ --pont-ref-color-brand-50: var(--pont-ref-color-neutral-50);
440
+ --pont-ref-color-brand-100: var(--pont-ref-color-neutral-100);
441
+ --pont-ref-color-brand-200: var(--pont-ref-color-neutral-200);
442
+ --pont-ref-color-brand-300: var(--pont-ref-color-neutral-300);
443
+ --pont-ref-color-brand-400: var(--pont-ref-color-neutral-400);
444
+ --pont-ref-color-brand-500: var(--pont-ref-color-neutral-500);
445
+ --pont-ref-color-brand-600: var(--pont-ref-color-neutral-600);
446
+ --pont-ref-color-brand-700: var(--pont-ref-color-neutral-700);
447
+ --pont-ref-color-brand-800: var(--pont-ref-color-neutral-800);
448
+ --pont-ref-color-brand-900: var(--pont-ref-color-neutral-900);
449
+ --pont-ref-color-brand-950: var(--pont-ref-color-neutral-950);
443
450
 
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
+ --pont-ref-color-destructive-50: var(--pont-ref-color-red-50);
452
+ --pont-ref-color-destructive-100: var(--pont-ref-color-red-100);
453
+ --pont-ref-color-destructive-200: var(--pont-ref-color-red-200);
454
+ --pont-ref-color-destructive-300: var(--pont-ref-color-red-300);
455
+ --pont-ref-color-destructive-400: var(--pont-ref-color-red-400);
456
+ --pont-ref-color-destructive-500: var(--pont-ref-color-red-500);
457
+ --pont-ref-color-destructive-600: var(--pont-ref-color-red-600);
458
+ --pont-ref-color-destructive-700: var(--pont-ref-color-red-700);
459
+ --pont-ref-color-destructive-800: var(--pont-ref-color-red-800);
460
+ --pont-ref-color-destructive-900: var(--pont-ref-color-red-900);
461
+ --pont-ref-color-destructive-950: var(--pont-ref-color-red-950);
451
462
 
452
- /*
453
- * ---------------------------------------------------------------------------
454
- * TYPOGRAPHY SIZE TOKENS
455
- * ---------------------------------------------------------------------------
456
- * `font-size`
457
- * ---------------------------------------------------------------------------
458
- */
463
+ --pont-ref-color-warning-50: var(--pont-ref-color-amber-50);
464
+ --pont-ref-color-warning-100: var(--pont-ref-color-amber-100);
465
+ --pont-ref-color-warning-200: var(--pont-ref-color-amber-200);
466
+ --pont-ref-color-warning-300: var(--pont-ref-color-amber-300);
467
+ --pont-ref-color-warning-400: var(--pont-ref-color-amber-400);
468
+ --pont-ref-color-warning-500: var(--pont-ref-color-amber-500);
469
+ --pont-ref-color-warning-600: var(--pont-ref-color-amber-600);
470
+ --pont-ref-color-warning-700: var(--pont-ref-color-amber-700);
471
+ --pont-ref-color-warning-800: var(--pont-ref-color-amber-800);
472
+ --pont-ref-color-warning-900: var(--pont-ref-color-amber-900);
473
+ --pont-ref-color-warning-950: var(--pont-ref-color-amber-950);
459
474
 
460
- /*
461
- * --------------------------------------------------
462
- * TYPOGRAPHY SIZE REFERENCE TOKENS
463
- * --------------------------------------------------
464
- */
475
+ --pont-ref-color-success-50: var(--pont-ref-color-green-50);
476
+ --pont-ref-color-success-100: var(--pont-ref-color-green-100);
477
+ --pont-ref-color-success-200: var(--pont-ref-color-green-200);
478
+ --pont-ref-color-success-300: var(--pont-ref-color-green-300);
479
+ --pont-ref-color-success-400: var(--pont-ref-color-green-400);
480
+ --pont-ref-color-success-500: var(--pont-ref-color-green-500);
481
+ --pont-ref-color-success-600: var(--pont-ref-color-green-600);
482
+ --pont-ref-color-success-700: var(--pont-ref-color-green-700);
483
+ --pont-ref-color-success-800: var(--pont-ref-color-green-800);
484
+ --pont-ref-color-success-900: var(--pont-ref-color-green-900);
485
+ --pont-ref-color-success-950: var(--pont-ref-color-green-950);
465
486
 
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;
487
+ --pont-ref-color-info-50: var(--pont-ref-color-blue-50);
488
+ --pont-ref-color-info-100: var(--pont-ref-color-blue-100);
489
+ --pont-ref-color-info-200: var(--pont-ref-color-blue-200);
490
+ --pont-ref-color-info-300: var(--pont-ref-color-blue-300);
491
+ --pont-ref-color-info-400: var(--pont-ref-color-blue-400);
492
+ --pont-ref-color-info-500: var(--pont-ref-color-blue-500);
493
+ --pont-ref-color-info-600: var(--pont-ref-color-blue-600);
494
+ --pont-ref-color-info-700: var(--pont-ref-color-blue-700);
495
+ --pont-ref-color-info-800: var(--pont-ref-color-blue-800);
496
+ --pont-ref-color-info-900: var(--pont-ref-color-blue-900);
497
+ --pont-ref-color-info-950: var(--pont-ref-color-blue-950);
481
498
  }
482
499
  }
483
500
 
484
- /*
485
- * ---------------------------------------------------------------------------
486
- * TYPOGRAPHY WEIGHT TOKENS
487
- * ---------------------------------------------------------------------------
488
- * `font-weight`
489
- * ---------------------------------------------------------------------------
490
- */
491
-
492
501
  /*
493
502
  * --------------------------------------------------
494
- * TYPOGRAPHY WEIGHT REFERENCE TOKENS
503
+ * COLOR SEMANTIC TOKENS
495
504
  * --------------------------------------------------
496
505
  */
497
506
 
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
- */
507
+ /* TODO(tokens): not yet migrated/refactored */
519
508
 
509
+ /* ./sem-color.css */
520
510
  /*
521
- * --------------------------------------------------
522
- * TYPOGRAPHY TRACKING REFERENCE TOKENS
523
- * --------------------------------------------------
511
+ * sem · colour roles: shadcn's set plus pont's status colours, built on the
512
+ * ref colour roles (ref-color/index.css). The theme mode lives here and only here
513
+ * (docs/11-tokens.md §6).
514
+ *
515
+ * Defaults reproduce shadcn's neutral theme exactly. `primary` and
516
+ * `primary-foreground` read the `brand` ramp (neutral by default), so
517
+ * re-pointing brand re-colours primary surfaces.
518
+ *
519
+ * Dark mode: shadcn's `.dark` class AND pontkit's `[data-theme="dark"]`, on
520
+ * any ancestor (usually <html>). The block is re-declared on that element, so
521
+ * its sem tokens are resolved there.
524
522
  */
525
-
526
523
  @layer pont.tokens {
527
524
  :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
- );
525
+ --pont-sem-color-background: var(--pont-ref-color-white);
526
+ --pont-sem-color-foreground: var(--pont-ref-color-base-950);
527
+ --pont-sem-color-card: var(--pont-ref-color-white);
528
+ --pont-sem-color-card-foreground: var(--pont-ref-color-base-950);
529
+ --pont-sem-color-popover: var(--pont-ref-color-white);
530
+ --pont-sem-color-popover-foreground: var(--pont-ref-color-base-950);
531
+ --pont-sem-color-primary: var(--pont-ref-color-brand-900);
532
+ --pont-sem-color-primary-foreground: var(--pont-ref-color-brand-50);
533
+ --pont-sem-color-secondary: var(--pont-ref-color-base-100);
534
+ --pont-sem-color-secondary-foreground: var(--pont-ref-color-base-900);
535
+ --pont-sem-color-muted: var(--pont-ref-color-base-100);
536
+ --pont-sem-color-muted-foreground: var(--pont-ref-color-base-500);
537
+ --pont-sem-color-accent: var(--pont-ref-color-base-100);
538
+ --pont-sem-color-accent-foreground: var(--pont-ref-color-base-900);
539
+ --pont-sem-color-border: var(--pont-ref-color-base-200);
540
+ --pont-sem-color-input: var(--pont-ref-color-base-200);
541
+ --pont-sem-color-ring: var(--pont-ref-color-base-400);
542
+
543
+ /* Interaction roles: what shadcn writes as `dark:` utilities, as tokens, so
544
+ component CSS has no mode rules (docs/11-tokens.md §6).
545
+ control an outline control's surface (outline button)
546
+ control-hover …hovered
547
+ control-border …its border
548
+ field a text field's surface (input)
549
+ surface-hover hovering a transparent surface (ghost button, menu items) */
550
+ --pont-sem-color-control: var(--pont-sem-color-background);
551
+ --pont-sem-color-control-hover: var(--pont-sem-color-muted);
552
+ --pont-sem-color-control-border: var(--pont-sem-color-border);
553
+ --pont-sem-color-field: transparent;
554
+ --pont-sem-color-surface-hover: var(--pont-sem-color-muted);
555
+ /* …and more roles from shadcn's `dark:` utilities:
556
+ field-hover a select trigger hovered (no change in light)
557
+ track a switch's unchecked track
558
+ thumb / -checked a switch's thumb, off / on
559
+ segment-fg an inactive segment (tabs trigger)
560
+ segment-active the active segment's fill / -border its border
561
+ primary-subtle a checked choice card's fill / -border its border
562
+ inverse-subtle a chip on an inverted surface (kbd in a tooltip) */
563
+ --pont-sem-color-field-hover: var(--pont-sem-color-field);
564
+ --pont-sem-color-track: var(--pont-sem-color-input);
565
+ --pont-sem-color-thumb: var(--pont-sem-color-background);
566
+ --pont-sem-color-thumb-checked: var(--pont-sem-color-background);
567
+ --pont-sem-color-segment-fg: color-mix(in oklab, var(--pont-sem-color-foreground) 60%, transparent);
568
+ --pont-sem-color-segment-active: var(--pont-sem-color-background);
569
+ --pont-sem-color-segment-active-border: transparent;
570
+ --pont-sem-color-primary-subtle: color-mix(in oklab, var(--pont-sem-color-primary) 5%, transparent);
571
+ --pont-sem-color-primary-subtle-border: color-mix(in oklab, var(--pont-sem-color-primary) 30%, transparent);
572
+ --pont-sem-color-inverse-subtle: color-mix(in oklab, var(--pont-sem-color-background) 20%, transparent);
573
+
574
+ /* Destructive tints: a subtle fill (destructive button), its hover, an
575
+ invalid control's border, and the invalid / destructive focus ring. */
576
+ --pont-sem-color-destructive-subtle: color-mix(in oklab, var(--pont-sem-color-destructive) 10%, transparent);
577
+ --pont-sem-color-destructive-subtle-hover: color-mix(in oklab, var(--pont-sem-color-destructive) 20%, transparent);
578
+ --pont-sem-color-destructive-border: var(--pont-sem-color-destructive);
579
+ --pont-sem-color-destructive-ring: color-mix(in oklab, var(--pont-sem-color-destructive) 20%, transparent);
580
+
581
+ /* Status. destructive is shadcn's; success/warning/info are pont additions,
582
+ read only by kit composites (pont-alert status=…). success uses step 700
583
+ (500 in dark) to keep text contrast on light surfaces. */
584
+ --pont-sem-color-destructive: var(--pont-ref-color-destructive-600);
585
+ --pont-sem-color-success: var(--pont-ref-color-success-700);
586
+ --pont-sem-color-warning: var(--pont-ref-color-warning-600);
587
+ --pont-sem-color-info: var(--pont-ref-color-info-600);
588
+
589
+ --pont-sem-color-chart-1: var(--pont-ref-color-brand-300);
590
+ --pont-sem-color-chart-2: var(--pont-ref-color-brand-500);
591
+ --pont-sem-color-chart-3: var(--pont-ref-color-brand-600);
592
+ --pont-sem-color-chart-4: var(--pont-ref-color-brand-700);
593
+ --pont-sem-color-chart-5: var(--pont-ref-color-brand-800);
594
+
595
+ color-scheme: light;
596
+ }
597
+
598
+ :root.dark,
599
+ :root[data-theme="dark"],
600
+ .dark,
601
+ [data-theme="dark"] {
602
+ --pont-sem-color-background: var(--pont-ref-color-base-950);
603
+ --pont-sem-color-foreground: var(--pont-ref-color-base-50);
604
+ --pont-sem-color-card: var(--pont-ref-color-base-900);
605
+ --pont-sem-color-card-foreground: var(--pont-ref-color-base-50);
606
+ --pont-sem-color-popover: var(--pont-ref-color-base-900);
607
+ --pont-sem-color-popover-foreground: var(--pont-ref-color-base-50);
608
+ --pont-sem-color-primary: var(--pont-ref-color-brand-200);
609
+ --pont-sem-color-primary-foreground: var(--pont-ref-color-brand-900);
610
+ --pont-sem-color-secondary: var(--pont-ref-color-base-800);
611
+ --pont-sem-color-secondary-foreground: var(--pont-ref-color-base-50);
612
+ --pont-sem-color-muted: var(--pont-ref-color-base-800);
613
+ --pont-sem-color-muted-foreground: var(--pont-ref-color-base-400);
614
+ --pont-sem-color-accent: var(--pont-ref-color-base-800);
615
+ --pont-sem-color-accent-foreground: var(--pont-ref-color-base-50);
616
+ --pont-sem-color-border: color-mix(in oklab, var(--pont-ref-color-white) 10%, transparent);
617
+ --pont-sem-color-input: color-mix(in oklab, var(--pont-ref-color-white) 15%, transparent);
618
+ --pont-sem-color-ring: var(--pont-ref-color-base-500);
619
+
620
+ --pont-sem-color-control: color-mix(in oklab, var(--pont-sem-color-input) 30%, transparent);
621
+ --pont-sem-color-control-hover: color-mix(in oklab, var(--pont-sem-color-input) 50%, transparent);
622
+ --pont-sem-color-control-border: var(--pont-sem-color-input);
623
+ --pont-sem-color-field: color-mix(in oklab, var(--pont-sem-color-input) 30%, transparent);
624
+ --pont-sem-color-surface-hover: color-mix(in oklab, var(--pont-sem-color-muted) 50%, transparent);
625
+ --pont-sem-color-field-hover: color-mix(in oklab, var(--pont-sem-color-input) 50%, transparent);
626
+ --pont-sem-color-track: color-mix(in oklab, var(--pont-sem-color-input) 80%, transparent);
627
+ --pont-sem-color-thumb: var(--pont-sem-color-foreground);
628
+ --pont-sem-color-thumb-checked: var(--pont-sem-color-primary-foreground);
629
+ --pont-sem-color-segment-fg: var(--pont-sem-color-muted-foreground);
630
+ --pont-sem-color-segment-active: color-mix(in oklab, var(--pont-sem-color-input) 30%, transparent);
631
+ --pont-sem-color-segment-active-border: var(--pont-sem-color-input);
632
+ --pont-sem-color-primary-subtle: color-mix(in oklab, var(--pont-sem-color-primary) 10%, transparent);
633
+ --pont-sem-color-primary-subtle-border: color-mix(in oklab, var(--pont-sem-color-primary) 20%, transparent);
634
+ --pont-sem-color-inverse-subtle: color-mix(in oklab, var(--pont-sem-color-background) 10%, transparent);
635
+
636
+ --pont-sem-color-destructive-subtle: color-mix(in oklab, var(--pont-sem-color-destructive) 20%, transparent);
637
+ --pont-sem-color-destructive-subtle-hover: color-mix(in oklab, var(--pont-sem-color-destructive) 30%, transparent);
638
+ --pont-sem-color-destructive-border: color-mix(in oklab, var(--pont-sem-color-destructive) 50%, transparent);
639
+ --pont-sem-color-destructive-ring: color-mix(in oklab, var(--pont-sem-color-destructive) 40%, transparent);
640
+
641
+ --pont-sem-color-destructive: var(--pont-ref-color-destructive-400);
642
+ --pont-sem-color-success: var(--pont-ref-color-success-500);
643
+ --pont-sem-color-warning: var(--pont-ref-color-warning-400);
644
+ --pont-sem-color-info: var(--pont-ref-color-info-400);
645
+
646
+ color-scheme: dark;
548
647
  }
549
648
  }
550
649
 
650
+ /* ./cursor.css */
551
651
  /*
652
+ * ===========================================================================
653
+ * CURSOR TOKENS
552
654
  * ---------------------------------------------------------------------------
553
- * TYPOGRAPHY LEADING TOKENS
554
- * ---------------------------------------------------------------------------
555
- * `line-height`
556
- * ---------------------------------------------------------------------------
655
+ * `cursor`
656
+ * ===========================================================================
557
657
  */
558
658
 
559
659
  /*
560
660
  * --------------------------------------------------
561
- * TYPOGRAPHY LEADING REFERENCE TOKENS
661
+ * CURSOR REFERENCE TOKENS
562
662
  * --------------------------------------------------
563
663
  */
564
664
 
565
665
  @layer pont.tokens {
566
666
  :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;
667
+ --pont-ref-cursor-auto: auto;
668
+ --pont-ref-cursor-default: default;
669
+ --pont-ref-cursor-pointer: pointer;
670
+ --pont-ref-cursor-wait: wait;
671
+ --pont-ref-cursor-text: text;
672
+ --pont-ref-cursor-move: move;
673
+ --pont-ref-cursor-help: help;
674
+ --pont-ref-cursor-not-allowed: not-allowed;
675
+ --pont-ref-cursor-none: none;
676
+ --pont-ref-cursor-context-menu: context-menu;
677
+ --pont-ref-cursor-progress: progress;
678
+ --pont-ref-cursor-cell: cell;
679
+ --pont-ref-cursor-crosshair: crosshair;
680
+ --pont-ref-cursor-vertical-text: vertical-text;
681
+ --pont-ref-cursor-alias: alias;
682
+ --pont-ref-cursor-copy: copy;
683
+ --pont-ref-cursor-no-drop: no-drop;
684
+ --pont-ref-cursor-grab: grab;
685
+ --pont-ref-cursor-grabbing: grabbing;
686
+ --pont-ref-cursor-all-scroll: all-scroll;
687
+ --pont-ref-cursor-col-resize: col-resize;
688
+ --pont-ref-cursor-row-resize: row-resize;
689
+ --pont-ref-cursor-n-resize: n-resize;
690
+ --pont-ref-cursor-e-resize: e-resize;
691
+ --pont-ref-cursor-s-resize: s-resize;
692
+ --pont-ref-cursor-w-resize: w-resize;
693
+ --pont-ref-cursor-ne-resize: ne-resize;
694
+ --pont-ref-cursor-nw-resize: nw-resize;
695
+ --pont-ref-cursor-se-resize: se-resize;
696
+ --pont-ref-cursor-sw-resize: sw-resize;
697
+ --pont-ref-cursor-ew-resize: ew-resize;
698
+ --pont-ref-cursor-ns-resize: ns-resize;
699
+ --pont-ref-cursor-nesw-resize: nesw-resize;
700
+ --pont-ref-cursor-nwse-resize: nwse-resize;
701
+ --pont-ref-cursor-zoom-in: zoom-in;
702
+ --pont-ref-cursor-zoom-out: zoom-out;
703
+ }
704
+ }
573
705
 
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;
706
+ /*
707
+ * --------------------------------------------------
708
+ * CURSOR SEMANTIC TOKENS
709
+ * --------------------------------------------------
710
+ */
711
+
712
+ @layer pont.tokens {
713
+ :root {
714
+ /*
715
+ * Roles, not components: a brand that wants the hand cursor on every
716
+ * pressable control sets -interactive once. `default` is shadcn's
717
+ * (Tailwind v4) choice for buttons and controls.
718
+ */
719
+
720
+ /* Pressable controls: button, tabs trigger, checkbox, radio, switch, slider thumb */
721
+ --pont-sem-cursor-interactive: var(--pont-ref-cursor-default);
722
+ /* Options in a list: combobox, dropdown menu and select items */
723
+ --pont-sem-cursor-item: var(--pont-ref-cursor-default);
724
+ /* Areas that focus a text field: input-group addon, OTP slots, combobox chips */
725
+ --pont-sem-cursor-text: var(--pont-ref-cursor-text);
726
+ /* Drag handles: the drawer handle */
727
+ --pont-sem-cursor-grab: var(--pont-ref-cursor-grab);
728
+ /* Every disabled control and its label */
729
+ --pont-sem-cursor-disabled: var(--pont-ref-cursor-not-allowed);
587
730
  }
588
731
  }
589
732
 
590
- /* ./ref/color.css */
733
+ /* ./dimension.css */
591
734
  /*
592
735
  * ===========================================================================
593
- * COLOR REFERENCE TOKENS
594
- * --pont-ref-color-*
736
+ * DIMENSION TOKENS
595
737
  * ===========================================================================
596
738
  */
597
739
 
740
+ @layer pont.tokens {
741
+ :root {
742
+ --pont-ref-dimension: 0.25rem;
743
+ }
744
+ }
745
+
746
+ /*
747
+ * ---------------------------------------------------------------------------
748
+ * DIMENSION SIZE TOKENS
749
+ * ---------------------------------------------------------------------------
750
+ * `width`, `height`, `min-width`, `max-width`, `min-height`, `max-height`,
751
+ * `box-size`, `flex-basis`
752
+ * ---------------------------------------------------------------------------
753
+ */
754
+
598
755
  /*
599
756
  * --------------------------------------------------
600
- * COLOR PALETTE
757
+ * DIMENSION SIZE REFERENCE TOKENS
601
758
  * --------------------------------------------------
602
759
  */
603
760
 
604
761
  @layer pont.tokens {
605
762
  :root {
606
- --pont-ref-color-red-50: oklch(97.1% 0.013 17.38);
607
- --pont-ref-color-red-100: oklch(93.6% 0.032 17.717);
608
- --pont-ref-color-red-200: oklch(88.5% 0.062 18.334);
609
- --pont-ref-color-red-300: oklch(80.8% 0.114 19.571);
610
- --pont-ref-color-red-400: oklch(70.4% 0.191 22.216);
611
- --pont-ref-color-red-500: oklch(63.7% 0.237 25.331);
612
- --pont-ref-color-red-600: oklch(57.7% 0.245 27.325);
613
- --pont-ref-color-red-700: oklch(50.5% 0.213 27.518);
614
- --pont-ref-color-red-800: oklch(44.4% 0.177 26.899);
615
- --pont-ref-color-red-900: oklch(39.6% 0.141 25.723);
616
- --pont-ref-color-red-950: oklch(25.8% 0.092 26.042);
763
+ --pont-ref-dimension-size-auto: auto;
764
+ --pont-ref-dimension-size-none: none;
765
+ --pont-ref-dimension-size-px: 1px;
766
+ --pont-ref-dimension-size-full: 100%;
767
+ --pont-ref-dimension-size-min: min-content;
768
+ --pont-ref-dimension-size-max: max-content;
769
+ --pont-ref-dimension-size-fit: fit-content;
617
770
 
618
- --pont-ref-color-orange-50: oklch(98% 0.016 73.684);
619
- --pont-ref-color-orange-100: oklch(95.4% 0.038 75.164);
620
- --pont-ref-color-orange-200: oklch(90.1% 0.076 70.697);
621
- --pont-ref-color-orange-300: oklch(83.7% 0.128 66.29);
622
- --pont-ref-color-orange-400: oklch(75% 0.183 55.934);
623
- --pont-ref-color-orange-500: oklch(70.5% 0.213 47.604);
624
- --pont-ref-color-orange-600: oklch(64.6% 0.222 41.116);
625
- --pont-ref-color-orange-700: oklch(55.3% 0.195 38.402);
626
- --pont-ref-color-orange-800: oklch(47% 0.157 37.304);
627
- --pont-ref-color-orange-900: oklch(40.8% 0.123 38.172);
628
- --pont-ref-color-orange-950: oklch(26.6% 0.079 36.259);
771
+ --pont-ref-dimension-size-dvw: 100dvw;
772
+ --pont-ref-dimension-size-dvh: 100dvh;
773
+ --pont-ref-dimension-size-lvw: 100lvw;
774
+ --pont-ref-dimension-size-lvh: 100lvh;
775
+ --pont-ref-dimension-size-svw: 100svw;
776
+ --pont-ref-dimension-size-svh: 100svh;
777
+ --pont-ref-dimension-size-vw: 100vw;
778
+ --pont-ref-dimension-size-vh: 100vh;
779
+ --pont-ref-dimension-size-lh: 1lh;
629
780
 
630
- --pont-ref-color-amber-50: oklch(98.7% 0.022 95.277);
631
- --pont-ref-color-amber-100: oklch(96.2% 0.059 95.617);
632
- --pont-ref-color-amber-200: oklch(92.4% 0.12 95.746);
633
- --pont-ref-color-amber-300: oklch(87.9% 0.169 91.605);
634
- --pont-ref-color-amber-400: oklch(82.8% 0.189 84.429);
635
- --pont-ref-color-amber-500: oklch(76.9% 0.188 70.08);
636
- --pont-ref-color-amber-600: oklch(66.6% 0.179 58.318);
637
- --pont-ref-color-amber-700: oklch(55.5% 0.163 48.998);
638
- --pont-ref-color-amber-800: oklch(47.3% 0.137 46.201);
639
- --pont-ref-color-amber-900: oklch(41.4% 0.112 45.904);
640
- --pont-ref-color-amber-950: oklch(27.9% 0.077 45.635);
781
+ --pont-ref-dimension-size-3xs: 16rem;
782
+ --pont-ref-dimension-size-2xs: 18rem;
783
+ --pont-ref-dimension-size-xs: 20rem;
784
+ --pont-ref-dimension-size-sm: 24rem;
785
+ --pont-ref-dimension-size-md: 28rem;
786
+ --pont-ref-dimension-size-lg: 32rem;
787
+ --pont-ref-dimension-size-xl: 36rem;
788
+ --pont-ref-dimension-size-2xl: 42rem;
789
+ --pont-ref-dimension-size-3xl: 48rem;
790
+ --pont-ref-dimension-size-4xl: 56rem;
791
+ --pont-ref-dimension-size-5xl: 64rem;
792
+ --pont-ref-dimension-size-6xl: 72rem;
793
+ --pont-ref-dimension-size-7xl: 80rem;
794
+ }
795
+ }
796
+
797
+ /*
798
+ * --------------------------------------------------
799
+ * DIMENSION SIZE SEMANTIC TOKENS
800
+ * --------------------------------------------------
801
+ */
802
+
803
+ @layer pont.tokens {
804
+ :root {
805
+ /* Default size (width/height) */
806
+ --pont-sem-dimension-size: var(--pont-ref-dimension-size-auto);
807
+
808
+ /* Default min size (min-width/min-height) */
809
+ --pont-sem-dimension-size-min: var(--pont-ref-dimension-size-auto);
810
+ /* Default max size (max-width/max-height) */
811
+ --pont-sem-dimension-size-max: var(--pont-ref-dimension-size-none);
812
+
813
+ --pont-sem-dimension-size-width-screen: var(--pont-ref-dimension-size-vw);
814
+ --pont-sem-dimension-size-height-screen: var(--pont-ref-dimension-size-vh);
815
+ }
816
+ }
817
+
818
+ /*
819
+ * ---------------------------------------------------------------------------
820
+ * DIMENSION SPACE TOKENS
821
+ * ---------------------------------------------------------------------------
822
+ * `padding`, `gap`, `top`, `right`, `bottom`, `left`, `inset`,
823
+ * `scroll-margin`, `scroll-padding`, `text-indent`, `outline-offset`
824
+ * ---------------------------------------------------------------------------
825
+ */
826
+
827
+ /*
828
+ * --------------------------------------------------
829
+ * DIMENSION SPACE REFERENCE TOKENS
830
+ * --------------------------------------------------
831
+ */
832
+
833
+ @layer pont.tokens {
834
+ :root {
835
+ --pont-ref-dimension-space-auto: auto;
836
+ --pont-ref-dimension-space-px: 1px;
837
+ --pont-ref-dimension-space-full: 100%;
838
+ }
839
+ }
840
+
841
+ /*
842
+ * --------------------------------------------------
843
+ * DIMENSION SPACE SEMANTIC TOKENS
844
+ * --------------------------------------------------
845
+ */
846
+
847
+ @layer pont.tokens {
848
+ :root {
849
+ /* Default inset/top/right/bottom/left */
850
+ --pont-sem-dimension-space-inset: var(--pont-ref-dimension-space-auto);
851
+ }
852
+ }
853
+
854
+ /* ./filter.css */
855
+ /*
856
+ * ===========================================================================
857
+ * FILTER TOKENS
858
+ * ---------------------------------------------------------------------------
859
+ * `filter`, `backdrop-filter`
860
+ * ===========================================================================
861
+ */
862
+
863
+ /*
864
+ * ---------------------------------------------------------------------------
865
+ * FILTER BLUR TOKENS
866
+ * ---------------------------------------------------------------------------
867
+ * length value arg for `blur()`
868
+ * ---------------------------------------------------------------------------
869
+ */
870
+
871
+ /*
872
+ * --------------------------------------------------
873
+ * FILTER BLUR REFERENCE TOKENS
874
+ * --------------------------------------------------
875
+ */
876
+
877
+ @layer pont.tokens {
878
+ :root {
879
+ /* Anchor/seed value */
880
+ --pont-ref-filter-blur: 1px;
881
+
882
+ /* Derived values */
883
+ --pont-ref-filter-blur-xs: calc(var(--pont-ref-filter-blur) * 4);
884
+ --pont-ref-filter-blur-sm: calc(var(--pont-ref-filter-blur) * 8);
885
+ --pont-ref-filter-blur-md: calc(var(--pont-ref-filter-blur) * 12);
886
+ --pont-ref-filter-blur-lg: calc(var(--pont-ref-filter-blur) * 16);
887
+ --pont-ref-filter-blur-xl: calc(var(--pont-ref-filter-blur) * 24);
888
+ --pont-ref-filter-blur-2xl: calc(var(--pont-ref-filter-blur) * 40);
889
+ --pont-ref-filter-blur-3xl: calc(var(--pont-ref-filter-blur) * 64);
890
+
891
+ /* Special values */
892
+ --pont-ref-filter-blur-none: 0;
893
+ }
894
+ }
895
+
896
+ /* ./layout.css */
897
+ /*
898
+ * ===========================================================================
899
+ * LAYOUT TOKENS
900
+ * ===========================================================================
901
+ */
902
+
903
+ /*
904
+ * ---------------------------------------------------------------------------
905
+ * LAYOUT ASPECT TOKENS
906
+ * ---------------------------------------------------------------------------
907
+ * `aspect-ratio`
908
+ * ---------------------------------------------------------------------------
909
+ */
910
+
911
+ /*
912
+ * --------------------------------------------------
913
+ * LAYOUT ASPECT REFERENCE TOKENS
914
+ * --------------------------------------------------
915
+ */
916
+
917
+ @layer pont.tokens {
918
+ :root {
919
+ --pont-ref-layout-aspect-auto: auto;
920
+
921
+ --pont-ref-layout-aspect-square: 1 / 1;
922
+ --pont-ref-layout-aspect-video: 16 / 9;
923
+ }
924
+ }
925
+
926
+ /* ./motion.css */
927
+ /*
928
+ * ===========================================================================
929
+ * MOTION TOKENS
930
+ * ===========================================================================
931
+ */
932
+
933
+ /*
934
+ * --------------------------------------------------
935
+ * MOTION DURATION TOKENS
936
+ * `[transition|animation]-duration`, `[transition|animation]-delay`
937
+ * --------------------------------------------------
938
+ */
939
+
940
+ @layer pont.tokens {
941
+ :root {
942
+ --pont-ref-motion-duration: 1ms;
943
+
944
+ --pont-ref-motion-duration-s: calc(var(--pont-ref-motion-duration) * 1000);
945
+ }
946
+ }
947
+
948
+ /*
949
+ * --------------------------------------------------
950
+ * MOTION EASING TOKENS
951
+ * `[transition|animation]-timing-function`
952
+ * --------------------------------------------------
953
+ */
954
+
955
+ @layer pont.tokens {
956
+ :root {
957
+ --pont-ref-motion-easing-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
958
+ --pont-ref-motion-easing-linear: cubic-bezier(0, 0, 1, 1);
959
+
960
+ --pont-ref-motion-easing-ease-in: cubic-bezier(0.4, 0, 1, 1);
961
+ --pont-ref-motion-easing-ease-out: cubic-bezier(0, 0, 0.2, 1);
962
+ --pont-ref-motion-easing-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
963
+
964
+ --pont-ref-motion-easing-ease-in-native: cubic-bezier(0.42, 0, 1, 1);
965
+ --pont-ref-motion-easing-ease-out-native: cubic-bezier(0, 0, 0.58, 1);
966
+ --pont-ref-motion-easing-ease-in-out-native: cubic-bezier(0.42, 0, 0.58, 1);
967
+ }
968
+ }
969
+
970
+ /*
971
+ * ---------------------------------------------------------------------------
972
+ * MOTION TRANSITION TOKENS
973
+ * ---------------------------------------------------------------------------
974
+ */
975
+
976
+ /*
977
+ * --------------------------------------------------
978
+ * MOTION TRANSITION PROPERTY TOKENS
979
+ * `transition-property`
980
+ * --------------------------------------------------
981
+ */
982
+
983
+ @layer pont.tokens {
984
+ :root {
985
+ --pont-ref-motion-trans-property-all: all;
986
+ --pont-ref-motion-trans-property-none: none;
987
+
988
+ --pont-ref-motion-trans-property-colors:
989
+ color, background-color, border-color, outline-color,
990
+ text-decoration-color, fill, stroke, --pont-gradient-from,
991
+ --pont-gradient-via, --pont-gradient-to;
992
+ --pont-ref-motion-trans-property-opacity: opacity;
993
+ --pont-ref-motion-trans-property-shadow: box-shadow;
994
+ --pont-ref-motion-trans-property-transform:
995
+ transform, translate, scale, rotate;
996
+ }
997
+ }
998
+
999
+ @layer pont.tokens {
1000
+ :root {
1001
+ --pont-sem-motion-trans-property:
1002
+ var(--pont-ref-motion-trans-property-colors),
1003
+ var(--pont-ref-motion-trans-property-opacity),
1004
+ var(--pont-ref-motion-trans-property-shadow),
1005
+ var(--pont-ref-motion-trans-property-transform), filter,
1006
+ -webkit-backdrop-filter, backdrop-filter, display, content-visibility,
1007
+ overlay, pointer-events;
1008
+ }
1009
+ }
1010
+
1011
+ /*
1012
+ * --------------------------------------------------
1013
+ * MOTION TRANSITION DURATION TOKENS
1014
+ * `transition-duration`, `transition-delay`
1015
+ * --------------------------------------------------
1016
+ */
1017
+
1018
+ @layer pont.tokens {
1019
+ :root {
1020
+ --pont-sem-motion-trans-duration: calc(
1021
+ var(--pont-ref-motion-duration) * 150
1022
+ );
1023
+ --pont-sem-motion-trans-duration-slow: calc(
1024
+ var(--pont-ref-motion-duration) * 200
1025
+ );
1026
+ --pont-sem-motion-trans-duration-fast: calc(
1027
+ var(--pont-ref-motion-duration) * 100
1028
+ );
1029
+ }
1030
+ }
1031
+
1032
+ /*
1033
+ * --------------------------------------------------
1034
+ * MOTION TRANSITION EASING TOKENS
1035
+ * `transition-timing-function`
1036
+ * --------------------------------------------------
1037
+ */
1038
+
1039
+ @layer pont.tokens {
1040
+ :root {
1041
+ --pont-sem-motion-trans-easing: var(--pont-ref-motion-easing-ease-in-out);
1042
+ }
1043
+ }
1044
+
1045
+ /*
1046
+ * ---------------------------------------------------------------------------
1047
+ * MOTION ANIMATION TOKENS
1048
+ * ---------------------------------------------------------------------------
1049
+ */
1050
+
1051
+ /*
1052
+ * --------------------------------------------------
1053
+ * MOTION ANIMATION NAME TOKENS
1054
+ * `animation-name`
1055
+ * --------------------------------------------------
1056
+ */
1057
+
1058
+ @layer pont.tokens {
1059
+ :root {
1060
+ --pont-sem-motion-anim-spin-name: pont-spin;
1061
+ --pont-sem-motion-anim-ping-name: pont-ping;
1062
+ --pont-sem-motion-anim-pulse-name: pont-pulse;
1063
+ --pont-sem-motion-anim-bounce-name: pont-bounce;
1064
+ }
1065
+ }
1066
+
1067
+ /*
1068
+ * --------------------------------------------------
1069
+ * MOTION ANIMATION DURATION TOKENS
1070
+ * `animation-duration`, `animation-delay`
1071
+ * --------------------------------------------------
1072
+ */
1073
+
1074
+ @layer pont.tokens {
1075
+ :root {
1076
+ --pont-sem-motion-anim-duration: var(--pont-ref-motion-duration-s);
1077
+ --pont-sem-motion-anim-duration-slow: calc(
1078
+ var(--pont-ref-motion-duration-s) * 2
1079
+ );
1080
+
1081
+ --pont-sem-motion-anim-spin-duration: var(--pont-sem-motion-anim-duration);
1082
+ --pont-sem-motion-anim-ping-duration: var(--pont-sem-motion-anim-duration);
1083
+ --pont-sem-motion-anim-pulse-duration: var(
1084
+ --pont-sem-motion-anim-duration-slow
1085
+ );
1086
+ --pont-sem-motion-anim-bounce-duration: var(
1087
+ --pont-sem-motion-anim-duration
1088
+ );
1089
+ }
1090
+ }
1091
+
1092
+ /*
1093
+ * --------------------------------------------------
1094
+ * MOTION ANIMATION EASING TOKENS
1095
+ * `animation-timing-function`
1096
+ * --------------------------------------------------
1097
+ */
641
1098
 
642
- --pont-ref-color-yellow-50: oklch(98.7% 0.026 102.212);
643
- --pont-ref-color-yellow-100: oklch(97.3% 0.071 103.193);
644
- --pont-ref-color-yellow-200: oklch(94.5% 0.129 101.54);
645
- --pont-ref-color-yellow-300: oklch(90.5% 0.182 98.111);
646
- --pont-ref-color-yellow-400: oklch(85.2% 0.199 91.936);
647
- --pont-ref-color-yellow-500: oklch(79.5% 0.184 86.047);
648
- --pont-ref-color-yellow-600: oklch(68.1% 0.162 75.834);
649
- --pont-ref-color-yellow-700: oklch(55.4% 0.135 66.442);
650
- --pont-ref-color-yellow-800: oklch(47.6% 0.114 61.907);
651
- --pont-ref-color-yellow-900: oklch(42.1% 0.095 57.708);
652
- --pont-ref-color-yellow-950: oklch(28.6% 0.066 53.813);
1099
+ @layer pont.tokens {
1100
+ :root {
1101
+ --pont-sem-motion-anim-easing: var(--pont-ref-motion-easing-ease);
653
1102
 
654
- --pont-ref-color-lime-50: oklch(98.6% 0.031 120.757);
655
- --pont-ref-color-lime-100: oklch(96.7% 0.067 122.328);
656
- --pont-ref-color-lime-200: oklch(93.8% 0.127 124.321);
657
- --pont-ref-color-lime-300: oklch(89.7% 0.196 126.665);
658
- --pont-ref-color-lime-400: oklch(84.1% 0.238 128.85);
659
- --pont-ref-color-lime-500: oklch(76.8% 0.233 130.85);
660
- --pont-ref-color-lime-600: oklch(64.8% 0.2 131.684);
661
- --pont-ref-color-lime-700: oklch(53.2% 0.157 131.589);
662
- --pont-ref-color-lime-800: oklch(45.3% 0.124 130.933);
663
- --pont-ref-color-lime-900: oklch(40.5% 0.101 131.063);
664
- --pont-ref-color-lime-950: oklch(27.4% 0.072 132.109);
1103
+ --pont-sem-motion-anim-spin-easing: var(--pont-ref-motion-easing-linear);
1104
+ --pont-sem-motion-anim-ping-easing: var(--pont-ref-motion-easing-ease-out);
1105
+ --pont-sem-motion-anim-pulse-easing: cubic-bezier(0.4, 0, 0.6, 1);
1106
+ --pont-sem-motion-anim-bounce-easing: var(--pont-sem-motion-anim-easing);
1107
+ }
1108
+ }
665
1109
 
666
- --pont-ref-color-green-50: oklch(98.2% 0.018 155.826);
667
- --pont-ref-color-green-100: oklch(96.2% 0.044 156.743);
668
- --pont-ref-color-green-200: oklch(92.5% 0.084 155.995);
669
- --pont-ref-color-green-300: oklch(87.1% 0.15 154.449);
670
- --pont-ref-color-green-400: oklch(79.2% 0.209 151.711);
671
- --pont-ref-color-green-500: oklch(72.3% 0.219 149.579);
672
- --pont-ref-color-green-600: oklch(62.7% 0.194 149.214);
673
- --pont-ref-color-green-700: oklch(52.7% 0.154 150.069);
674
- --pont-ref-color-green-800: oklch(44.8% 0.119 151.328);
675
- --pont-ref-color-green-900: oklch(39.3% 0.095 152.535);
676
- --pont-ref-color-green-950: oklch(26.6% 0.065 152.934);
1110
+ /*
1111
+ * --------------------------------------------------
1112
+ * MOTION ANIMATION ITERATION TOKENS
1113
+ * `animation-iteration-count`
1114
+ * --------------------------------------------------
1115
+ */
677
1116
 
678
- --pont-ref-color-emerald-50: oklch(97.9% 0.021 166.113);
679
- --pont-ref-color-emerald-100: oklch(95% 0.052 163.051);
680
- --pont-ref-color-emerald-200: oklch(90.5% 0.093 164.15);
681
- --pont-ref-color-emerald-300: oklch(84.5% 0.143 164.978);
682
- --pont-ref-color-emerald-400: oklch(76.5% 0.177 163.223);
683
- --pont-ref-color-emerald-500: oklch(69.6% 0.17 162.48);
684
- --pont-ref-color-emerald-600: oklch(59.6% 0.145 163.225);
685
- --pont-ref-color-emerald-700: oklch(50.8% 0.118 165.612);
686
- --pont-ref-color-emerald-800: oklch(43.2% 0.095 166.913);
687
- --pont-ref-color-emerald-900: oklch(37.8% 0.077 168.94);
688
- --pont-ref-color-emerald-950: oklch(26.2% 0.051 172.552);
1117
+ @layer pont.tokens {
1118
+ :root {
1119
+ --pont-ref-motion-anim-iteration-infinite: infinite;
1120
+ }
1121
+ }
689
1122
 
690
- --pont-ref-color-teal-50: oklch(98.4% 0.014 180.72);
691
- --pont-ref-color-teal-100: oklch(95.3% 0.051 180.801);
692
- --pont-ref-color-teal-200: oklch(91% 0.096 180.426);
693
- --pont-ref-color-teal-300: oklch(85.5% 0.138 181.071);
694
- --pont-ref-color-teal-400: oklch(77.7% 0.152 181.912);
695
- --pont-ref-color-teal-500: oklch(70.4% 0.14 182.503);
696
- --pont-ref-color-teal-600: oklch(60% 0.118 184.704);
697
- --pont-ref-color-teal-700: oklch(51.1% 0.096 186.391);
698
- --pont-ref-color-teal-800: oklch(43.7% 0.078 188.216);
699
- --pont-ref-color-teal-900: oklch(38.6% 0.063 188.416);
700
- --pont-ref-color-teal-950: oklch(27.7% 0.046 192.524);
1123
+ @layer pont.tokens {
1124
+ :root {
1125
+ --pont-sem-motion-anim-spin-iteration: var(
1126
+ --pont-ref-motion-anim-iteration-infinite
1127
+ );
1128
+ --pont-sem-motion-anim-ping-iteration: var(
1129
+ --pont-ref-motion-anim-iteration-infinite
1130
+ );
1131
+ --pont-sem-motion-anim-pulse-iteration: var(
1132
+ --pont-ref-motion-anim-iteration-infinite
1133
+ );
1134
+ --pont-sem-motion-anim-bounce-iteration: var(
1135
+ --pont-ref-motion-anim-iteration-infinite
1136
+ );
1137
+ }
1138
+ }
701
1139
 
702
- --pont-ref-color-cyan-50: oklch(98.4% 0.019 200.873);
703
- --pont-ref-color-cyan-100: oklch(95.6% 0.045 203.388);
704
- --pont-ref-color-cyan-200: oklch(91.7% 0.08 205.041);
705
- --pont-ref-color-cyan-300: oklch(86.5% 0.127 207.078);
706
- --pont-ref-color-cyan-400: oklch(78.9% 0.154 211.53);
707
- --pont-ref-color-cyan-500: oklch(71.5% 0.143 215.221);
708
- --pont-ref-color-cyan-600: oklch(60.9% 0.126 221.723);
709
- --pont-ref-color-cyan-700: oklch(52% 0.105 223.128);
710
- --pont-ref-color-cyan-800: oklch(45% 0.085 224.283);
711
- --pont-ref-color-cyan-900: oklch(39.8% 0.07 227.392);
712
- --pont-ref-color-cyan-950: oklch(30.2% 0.056 229.695);
1140
+ /*
1141
+ * --------------------------------------------------
1142
+ * MOTION ANIMATION 'COMPOSITE' TOKENS
1143
+ * `animation`
1144
+ * --------------------------------------------------
1145
+ */
713
1146
 
714
- --pont-ref-color-sky-50: oklch(97.7% 0.013 236.62);
715
- --pont-ref-color-sky-100: oklch(95.1% 0.026 236.824);
716
- --pont-ref-color-sky-200: oklch(90.1% 0.058 230.902);
717
- --pont-ref-color-sky-300: oklch(82.8% 0.111 230.318);
718
- --pont-ref-color-sky-400: oklch(74.6% 0.16 232.661);
719
- --pont-ref-color-sky-500: oklch(68.5% 0.169 237.323);
720
- --pont-ref-color-sky-600: oklch(58.8% 0.158 241.966);
721
- --pont-ref-color-sky-700: oklch(50% 0.134 242.749);
722
- --pont-ref-color-sky-800: oklch(44.3% 0.11 240.79);
723
- --pont-ref-color-sky-900: oklch(39.1% 0.09 240.876);
724
- --pont-ref-color-sky-950: oklch(29.3% 0.066 243.157);
1147
+ @layer pont.tokens {
1148
+ :root {
1149
+ --pont-ref-motion-anim-none: none;
1150
+ }
1151
+ }
725
1152
 
726
- --pont-ref-color-blue-50: oklch(97% 0.014 254.604);
727
- --pont-ref-color-blue-100: oklch(93.2% 0.032 255.585);
728
- --pont-ref-color-blue-200: oklch(88.2% 0.059 254.128);
729
- --pont-ref-color-blue-300: oklch(80.9% 0.105 251.813);
730
- --pont-ref-color-blue-400: oklch(70.7% 0.165 254.624);
731
- --pont-ref-color-blue-500: oklch(62.3% 0.214 259.815);
732
- --pont-ref-color-blue-600: oklch(54.6% 0.245 262.881);
733
- --pont-ref-color-blue-700: oklch(48.8% 0.243 264.376);
734
- --pont-ref-color-blue-800: oklch(42.4% 0.199 265.638);
735
- --pont-ref-color-blue-900: oklch(37.9% 0.146 265.522);
736
- --pont-ref-color-blue-950: oklch(28.2% 0.091 267.935);
1153
+ @layer pont.tokens {
1154
+ :root {
1155
+ --pont-sem-motion-anim-spin: var(--pont-sem-motion-anim-spin-name)
1156
+ var(--pont-sem-motion-anim-spin-duration)
1157
+ var(--pont-sem-motion-anim-spin-easing)
1158
+ var(--pont-sem-motion-anim-spin-iteration);
1159
+
1160
+ --pont-sem-motion-anim-ping: var(--pont-sem-motion-anim-ping-name)
1161
+ var(--pont-sem-motion-anim-ping-duration)
1162
+ var(--pont-sem-motion-anim-ping-easing)
1163
+ var(--pont-sem-motion-anim-ping-iteration);
1164
+
1165
+ --pont-sem-motion-anim-pulse: var(--pont-sem-motion-anim-pulse-name)
1166
+ var(--pont-sem-motion-anim-pulse-duration)
1167
+ var(--pont-sem-motion-anim-pulse-easing)
1168
+ var(--pont-sem-motion-anim-pulse-iteration);
1169
+
1170
+ --pont-sem-motion-anim-bounce: var(--pont-sem-motion-anim-bounce-name)
1171
+ var(--pont-sem-motion-anim-bounce-duration)
1172
+ var(--pont-sem-motion-anim-bounce-easing)
1173
+ var(--pont-sem-motion-anim-bounce-iteration);
1174
+ }
1175
+ }
737
1176
 
738
- --pont-ref-color-indigo-50: oklch(96.2% 0.018 272.314);
739
- --pont-ref-color-indigo-100: oklch(93% 0.034 272.788);
740
- --pont-ref-color-indigo-200: oklch(87% 0.065 274.039);
741
- --pont-ref-color-indigo-300: oklch(78.5% 0.115 274.713);
742
- --pont-ref-color-indigo-400: oklch(67.3% 0.182 276.935);
743
- --pont-ref-color-indigo-500: oklch(58.5% 0.233 277.117);
744
- --pont-ref-color-indigo-600: oklch(51.1% 0.262 276.966);
745
- --pont-ref-color-indigo-700: oklch(45.7% 0.24 277.023);
746
- --pont-ref-color-indigo-800: oklch(39.8% 0.195 277.366);
747
- --pont-ref-color-indigo-900: oklch(35.9% 0.144 278.697);
748
- --pont-ref-color-indigo-950: oklch(25.7% 0.09 281.288);
1177
+ /* ./opacity.css */
1178
+ /*
1179
+ * ===========================================================================
1180
+ * OPACITY TOKENS
1181
+ * ---------------------------------------------------------------------------
1182
+ * `opacity`
1183
+ * ===========================================================================
1184
+ */
749
1185
 
750
- --pont-ref-color-violet-50: oklch(96.9% 0.016 293.756);
751
- --pont-ref-color-violet-100: oklch(94.3% 0.029 294.588);
752
- --pont-ref-color-violet-200: oklch(89.4% 0.057 293.283);
753
- --pont-ref-color-violet-300: oklch(81.1% 0.111 293.571);
754
- --pont-ref-color-violet-400: oklch(70.2% 0.183 293.541);
755
- --pont-ref-color-violet-500: oklch(60.6% 0.25 292.717);
756
- --pont-ref-color-violet-600: oklch(54.1% 0.281 293.009);
757
- --pont-ref-color-violet-700: oklch(49.1% 0.27 292.581);
758
- --pont-ref-color-violet-800: oklch(43.2% 0.232 292.759);
759
- --pont-ref-color-violet-900: oklch(38% 0.189 293.745);
760
- --pont-ref-color-violet-950: oklch(28.3% 0.141 291.089);
1186
+ /*
1187
+ * --------------------------------------------------
1188
+ * OPACITY REFERENCE TOKENS
1189
+ * --------------------------------------------------
1190
+ */
761
1191
 
762
- --pont-ref-color-purple-50: oklch(97.7% 0.014 308.299);
763
- --pont-ref-color-purple-100: oklch(94.6% 0.033 307.174);
764
- --pont-ref-color-purple-200: oklch(90.2% 0.063 306.703);
765
- --pont-ref-color-purple-300: oklch(82.7% 0.119 306.383);
766
- --pont-ref-color-purple-400: oklch(71.4% 0.203 305.504);
767
- --pont-ref-color-purple-500: oklch(62.7% 0.265 303.9);
768
- --pont-ref-color-purple-600: oklch(55.8% 0.288 302.321);
769
- --pont-ref-color-purple-700: oklch(49.6% 0.265 301.924);
770
- --pont-ref-color-purple-800: oklch(43.8% 0.218 303.724);
771
- --pont-ref-color-purple-900: oklch(38.1% 0.176 304.987);
772
- --pont-ref-color-purple-950: oklch(29.1% 0.149 302.717);
1192
+ @layer pont.tokens {
1193
+ :root {
1194
+ /* Anchor/seed value */
1195
+ --pont-ref-opacity: 0.01;
773
1196
 
774
- --pont-ref-color-fuchsia-50: oklch(97.7% 0.017 320.058);
775
- --pont-ref-color-fuchsia-100: oklch(95.2% 0.037 318.852);
776
- --pont-ref-color-fuchsia-200: oklch(90.3% 0.076 319.62);
777
- --pont-ref-color-fuchsia-300: oklch(83.3% 0.145 321.434);
778
- --pont-ref-color-fuchsia-400: oklch(74% 0.238 322.16);
779
- --pont-ref-color-fuchsia-500: oklch(66.7% 0.295 322.15);
780
- --pont-ref-color-fuchsia-600: oklch(59.1% 0.293 322.896);
781
- --pont-ref-color-fuchsia-700: oklch(51.8% 0.253 323.949);
782
- --pont-ref-color-fuchsia-800: oklch(45.2% 0.211 324.591);
783
- --pont-ref-color-fuchsia-900: oklch(40.1% 0.17 325.612);
784
- --pont-ref-color-fuchsia-950: oklch(29.3% 0.136 325.661);
1197
+ /* Absolute values */
1198
+ --pont-ref-opacity-none: 0;
1199
+ --pont-ref-opacity-full: 1;
1200
+ }
1201
+ }
785
1202
 
786
- --pont-ref-color-pink-50: oklch(97.1% 0.014 343.198);
787
- --pont-ref-color-pink-100: oklch(94.8% 0.028 342.258);
788
- --pont-ref-color-pink-200: oklch(89.9% 0.061 343.231);
789
- --pont-ref-color-pink-300: oklch(82.3% 0.12 346.018);
790
- --pont-ref-color-pink-400: oklch(71.8% 0.202 349.761);
791
- --pont-ref-color-pink-500: oklch(65.6% 0.241 354.308);
792
- --pont-ref-color-pink-600: oklch(59.2% 0.249 0.584);
793
- --pont-ref-color-pink-700: oklch(52.5% 0.223 3.958);
794
- --pont-ref-color-pink-800: oklch(45.9% 0.187 3.815);
795
- --pont-ref-color-pink-900: oklch(40.8% 0.153 2.432);
796
- --pont-ref-color-pink-950: oklch(28.4% 0.109 3.907);
1203
+ /*
1204
+ * --------------------------------------------------
1205
+ * OPACITY SEMANTIC TOKENS
1206
+ * --------------------------------------------------
1207
+ */
797
1208
 
798
- --pont-ref-color-rose-50: oklch(96.9% 0.015 12.422);
799
- --pont-ref-color-rose-100: oklch(94.1% 0.03 12.58);
800
- --pont-ref-color-rose-200: oklch(89.2% 0.058 10.001);
801
- --pont-ref-color-rose-300: oklch(81% 0.117 11.638);
802
- --pont-ref-color-rose-400: oklch(71.2% 0.194 13.428);
803
- --pont-ref-color-rose-500: oklch(64.5% 0.246 16.439);
804
- --pont-ref-color-rose-600: oklch(58.6% 0.253 17.585);
805
- --pont-ref-color-rose-700: oklch(51.4% 0.222 16.935);
806
- --pont-ref-color-rose-800: oklch(45.5% 0.188 13.697);
807
- --pont-ref-color-rose-900: oklch(41% 0.159 10.272);
808
- --pont-ref-color-rose-950: oklch(27.1% 0.105 12.094);
1209
+ @layer pont.tokens {
1210
+ :root {
1211
+ /* Anchor/seed value */
1212
+ --pont-sem-opacity-disabled: calc(var(--pont-ref-opacity) * 50);
1213
+ }
1214
+ }
809
1215
 
810
- --pont-ref-color-slate-50: oklch(98.4% 0.003 247.858);
811
- --pont-ref-color-slate-100: oklch(96.8% 0.007 247.896);
812
- --pont-ref-color-slate-200: oklch(92.9% 0.013 255.508);
813
- --pont-ref-color-slate-300: oklch(86.9% 0.022 252.894);
814
- --pont-ref-color-slate-400: oklch(70.4% 0.04 256.788);
815
- --pont-ref-color-slate-500: oklch(55.4% 0.046 257.417);
816
- --pont-ref-color-slate-600: oklch(44.6% 0.043 257.281);
817
- --pont-ref-color-slate-700: oklch(37.2% 0.044 257.287);
818
- --pont-ref-color-slate-800: oklch(27.9% 0.041 260.031);
819
- --pont-ref-color-slate-900: oklch(20.8% 0.042 265.755);
820
- --pont-ref-color-slate-950: oklch(12.9% 0.042 264.695);
1216
+ /* ./radius.css */
1217
+ /*
1218
+ * ===========================================================================
1219
+ * RADIUS TOKENS
1220
+ * ---------------------------------------------------------------------------
1221
+ * `border-radius`
1222
+ * ===========================================================================
1223
+ */
821
1224
 
822
- --pont-ref-color-gray-50: oklch(98.5% 0.002 247.839);
823
- --pont-ref-color-gray-100: oklch(96.7% 0.003 264.542);
824
- --pont-ref-color-gray-200: oklch(92.8% 0.006 264.531);
825
- --pont-ref-color-gray-300: oklch(87.2% 0.01 258.338);
826
- --pont-ref-color-gray-400: oklch(70.7% 0.022 261.325);
827
- --pont-ref-color-gray-500: oklch(55.1% 0.027 264.364);
828
- --pont-ref-color-gray-600: oklch(44.6% 0.03 256.802);
829
- --pont-ref-color-gray-700: oklch(37.3% 0.034 259.733);
830
- --pont-ref-color-gray-800: oklch(27.8% 0.033 256.848);
831
- --pont-ref-color-gray-900: oklch(21% 0.034 264.665);
832
- --pont-ref-color-gray-950: oklch(13% 0.028 261.692);
1225
+ /*
1226
+ * --------------------------------------------------
1227
+ * RADIUS REFERENCE TOKENS
1228
+ * --------------------------------------------------
1229
+ */
833
1230
 
834
- --pont-ref-color-zinc-50: oklch(98.5% 0 0);
835
- --pont-ref-color-zinc-100: oklch(96.7% 0.001 286.375);
836
- --pont-ref-color-zinc-200: oklch(92% 0.004 286.32);
837
- --pont-ref-color-zinc-300: oklch(87.1% 0.006 286.286);
838
- --pont-ref-color-zinc-400: oklch(70.5% 0.015 286.067);
839
- --pont-ref-color-zinc-500: oklch(55.2% 0.016 285.938);
840
- --pont-ref-color-zinc-600: oklch(44.2% 0.017 285.786);
841
- --pont-ref-color-zinc-700: oklch(37% 0.013 285.805);
842
- --pont-ref-color-zinc-800: oklch(27.4% 0.006 286.033);
843
- --pont-ref-color-zinc-900: oklch(21% 0.006 285.885);
844
- --pont-ref-color-zinc-950: oklch(14.1% 0.005 285.823);
1231
+ @layer pont.tokens {
1232
+ :root {
1233
+ /* Anchor/seed value */
1234
+ --pont-ref-radius: 0.625rem;
845
1235
 
846
- --pont-ref-color-neutral-50: oklch(98.5% 0 0);
847
- --pont-ref-color-neutral-100: oklch(97% 0 0);
848
- --pont-ref-color-neutral-200: oklch(92.2% 0 0);
849
- --pont-ref-color-neutral-300: oklch(87% 0 0);
850
- --pont-ref-color-neutral-400: oklch(70.8% 0 0);
851
- --pont-ref-color-neutral-500: oklch(55.6% 0 0);
852
- --pont-ref-color-neutral-600: oklch(43.9% 0 0);
853
- --pont-ref-color-neutral-700: oklch(37.1% 0 0);
854
- --pont-ref-color-neutral-800: oklch(26.9% 0 0);
855
- --pont-ref-color-neutral-900: oklch(20.5% 0 0);
856
- --pont-ref-color-neutral-950: oklch(14.5% 0 0);
1236
+ /* Proportional scale derived from anchor */
1237
+ --pont-ref-radius-xs: calc(var(--pont-ref-radius) * 0.2);
1238
+ --pont-ref-radius-sm: calc(var(--pont-ref-radius) * 0.6);
1239
+ --pont-ref-radius-md: calc(var(--pont-ref-radius) * 0.8);
1240
+ --pont-ref-radius-lg: var(--pont-ref-radius);
1241
+ --pont-ref-radius-xl: calc(var(--pont-ref-radius) * 1.4);
1242
+ --pont-ref-radius-2xl: calc(var(--pont-ref-radius) * 1.8);
1243
+ --pont-ref-radius-3xl: calc(var(--pont-ref-radius) * 2.2);
1244
+ --pont-ref-radius-4xl: calc(var(--pont-ref-radius) * 2.6);
857
1245
 
858
- --pont-ref-color-stone-50: oklch(98.5% 0.001 106.423);
859
- --pont-ref-color-stone-100: oklch(97% 0.001 106.424);
860
- --pont-ref-color-stone-200: oklch(92.3% 0.003 48.717);
861
- --pont-ref-color-stone-300: oklch(86.9% 0.005 56.366);
862
- --pont-ref-color-stone-400: oklch(70.9% 0.01 56.259);
863
- --pont-ref-color-stone-500: oklch(55.3% 0.013 58.071);
864
- --pont-ref-color-stone-600: oklch(44.4% 0.011 73.639);
865
- --pont-ref-color-stone-700: oklch(37.4% 0.01 67.558);
866
- --pont-ref-color-stone-800: oklch(26.8% 0.007 34.298);
867
- --pont-ref-color-stone-900: oklch(21.6% 0.006 56.043);
868
- --pont-ref-color-stone-950: oklch(14.7% 0.004 49.25);
1246
+ /* Absolute values */
1247
+ --pont-ref-radius-none: 0;
1248
+ --pont-ref-radius-full: calc(infinity * 1rem);
1249
+ }
1250
+ }
869
1251
 
870
- --pont-ref-color-mauve-50: oklch(98.5% 0 0);
871
- --pont-ref-color-mauve-100: oklch(96% 0.003 325.6);
872
- --pont-ref-color-mauve-200: oklch(92.2% 0.005 325.62);
873
- --pont-ref-color-mauve-300: oklch(86.5% 0.012 325.68);
874
- --pont-ref-color-mauve-400: oklch(71.1% 0.019 323.02);
875
- --pont-ref-color-mauve-500: oklch(54.2% 0.034 322.5);
876
- --pont-ref-color-mauve-600: oklch(43.5% 0.029 321.78);
877
- --pont-ref-color-mauve-700: oklch(36.4% 0.029 323.89);
878
- --pont-ref-color-mauve-800: oklch(26.3% 0.024 320.12);
879
- --pont-ref-color-mauve-900: oklch(21.2% 0.019 322.12);
880
- --pont-ref-color-mauve-950: oklch(14.5% 0.008 326);
1252
+ /* ./typography.css */
1253
+ /*
1254
+ * ===========================================================================
1255
+ * TYPOGRAPHY TOKENS
1256
+ * ===========================================================================
1257
+ */
881
1258
 
882
- --pont-ref-color-olive-50: oklch(98.8% 0.003 106.5);
883
- --pont-ref-color-olive-100: oklch(96.6% 0.005 106.5);
884
- --pont-ref-color-olive-200: oklch(93% 0.007 106.5);
885
- --pont-ref-color-olive-300: oklch(88% 0.011 106.6);
886
- --pont-ref-color-olive-400: oklch(73.7% 0.021 106.9);
887
- --pont-ref-color-olive-500: oklch(58% 0.031 107.3);
888
- --pont-ref-color-olive-600: oklch(46.6% 0.025 107.3);
889
- --pont-ref-color-olive-700: oklch(39.4% 0.023 107.4);
890
- --pont-ref-color-olive-800: oklch(28.6% 0.016 107.4);
891
- --pont-ref-color-olive-900: oklch(22.8% 0.013 107.4);
892
- --pont-ref-color-olive-950: oklch(15.3% 0.006 107.1);
1259
+ /*
1260
+ * ---------------------------------------------------------------------------
1261
+ * TYPOGRAPHY FONT TOKENS
1262
+ * ---------------------------------------------------------------------------
1263
+ * `font-family`
1264
+ * ---------------------------------------------------------------------------
1265
+ */
893
1266
 
894
- --pont-ref-color-mist-50: oklch(98.7% 0.002 197.1);
895
- --pont-ref-color-mist-100: oklch(96.3% 0.002 197.1);
896
- --pont-ref-color-mist-200: oklch(92.5% 0.005 214.3);
897
- --pont-ref-color-mist-300: oklch(87.2% 0.007 219.6);
898
- --pont-ref-color-mist-400: oklch(72.3% 0.014 214.4);
899
- --pont-ref-color-mist-500: oklch(56% 0.021 213.5);
900
- --pont-ref-color-mist-600: oklch(45% 0.017 213.2);
901
- --pont-ref-color-mist-700: oklch(37.8% 0.015 216);
902
- --pont-ref-color-mist-800: oklch(27.5% 0.011 216.9);
903
- --pont-ref-color-mist-900: oklch(21.8% 0.008 223.9);
904
- --pont-ref-color-mist-950: oklch(14.8% 0.004 228.8);
1267
+ /*
1268
+ * --------------------------------------------------
1269
+ * TYPOGRAPHY FONT REFERENCE TOKENS
1270
+ * --------------------------------------------------
1271
+ */
905
1272
 
906
- --pont-ref-color-taupe-50: oklch(98.6% 0.002 67.8);
907
- --pont-ref-color-taupe-100: oklch(96% 0.002 17.2);
908
- --pont-ref-color-taupe-200: oklch(92.2% 0.005 34.3);
909
- --pont-ref-color-taupe-300: oklch(86.8% 0.007 39.5);
910
- --pont-ref-color-taupe-400: oklch(71.4% 0.014 41.2);
911
- --pont-ref-color-taupe-500: oklch(54.7% 0.021 43.1);
912
- --pont-ref-color-taupe-600: oklch(43.8% 0.017 39.3);
913
- --pont-ref-color-taupe-700: oklch(36.7% 0.016 35.7);
914
- --pont-ref-color-taupe-800: oklch(26.8% 0.011 36.5);
915
- --pont-ref-color-taupe-900: oklch(21.4% 0.009 43.1);
916
- --pont-ref-color-taupe-950: oklch(14.7% 0.004 49.3);
1273
+ @layer pont.tokens {
1274
+ :root {
1275
+ --pont-ref-typography-font-sans:
1276
+ -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
1277
+ "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
1278
+ "Segoe UI Symbol", "Noto Color Emoji";
1279
+
1280
+ --pont-ref-typography-font-serif:
1281
+ ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
917
1282
 
918
- --pont-ref-color-black: #000;
919
- --pont-ref-color-white: #fff;
1283
+ --pont-ref-typography-font-mono:
1284
+ ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
1285
+ "Courier New", monospace;
920
1286
  }
921
1287
  }
922
1288
 
923
1289
  /*
924
1290
  * --------------------------------------------------
925
- * COLOR ROLES
1291
+ * TYPOGRAPHY FONT SEMANTIC TOKENS
926
1292
  * --------------------------------------------------
927
1293
  */
928
1294
 
929
1295
  @layer pont.tokens {
930
1296
  :root {
931
- --pont-ref-color-base-50: var(--pont-ref-color-neutral-50);
932
- --pont-ref-color-base-100: var(--pont-ref-color-neutral-100);
933
- --pont-ref-color-base-200: var(--pont-ref-color-neutral-200);
934
- --pont-ref-color-base-300: var(--pont-ref-color-neutral-300);
935
- --pont-ref-color-base-400: var(--pont-ref-color-neutral-400);
936
- --pont-ref-color-base-500: var(--pont-ref-color-neutral-500);
937
- --pont-ref-color-base-600: var(--pont-ref-color-neutral-600);
938
- --pont-ref-color-base-700: var(--pont-ref-color-neutral-700);
939
- --pont-ref-color-base-800: var(--pont-ref-color-neutral-800);
940
- --pont-ref-color-base-900: var(--pont-ref-color-neutral-900);
941
- --pont-ref-color-base-950: var(--pont-ref-color-neutral-950);
1297
+ --pont-sem-typography-font-body: var(--pont-ref-typography-font-sans);
1298
+ --pont-sem-typography-font-heading: var(--pont-ref-typography-font-sans);
1299
+ --pont-sem-typography-font-code: var(--pont-ref-typography-font-mono);
1300
+ }
1301
+ }
942
1302
 
943
- --pont-ref-color-brand-50: var(--pont-ref-color-neutral-50);
944
- --pont-ref-color-brand-100: var(--pont-ref-color-neutral-100);
945
- --pont-ref-color-brand-200: var(--pont-ref-color-neutral-200);
946
- --pont-ref-color-brand-300: var(--pont-ref-color-neutral-300);
947
- --pont-ref-color-brand-400: var(--pont-ref-color-neutral-400);
948
- --pont-ref-color-brand-500: var(--pont-ref-color-neutral-500);
949
- --pont-ref-color-brand-600: var(--pont-ref-color-neutral-600);
950
- --pont-ref-color-brand-700: var(--pont-ref-color-neutral-700);
951
- --pont-ref-color-brand-800: var(--pont-ref-color-neutral-800);
952
- --pont-ref-color-brand-900: var(--pont-ref-color-neutral-900);
953
- --pont-ref-color-brand-950: var(--pont-ref-color-neutral-950);
1303
+ /*
1304
+ * ---------------------------------------------------------------------------
1305
+ * TYPOGRAPHY SIZE TOKENS
1306
+ * ---------------------------------------------------------------------------
1307
+ * `font-size`
1308
+ * ---------------------------------------------------------------------------
1309
+ */
954
1310
 
955
- --pont-ref-color-destructive-50: var(--pont-ref-color-red-50);
956
- --pont-ref-color-destructive-100: var(--pont-ref-color-red-100);
957
- --pont-ref-color-destructive-200: var(--pont-ref-color-red-200);
958
- --pont-ref-color-destructive-300: var(--pont-ref-color-red-300);
959
- --pont-ref-color-destructive-400: var(--pont-ref-color-red-400);
960
- --pont-ref-color-destructive-500: var(--pont-ref-color-red-500);
961
- --pont-ref-color-destructive-600: var(--pont-ref-color-red-600);
962
- --pont-ref-color-destructive-700: var(--pont-ref-color-red-700);
963
- --pont-ref-color-destructive-800: var(--pont-ref-color-red-800);
964
- --pont-ref-color-destructive-900: var(--pont-ref-color-red-900);
965
- --pont-ref-color-destructive-950: var(--pont-ref-color-red-950);
1311
+ /*
1312
+ * --------------------------------------------------
1313
+ * TYPOGRAPHY SIZE REFERENCE TOKENS
1314
+ * --------------------------------------------------
1315
+ */
966
1316
 
967
- --pont-ref-color-warning-50: var(--pont-ref-color-amber-50);
968
- --pont-ref-color-warning-100: var(--pont-ref-color-amber-100);
969
- --pont-ref-color-warning-200: var(--pont-ref-color-amber-200);
970
- --pont-ref-color-warning-300: var(--pont-ref-color-amber-300);
971
- --pont-ref-color-warning-400: var(--pont-ref-color-amber-400);
972
- --pont-ref-color-warning-500: var(--pont-ref-color-amber-500);
973
- --pont-ref-color-warning-600: var(--pont-ref-color-amber-600);
974
- --pont-ref-color-warning-700: var(--pont-ref-color-amber-700);
975
- --pont-ref-color-warning-800: var(--pont-ref-color-amber-800);
976
- --pont-ref-color-warning-900: var(--pont-ref-color-amber-900);
977
- --pont-ref-color-warning-950: var(--pont-ref-color-amber-950);
1317
+ @layer pont.tokens {
1318
+ :root {
1319
+ --pont-ref-typography-size-xs: 0.75rem;
1320
+ --pont-ref-typography-size-sm: 0.875rem;
1321
+ --pont-ref-typography-size-base: 1rem;
1322
+ --pont-ref-typography-size-lg: 1.125rem;
1323
+ --pont-ref-typography-size-xl: 1.25rem;
1324
+ --pont-ref-typography-size-2xl: 1.5rem;
1325
+ --pont-ref-typography-size-3xl: 1.875rem;
1326
+ --pont-ref-typography-size-4xl: 2.25rem;
1327
+ --pont-ref-typography-size-5xl: 3rem;
1328
+ --pont-ref-typography-size-6xl: 3.75rem;
1329
+ --pont-ref-typography-size-7xl: 4.5rem;
1330
+ --pont-ref-typography-size-8xl: 6rem;
1331
+ --pont-ref-typography-size-9xl: 8rem;
1332
+ }
1333
+ }
978
1334
 
979
- --pont-ref-color-success-50: var(--pont-ref-color-green-50);
980
- --pont-ref-color-success-100: var(--pont-ref-color-green-100);
981
- --pont-ref-color-success-200: var(--pont-ref-color-green-200);
982
- --pont-ref-color-success-300: var(--pont-ref-color-green-300);
983
- --pont-ref-color-success-400: var(--pont-ref-color-green-400);
984
- --pont-ref-color-success-500: var(--pont-ref-color-green-500);
985
- --pont-ref-color-success-600: var(--pont-ref-color-green-600);
986
- --pont-ref-color-success-700: var(--pont-ref-color-green-700);
987
- --pont-ref-color-success-800: var(--pont-ref-color-green-800);
988
- --pont-ref-color-success-900: var(--pont-ref-color-green-900);
989
- --pont-ref-color-success-950: var(--pont-ref-color-green-950);
1335
+ /*
1336
+ * ---------------------------------------------------------------------------
1337
+ * TYPOGRAPHY WEIGHT TOKENS
1338
+ * ---------------------------------------------------------------------------
1339
+ * `font-weight`
1340
+ * ---------------------------------------------------------------------------
1341
+ */
990
1342
 
991
- --pont-ref-color-info-50: var(--pont-ref-color-blue-50);
992
- --pont-ref-color-info-100: var(--pont-ref-color-blue-100);
993
- --pont-ref-color-info-200: var(--pont-ref-color-blue-200);
994
- --pont-ref-color-info-300: var(--pont-ref-color-blue-300);
995
- --pont-ref-color-info-400: var(--pont-ref-color-blue-400);
996
- --pont-ref-color-info-500: var(--pont-ref-color-blue-500);
997
- --pont-ref-color-info-600: var(--pont-ref-color-blue-600);
998
- --pont-ref-color-info-700: var(--pont-ref-color-blue-700);
999
- --pont-ref-color-info-800: var(--pont-ref-color-blue-800);
1000
- --pont-ref-color-info-900: var(--pont-ref-color-blue-900);
1001
- --pont-ref-color-info-950: var(--pont-ref-color-blue-950);
1343
+ /*
1344
+ * --------------------------------------------------
1345
+ * TYPOGRAPHY WEIGHT REFERENCE TOKENS
1346
+ * --------------------------------------------------
1347
+ */
1348
+
1349
+ @layer pont.tokens {
1350
+ :root {
1351
+ --pont-ref-typography-weight-thin: 100;
1352
+ --pont-ref-typography-weight-extralight: 200;
1353
+ --pont-ref-typography-weight-light: 300;
1354
+ --pont-ref-typography-weight-normal: 400;
1355
+ --pont-ref-typography-weight-medium: 500;
1356
+ --pont-ref-typography-weight-semibold: 600;
1357
+ --pont-ref-typography-weight-bold: 700;
1358
+ --pont-ref-typography-weight-extrabold: 800;
1359
+ --pont-ref-typography-weight-black: 900;
1002
1360
  }
1003
1361
  }
1004
1362
 
1005
- /* ./ref/motion.css */
1006
1363
  /*
1007
- * ===========================================================================
1008
- * MOTION REFERENCE TOKENS
1009
- * ===========================================================================
1364
+ * ---------------------------------------------------------------------------
1365
+ * TYPOGRAPHY TRACKING TOKENS
1366
+ * ---------------------------------------------------------------------------
1367
+ * `letter-spacing`
1368
+ * ---------------------------------------------------------------------------
1369
+ */
1370
+
1371
+ /*
1372
+ * --------------------------------------------------
1373
+ * TYPOGRAPHY TRACKING REFERENCE TOKENS
1374
+ * --------------------------------------------------
1010
1375
  */
1011
1376
 
1012
1377
  @layer pont.tokens {
1013
1378
  :root {
1014
- --pont-ref-animate-iteration-infinite: infinite;
1379
+ --pont-ref-typography-tracking: 0.01em;
1380
+
1381
+ --pont-ref-typography-tracking-tighter: calc(
1382
+ var(--pont-ref-typography-tracking) * -5
1383
+ );
1384
+ --pont-ref-typography-tracking-tight: calc(
1385
+ var(--pont-ref-typography-tracking) * -2.5
1386
+ );
1387
+ --pont-ref-typography-tracking-normal: calc(
1388
+ var(--pont-ref-typography-tracking) * 0
1389
+ );
1390
+ --pont-ref-typography-tracking-wide: calc(
1391
+ var(--pont-ref-typography-tracking) * 2.5
1392
+ );
1393
+ --pont-ref-typography-tracking-wider: calc(
1394
+ var(--pont-ref-typography-tracking) * 5
1395
+ );
1396
+ --pont-ref-typography-tracking-widest: calc(
1397
+ var(--pont-ref-typography-tracking) * 10
1398
+ );
1015
1399
  }
1016
1400
  }
1017
1401
 
1018
- /* ./sem/color.css */
1019
1402
  /*
1020
- * sem · colour roles: shadcn's set plus pont's status colours, built on the
1021
- * ref colour roles (ref/color.css). The theme mode lives here and only here
1022
- * (docs/11-tokens.md §6).
1023
- *
1024
- * Defaults reproduce shadcn's neutral theme exactly. `primary` and
1025
- * `primary-foreground` read the `brand` ramp (neutral by default), so
1026
- * re-pointing brand re-colours primary surfaces.
1027
- *
1028
- * Dark mode: shadcn's `.dark` class AND pontkit's `[data-theme="dark"]`, on
1029
- * any ancestor (usually <html>). The block is re-declared on that element, so
1030
- * its sem tokens are resolved there.
1403
+ * ---------------------------------------------------------------------------
1404
+ * TYPOGRAPHY LEADING TOKENS
1405
+ * ---------------------------------------------------------------------------
1406
+ * `line-height`
1407
+ * ---------------------------------------------------------------------------
1031
1408
  */
1032
- @layer pont.tokens {
1033
- :root {
1034
- --pont-sem-color-background: var(--pont-ref-color-white);
1035
- --pont-sem-color-foreground: var(--pont-ref-color-base-950);
1036
- --pont-sem-color-card: var(--pont-ref-color-white);
1037
- --pont-sem-color-card-foreground: var(--pont-ref-color-base-950);
1038
- --pont-sem-color-popover: var(--pont-ref-color-white);
1039
- --pont-sem-color-popover-foreground: var(--pont-ref-color-base-950);
1040
- --pont-sem-color-primary: var(--pont-ref-color-brand-900);
1041
- --pont-sem-color-primary-foreground: var(--pont-ref-color-brand-50);
1042
- --pont-sem-color-secondary: var(--pont-ref-color-base-100);
1043
- --pont-sem-color-secondary-foreground: var(--pont-ref-color-base-900);
1044
- --pont-sem-color-muted: var(--pont-ref-color-base-100);
1045
- --pont-sem-color-muted-foreground: var(--pont-ref-color-base-500);
1046
- --pont-sem-color-accent: var(--pont-ref-color-base-100);
1047
- --pont-sem-color-accent-foreground: var(--pont-ref-color-base-900);
1048
- --pont-sem-color-border: var(--pont-ref-color-base-200);
1049
- --pont-sem-color-input: var(--pont-ref-color-base-200);
1050
- --pont-sem-color-ring: var(--pont-ref-color-base-400);
1051
-
1052
- /* Interaction roles: what shadcn writes as `dark:` utilities, as tokens, so
1053
- component CSS has no mode rules (docs/11-tokens.md §6).
1054
- control an outline control's surface (outline button)
1055
- control-hover …hovered
1056
- control-border …its border
1057
- field a text field's surface (input)
1058
- surface-hover hovering a transparent surface (ghost button, menu items) */
1059
- --pont-sem-color-control: var(--pont-sem-color-background);
1060
- --pont-sem-color-control-hover: var(--pont-sem-color-muted);
1061
- --pont-sem-color-control-border: var(--pont-sem-color-border);
1062
- --pont-sem-color-field: transparent;
1063
- --pont-sem-color-surface-hover: var(--pont-sem-color-muted);
1064
- /* …and more roles from shadcn's `dark:` utilities:
1065
- field-hover a select trigger hovered (no change in light)
1066
- track a switch's unchecked track
1067
- thumb / -checked a switch's thumb, off / on
1068
- segment-fg an inactive segment (tabs trigger)
1069
- segment-active the active segment's fill / -border its border
1070
- primary-subtle a checked choice card's fill / -border its border
1071
- inverse-subtle a chip on an inverted surface (kbd in a tooltip) */
1072
- --pont-sem-color-field-hover: var(--pont-sem-color-field);
1073
- --pont-sem-color-track: var(--pont-sem-color-input);
1074
- --pont-sem-color-thumb: var(--pont-sem-color-background);
1075
- --pont-sem-color-thumb-checked: var(--pont-sem-color-background);
1076
- --pont-sem-color-segment-fg: color-mix(in oklab, var(--pont-sem-color-foreground) 60%, transparent);
1077
- --pont-sem-color-segment-active: var(--pont-sem-color-background);
1078
- --pont-sem-color-segment-active-border: transparent;
1079
- --pont-sem-color-primary-subtle: color-mix(in oklab, var(--pont-sem-color-primary) 5%, transparent);
1080
- --pont-sem-color-primary-subtle-border: color-mix(in oklab, var(--pont-sem-color-primary) 30%, transparent);
1081
- --pont-sem-color-inverse-subtle: color-mix(in oklab, var(--pont-sem-color-background) 20%, transparent);
1082
-
1083
- /* Destructive tints: a subtle fill (destructive button), its hover, an
1084
- invalid control's border, and the invalid / destructive focus ring. */
1085
- --pont-sem-color-destructive-subtle: color-mix(in oklab, var(--pont-sem-color-destructive) 10%, transparent);
1086
- --pont-sem-color-destructive-subtle-hover: color-mix(in oklab, var(--pont-sem-color-destructive) 20%, transparent);
1087
- --pont-sem-color-destructive-border: var(--pont-sem-color-destructive);
1088
- --pont-sem-color-destructive-ring: color-mix(in oklab, var(--pont-sem-color-destructive) 20%, transparent);
1089
-
1090
- /* Status. destructive is shadcn's; success/warning/info are pont additions,
1091
- read only by kit composites (pont-alert status=…). success uses step 700
1092
- (500 in dark) to keep text contrast on light surfaces. */
1093
- --pont-sem-color-destructive: var(--pont-ref-color-destructive-600);
1094
- --pont-sem-color-success: var(--pont-ref-color-success-700);
1095
- --pont-sem-color-warning: var(--pont-ref-color-warning-600);
1096
- --pont-sem-color-info: var(--pont-ref-color-info-600);
1097
-
1098
- --pont-sem-color-chart-1: var(--pont-ref-color-brand-300);
1099
- --pont-sem-color-chart-2: var(--pont-ref-color-brand-500);
1100
- --pont-sem-color-chart-3: var(--pont-ref-color-brand-600);
1101
- --pont-sem-color-chart-4: var(--pont-ref-color-brand-700);
1102
- --pont-sem-color-chart-5: var(--pont-ref-color-brand-800);
1103
-
1104
- color-scheme: light;
1105
- }
1106
-
1107
- :root.dark,
1108
- :root[data-theme="dark"],
1109
- .dark,
1110
- [data-theme="dark"] {
1111
- --pont-sem-color-background: var(--pont-ref-color-base-950);
1112
- --pont-sem-color-foreground: var(--pont-ref-color-base-50);
1113
- --pont-sem-color-card: var(--pont-ref-color-base-900);
1114
- --pont-sem-color-card-foreground: var(--pont-ref-color-base-50);
1115
- --pont-sem-color-popover: var(--pont-ref-color-base-900);
1116
- --pont-sem-color-popover-foreground: var(--pont-ref-color-base-50);
1117
- --pont-sem-color-primary: var(--pont-ref-color-brand-200);
1118
- --pont-sem-color-primary-foreground: var(--pont-ref-color-brand-900);
1119
- --pont-sem-color-secondary: var(--pont-ref-color-base-800);
1120
- --pont-sem-color-secondary-foreground: var(--pont-ref-color-base-50);
1121
- --pont-sem-color-muted: var(--pont-ref-color-base-800);
1122
- --pont-sem-color-muted-foreground: var(--pont-ref-color-base-400);
1123
- --pont-sem-color-accent: var(--pont-ref-color-base-800);
1124
- --pont-sem-color-accent-foreground: var(--pont-ref-color-base-50);
1125
- --pont-sem-color-border: color-mix(in oklab, var(--pont-ref-color-white) 10%, transparent);
1126
- --pont-sem-color-input: color-mix(in oklab, var(--pont-ref-color-white) 15%, transparent);
1127
- --pont-sem-color-ring: var(--pont-ref-color-base-500);
1128
-
1129
- --pont-sem-color-control: color-mix(in oklab, var(--pont-sem-color-input) 30%, transparent);
1130
- --pont-sem-color-control-hover: color-mix(in oklab, var(--pont-sem-color-input) 50%, transparent);
1131
- --pont-sem-color-control-border: var(--pont-sem-color-input);
1132
- --pont-sem-color-field: color-mix(in oklab, var(--pont-sem-color-input) 30%, transparent);
1133
- --pont-sem-color-surface-hover: color-mix(in oklab, var(--pont-sem-color-muted) 50%, transparent);
1134
- --pont-sem-color-field-hover: color-mix(in oklab, var(--pont-sem-color-input) 50%, transparent);
1135
- --pont-sem-color-track: color-mix(in oklab, var(--pont-sem-color-input) 80%, transparent);
1136
- --pont-sem-color-thumb: var(--pont-sem-color-foreground);
1137
- --pont-sem-color-thumb-checked: var(--pont-sem-color-primary-foreground);
1138
- --pont-sem-color-segment-fg: var(--pont-sem-color-muted-foreground);
1139
- --pont-sem-color-segment-active: color-mix(in oklab, var(--pont-sem-color-input) 30%, transparent);
1140
- --pont-sem-color-segment-active-border: var(--pont-sem-color-input);
1141
- --pont-sem-color-primary-subtle: color-mix(in oklab, var(--pont-sem-color-primary) 10%, transparent);
1142
- --pont-sem-color-primary-subtle-border: color-mix(in oklab, var(--pont-sem-color-primary) 20%, transparent);
1143
- --pont-sem-color-inverse-subtle: color-mix(in oklab, var(--pont-sem-color-background) 10%, transparent);
1144
1409
 
1145
- --pont-sem-color-destructive-subtle: color-mix(in oklab, var(--pont-sem-color-destructive) 20%, transparent);
1146
- --pont-sem-color-destructive-subtle-hover: color-mix(in oklab, var(--pont-sem-color-destructive) 30%, transparent);
1147
- --pont-sem-color-destructive-border: color-mix(in oklab, var(--pont-sem-color-destructive) 50%, transparent);
1148
- --pont-sem-color-destructive-ring: color-mix(in oklab, var(--pont-sem-color-destructive) 40%, transparent);
1410
+ /*
1411
+ * --------------------------------------------------
1412
+ * TYPOGRAPHY LEADING REFERENCE TOKENS
1413
+ * --------------------------------------------------
1414
+ */
1149
1415
 
1150
- --pont-sem-color-destructive: var(--pont-ref-color-destructive-400);
1151
- --pont-sem-color-success: var(--pont-ref-color-success-500);
1152
- --pont-sem-color-warning: var(--pont-ref-color-warning-400);
1153
- --pont-sem-color-info: var(--pont-ref-color-info-400);
1416
+ @layer pont.tokens {
1417
+ :root {
1418
+ --pont-ref-typography-leading-none: 1;
1419
+ --pont-ref-typography-leading-tight: 1.25;
1420
+ --pont-ref-typography-leading-snug: 1.375;
1421
+ --pont-ref-typography-leading-normal: 1.5;
1422
+ --pont-ref-typography-leading-relaxed: 1.625;
1423
+ --pont-ref-typography-leading-loose: 2;
1154
1424
 
1155
- color-scheme: dark;
1425
+ --pont-ref-typography-leading-of-xs: calc(1 / 0.75);
1426
+ --pont-ref-typography-leading-of-sm: calc(1.25 / 0.875);
1427
+ --pont-ref-typography-leading-of-base: calc(1.5 / 1);
1428
+ --pont-ref-typography-leading-of-lg: calc(1.75 / 1.125);
1429
+ --pont-ref-typography-leading-of-xl: calc(1.75 / 1.25);
1430
+ --pont-ref-typography-leading-of-2xl: calc(2 / 1.5);
1431
+ --pont-ref-typography-leading-of-3xl: calc(2.25 / 1.875);
1432
+ --pont-ref-typography-leading-of-4xl: calc(2.5 / 2.25);
1433
+ --pont-ref-typography-leading-of-5xl: 1;
1434
+ --pont-ref-typography-leading-of-6xl: 1;
1435
+ --pont-ref-typography-leading-of-7xl: 1;
1436
+ --pont-ref-typography-leading-of-8xl: 1;
1437
+ --pont-ref-typography-leading-of-9xl: 1;
1156
1438
  }
1157
1439
  }
1158
1440
 
@@ -1185,66 +1467,6 @@
1185
1467
  }
1186
1468
  }
1187
1469
 
1188
- /* ./sem/motion.css */
1189
- /*
1190
- * ===========================================================================
1191
- * MOTION SEMANTIC TOKENS
1192
- * ===========================================================================
1193
- */
1194
-
1195
- @layer pont.tokens {
1196
- :root {
1197
- --pont-sem-duration: 150ms;
1198
-
1199
- --pont-sem-ease-linear: linear;
1200
- --pont-sem-ease-in: cubic-bezier(0.4, 0, 1, 1);
1201
- --pont-sem-ease-out: cubic-bezier(0, 0, 0.2, 1);
1202
- --pont-sem-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
1203
-
1204
- --pont-sem-animate-spin-name: pont-spin;
1205
- --pont-sem-animate-spin-duration: 1s;
1206
- --pont-sem-animate-spin-function: var(--pont-sem-ease-linear);
1207
- --pont-sem-animate-spin-iteration: var(
1208
- --pont-ref-animate-iteration-infinite
1209
- );
1210
- --pont-sem-animate-spin: var(--pont-sem-animate-spin-name)
1211
- var(--pont-sem-animate-spin-duration)
1212
- var(--pont-sem-animate-spin-function)
1213
- var(--pont-sem-animate-spin-iteration);
1214
-
1215
- --pont-sem-animate-ping-name: pont-ping;
1216
- --pont-sem-animate-ping-duration: 1s;
1217
- --pont-sem-animate-ping-function: var(--pont-sem-ease-out);
1218
- --pont-sem-animate-ping-iteration: var(
1219
- --pont-ref-animate-iteration-infinite
1220
- );
1221
- --pont-sem-animate-ping: var(--pont-sem-animate-ping-name)
1222
- var(--pont-sem-animate-ping-duration)
1223
- var(--pont-sem-animate-ping-function)
1224
- var(--pont-sem-animate-ping-iteration);
1225
-
1226
- --pont-sem-animate-pulse-name: pont-pulse;
1227
- --pont-sem-animate-pulse-duration: 2s;
1228
- --pont-sem-animate-pulse-function: cubic-bezier(0.4, 0, 0.6, 1);
1229
- --pont-sem-animate-pulse-iteration: var(
1230
- --pont-ref-animate-iteration-infinite
1231
- );
1232
- --pont-sem-animate-pulse: var(--pont-sem-animate-pulse-name)
1233
- var(--pont-sem-animate-pulse-duration)
1234
- var(--pont-sem-animate-pulse-function)
1235
- var(--pont-sem-animate-pulse-iteration);
1236
-
1237
- --pont-sem-animate-bounce-name: pont-bounce;
1238
- --pont-sem-animate-bounce-duration: 1s;
1239
- --pont-sem-animate-bounce-iteration: var(
1240
- --pont-ref-animate-iteration-infinite
1241
- );
1242
- --pont-sem-animate-bounce: var(--pont-sem-animate-bounce-name)
1243
- var(--pont-sem-animate-bounce-duration)
1244
- var(--pont-sem-animate-bounce-iteration);
1245
- }
1246
- }
1247
-
1248
1470
  /* ./sem/shadow.css */
1249
1471
  /*
1250
1472
  * ===========================================================================
@@ -1290,7 +1512,11 @@
1290
1512
 
1291
1513
  /* ./base.css */
1292
1514
  /*
1293
- * pont base: the machinery every component recipe shares.
1515
+ * ===========================================================================
1516
+ * BASE STYLES
1517
+ * ---------------------------------------------------------------------------
1518
+ * The machinery every component recipe shares
1519
+ * ===========================================================================
1294
1520
  *
1295
1521
  * Nothing here styles the page. Components never rely on a global reset
1296
1522
  * (shadcn relies on Tailwind preflight); every recipe states the box,
@@ -1299,23 +1525,96 @@
1299
1525
  */
1300
1526
 
1301
1527
  /*
1528
+ * ---------------------------------------------------------------------------
1529
+ * PROPERTY AT-RULES
1530
+ * ---------------------------------------------------------------------------
1531
+ * `@property`
1532
+ * ---------------------------------------------------------------------------
1533
+ */
1534
+
1535
+ /*
1536
+ * --------------------------------------------------
1537
+ * GRADIENT PROPERTY AT-RULES
1538
+ * --------------------------------------------------
1539
+ */
1540
+
1541
+ @property --pont-gradient-position {
1542
+ syntax: "*";
1543
+ inherits: false;
1544
+ }
1545
+
1546
+ @property --pont-gradient-from {
1547
+ syntax: "<color>";
1548
+ inherits: false;
1549
+ initial-value: #0000;
1550
+ }
1551
+
1552
+ @property --pont-gradient-via {
1553
+ syntax: "<color>";
1554
+ inherits: false;
1555
+ initial-value: #0000;
1556
+ }
1557
+
1558
+ @property --pont-gradient-to {
1559
+ syntax: "<color>";
1560
+ inherits: false;
1561
+ initial-value: #0000;
1562
+ }
1563
+
1564
+ @property --pont-gradient-stops {
1565
+ syntax: "*";
1566
+ inherits: false;
1567
+ }
1568
+
1569
+ @property --pont-gradient-via-stops {
1570
+ syntax: "*";
1571
+ inherits: false;
1572
+ }
1573
+
1574
+ @property --pont-gradient-from-position {
1575
+ syntax: "<length-percentage>";
1576
+ inherits: false;
1577
+ initial-value: 0%;
1578
+ }
1579
+
1580
+ @property --pont-gradient-via-position {
1581
+ syntax: "<length-percentage>";
1582
+ inherits: false;
1583
+ initial-value: 50%;
1584
+ }
1585
+
1586
+ @property --pont-gradient-to-position {
1587
+ syntax: "<length-percentage>";
1588
+ inherits: false;
1589
+ initial-value: 100%;
1590
+ }
1591
+
1592
+ /*
1593
+ * --------------------------------------------------
1594
+ * SHADOW PROPERTY AT-RULES
1595
+ * --------------------------------------------------
1596
+ *
1302
1597
  * Box-shadow composition (how Tailwind composes `shadow-xs` + `ring-3`).
1303
1598
  * A recipe sets `--pont-shadow` and/or `--pont-ring-shadow` and the
1304
1599
  * shared declaration below combines them, so a focus ring never erases the
1305
1600
  * elevation shadow. `inherits: false` stops a parent's ring leaking into
1306
1601
  * children. @property is global; it cannot be layered and does not need to be.
1307
1602
  */
1603
+
1308
1604
  @property --pont-shadow {
1309
1605
  syntax: "*";
1310
1606
  inherits: false;
1311
1607
  initial-value: 0 0 #0000;
1312
1608
  }
1609
+
1313
1610
  @property --pont-ring-shadow {
1314
1611
  syntax: "*";
1315
1612
  inherits: false;
1316
1613
  initial-value: 0 0 #0000;
1317
1614
  }
1318
1615
 
1616
+ /* * -------------------------------------------------------------------- * */
1617
+
1319
1618
  @layer pont.base {
1320
1619
  /* Tier 3 shells: a tag for authors, no box, no role, never styled. */
1321
1620
  [data-pont-shell] {
@@ -1360,6 +1659,7 @@
1360
1659
  transform: rotate(360deg);
1361
1660
  }
1362
1661
  }
1662
+
1363
1663
  @keyframes pont-ping {
1364
1664
  75%,
1365
1665
  100% {
@@ -1367,11 +1667,13 @@
1367
1667
  opacity: 0;
1368
1668
  }
1369
1669
  }
1670
+
1370
1671
  @keyframes pont-pulse {
1371
1672
  50% {
1372
1673
  opacity: 0.5;
1373
1674
  }
1374
1675
  }
1676
+
1375
1677
  @keyframes pont-bounce {
1376
1678
  0%,
1377
1679
  100% {
@@ -1495,9 +1797,9 @@
1495
1797
  white-space: nowrap;
1496
1798
  user-select: none;
1497
1799
  outline: none;
1498
- transition-property: all;
1499
- transition-duration: var(--pont-sem-duration);
1500
- transition-timing-function: var(--pont-sem-ease-in-out);
1800
+ transition-property: var(--pont-ref-motion-trans-property-all);
1801
+ transition-duration: var(--pont-sem-motion-trans-duration);
1802
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
1501
1803
 
1502
1804
  /* .cn-button */
1503
1805
  border: var(--pont-sem-border-width) solid var(--_pont-button-border-color);
@@ -1781,8 +2083,8 @@
1781
2083
  --pont-shadow: var(--pont-sem-shadow-xs);
1782
2084
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
1783
2085
  transition-property: color, box-shadow;
1784
- transition-duration: var(--pont-sem-duration);
1785
- transition-timing-function: var(--pont-sem-ease-in-out);
2086
+ transition-duration: var(--pont-sem-motion-trans-duration);
2087
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
1786
2088
  }
1787
2089
 
1788
2090
  @media (width >= 48rem) {
@@ -1871,8 +2173,8 @@
1871
2173
  --pont-shadow: var(--pont-sem-shadow-xs);
1872
2174
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
1873
2175
  transition-property: color, box-shadow;
1874
- transition-duration: var(--pont-sem-duration);
1875
- transition-timing-function: var(--pont-sem-ease-in-out);
2176
+ transition-duration: var(--pont-sem-motion-trans-duration);
2177
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
1876
2178
  }
1877
2179
 
1878
2180
  @media (width >= 48rem) {
@@ -1951,9 +2253,9 @@
1951
2253
  color: inherit;
1952
2254
  --pont-shadow: var(--pont-sem-shadow-xs);
1953
2255
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
1954
- transition-property: box-shadow;
1955
- transition-duration: var(--pont-sem-duration);
1956
- transition-timing-function: var(--pont-sem-ease-in-out);
2256
+ transition-property: var(--pont-ref-motion-trans-property-shadow);
2257
+ transition-duration: var(--pont-sem-motion-trans-duration);
2258
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
1957
2259
  }
1958
2260
 
1959
2261
  /* Enlarged hit area: after:absolute after:-inset-x-3 after:-inset-y-2 */
@@ -2007,7 +2309,7 @@
2007
2309
  display: grid;
2008
2310
  place-content: center;
2009
2311
  color: currentColor;
2010
- transition: none;
2312
+ transition-property: var(--pont-ref-motion-trans-property-none);
2011
2313
  }
2012
2314
  [data-pont-checkbox-indicator] > svg {
2013
2315
  width: 0.875rem;
@@ -2122,9 +2424,9 @@
2122
2424
  font-weight: var(--_pont-badge-font-weight);
2123
2425
  outline: none;
2124
2426
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
2125
- transition-property: all;
2126
- transition-duration: var(--pont-sem-duration);
2127
- transition-timing-function: var(--pont-sem-ease-in-out);
2427
+ transition-property: var(--pont-ref-motion-trans-property-all);
2428
+ transition-duration: var(--pont-sem-motion-trans-duration);
2429
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
2128
2430
  background-color: var(--_pont-badge-bg);
2129
2431
  color: var(--_pont-badge-fg);
2130
2432
  }
@@ -2260,12 +2562,12 @@
2260
2562
  box-sizing: border-box;
2261
2563
  background-color: var(--_pont-skeleton-bg);
2262
2564
  border-radius: var(--_pont-skeleton-radius);
2263
- animation: var(--pont-sem-animate-pulse);
2565
+ animation: var(--pont-sem-motion-anim-pulse);
2264
2566
  }
2265
2567
 
2266
2568
  @media (prefers-reduced-motion: reduce) {
2267
2569
  :is(pont-prim-skeleton, pont-skeleton, [data-pont-skeleton]) {
2268
- animation: none;
2570
+ animation: var(--pont-ref-motion-anim-none);
2269
2571
  }
2270
2572
  }
2271
2573
  }
@@ -2287,7 +2589,7 @@
2287
2589
  background-color: currentColor;
2288
2590
  -webkit-mask: var(--pont-spinner-icon, var(--_pont-spinner-default)) center / contain no-repeat;
2289
2591
  mask: var(--pont-spinner-icon, var(--_pont-spinner-default)) center / contain no-repeat;
2290
- animation: var(--pont-sem-animate-spin);
2592
+ animation: var(--pont-sem-motion-anim-spin);
2291
2593
  }
2292
2594
  }
2293
2595
 
@@ -3421,8 +3723,8 @@
3421
3723
  --pont-shadow: var(--pont-sem-shadow-xs);
3422
3724
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
3423
3725
  transition-property: color, box-shadow;
3424
- transition-duration: var(--pont-sem-duration);
3425
- transition-timing-function: var(--pont-sem-ease-in-out);
3726
+ transition-duration: var(--pont-sem-motion-trans-duration);
3727
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
3426
3728
  }
3427
3729
 
3428
3730
  :is(pont-prim-input-group, [data-pont-input-group]):has([data-slot="input-group-control"]:focus-visible) {
@@ -3699,9 +4001,9 @@
3699
4001
  text-decoration: none;
3700
4002
  outline: none;
3701
4003
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
3702
- transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
3703
- transition-duration: 100ms;
3704
- transition-timing-function: var(--pont-sem-ease-in-out);
4004
+ transition-property: var(--pont-ref-motion-trans-property-colors);
4005
+ transition-duration: var(--pont-sem-motion-trans-duration-fast);
4006
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
3705
4007
  }
3706
4008
  [data-pont-item]:focus-visible {
3707
4009
  border-color: var(--pont-sem-color-ring);
@@ -3918,8 +4220,8 @@
3918
4220
  --pont-shadow: var(--pont-sem-shadow-xs);
3919
4221
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
3920
4222
  transition-property: color, box-shadow;
3921
- transition-duration: var(--pont-sem-duration);
3922
- transition-timing-function: var(--pont-sem-ease-in-out);
4223
+ transition-duration: var(--pont-sem-motion-trans-duration);
4224
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
3923
4225
  }
3924
4226
  [data-pont-native-select]::selection {
3925
4227
  background-color: var(--pont-sem-color-primary);
@@ -4031,9 +4333,9 @@
4031
4333
 
4032
4334
  :is(:is(pont-prim-table, pont-table) > table > * > tr, [data-pont-table-row]) {
4033
4335
  border-bottom: var(--pont-sem-border-width) solid var(--_pont-table-border-color, var(--pont-sem-color-border));
4034
- transition-property: color, background-color, border-color;
4035
- transition-duration: var(--pont-sem-duration);
4036
- transition-timing-function: var(--pont-sem-ease-in-out);
4336
+ transition-property: var(--pont-ref-motion-trans-property-colors);
4337
+ transition-duration: var(--pont-sem-motion-trans-duration);
4338
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
4037
4339
  }
4038
4340
  :is(:is(pont-prim-table, pont-table) > table > * > tr, [data-pont-table-row]):hover,
4039
4341
  :is(:is(pont-prim-table, pont-table) > table > * > tr, [data-pont-table-row]):has([aria-expanded="true"]) {
@@ -4291,9 +4593,9 @@
4291
4593
  outline: none;
4292
4594
  --pont-shadow: var(--pont-sem-shadow-xs);
4293
4595
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
4294
- transition-property: all;
4295
- transition-duration: var(--pont-sem-duration);
4296
- transition-timing-function: var(--pont-sem-ease-in-out);
4596
+ transition-property: var(--pont-ref-motion-trans-property-all);
4597
+ transition-duration: var(--pont-sem-motion-trans-duration);
4598
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
4297
4599
  }
4298
4600
  :is(pont-prim-input-otp-slot, [data-pont-input-otp-slot]):first-child {
4299
4601
  border-left-width: var(--pont-sem-border-width);
@@ -4330,7 +4632,8 @@
4330
4632
  width: var(--pont-ref-dimension-size-px);
4331
4633
  height: 1rem;
4332
4634
  background-color: var(--pont-sem-color-foreground);
4333
- animation: pont-caret-blink 1s ease-out infinite;
4635
+ animation: pont-caret-blink var(--pont-sem-motion-anim-duration) var(--pont-ref-motion-easing-ease-out)
4636
+ var(--pont-ref-motion-anim-iteration-infinite);
4334
4637
  }
4335
4638
 
4336
4639
  :is(pont-prim-input-otp-separator, [data-pont-input-otp-separator]) {
@@ -4400,9 +4703,9 @@
4400
4703
  [data-pont-progress-indicator] {
4401
4704
  height: var(--pont-ref-dimension-size-full);
4402
4705
  background-color: var(--_pont-progress-indicator-bg, var(--pont-sem-color-primary));
4403
- transition-property: all;
4404
- transition-duration: var(--pont-sem-duration);
4405
- transition-timing-function: var(--pont-sem-ease-in-out);
4706
+ transition-property: var(--pont-ref-motion-trans-property-all);
4707
+ transition-duration: var(--pont-sem-motion-trans-duration);
4708
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
4406
4709
  }
4407
4710
 
4408
4711
  :is(pont-prim-progress-label, [data-pont-progress-label]) {
@@ -4656,8 +4959,8 @@
4656
4959
  --pont-shadow: var(--_pont-slider-thumb-shadow);
4657
4960
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
4658
4961
  transition-property: color, box-shadow;
4659
- transition-duration: var(--pont-sem-duration);
4660
- transition-timing-function: var(--pont-sem-ease-in-out);
4962
+ transition-duration: var(--pont-sem-motion-trans-duration);
4963
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
4661
4964
  }
4662
4965
  [data-pont-slider-thumb][data-orientation="horizontal"] {
4663
4966
  top: 50%;
@@ -4725,9 +5028,9 @@
4725
5028
  outline: none;
4726
5029
  --pont-shadow: var(--pont-sem-shadow-xs);
4727
5030
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
4728
- transition-property: all;
4729
- transition-duration: var(--pont-sem-duration);
4730
- transition-timing-function: var(--pont-sem-ease-in-out);
5031
+ transition-property: var(--pont-ref-motion-trans-property-all);
5032
+ transition-duration: var(--pont-sem-motion-trans-duration);
5033
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
4731
5034
  }
4732
5035
 
4733
5036
  :is(pont-prim-switch, pont-switch, [data-pont-switch])::after {
@@ -4775,9 +5078,9 @@
4775
5078
  border-radius: var(--pont-ref-radius-full);
4776
5079
  background-color: var(--_pont-switch-thumb-bg);
4777
5080
  translate: 0 0;
4778
- transition-property: translate, transform;
4779
- transition-duration: var(--pont-sem-duration);
4780
- transition-timing-function: var(--pont-sem-ease-in-out);
5081
+ transition-property: var(--pont-ref-motion-trans-property-transform);
5082
+ transition-duration: var(--pont-sem-motion-trans-duration);
5083
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
4781
5084
  }
4782
5085
  [data-pont-switch][data-size="sm"] > [data-pont-switch-thumb] {
4783
5086
  width: 0.75rem;
@@ -4912,9 +5215,9 @@
4912
5215
  user-select: none;
4913
5216
  outline: none;
4914
5217
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
4915
- transition-property: all;
4916
- transition-duration: var(--pont-sem-duration);
4917
- transition-timing-function: var(--pont-sem-ease-in-out);
5218
+ transition-property: var(--pont-ref-motion-trans-property-all);
5219
+ transition-duration: var(--pont-sem-motion-trans-duration);
5220
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
4918
5221
  }
4919
5222
  [data-pont-tabs][data-orientation="vertical"] [data-pont-tabs-trigger] {
4920
5223
  width: var(--pont-ref-dimension-size-full);
@@ -4970,7 +5273,9 @@
4970
5273
  position: absolute;
4971
5274
  background-color: var(--_pont-tabs-indicator-bg, var(--pont-sem-color-foreground));
4972
5275
  opacity: 0;
4973
- transition: opacity var(--pont-sem-duration) var(--pont-sem-ease-in-out);
5276
+ transition-property: var(--pont-ref-motion-trans-property-opacity);
5277
+ transition-duration: var(--pont-sem-motion-trans-duration);
5278
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
4974
5279
  }
4975
5280
  [data-pont-tabs]:not([data-orientation="vertical"]) [data-pont-tabs-trigger]::after {
4976
5281
  left: 0;
@@ -5015,7 +5320,8 @@
5015
5320
  * A component opts into the slide by setting the --_pont-popup-enter-*
5016
5321
  * privates; the defaults below are exactly that shadcn recipe. They are
5017
5322
  * CSS-internal (no script writes them) and not tokens: animation mechanics
5018
- * stay literal (docs/11-tokens.md §5). Every one is declared on each popup,
5323
+ * stay literal (docs/11-tokens.md §5); the duration and easing read the
5324
+ * motion roles (tokens/motion.css). Every one is declared on each popup,
5019
5325
  * so a nested popup (a submenu) never inherits its parent's slide, as
5020
5326
  * tw-animate-css's non-inheriting `--tw-enter-*` properties behave.
5021
5327
  */
@@ -5078,7 +5384,7 @@
5078
5384
  --_pont-popup-exit-scale: 0.95;
5079
5385
  --_pont-popup-exit-translate-x: 0;
5080
5386
  --_pont-popup-exit-translate-y: 0;
5081
- --_pont-popup-duration: 100ms;
5387
+ --_pont-popup-duration: var(--pont-sem-motion-trans-duration-fast);
5082
5388
  }
5083
5389
 
5084
5390
  /* An author `display` must never reveal a closed popover. */
@@ -5101,16 +5407,16 @@
5101
5407
  }
5102
5408
 
5103
5409
  [data-pont-popup][data-open] {
5104
- animation: pont-popup-enter var(--_pont-popup-duration) var(--pont-sem-ease-in-out);
5410
+ animation: pont-popup-enter var(--_pont-popup-duration) var(--pont-sem-motion-trans-easing);
5105
5411
  }
5106
5412
  [data-pont-popup][data-closed] {
5107
- animation: pont-popup-exit var(--_pont-popup-duration) var(--pont-sem-ease-in-out) forwards;
5413
+ animation: pont-popup-exit var(--_pont-popup-duration) var(--pont-sem-motion-trans-easing) forwards;
5108
5414
  }
5109
5415
 
5110
5416
  @media (prefers-reduced-motion: reduce) {
5111
5417
  [data-pont-popup]:is([data-open], [data-closed]),
5112
5418
  [data-pont-popup]:is([data-open], [data-closed])::backdrop {
5113
- animation: none;
5419
+ animation: var(--pont-ref-motion-anim-none);
5114
5420
  }
5115
5421
  }
5116
5422
  }
@@ -5473,8 +5779,8 @@
5473
5779
  --pont-shadow: var(--pont-sem-shadow-xs);
5474
5780
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
5475
5781
  transition-property: color, box-shadow;
5476
- transition-duration: var(--pont-sem-duration);
5477
- transition-timing-function: var(--pont-sem-ease-in-out);
5782
+ transition-duration: var(--pont-sem-motion-trans-duration);
5783
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
5478
5784
  }
5479
5785
  [data-pont-select-trigger][data-placeholder] {
5480
5786
  color: var(--pont-sem-color-muted-foreground);
@@ -5540,7 +5846,7 @@
5540
5846
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
5541
5847
  }
5542
5848
  [data-pont-select-content][data-align-trigger="true"] {
5543
- animation: none;
5849
+ animation: var(--pont-ref-motion-anim-none);
5544
5850
  }
5545
5851
 
5546
5852
  /* group: "scroll-my-1 p-1" */
@@ -5684,8 +5990,8 @@
5684
5990
  --pont-shadow: var(--pont-sem-shadow-xs);
5685
5991
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
5686
5992
  transition-property: color, box-shadow;
5687
- transition-duration: var(--pont-sem-duration);
5688
- transition-timing-function: var(--pont-sem-ease-in-out);
5993
+ transition-duration: var(--pont-sem-motion-trans-duration);
5994
+ transition-timing-function: var(--pont-sem-motion-trans-easing);
5689
5995
  }
5690
5996
  [data-pont-combobox-input]:has(> [data-slot="input-group-control"]:focus-visible) {
5691
5997
  border-color: var(--pont-sem-color-ring);
@@ -6217,10 +6523,10 @@
6217
6523
  backdrop-filter: blur(var(--pont-ref-filter-blur-xs));
6218
6524
  }
6219
6525
  :is([data-pont-dialog-content], [data-pont-alert-dialog-content], [data-pont-sheet-content], [data-pont-drawer-content])[data-open]::backdrop {
6220
- animation: pont-backdrop-enter var(--_pont-popup-duration) var(--pont-sem-ease-in-out);
6526
+ animation: pont-backdrop-enter var(--_pont-popup-duration) var(--pont-sem-motion-trans-easing);
6221
6527
  }
6222
6528
  :is([data-pont-dialog-content], [data-pont-alert-dialog-content], [data-pont-sheet-content], [data-pont-drawer-content])[data-closed]::backdrop {
6223
- animation: pont-backdrop-exit var(--_pont-popup-duration) var(--pont-sem-ease-in-out) forwards;
6529
+ animation: pont-backdrop-exit var(--_pont-popup-duration) var(--pont-sem-motion-trans-easing) forwards;
6224
6530
  }
6225
6531
  /* modal="false": no overlay. */
6226
6532
  :is([data-pont-dialog-content], [data-pont-alert-dialog-content], [data-pont-sheet-content], [data-pont-drawer-content])[data-modal="false"]::backdrop {
@@ -6445,7 +6751,7 @@
6445
6751
  --pont-shadow: var(--_pont-sheet-shadow);
6446
6752
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
6447
6753
  /* the slide (core/popup/popup.css keyframes) */
6448
- --_pont-popup-duration: 200ms;
6754
+ --_pont-popup-duration: var(--pont-sem-motion-trans-duration-slow);
6449
6755
  --_pont-popup-enter-scale: 1;
6450
6756
  --_pont-popup-exit-scale: 1;
6451
6757
  }
@@ -6872,7 +7178,7 @@
6872
7178
  box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
6873
7179
  outline: none;
6874
7180
  overflow-wrap: anywhere;
6875
- animation: pont-toast-enter 400ms var(--pont-sem-ease-out);
7181
+ animation: pont-toast-enter 400ms var(--pont-ref-motion-easing-ease-out);
6876
7182
  transition: opacity 400ms, translate 400ms;
6877
7183
  }
6878
7184
  [data-pont-toast]:focus-visible {
@@ -6906,7 +7212,7 @@
6906
7212
  height: 1rem;
6907
7213
  }
6908
7214
  [data-pont-toast] svg[data-spin] {
6909
- animation: var(--pont-sem-animate-spin);
7215
+ animation: var(--pont-sem-motion-anim-spin);
6910
7216
  }
6911
7217
 
6912
7218
  [data-pont-toast] > [data-content] {
@@ -6979,8 +7285,8 @@
6979
7285
  @media (prefers-reduced-motion: reduce) {
6980
7286
  [data-pont-toast],
6981
7287
  [data-pont-toast][data-removed] {
6982
- animation: none;
6983
- transition: none;
7288
+ animation: var(--pont-ref-motion-anim-none);
7289
+ transition-property: var(--pont-ref-motion-trans-property-none);
6984
7290
  translate: none;
6985
7291
  }
6986
7292
  }
@@ -7876,7 +8182,9 @@
7876
8182
  height: var(--pont-sem-dimension-size);
7877
8183
  border-radius: var(--pont-ref-radius-md);
7878
8184
  box-shadow: 0 0 0 var(--pont-sem-border-width) var(--pont-sem-color-border);
7879
- transition: opacity 200ms ease;
8185
+ transition-property: var(--pont-ref-motion-trans-property-opacity);
8186
+ transition-duration: var(--pont-sem-motion-trans-duration-slow);
8187
+ transition-timing-function: var(--pont-ref-motion-easing-ease);
7880
8188
  }
7881
8189
  [data-pont-qr-code][data-obscured] > [data-slot="qr-code-image"] {
7882
8190
  opacity: 0.15;
@@ -7889,7 +8197,7 @@
7889
8197
  }
7890
8198
  @media (prefers-reduced-motion: reduce) {
7891
8199
  [data-pont-qr-code] > [data-slot="qr-code-image"] {
7892
- transition: none;
8200
+ transition-property: var(--pont-ref-motion-trans-property-none);
7893
8201
  }
7894
8202
  }
7895
8203
  }