@pontive/pontkit-core 3.4.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,6 +36,10 @@
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
@@ -44,1354 +48,1393 @@
44
48
  * opacity.css the opacity unit (--pont-ref-opacity), none/full, and the disabled role
45
49
  * radius.css the radius knob (--pont-ref-radius) and the ref scale derived from it
46
50
  * typography.css font stacks (ref) and roles (sem), size, weight, tracking and leading scales (ref)
47
- * ref/ raw values, global only
48
- * sem/ design roles; light/dark lives in sem/color.css
51
+ * sem/ design roles: mode switches, shadows, shape
49
52
  */
50
53
 
51
- /* ./cursor.css */
54
+ /* ./color/index.css */
52
55
  /*
53
56
  * ===========================================================================
54
- * CURSOR TOKENS
57
+ * COLOR TOKENS
55
58
  * ---------------------------------------------------------------------------
56
- * `cursor`
59
+ * `color`, `background`, `border-color`, `outline-color`, `fill`, `stroke`,
60
+ * `caret-color`, `accent-color`, `text-decoration-color`, `box-shadow-color`
57
61
  * ===========================================================================
58
62
  */
59
63
 
60
64
  /*
61
- * --------------------------------------------------
62
- * CURSOR REFERENCE TOKENS
63
- * --------------------------------------------------
65
+ * ---------------------------------------------------------------------------
66
+ * COLOR REFERENCE TOKENS
67
+ * ---------------------------------------------------------------------------
64
68
  */
65
69
 
66
- @layer pont.tokens {
67
- :root {
68
- --pont-ref-cursor-auto: auto;
69
- --pont-ref-cursor-default: default;
70
- --pont-ref-cursor-pointer: pointer;
71
- --pont-ref-cursor-wait: wait;
72
- --pont-ref-cursor-text: text;
73
- --pont-ref-cursor-move: move;
74
- --pont-ref-cursor-help: help;
75
- --pont-ref-cursor-not-allowed: not-allowed;
76
- --pont-ref-cursor-none: none;
77
- --pont-ref-cursor-context-menu: context-menu;
78
- --pont-ref-cursor-progress: progress;
79
- --pont-ref-cursor-cell: cell;
80
- --pont-ref-cursor-crosshair: crosshair;
81
- --pont-ref-cursor-vertical-text: vertical-text;
82
- --pont-ref-cursor-alias: alias;
83
- --pont-ref-cursor-copy: copy;
84
- --pont-ref-cursor-no-drop: no-drop;
85
- --pont-ref-cursor-grab: grab;
86
- --pont-ref-cursor-grabbing: grabbing;
87
- --pont-ref-cursor-all-scroll: all-scroll;
88
- --pont-ref-cursor-col-resize: col-resize;
89
- --pont-ref-cursor-row-resize: row-resize;
90
- --pont-ref-cursor-n-resize: n-resize;
91
- --pont-ref-cursor-e-resize: e-resize;
92
- --pont-ref-cursor-s-resize: s-resize;
93
- --pont-ref-cursor-w-resize: w-resize;
94
- --pont-ref-cursor-ne-resize: ne-resize;
95
- --pont-ref-cursor-nw-resize: nw-resize;
96
- --pont-ref-cursor-se-resize: se-resize;
97
- --pont-ref-cursor-sw-resize: sw-resize;
98
- --pont-ref-cursor-ew-resize: ew-resize;
99
- --pont-ref-cursor-ns-resize: ns-resize;
100
- --pont-ref-cursor-nesw-resize: nesw-resize;
101
- --pont-ref-cursor-nwse-resize: nwse-resize;
102
- --pont-ref-cursor-zoom-in: zoom-in;
103
- --pont-ref-cursor-zoom-out: zoom-out;
104
- }
105
- }
106
-
70
+ /* ./ref-color/index.css */
107
71
  /*
108
- * --------------------------------------------------
109
- * CURSOR SEMANTIC TOKENS
110
- * --------------------------------------------------
72
+ * ===========================================================================
73
+ * COLOR REFERENCE TOKENS
74
+ * ===========================================================================
111
75
  */
112
76
 
113
- @layer pont.tokens {
114
- :root {
115
- /*
116
- * Roles, not components: a brand that wants the hand cursor on every
117
- * pressable control sets -interactive once. `default` is shadcn's
118
- * (Tailwind v4) choice for buttons and controls.
119
- */
120
-
121
- /* Pressable controls: button, tabs trigger, checkbox, radio, switch, slider thumb */
122
- --pont-sem-cursor-interactive: var(--pont-ref-cursor-default);
123
- /* Options in a list: combobox, dropdown menu and select items */
124
- --pont-sem-cursor-item: var(--pont-ref-cursor-default);
125
- /* Areas that focus a text field: input-group addon, OTP slots, combobox chips */
126
- --pont-sem-cursor-text: var(--pont-ref-cursor-text);
127
- /* Drag handles: the drawer handle */
128
- --pont-sem-cursor-grab: var(--pont-ref-cursor-grab);
129
- /* Every disabled control and its label */
130
- --pont-sem-cursor-disabled: var(--pont-ref-cursor-not-allowed);
131
- }
132
- }
133
-
134
- /* ./dimension.css */
77
+ /* ./tw-scales.css */
135
78
  /*
136
79
  * ===========================================================================
137
- * 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
138
84
  * ===========================================================================
139
85
  */
140
86
 
141
- @layer pont.tokens {
142
- :root {
143
- --pont-ref-dimension: 0.25rem;
144
- }
145
- }
146
-
147
87
  /*
148
88
  * ---------------------------------------------------------------------------
149
- * DIMENSION SIZE TOKENS
150
- * ---------------------------------------------------------------------------
151
- * `width`, `height`, `min-width`, `max-width`, `min-height`, `max-height`,
152
- * `box-size`, `flex-basis`
89
+ * CHROMATIC COLOR SCALES
153
90
  * ---------------------------------------------------------------------------
154
91
  */
155
92
 
156
- /*
157
- * --------------------------------------------------
158
- * DIMENSION SIZE REFERENCE TOKENS
159
- * --------------------------------------------------
160
- */
161
-
162
93
  @layer pont.tokens {
163
94
  :root {
164
- --pont-ref-dimension-size-auto: auto;
165
- --pont-ref-dimension-size-none: none;
166
- --pont-ref-dimension-size-px: 1px;
167
- --pont-ref-dimension-size-full: 100%;
168
- --pont-ref-dimension-size-min: min-content;
169
- --pont-ref-dimension-size-max: max-content;
170
- --pont-ref-dimension-size-fit: fit-content;
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);
171
106
 
172
- --pont-ref-dimension-size-dvw: 100dvw;
173
- --pont-ref-dimension-size-dvh: 100dvh;
174
- --pont-ref-dimension-size-lvw: 100lvw;
175
- --pont-ref-dimension-size-lvh: 100lvh;
176
- --pont-ref-dimension-size-svw: 100svw;
177
- --pont-ref-dimension-size-svh: 100svh;
178
- --pont-ref-dimension-size-vw: 100vw;
179
- --pont-ref-dimension-size-vh: 100vh;
180
- --pont-ref-dimension-size-lh: 1lh;
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);
181
118
 
182
- --pont-ref-dimension-size-3xs: 16rem;
183
- --pont-ref-dimension-size-2xs: 18rem;
184
- --pont-ref-dimension-size-xs: 20rem;
185
- --pont-ref-dimension-size-sm: 24rem;
186
- --pont-ref-dimension-size-md: 28rem;
187
- --pont-ref-dimension-size-lg: 32rem;
188
- --pont-ref-dimension-size-xl: 36rem;
189
- --pont-ref-dimension-size-2xl: 42rem;
190
- --pont-ref-dimension-size-3xl: 48rem;
191
- --pont-ref-dimension-size-4xl: 56rem;
192
- --pont-ref-dimension-size-5xl: 64rem;
193
- --pont-ref-dimension-size-6xl: 72rem;
194
- --pont-ref-dimension-size-7xl: 80rem;
195
- }
196
- }
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);
197
130
 
198
- /*
199
- * --------------------------------------------------
200
- * DIMENSION SIZE SEMANTIC TOKENS
201
- * --------------------------------------------------
202
- */
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);
203
142
 
204
- @layer pont.tokens {
205
- :root {
206
- /* Default size (width/height) */
207
- --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);
208
154
 
209
- /* Default min size (min-width/min-height) */
210
- --pont-sem-dimension-size-min: var(--pont-ref-dimension-size-auto);
211
- /* Default max size (max-width/max-height) */
212
- --pont-sem-dimension-size-max: var(--pont-ref-dimension-size-none);
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);
213
166
 
214
- --pont-sem-dimension-size-width-screen: var(--pont-ref-dimension-size-vw);
215
- --pont-sem-dimension-size-height-screen: var(--pont-ref-dimension-size-vh);
216
- }
217
- }
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);
218
178
 
219
- /*
220
- * ---------------------------------------------------------------------------
221
- * DIMENSION SPACE TOKENS
222
- * ---------------------------------------------------------------------------
223
- * `padding`, `gap`, `top`, `right`, `bottom`, `left`, `inset`,
224
- * `scroll-margin`, `scroll-padding`, `text-indent`, `outline-offset`
225
- * ---------------------------------------------------------------------------
226
- */
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);
227
190
 
228
- /*
229
- * --------------------------------------------------
230
- * DIMENSION SPACE REFERENCE TOKENS
231
- * --------------------------------------------------
232
- */
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);
233
202
 
234
- @layer pont.tokens {
235
- :root {
236
- --pont-ref-dimension-space-auto: auto;
237
- --pont-ref-dimension-space-px: 1px;
238
- --pont-ref-dimension-space-full: 100%;
239
- }
240
- }
241
-
242
- /*
243
- * --------------------------------------------------
244
- * DIMENSION SPACE SEMANTIC TOKENS
245
- * --------------------------------------------------
246
- */
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);
247
214
 
248
- @layer pont.tokens {
249
- :root {
250
- /* Default inset/top/right/bottom/left */
251
- --pont-sem-dimension-space-inset: var(--pont-ref-dimension-space-auto);
252
- }
253
- }
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);
254
226
 
255
- /* ./filter.css */
256
- /*
257
- * ===========================================================================
258
- * FILTER TOKENS
259
- * ---------------------------------------------------------------------------
260
- * `filter`, `backdrop-filter`
261
- * ===========================================================================
262
- */
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);
263
238
 
264
- /*
265
- * ---------------------------------------------------------------------------
266
- * FILTER BLUR TOKENS
267
- * ---------------------------------------------------------------------------
268
- * length value arg for `blur()`
269
- * ---------------------------------------------------------------------------
270
- */
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);
271
250
 
272
- /*
273
- * --------------------------------------------------
274
- * FILTER BLUR REFERENCE TOKENS
275
- * --------------------------------------------------
276
- */
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);
277
262
 
278
- @layer pont.tokens {
279
- :root {
280
- /* Anchor/seed value */
281
- --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);
282
274
 
283
- /* Derived values */
284
- --pont-ref-filter-blur-xs: calc(var(--pont-ref-filter-blur) * 4);
285
- --pont-ref-filter-blur-sm: calc(var(--pont-ref-filter-blur) * 8);
286
- --pont-ref-filter-blur-md: calc(var(--pont-ref-filter-blur) * 12);
287
- --pont-ref-filter-blur-lg: calc(var(--pont-ref-filter-blur) * 16);
288
- --pont-ref-filter-blur-xl: calc(var(--pont-ref-filter-blur) * 24);
289
- --pont-ref-filter-blur-2xl: calc(var(--pont-ref-filter-blur) * 40);
290
- --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);
291
286
 
292
- /* Special values */
293
- --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);
294
298
  }
295
299
  }
296
300
 
297
- /* ./layout.css */
298
- /*
299
- * ===========================================================================
300
- * LAYOUT TOKENS
301
- * ===========================================================================
302
- */
303
-
304
301
  /*
305
302
  * ---------------------------------------------------------------------------
306
- * LAYOUT ASPECT TOKENS
307
- * ---------------------------------------------------------------------------
308
- * `aspect-ratio`
303
+ * ACHROMATIC COLOR SCALES
309
304
  * ---------------------------------------------------------------------------
310
305
  */
311
306
 
312
- /*
313
- * --------------------------------------------------
314
- * LAYOUT ASPECT REFERENCE TOKENS
315
- * --------------------------------------------------
316
- */
317
-
318
307
  @layer pont.tokens {
319
308
  :root {
320
- --pont-ref-layout-aspect-auto: auto;
321
-
322
- --pont-ref-layout-aspect-square: 1 / 1;
323
- --pont-ref-layout-aspect-video: 16 / 9;
324
- }
325
- }
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);
326
320
 
327
- /* ./motion.css */
328
- /*
329
- * ===========================================================================
330
- * MOTION TOKENS
331
- * ===========================================================================
332
- */
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);
333
332
 
334
- /*
335
- * --------------------------------------------------
336
- * MOTION DURATION TOKENS
337
- * `[transition|animation]-duration`, `[transition|animation]-delay`
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
- --pont-ref-motion-duration: 1ms;
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);
344
356
 
345
- --pont-ref-motion-duration-s: calc(var(--pont-ref-motion-duration) * 1000);
346
- }
347
- }
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);
348
368
 
349
- /*
350
- * --------------------------------------------------
351
- * MOTION EASING TOKENS
352
- * `[transition|animation]-timing-function`
353
- * --------------------------------------------------
354
- */
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);
355
380
 
356
- @layer pont.tokens {
357
- :root {
358
- --pont-ref-motion-easing-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
359
- --pont-ref-motion-easing-linear: cubic-bezier(0, 0, 1, 1);
360
-
361
- --pont-ref-motion-easing-ease-in: cubic-bezier(0.4, 0, 1, 1);
362
- --pont-ref-motion-easing-ease-out: cubic-bezier(0, 0, 0.2, 1);
363
- --pont-ref-motion-easing-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
364
-
365
- --pont-ref-motion-easing-ease-in-native: cubic-bezier(0.42, 0, 1, 1);
366
- --pont-ref-motion-easing-ease-out-native: cubic-bezier(0, 0, 0.58, 1);
367
- --pont-ref-motion-easing-ease-in-out-native: cubic-bezier(0.42, 0, 0.58, 1);
368
- }
369
- }
370
-
371
- /*
372
- * ---------------------------------------------------------------------------
373
- * MOTION TRANSITION TOKENS
374
- * ---------------------------------------------------------------------------
375
- */
376
-
377
- /*
378
- * --------------------------------------------------
379
- * MOTION TRANSITION PROPERTY TOKENS
380
- * `transition-property`
381
- * --------------------------------------------------
382
- */
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);
383
392
 
384
- @layer pont.tokens {
385
- :root {
386
- --pont-ref-motion-trans-property-all: all;
387
- --pont-ref-motion-trans-property-none: none;
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);
388
404
 
389
- --pont-ref-motion-trans-property-colors:
390
- color, background-color, border-color, outline-color,
391
- text-decoration-color, fill, stroke, --pont-gradient-from,
392
- --pont-gradient-via, --pont-gradient-to;
393
- --pont-ref-motion-trans-property-opacity: opacity;
394
- --pont-ref-motion-trans-property-shadow: box-shadow;
395
- --pont-ref-motion-trans-property-transform:
396
- transform, translate, scale, rotate;
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);
397
416
  }
398
417
  }
399
418
 
400
419
  @layer pont.tokens {
401
420
  :root {
402
- --pont-sem-motion-trans-property:
403
- var(--pont-ref-motion-trans-property-colors),
404
- var(--pont-ref-motion-trans-property-opacity),
405
- var(--pont-ref-motion-trans-property-shadow),
406
- var(--pont-ref-motion-trans-property-transform), filter,
407
- -webkit-backdrop-filter, backdrop-filter, display, content-visibility,
408
- overlay, pointer-events;
409
- }
410
- }
421
+ --pont-ref-color-transparent: transparent;
422
+ --pont-ref-color-current: currentColor;
411
423
 
412
- /*
413
- * --------------------------------------------------
414
- * MOTION TRANSITION DURATION TOKENS
415
- * `transition-duration`, `transition-delay`
416
- * --------------------------------------------------
417
- */
424
+ --pont-ref-color-white: #ffffff;
425
+ --pont-ref-color-black: #000000;
418
426
 
419
- @layer pont.tokens {
420
- :root {
421
- --pont-sem-motion-trans-duration: calc(
422
- var(--pont-ref-motion-duration) * 150
423
- );
424
- --pont-sem-motion-trans-duration-slow: calc(
425
- var(--pont-ref-motion-duration) * 200
426
- );
427
- --pont-sem-motion-trans-duration-fast: calc(
428
- var(--pont-ref-motion-duration) * 100
429
- );
430
- }
431
- }
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);
432
438
 
433
- /*
434
- * --------------------------------------------------
435
- * MOTION TRANSITION EASING TOKENS
436
- * `transition-timing-function`
437
- * --------------------------------------------------
438
- */
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);
439
450
 
440
- @layer pont.tokens {
441
- :root {
442
- --pont-sem-motion-trans-easing: var(--pont-ref-motion-easing-ease-in-out);
443
- }
444
- }
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);
445
462
 
446
- /*
447
- * ---------------------------------------------------------------------------
448
- * MOTION ANIMATION TOKENS
449
- * ---------------------------------------------------------------------------
450
- */
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);
451
474
 
452
- /*
453
- * --------------------------------------------------
454
- * MOTION ANIMATION NAME TOKENS
455
- * `animation-name`
456
- * --------------------------------------------------
457
- */
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);
458
486
 
459
- @layer pont.tokens {
460
- :root {
461
- --pont-sem-motion-anim-spin-name: pont-spin;
462
- --pont-sem-motion-anim-ping-name: pont-ping;
463
- --pont-sem-motion-anim-pulse-name: pont-pulse;
464
- --pont-sem-motion-anim-bounce-name: pont-bounce;
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);
465
498
  }
466
499
  }
467
500
 
468
501
  /*
469
502
  * --------------------------------------------------
470
- * MOTION ANIMATION DURATION TOKENS
471
- * `animation-duration`, `animation-delay`
503
+ * COLOR SEMANTIC TOKENS
472
504
  * --------------------------------------------------
473
505
  */
474
506
 
475
- @layer pont.tokens {
476
- :root {
477
- --pont-sem-motion-anim-duration: var(--pont-ref-motion-duration-s);
478
- --pont-sem-motion-anim-duration-slow: calc(
479
- var(--pont-ref-motion-duration-s) * 2
480
- );
481
-
482
- --pont-sem-motion-anim-spin-duration: var(--pont-sem-motion-anim-duration);
483
- --pont-sem-motion-anim-ping-duration: var(--pont-sem-motion-anim-duration);
484
- --pont-sem-motion-anim-pulse-duration: var(
485
- --pont-sem-motion-anim-duration-slow
486
- );
487
- --pont-sem-motion-anim-bounce-duration: var(
488
- --pont-sem-motion-anim-duration
489
- );
490
- }
491
- }
507
+ /* TODO(tokens): not yet migrated/refactored */
492
508
 
509
+ /* ./sem-color.css */
493
510
  /*
494
- * --------------------------------------------------
495
- * MOTION ANIMATION EASING TOKENS
496
- * `animation-timing-function`
497
- * --------------------------------------------------
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.
498
522
  */
499
-
500
523
  @layer pont.tokens {
501
524
  :root {
502
- --pont-sem-motion-anim-easing: var(--pont-ref-motion-easing-ease);
503
-
504
- --pont-sem-motion-anim-spin-easing: var(--pont-ref-motion-easing-linear);
505
- --pont-sem-motion-anim-ping-easing: var(--pont-ref-motion-easing-ease-out);
506
- --pont-sem-motion-anim-pulse-easing: cubic-bezier(0.4, 0, 0.6, 1);
507
- --pont-sem-motion-anim-bounce-easing: var(--pont-sem-motion-anim-easing);
508
- }
509
- }
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);
510
542
 
511
- /*
512
- * --------------------------------------------------
513
- * MOTION ANIMATION ITERATION TOKENS
514
- * `animation-iteration-count`
515
- * --------------------------------------------------
516
- */
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);
517
573
 
518
- @layer pont.tokens {
519
- :root {
520
- --pont-ref-motion-anim-iteration-infinite: infinite;
521
- }
522
- }
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);
523
580
 
524
- @layer pont.tokens {
525
- :root {
526
- --pont-sem-motion-anim-spin-iteration: var(
527
- --pont-ref-motion-anim-iteration-infinite
528
- );
529
- --pont-sem-motion-anim-ping-iteration: var(
530
- --pont-ref-motion-anim-iteration-infinite
531
- );
532
- --pont-sem-motion-anim-pulse-iteration: var(
533
- --pont-ref-motion-anim-iteration-infinite
534
- );
535
- --pont-sem-motion-anim-bounce-iteration: var(
536
- --pont-ref-motion-anim-iteration-infinite
537
- );
538
- }
539
- }
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);
540
588
 
541
- /*
542
- * --------------------------------------------------
543
- * MOTION ANIMATION 'COMPOSITE' TOKENS
544
- * `animation`
545
- * --------------------------------------------------
546
- */
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);
547
594
 
548
- @layer pont.tokens {
549
- :root {
550
- --pont-ref-motion-anim-none: none;
595
+ color-scheme: light;
551
596
  }
552
- }
553
597
 
554
- @layer pont.tokens {
555
- :root {
556
- --pont-sem-motion-anim-spin: var(--pont-sem-motion-anim-spin-name)
557
- var(--pont-sem-motion-anim-spin-duration)
558
- var(--pont-sem-motion-anim-spin-easing)
559
- var(--pont-sem-motion-anim-spin-iteration);
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);
560
619
 
561
- --pont-sem-motion-anim-ping: var(--pont-sem-motion-anim-ping-name)
562
- var(--pont-sem-motion-anim-ping-duration)
563
- var(--pont-sem-motion-anim-ping-easing)
564
- var(--pont-sem-motion-anim-ping-iteration);
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);
565
635
 
566
- --pont-sem-motion-anim-pulse: var(--pont-sem-motion-anim-pulse-name)
567
- var(--pont-sem-motion-anim-pulse-duration)
568
- var(--pont-sem-motion-anim-pulse-easing)
569
- var(--pont-sem-motion-anim-pulse-iteration);
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);
570
640
 
571
- --pont-sem-motion-anim-bounce: var(--pont-sem-motion-anim-bounce-name)
572
- var(--pont-sem-motion-anim-bounce-duration)
573
- var(--pont-sem-motion-anim-bounce-easing)
574
- var(--pont-sem-motion-anim-bounce-iteration);
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;
575
647
  }
576
648
  }
577
649
 
578
- /* ./opacity.css */
650
+ /* ./cursor.css */
579
651
  /*
580
652
  * ===========================================================================
581
- * OPACITY TOKENS
653
+ * CURSOR TOKENS
582
654
  * ---------------------------------------------------------------------------
583
- * `opacity`
655
+ * `cursor`
584
656
  * ===========================================================================
585
657
  */
586
658
 
587
659
  /*
588
660
  * --------------------------------------------------
589
- * OPACITY REFERENCE TOKENS
661
+ * CURSOR REFERENCE TOKENS
590
662
  * --------------------------------------------------
591
663
  */
592
664
 
593
665
  @layer pont.tokens {
594
666
  :root {
595
- /* Anchor/seed value */
596
- --pont-ref-opacity: 0.01;
597
-
598
- /* Absolute values */
599
- --pont-ref-opacity-none: 0;
600
- --pont-ref-opacity-full: 1;
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;
601
703
  }
602
704
  }
603
705
 
604
706
  /*
605
707
  * --------------------------------------------------
606
- * OPACITY SEMANTIC TOKENS
708
+ * CURSOR SEMANTIC TOKENS
607
709
  * --------------------------------------------------
608
710
  */
609
711
 
610
712
  @layer pont.tokens {
611
713
  :root {
612
- /* Anchor/seed value */
613
- --pont-sem-opacity-disabled: calc(var(--pont-ref-opacity) * 50);
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);
614
730
  }
615
731
  }
616
732
 
617
- /* ./radius.css */
733
+ /* ./dimension.css */
618
734
  /*
619
735
  * ===========================================================================
620
- * RADIUS TOKENS
621
- * ---------------------------------------------------------------------------
622
- * `border-radius`
736
+ * DIMENSION TOKENS
623
737
  * ===========================================================================
624
738
  */
625
739
 
626
- /*
627
- * --------------------------------------------------
628
- * RADIUS REFERENCE TOKENS
629
- * --------------------------------------------------
630
- */
631
-
632
740
  @layer pont.tokens {
633
741
  :root {
634
- /* Anchor/seed value */
635
- --pont-ref-radius: 0.625rem;
636
-
637
- /* Proportional scale derived from anchor */
638
- --pont-ref-radius-xs: calc(var(--pont-ref-radius) * 0.2);
639
- --pont-ref-radius-sm: calc(var(--pont-ref-radius) * 0.6);
640
- --pont-ref-radius-md: calc(var(--pont-ref-radius) * 0.8);
641
- --pont-ref-radius-lg: var(--pont-ref-radius);
642
- --pont-ref-radius-xl: calc(var(--pont-ref-radius) * 1.4);
643
- --pont-ref-radius-2xl: calc(var(--pont-ref-radius) * 1.8);
644
- --pont-ref-radius-3xl: calc(var(--pont-ref-radius) * 2.2);
645
- --pont-ref-radius-4xl: calc(var(--pont-ref-radius) * 2.6);
646
-
647
- /* Absolute values */
648
- --pont-ref-radius-none: 0;
649
- --pont-ref-radius-full: calc(infinity * 1rem);
742
+ --pont-ref-dimension: 0.25rem;
650
743
  }
651
744
  }
652
745
 
653
- /* ./typography.css */
654
- /*
655
- * ===========================================================================
656
- * TYPOGRAPHY TOKENS
657
- * ===========================================================================
658
- */
659
-
660
746
  /*
661
747
  * ---------------------------------------------------------------------------
662
- * TYPOGRAPHY FONT TOKENS
748
+ * DIMENSION SIZE TOKENS
663
749
  * ---------------------------------------------------------------------------
664
- * `font-family`
750
+ * `width`, `height`, `min-width`, `max-width`, `min-height`, `max-height`,
751
+ * `box-size`, `flex-basis`
665
752
  * ---------------------------------------------------------------------------
666
753
  */
667
754
 
668
755
  /*
669
756
  * --------------------------------------------------
670
- * TYPOGRAPHY FONT REFERENCE TOKENS
757
+ * DIMENSION SIZE REFERENCE TOKENS
671
758
  * --------------------------------------------------
672
759
  */
673
760
 
674
761
  @layer pont.tokens {
675
762
  :root {
676
- --pont-ref-typography-font-sans:
677
- -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
678
- "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
679
- "Segoe UI Symbol", "Noto Color Emoji";
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;
680
770
 
681
- --pont-ref-typography-font-serif:
682
- ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
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;
683
780
 
684
- --pont-ref-typography-font-mono:
685
- ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
686
- "Courier New", monospace;
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;
687
794
  }
688
795
  }
689
796
 
690
797
  /*
691
798
  * --------------------------------------------------
692
- * TYPOGRAPHY FONT SEMANTIC TOKENS
799
+ * DIMENSION SIZE SEMANTIC TOKENS
693
800
  * --------------------------------------------------
694
801
  */
695
802
 
696
803
  @layer pont.tokens {
697
804
  :root {
698
- --pont-sem-typography-font-body: var(--pont-ref-typography-font-sans);
699
- --pont-sem-typography-font-heading: var(--pont-ref-typography-font-sans);
700
- --pont-sem-typography-font-code: var(--pont-ref-typography-font-mono);
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);
701
815
  }
702
816
  }
703
817
 
704
818
  /*
705
819
  * ---------------------------------------------------------------------------
706
- * TYPOGRAPHY SIZE TOKENS
820
+ * DIMENSION SPACE TOKENS
707
821
  * ---------------------------------------------------------------------------
708
- * `font-size`
822
+ * `padding`, `gap`, `top`, `right`, `bottom`, `left`, `inset`,
823
+ * `scroll-margin`, `scroll-padding`, `text-indent`, `outline-offset`
709
824
  * ---------------------------------------------------------------------------
710
825
  */
711
826
 
712
827
  /*
713
828
  * --------------------------------------------------
714
- * TYPOGRAPHY SIZE REFERENCE TOKENS
829
+ * DIMENSION SPACE REFERENCE TOKENS
715
830
  * --------------------------------------------------
716
831
  */
717
832
 
718
833
  @layer pont.tokens {
719
834
  :root {
720
- --pont-ref-typography-size-xs: 0.75rem;
721
- --pont-ref-typography-size-sm: 0.875rem;
722
- --pont-ref-typography-size-base: 1rem;
723
- --pont-ref-typography-size-lg: 1.125rem;
724
- --pont-ref-typography-size-xl: 1.25rem;
725
- --pont-ref-typography-size-2xl: 1.5rem;
726
- --pont-ref-typography-size-3xl: 1.875rem;
727
- --pont-ref-typography-size-4xl: 2.25rem;
728
- --pont-ref-typography-size-5xl: 3rem;
729
- --pont-ref-typography-size-6xl: 3.75rem;
730
- --pont-ref-typography-size-7xl: 4.5rem;
731
- --pont-ref-typography-size-8xl: 6rem;
732
- --pont-ref-typography-size-9xl: 8rem;
835
+ --pont-ref-dimension-space-auto: auto;
836
+ --pont-ref-dimension-space-px: 1px;
837
+ --pont-ref-dimension-space-full: 100%;
733
838
  }
734
839
  }
735
840
 
736
- /*
737
- * ---------------------------------------------------------------------------
738
- * TYPOGRAPHY WEIGHT TOKENS
739
- * ---------------------------------------------------------------------------
740
- * `font-weight`
741
- * ---------------------------------------------------------------------------
742
- */
743
-
744
841
  /*
745
842
  * --------------------------------------------------
746
- * TYPOGRAPHY WEIGHT REFERENCE TOKENS
843
+ * DIMENSION SPACE SEMANTIC TOKENS
747
844
  * --------------------------------------------------
748
845
  */
749
846
 
750
847
  @layer pont.tokens {
751
848
  :root {
752
- --pont-ref-typography-weight-thin: 100;
753
- --pont-ref-typography-weight-extralight: 200;
754
- --pont-ref-typography-weight-light: 300;
755
- --pont-ref-typography-weight-normal: 400;
756
- --pont-ref-typography-weight-medium: 500;
757
- --pont-ref-typography-weight-semibold: 600;
758
- --pont-ref-typography-weight-bold: 700;
759
- --pont-ref-typography-weight-extrabold: 800;
760
- --pont-ref-typography-weight-black: 900;
849
+ /* Default inset/top/right/bottom/left */
850
+ --pont-sem-dimension-space-inset: var(--pont-ref-dimension-space-auto);
761
851
  }
762
852
  }
763
853
 
854
+ /* ./filter.css */
764
855
  /*
856
+ * ===========================================================================
857
+ * FILTER TOKENS
765
858
  * ---------------------------------------------------------------------------
766
- * TYPOGRAPHY TRACKING TOKENS
859
+ * `filter`, `backdrop-filter`
860
+ * ===========================================================================
861
+ */
862
+
863
+ /*
767
864
  * ---------------------------------------------------------------------------
768
- * `letter-spacing`
865
+ * FILTER BLUR TOKENS
866
+ * ---------------------------------------------------------------------------
867
+ * length value arg for `blur()`
769
868
  * ---------------------------------------------------------------------------
770
869
  */
771
870
 
772
871
  /*
773
872
  * --------------------------------------------------
774
- * TYPOGRAPHY TRACKING REFERENCE TOKENS
873
+ * FILTER BLUR REFERENCE TOKENS
775
874
  * --------------------------------------------------
776
875
  */
777
876
 
778
877
  @layer pont.tokens {
779
878
  :root {
780
- --pont-ref-typography-tracking: 0.01em;
879
+ /* Anchor/seed value */
880
+ --pont-ref-filter-blur: 1px;
781
881
 
782
- --pont-ref-typography-tracking-tighter: calc(
783
- var(--pont-ref-typography-tracking) * -5
784
- );
785
- --pont-ref-typography-tracking-tight: calc(
786
- var(--pont-ref-typography-tracking) * -2.5
787
- );
788
- --pont-ref-typography-tracking-normal: calc(
789
- var(--pont-ref-typography-tracking) * 0
790
- );
791
- --pont-ref-typography-tracking-wide: calc(
792
- var(--pont-ref-typography-tracking) * 2.5
793
- );
794
- --pont-ref-typography-tracking-wider: calc(
795
- var(--pont-ref-typography-tracking) * 5
796
- );
797
- --pont-ref-typography-tracking-widest: calc(
798
- var(--pont-ref-typography-tracking) * 10
799
- );
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;
800
893
  }
801
894
  }
802
895
 
896
+ /* ./layout.css */
897
+ /*
898
+ * ===========================================================================
899
+ * LAYOUT TOKENS
900
+ * ===========================================================================
901
+ */
902
+
803
903
  /*
804
904
  * ---------------------------------------------------------------------------
805
- * TYPOGRAPHY LEADING TOKENS
905
+ * LAYOUT ASPECT TOKENS
806
906
  * ---------------------------------------------------------------------------
807
- * `line-height`
907
+ * `aspect-ratio`
808
908
  * ---------------------------------------------------------------------------
809
909
  */
810
910
 
811
911
  /*
812
912
  * --------------------------------------------------
813
- * TYPOGRAPHY LEADING REFERENCE TOKENS
913
+ * LAYOUT ASPECT REFERENCE TOKENS
814
914
  * --------------------------------------------------
815
915
  */
816
916
 
817
917
  @layer pont.tokens {
818
918
  :root {
819
- --pont-ref-typography-leading-none: 1;
820
- --pont-ref-typography-leading-tight: 1.25;
821
- --pont-ref-typography-leading-snug: 1.375;
822
- --pont-ref-typography-leading-normal: 1.5;
823
- --pont-ref-typography-leading-relaxed: 1.625;
824
- --pont-ref-typography-leading-loose: 2;
919
+ --pont-ref-layout-aspect-auto: auto;
825
920
 
826
- --pont-ref-typography-leading-of-xs: calc(1 / 0.75);
827
- --pont-ref-typography-leading-of-sm: calc(1.25 / 0.875);
828
- --pont-ref-typography-leading-of-base: calc(1.5 / 1);
829
- --pont-ref-typography-leading-of-lg: calc(1.75 / 1.125);
830
- --pont-ref-typography-leading-of-xl: calc(1.75 / 1.25);
831
- --pont-ref-typography-leading-of-2xl: calc(2 / 1.5);
832
- --pont-ref-typography-leading-of-3xl: calc(2.25 / 1.875);
833
- --pont-ref-typography-leading-of-4xl: calc(2.5 / 2.25);
834
- --pont-ref-typography-leading-of-5xl: 1;
835
- --pont-ref-typography-leading-of-6xl: 1;
836
- --pont-ref-typography-leading-of-7xl: 1;
837
- --pont-ref-typography-leading-of-8xl: 1;
838
- --pont-ref-typography-leading-of-9xl: 1;
921
+ --pont-ref-layout-aspect-square: 1 / 1;
922
+ --pont-ref-layout-aspect-video: 16 / 9;
839
923
  }
840
924
  }
841
925
 
842
- /* ./ref/color.css */
926
+ /* ./motion.css */
843
927
  /*
844
928
  * ===========================================================================
845
- * COLOR REFERENCE TOKENS
846
- * --pont-ref-color-*
929
+ * MOTION TOKENS
847
930
  * ===========================================================================
848
931
  */
849
932
 
850
933
  /*
851
934
  * --------------------------------------------------
852
- * COLOR PALETTE
935
+ * MOTION DURATION TOKENS
936
+ * `[transition|animation]-duration`, `[transition|animation]-delay`
853
937
  * --------------------------------------------------
854
938
  */
855
939
 
856
940
  @layer pont.tokens {
857
941
  :root {
858
- --pont-ref-color-red-50: oklch(97.1% 0.013 17.38);
859
- --pont-ref-color-red-100: oklch(93.6% 0.032 17.717);
860
- --pont-ref-color-red-200: oklch(88.5% 0.062 18.334);
861
- --pont-ref-color-red-300: oklch(80.8% 0.114 19.571);
862
- --pont-ref-color-red-400: oklch(70.4% 0.191 22.216);
863
- --pont-ref-color-red-500: oklch(63.7% 0.237 25.331);
864
- --pont-ref-color-red-600: oklch(57.7% 0.245 27.325);
865
- --pont-ref-color-red-700: oklch(50.5% 0.213 27.518);
866
- --pont-ref-color-red-800: oklch(44.4% 0.177 26.899);
867
- --pont-ref-color-red-900: oklch(39.6% 0.141 25.723);
868
- --pont-ref-color-red-950: oklch(25.8% 0.092 26.042);
869
-
870
- --pont-ref-color-orange-50: oklch(98% 0.016 73.684);
871
- --pont-ref-color-orange-100: oklch(95.4% 0.038 75.164);
872
- --pont-ref-color-orange-200: oklch(90.1% 0.076 70.697);
873
- --pont-ref-color-orange-300: oklch(83.7% 0.128 66.29);
874
- --pont-ref-color-orange-400: oklch(75% 0.183 55.934);
875
- --pont-ref-color-orange-500: oklch(70.5% 0.213 47.604);
876
- --pont-ref-color-orange-600: oklch(64.6% 0.222 41.116);
877
- --pont-ref-color-orange-700: oklch(55.3% 0.195 38.402);
878
- --pont-ref-color-orange-800: oklch(47% 0.157 37.304);
879
- --pont-ref-color-orange-900: oklch(40.8% 0.123 38.172);
880
- --pont-ref-color-orange-950: oklch(26.6% 0.079 36.259);
942
+ --pont-ref-motion-duration: 1ms;
881
943
 
882
- --pont-ref-color-amber-50: oklch(98.7% 0.022 95.277);
883
- --pont-ref-color-amber-100: oklch(96.2% 0.059 95.617);
884
- --pont-ref-color-amber-200: oklch(92.4% 0.12 95.746);
885
- --pont-ref-color-amber-300: oklch(87.9% 0.169 91.605);
886
- --pont-ref-color-amber-400: oklch(82.8% 0.189 84.429);
887
- --pont-ref-color-amber-500: oklch(76.9% 0.188 70.08);
888
- --pont-ref-color-amber-600: oklch(66.6% 0.179 58.318);
889
- --pont-ref-color-amber-700: oklch(55.5% 0.163 48.998);
890
- --pont-ref-color-amber-800: oklch(47.3% 0.137 46.201);
891
- --pont-ref-color-amber-900: oklch(41.4% 0.112 45.904);
892
- --pont-ref-color-amber-950: oklch(27.9% 0.077 45.635);
944
+ --pont-ref-motion-duration-s: calc(var(--pont-ref-motion-duration) * 1000);
945
+ }
946
+ }
893
947
 
894
- --pont-ref-color-yellow-50: oklch(98.7% 0.026 102.212);
895
- --pont-ref-color-yellow-100: oklch(97.3% 0.071 103.193);
896
- --pont-ref-color-yellow-200: oklch(94.5% 0.129 101.54);
897
- --pont-ref-color-yellow-300: oklch(90.5% 0.182 98.111);
898
- --pont-ref-color-yellow-400: oklch(85.2% 0.199 91.936);
899
- --pont-ref-color-yellow-500: oklch(79.5% 0.184 86.047);
900
- --pont-ref-color-yellow-600: oklch(68.1% 0.162 75.834);
901
- --pont-ref-color-yellow-700: oklch(55.4% 0.135 66.442);
902
- --pont-ref-color-yellow-800: oklch(47.6% 0.114 61.907);
903
- --pont-ref-color-yellow-900: oklch(42.1% 0.095 57.708);
904
- --pont-ref-color-yellow-950: oklch(28.6% 0.066 53.813);
948
+ /*
949
+ * --------------------------------------------------
950
+ * MOTION EASING TOKENS
951
+ * `[transition|animation]-timing-function`
952
+ * --------------------------------------------------
953
+ */
905
954
 
906
- --pont-ref-color-lime-50: oklch(98.6% 0.031 120.757);
907
- --pont-ref-color-lime-100: oklch(96.7% 0.067 122.328);
908
- --pont-ref-color-lime-200: oklch(93.8% 0.127 124.321);
909
- --pont-ref-color-lime-300: oklch(89.7% 0.196 126.665);
910
- --pont-ref-color-lime-400: oklch(84.1% 0.238 128.85);
911
- --pont-ref-color-lime-500: oklch(76.8% 0.233 130.85);
912
- --pont-ref-color-lime-600: oklch(64.8% 0.2 131.684);
913
- --pont-ref-color-lime-700: oklch(53.2% 0.157 131.589);
914
- --pont-ref-color-lime-800: oklch(45.3% 0.124 130.933);
915
- --pont-ref-color-lime-900: oklch(40.5% 0.101 131.063);
916
- --pont-ref-color-lime-950: oklch(27.4% 0.072 132.109);
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);
917
959
 
918
- --pont-ref-color-green-50: oklch(98.2% 0.018 155.826);
919
- --pont-ref-color-green-100: oklch(96.2% 0.044 156.743);
920
- --pont-ref-color-green-200: oklch(92.5% 0.084 155.995);
921
- --pont-ref-color-green-300: oklch(87.1% 0.15 154.449);
922
- --pont-ref-color-green-400: oklch(79.2% 0.209 151.711);
923
- --pont-ref-color-green-500: oklch(72.3% 0.219 149.579);
924
- --pont-ref-color-green-600: oklch(62.7% 0.194 149.214);
925
- --pont-ref-color-green-700: oklch(52.7% 0.154 150.069);
926
- --pont-ref-color-green-800: oklch(44.8% 0.119 151.328);
927
- --pont-ref-color-green-900: oklch(39.3% 0.095 152.535);
928
- --pont-ref-color-green-950: oklch(26.6% 0.065 152.934);
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);
929
963
 
930
- --pont-ref-color-emerald-50: oklch(97.9% 0.021 166.113);
931
- --pont-ref-color-emerald-100: oklch(95% 0.052 163.051);
932
- --pont-ref-color-emerald-200: oklch(90.5% 0.093 164.15);
933
- --pont-ref-color-emerald-300: oklch(84.5% 0.143 164.978);
934
- --pont-ref-color-emerald-400: oklch(76.5% 0.177 163.223);
935
- --pont-ref-color-emerald-500: oklch(69.6% 0.17 162.48);
936
- --pont-ref-color-emerald-600: oklch(59.6% 0.145 163.225);
937
- --pont-ref-color-emerald-700: oklch(50.8% 0.118 165.612);
938
- --pont-ref-color-emerald-800: oklch(43.2% 0.095 166.913);
939
- --pont-ref-color-emerald-900: oklch(37.8% 0.077 168.94);
940
- --pont-ref-color-emerald-950: oklch(26.2% 0.051 172.552);
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
+ }
941
969
 
942
- --pont-ref-color-teal-50: oklch(98.4% 0.014 180.72);
943
- --pont-ref-color-teal-100: oklch(95.3% 0.051 180.801);
944
- --pont-ref-color-teal-200: oklch(91% 0.096 180.426);
945
- --pont-ref-color-teal-300: oklch(85.5% 0.138 181.071);
946
- --pont-ref-color-teal-400: oklch(77.7% 0.152 181.912);
947
- --pont-ref-color-teal-500: oklch(70.4% 0.14 182.503);
948
- --pont-ref-color-teal-600: oklch(60% 0.118 184.704);
949
- --pont-ref-color-teal-700: oklch(51.1% 0.096 186.391);
950
- --pont-ref-color-teal-800: oklch(43.7% 0.078 188.216);
951
- --pont-ref-color-teal-900: oklch(38.6% 0.063 188.416);
952
- --pont-ref-color-teal-950: oklch(27.7% 0.046 192.524);
970
+ /*
971
+ * ---------------------------------------------------------------------------
972
+ * MOTION TRANSITION TOKENS
973
+ * ---------------------------------------------------------------------------
974
+ */
953
975
 
954
- --pont-ref-color-cyan-50: oklch(98.4% 0.019 200.873);
955
- --pont-ref-color-cyan-100: oklch(95.6% 0.045 203.388);
956
- --pont-ref-color-cyan-200: oklch(91.7% 0.08 205.041);
957
- --pont-ref-color-cyan-300: oklch(86.5% 0.127 207.078);
958
- --pont-ref-color-cyan-400: oklch(78.9% 0.154 211.53);
959
- --pont-ref-color-cyan-500: oklch(71.5% 0.143 215.221);
960
- --pont-ref-color-cyan-600: oklch(60.9% 0.126 221.723);
961
- --pont-ref-color-cyan-700: oklch(52% 0.105 223.128);
962
- --pont-ref-color-cyan-800: oklch(45% 0.085 224.283);
963
- --pont-ref-color-cyan-900: oklch(39.8% 0.07 227.392);
964
- --pont-ref-color-cyan-950: oklch(30.2% 0.056 229.695);
976
+ /*
977
+ * --------------------------------------------------
978
+ * MOTION TRANSITION PROPERTY TOKENS
979
+ * `transition-property`
980
+ * --------------------------------------------------
981
+ */
965
982
 
966
- --pont-ref-color-sky-50: oklch(97.7% 0.013 236.62);
967
- --pont-ref-color-sky-100: oklch(95.1% 0.026 236.824);
968
- --pont-ref-color-sky-200: oklch(90.1% 0.058 230.902);
969
- --pont-ref-color-sky-300: oklch(82.8% 0.111 230.318);
970
- --pont-ref-color-sky-400: oklch(74.6% 0.16 232.661);
971
- --pont-ref-color-sky-500: oklch(68.5% 0.169 237.323);
972
- --pont-ref-color-sky-600: oklch(58.8% 0.158 241.966);
973
- --pont-ref-color-sky-700: oklch(50% 0.134 242.749);
974
- --pont-ref-color-sky-800: oklch(44.3% 0.11 240.79);
975
- --pont-ref-color-sky-900: oklch(39.1% 0.09 240.876);
976
- --pont-ref-color-sky-950: oklch(29.3% 0.066 243.157);
983
+ @layer pont.tokens {
984
+ :root {
985
+ --pont-ref-motion-trans-property-all: all;
986
+ --pont-ref-motion-trans-property-none: none;
977
987
 
978
- --pont-ref-color-blue-50: oklch(97% 0.014 254.604);
979
- --pont-ref-color-blue-100: oklch(93.2% 0.032 255.585);
980
- --pont-ref-color-blue-200: oklch(88.2% 0.059 254.128);
981
- --pont-ref-color-blue-300: oklch(80.9% 0.105 251.813);
982
- --pont-ref-color-blue-400: oklch(70.7% 0.165 254.624);
983
- --pont-ref-color-blue-500: oklch(62.3% 0.214 259.815);
984
- --pont-ref-color-blue-600: oklch(54.6% 0.245 262.881);
985
- --pont-ref-color-blue-700: oklch(48.8% 0.243 264.376);
986
- --pont-ref-color-blue-800: oklch(42.4% 0.199 265.638);
987
- --pont-ref-color-blue-900: oklch(37.9% 0.146 265.522);
988
- --pont-ref-color-blue-950: oklch(28.2% 0.091 267.935);
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
+ }
989
998
 
990
- --pont-ref-color-indigo-50: oklch(96.2% 0.018 272.314);
991
- --pont-ref-color-indigo-100: oklch(93% 0.034 272.788);
992
- --pont-ref-color-indigo-200: oklch(87% 0.065 274.039);
993
- --pont-ref-color-indigo-300: oklch(78.5% 0.115 274.713);
994
- --pont-ref-color-indigo-400: oklch(67.3% 0.182 276.935);
995
- --pont-ref-color-indigo-500: oklch(58.5% 0.233 277.117);
996
- --pont-ref-color-indigo-600: oklch(51.1% 0.262 276.966);
997
- --pont-ref-color-indigo-700: oklch(45.7% 0.24 277.023);
998
- --pont-ref-color-indigo-800: oklch(39.8% 0.195 277.366);
999
- --pont-ref-color-indigo-900: oklch(35.9% 0.144 278.697);
1000
- --pont-ref-color-indigo-950: oklch(25.7% 0.09 281.288);
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
+ }
1001
1010
 
1002
- --pont-ref-color-violet-50: oklch(96.9% 0.016 293.756);
1003
- --pont-ref-color-violet-100: oklch(94.3% 0.029 294.588);
1004
- --pont-ref-color-violet-200: oklch(89.4% 0.057 293.283);
1005
- --pont-ref-color-violet-300: oklch(81.1% 0.111 293.571);
1006
- --pont-ref-color-violet-400: oklch(70.2% 0.183 293.541);
1007
- --pont-ref-color-violet-500: oklch(60.6% 0.25 292.717);
1008
- --pont-ref-color-violet-600: oklch(54.1% 0.281 293.009);
1009
- --pont-ref-color-violet-700: oklch(49.1% 0.27 292.581);
1010
- --pont-ref-color-violet-800: oklch(43.2% 0.232 292.759);
1011
- --pont-ref-color-violet-900: oklch(38% 0.189 293.745);
1012
- --pont-ref-color-violet-950: oklch(28.3% 0.141 291.089);
1011
+ /*
1012
+ * --------------------------------------------------
1013
+ * MOTION TRANSITION DURATION TOKENS
1014
+ * `transition-duration`, `transition-delay`
1015
+ * --------------------------------------------------
1016
+ */
1013
1017
 
1014
- --pont-ref-color-purple-50: oklch(97.7% 0.014 308.299);
1015
- --pont-ref-color-purple-100: oklch(94.6% 0.033 307.174);
1016
- --pont-ref-color-purple-200: oklch(90.2% 0.063 306.703);
1017
- --pont-ref-color-purple-300: oklch(82.7% 0.119 306.383);
1018
- --pont-ref-color-purple-400: oklch(71.4% 0.203 305.504);
1019
- --pont-ref-color-purple-500: oklch(62.7% 0.265 303.9);
1020
- --pont-ref-color-purple-600: oklch(55.8% 0.288 302.321);
1021
- --pont-ref-color-purple-700: oklch(49.6% 0.265 301.924);
1022
- --pont-ref-color-purple-800: oklch(43.8% 0.218 303.724);
1023
- --pont-ref-color-purple-900: oklch(38.1% 0.176 304.987);
1024
- --pont-ref-color-purple-950: oklch(29.1% 0.149 302.717);
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
+ }
1025
1031
 
1026
- --pont-ref-color-fuchsia-50: oklch(97.7% 0.017 320.058);
1027
- --pont-ref-color-fuchsia-100: oklch(95.2% 0.037 318.852);
1028
- --pont-ref-color-fuchsia-200: oklch(90.3% 0.076 319.62);
1029
- --pont-ref-color-fuchsia-300: oklch(83.3% 0.145 321.434);
1030
- --pont-ref-color-fuchsia-400: oklch(74% 0.238 322.16);
1031
- --pont-ref-color-fuchsia-500: oklch(66.7% 0.295 322.15);
1032
- --pont-ref-color-fuchsia-600: oklch(59.1% 0.293 322.896);
1033
- --pont-ref-color-fuchsia-700: oklch(51.8% 0.253 323.949);
1034
- --pont-ref-color-fuchsia-800: oklch(45.2% 0.211 324.591);
1035
- --pont-ref-color-fuchsia-900: oklch(40.1% 0.17 325.612);
1036
- --pont-ref-color-fuchsia-950: oklch(29.3% 0.136 325.661);
1032
+ /*
1033
+ * --------------------------------------------------
1034
+ * MOTION TRANSITION EASING TOKENS
1035
+ * `transition-timing-function`
1036
+ * --------------------------------------------------
1037
+ */
1037
1038
 
1038
- --pont-ref-color-pink-50: oklch(97.1% 0.014 343.198);
1039
- --pont-ref-color-pink-100: oklch(94.8% 0.028 342.258);
1040
- --pont-ref-color-pink-200: oklch(89.9% 0.061 343.231);
1041
- --pont-ref-color-pink-300: oklch(82.3% 0.12 346.018);
1042
- --pont-ref-color-pink-400: oklch(71.8% 0.202 349.761);
1043
- --pont-ref-color-pink-500: oklch(65.6% 0.241 354.308);
1044
- --pont-ref-color-pink-600: oklch(59.2% 0.249 0.584);
1045
- --pont-ref-color-pink-700: oklch(52.5% 0.223 3.958);
1046
- --pont-ref-color-pink-800: oklch(45.9% 0.187 3.815);
1047
- --pont-ref-color-pink-900: oklch(40.8% 0.153 2.432);
1048
- --pont-ref-color-pink-950: oklch(28.4% 0.109 3.907);
1039
+ @layer pont.tokens {
1040
+ :root {
1041
+ --pont-sem-motion-trans-easing: var(--pont-ref-motion-easing-ease-in-out);
1042
+ }
1043
+ }
1049
1044
 
1050
- --pont-ref-color-rose-50: oklch(96.9% 0.015 12.422);
1051
- --pont-ref-color-rose-100: oklch(94.1% 0.03 12.58);
1052
- --pont-ref-color-rose-200: oklch(89.2% 0.058 10.001);
1053
- --pont-ref-color-rose-300: oklch(81% 0.117 11.638);
1054
- --pont-ref-color-rose-400: oklch(71.2% 0.194 13.428);
1055
- --pont-ref-color-rose-500: oklch(64.5% 0.246 16.439);
1056
- --pont-ref-color-rose-600: oklch(58.6% 0.253 17.585);
1057
- --pont-ref-color-rose-700: oklch(51.4% 0.222 16.935);
1058
- --pont-ref-color-rose-800: oklch(45.5% 0.188 13.697);
1059
- --pont-ref-color-rose-900: oklch(41% 0.159 10.272);
1060
- --pont-ref-color-rose-950: oklch(27.1% 0.105 12.094);
1045
+ /*
1046
+ * ---------------------------------------------------------------------------
1047
+ * MOTION ANIMATION TOKENS
1048
+ * ---------------------------------------------------------------------------
1049
+ */
1061
1050
 
1062
- --pont-ref-color-slate-50: oklch(98.4% 0.003 247.858);
1063
- --pont-ref-color-slate-100: oklch(96.8% 0.007 247.896);
1064
- --pont-ref-color-slate-200: oklch(92.9% 0.013 255.508);
1065
- --pont-ref-color-slate-300: oklch(86.9% 0.022 252.894);
1066
- --pont-ref-color-slate-400: oklch(70.4% 0.04 256.788);
1067
- --pont-ref-color-slate-500: oklch(55.4% 0.046 257.417);
1068
- --pont-ref-color-slate-600: oklch(44.6% 0.043 257.281);
1069
- --pont-ref-color-slate-700: oklch(37.2% 0.044 257.287);
1070
- --pont-ref-color-slate-800: oklch(27.9% 0.041 260.031);
1071
- --pont-ref-color-slate-900: oklch(20.8% 0.042 265.755);
1072
- --pont-ref-color-slate-950: oklch(12.9% 0.042 264.695);
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
+ */
1098
+
1099
+ @layer pont.tokens {
1100
+ :root {
1101
+ --pont-sem-motion-anim-easing: var(--pont-ref-motion-easing-ease);
1102
+
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
+ }
1109
+
1110
+ /*
1111
+ * --------------------------------------------------
1112
+ * MOTION ANIMATION ITERATION TOKENS
1113
+ * `animation-iteration-count`
1114
+ * --------------------------------------------------
1115
+ */
1116
+
1117
+ @layer pont.tokens {
1118
+ :root {
1119
+ --pont-ref-motion-anim-iteration-infinite: infinite;
1120
+ }
1121
+ }
1122
+
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
+ }
1139
+
1140
+ /*
1141
+ * --------------------------------------------------
1142
+ * MOTION ANIMATION 'COMPOSITE' TOKENS
1143
+ * `animation`
1144
+ * --------------------------------------------------
1145
+ */
1146
+
1147
+ @layer pont.tokens {
1148
+ :root {
1149
+ --pont-ref-motion-anim-none: none;
1150
+ }
1151
+ }
1152
+
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);
1073
1159
 
1074
- --pont-ref-color-gray-50: oklch(98.5% 0.002 247.839);
1075
- --pont-ref-color-gray-100: oklch(96.7% 0.003 264.542);
1076
- --pont-ref-color-gray-200: oklch(92.8% 0.006 264.531);
1077
- --pont-ref-color-gray-300: oklch(87.2% 0.01 258.338);
1078
- --pont-ref-color-gray-400: oklch(70.7% 0.022 261.325);
1079
- --pont-ref-color-gray-500: oklch(55.1% 0.027 264.364);
1080
- --pont-ref-color-gray-600: oklch(44.6% 0.03 256.802);
1081
- --pont-ref-color-gray-700: oklch(37.3% 0.034 259.733);
1082
- --pont-ref-color-gray-800: oklch(27.8% 0.033 256.848);
1083
- --pont-ref-color-gray-900: oklch(21% 0.034 264.665);
1084
- --pont-ref-color-gray-950: oklch(13% 0.028 261.692);
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);
1085
1164
 
1086
- --pont-ref-color-zinc-50: oklch(98.5% 0 0);
1087
- --pont-ref-color-zinc-100: oklch(96.7% 0.001 286.375);
1088
- --pont-ref-color-zinc-200: oklch(92% 0.004 286.32);
1089
- --pont-ref-color-zinc-300: oklch(87.1% 0.006 286.286);
1090
- --pont-ref-color-zinc-400: oklch(70.5% 0.015 286.067);
1091
- --pont-ref-color-zinc-500: oklch(55.2% 0.016 285.938);
1092
- --pont-ref-color-zinc-600: oklch(44.2% 0.017 285.786);
1093
- --pont-ref-color-zinc-700: oklch(37% 0.013 285.805);
1094
- --pont-ref-color-zinc-800: oklch(27.4% 0.006 286.033);
1095
- --pont-ref-color-zinc-900: oklch(21% 0.006 285.885);
1096
- --pont-ref-color-zinc-950: oklch(14.1% 0.005 285.823);
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);
1097
1169
 
1098
- --pont-ref-color-neutral-50: oklch(98.5% 0 0);
1099
- --pont-ref-color-neutral-100: oklch(97% 0 0);
1100
- --pont-ref-color-neutral-200: oklch(92.2% 0 0);
1101
- --pont-ref-color-neutral-300: oklch(87% 0 0);
1102
- --pont-ref-color-neutral-400: oklch(70.8% 0 0);
1103
- --pont-ref-color-neutral-500: oklch(55.6% 0 0);
1104
- --pont-ref-color-neutral-600: oklch(43.9% 0 0);
1105
- --pont-ref-color-neutral-700: oklch(37.1% 0 0);
1106
- --pont-ref-color-neutral-800: oklch(26.9% 0 0);
1107
- --pont-ref-color-neutral-900: oklch(20.5% 0 0);
1108
- --pont-ref-color-neutral-950: oklch(14.5% 0 0);
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
+ }
1109
1176
 
1110
- --pont-ref-color-stone-50: oklch(98.5% 0.001 106.423);
1111
- --pont-ref-color-stone-100: oklch(97% 0.001 106.424);
1112
- --pont-ref-color-stone-200: oklch(92.3% 0.003 48.717);
1113
- --pont-ref-color-stone-300: oklch(86.9% 0.005 56.366);
1114
- --pont-ref-color-stone-400: oklch(70.9% 0.01 56.259);
1115
- --pont-ref-color-stone-500: oklch(55.3% 0.013 58.071);
1116
- --pont-ref-color-stone-600: oklch(44.4% 0.011 73.639);
1117
- --pont-ref-color-stone-700: oklch(37.4% 0.01 67.558);
1118
- --pont-ref-color-stone-800: oklch(26.8% 0.007 34.298);
1119
- --pont-ref-color-stone-900: oklch(21.6% 0.006 56.043);
1120
- --pont-ref-color-stone-950: oklch(14.7% 0.004 49.25);
1177
+ /* ./opacity.css */
1178
+ /*
1179
+ * ===========================================================================
1180
+ * OPACITY TOKENS
1181
+ * ---------------------------------------------------------------------------
1182
+ * `opacity`
1183
+ * ===========================================================================
1184
+ */
1121
1185
 
1122
- --pont-ref-color-mauve-50: oklch(98.5% 0 0);
1123
- --pont-ref-color-mauve-100: oklch(96% 0.003 325.6);
1124
- --pont-ref-color-mauve-200: oklch(92.2% 0.005 325.62);
1125
- --pont-ref-color-mauve-300: oklch(86.5% 0.012 325.68);
1126
- --pont-ref-color-mauve-400: oklch(71.1% 0.019 323.02);
1127
- --pont-ref-color-mauve-500: oklch(54.2% 0.034 322.5);
1128
- --pont-ref-color-mauve-600: oklch(43.5% 0.029 321.78);
1129
- --pont-ref-color-mauve-700: oklch(36.4% 0.029 323.89);
1130
- --pont-ref-color-mauve-800: oklch(26.3% 0.024 320.12);
1131
- --pont-ref-color-mauve-900: oklch(21.2% 0.019 322.12);
1132
- --pont-ref-color-mauve-950: oklch(14.5% 0.008 326);
1186
+ /*
1187
+ * --------------------------------------------------
1188
+ * OPACITY REFERENCE TOKENS
1189
+ * --------------------------------------------------
1190
+ */
1133
1191
 
1134
- --pont-ref-color-olive-50: oklch(98.8% 0.003 106.5);
1135
- --pont-ref-color-olive-100: oklch(96.6% 0.005 106.5);
1136
- --pont-ref-color-olive-200: oklch(93% 0.007 106.5);
1137
- --pont-ref-color-olive-300: oklch(88% 0.011 106.6);
1138
- --pont-ref-color-olive-400: oklch(73.7% 0.021 106.9);
1139
- --pont-ref-color-olive-500: oklch(58% 0.031 107.3);
1140
- --pont-ref-color-olive-600: oklch(46.6% 0.025 107.3);
1141
- --pont-ref-color-olive-700: oklch(39.4% 0.023 107.4);
1142
- --pont-ref-color-olive-800: oklch(28.6% 0.016 107.4);
1143
- --pont-ref-color-olive-900: oklch(22.8% 0.013 107.4);
1144
- --pont-ref-color-olive-950: oklch(15.3% 0.006 107.1);
1192
+ @layer pont.tokens {
1193
+ :root {
1194
+ /* Anchor/seed value */
1195
+ --pont-ref-opacity: 0.01;
1145
1196
 
1146
- --pont-ref-color-mist-50: oklch(98.7% 0.002 197.1);
1147
- --pont-ref-color-mist-100: oklch(96.3% 0.002 197.1);
1148
- --pont-ref-color-mist-200: oklch(92.5% 0.005 214.3);
1149
- --pont-ref-color-mist-300: oklch(87.2% 0.007 219.6);
1150
- --pont-ref-color-mist-400: oklch(72.3% 0.014 214.4);
1151
- --pont-ref-color-mist-500: oklch(56% 0.021 213.5);
1152
- --pont-ref-color-mist-600: oklch(45% 0.017 213.2);
1153
- --pont-ref-color-mist-700: oklch(37.8% 0.015 216);
1154
- --pont-ref-color-mist-800: oklch(27.5% 0.011 216.9);
1155
- --pont-ref-color-mist-900: oklch(21.8% 0.008 223.9);
1156
- --pont-ref-color-mist-950: oklch(14.8% 0.004 228.8);
1197
+ /* Absolute values */
1198
+ --pont-ref-opacity-none: 0;
1199
+ --pont-ref-opacity-full: 1;
1200
+ }
1201
+ }
1157
1202
 
1158
- --pont-ref-color-taupe-50: oklch(98.6% 0.002 67.8);
1159
- --pont-ref-color-taupe-100: oklch(96% 0.002 17.2);
1160
- --pont-ref-color-taupe-200: oklch(92.2% 0.005 34.3);
1161
- --pont-ref-color-taupe-300: oklch(86.8% 0.007 39.5);
1162
- --pont-ref-color-taupe-400: oklch(71.4% 0.014 41.2);
1163
- --pont-ref-color-taupe-500: oklch(54.7% 0.021 43.1);
1164
- --pont-ref-color-taupe-600: oklch(43.8% 0.017 39.3);
1165
- --pont-ref-color-taupe-700: oklch(36.7% 0.016 35.7);
1166
- --pont-ref-color-taupe-800: oklch(26.8% 0.011 36.5);
1167
- --pont-ref-color-taupe-900: oklch(21.4% 0.009 43.1);
1168
- --pont-ref-color-taupe-950: oklch(14.7% 0.004 49.3);
1203
+ /*
1204
+ * --------------------------------------------------
1205
+ * OPACITY SEMANTIC TOKENS
1206
+ * --------------------------------------------------
1207
+ */
1169
1208
 
1170
- --pont-ref-color-black: #000;
1171
- --pont-ref-color-white: #fff;
1209
+ @layer pont.tokens {
1210
+ :root {
1211
+ /* Anchor/seed value */
1212
+ --pont-sem-opacity-disabled: calc(var(--pont-ref-opacity) * 50);
1172
1213
  }
1173
1214
  }
1174
1215
 
1216
+ /* ./radius.css */
1217
+ /*
1218
+ * ===========================================================================
1219
+ * RADIUS TOKENS
1220
+ * ---------------------------------------------------------------------------
1221
+ * `border-radius`
1222
+ * ===========================================================================
1223
+ */
1224
+
1175
1225
  /*
1176
1226
  * --------------------------------------------------
1177
- * COLOR ROLES
1227
+ * RADIUS REFERENCE TOKENS
1178
1228
  * --------------------------------------------------
1179
1229
  */
1180
1230
 
1181
1231
  @layer pont.tokens {
1182
1232
  :root {
1183
- --pont-ref-color-base-50: var(--pont-ref-color-neutral-50);
1184
- --pont-ref-color-base-100: var(--pont-ref-color-neutral-100);
1185
- --pont-ref-color-base-200: var(--pont-ref-color-neutral-200);
1186
- --pont-ref-color-base-300: var(--pont-ref-color-neutral-300);
1187
- --pont-ref-color-base-400: var(--pont-ref-color-neutral-400);
1188
- --pont-ref-color-base-500: var(--pont-ref-color-neutral-500);
1189
- --pont-ref-color-base-600: var(--pont-ref-color-neutral-600);
1190
- --pont-ref-color-base-700: var(--pont-ref-color-neutral-700);
1191
- --pont-ref-color-base-800: var(--pont-ref-color-neutral-800);
1192
- --pont-ref-color-base-900: var(--pont-ref-color-neutral-900);
1193
- --pont-ref-color-base-950: var(--pont-ref-color-neutral-950);
1233
+ /* Anchor/seed value */
1234
+ --pont-ref-radius: 0.625rem;
1194
1235
 
1195
- --pont-ref-color-brand-50: var(--pont-ref-color-neutral-50);
1196
- --pont-ref-color-brand-100: var(--pont-ref-color-neutral-100);
1197
- --pont-ref-color-brand-200: var(--pont-ref-color-neutral-200);
1198
- --pont-ref-color-brand-300: var(--pont-ref-color-neutral-300);
1199
- --pont-ref-color-brand-400: var(--pont-ref-color-neutral-400);
1200
- --pont-ref-color-brand-500: var(--pont-ref-color-neutral-500);
1201
- --pont-ref-color-brand-600: var(--pont-ref-color-neutral-600);
1202
- --pont-ref-color-brand-700: var(--pont-ref-color-neutral-700);
1203
- --pont-ref-color-brand-800: var(--pont-ref-color-neutral-800);
1204
- --pont-ref-color-brand-900: var(--pont-ref-color-neutral-900);
1205
- --pont-ref-color-brand-950: var(--pont-ref-color-neutral-950);
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);
1206
1245
 
1207
- --pont-ref-color-destructive-50: var(--pont-ref-color-red-50);
1208
- --pont-ref-color-destructive-100: var(--pont-ref-color-red-100);
1209
- --pont-ref-color-destructive-200: var(--pont-ref-color-red-200);
1210
- --pont-ref-color-destructive-300: var(--pont-ref-color-red-300);
1211
- --pont-ref-color-destructive-400: var(--pont-ref-color-red-400);
1212
- --pont-ref-color-destructive-500: var(--pont-ref-color-red-500);
1213
- --pont-ref-color-destructive-600: var(--pont-ref-color-red-600);
1214
- --pont-ref-color-destructive-700: var(--pont-ref-color-red-700);
1215
- --pont-ref-color-destructive-800: var(--pont-ref-color-red-800);
1216
- --pont-ref-color-destructive-900: var(--pont-ref-color-red-900);
1217
- --pont-ref-color-destructive-950: var(--pont-ref-color-red-950);
1246
+ /* Absolute values */
1247
+ --pont-ref-radius-none: 0;
1248
+ --pont-ref-radius-full: calc(infinity * 1rem);
1249
+ }
1250
+ }
1218
1251
 
1219
- --pont-ref-color-warning-50: var(--pont-ref-color-amber-50);
1220
- --pont-ref-color-warning-100: var(--pont-ref-color-amber-100);
1221
- --pont-ref-color-warning-200: var(--pont-ref-color-amber-200);
1222
- --pont-ref-color-warning-300: var(--pont-ref-color-amber-300);
1223
- --pont-ref-color-warning-400: var(--pont-ref-color-amber-400);
1224
- --pont-ref-color-warning-500: var(--pont-ref-color-amber-500);
1225
- --pont-ref-color-warning-600: var(--pont-ref-color-amber-600);
1226
- --pont-ref-color-warning-700: var(--pont-ref-color-amber-700);
1227
- --pont-ref-color-warning-800: var(--pont-ref-color-amber-800);
1228
- --pont-ref-color-warning-900: var(--pont-ref-color-amber-900);
1229
- --pont-ref-color-warning-950: var(--pont-ref-color-amber-950);
1252
+ /* ./typography.css */
1253
+ /*
1254
+ * ===========================================================================
1255
+ * TYPOGRAPHY TOKENS
1256
+ * ===========================================================================
1257
+ */
1230
1258
 
1231
- --pont-ref-color-success-50: var(--pont-ref-color-green-50);
1232
- --pont-ref-color-success-100: var(--pont-ref-color-green-100);
1233
- --pont-ref-color-success-200: var(--pont-ref-color-green-200);
1234
- --pont-ref-color-success-300: var(--pont-ref-color-green-300);
1235
- --pont-ref-color-success-400: var(--pont-ref-color-green-400);
1236
- --pont-ref-color-success-500: var(--pont-ref-color-green-500);
1237
- --pont-ref-color-success-600: var(--pont-ref-color-green-600);
1238
- --pont-ref-color-success-700: var(--pont-ref-color-green-700);
1239
- --pont-ref-color-success-800: var(--pont-ref-color-green-800);
1240
- --pont-ref-color-success-900: var(--pont-ref-color-green-900);
1241
- --pont-ref-color-success-950: var(--pont-ref-color-green-950);
1259
+ /*
1260
+ * ---------------------------------------------------------------------------
1261
+ * TYPOGRAPHY FONT TOKENS
1262
+ * ---------------------------------------------------------------------------
1263
+ * `font-family`
1264
+ * ---------------------------------------------------------------------------
1265
+ */
1242
1266
 
1243
- --pont-ref-color-info-50: var(--pont-ref-color-blue-50);
1244
- --pont-ref-color-info-100: var(--pont-ref-color-blue-100);
1245
- --pont-ref-color-info-200: var(--pont-ref-color-blue-200);
1246
- --pont-ref-color-info-300: var(--pont-ref-color-blue-300);
1247
- --pont-ref-color-info-400: var(--pont-ref-color-blue-400);
1248
- --pont-ref-color-info-500: var(--pont-ref-color-blue-500);
1249
- --pont-ref-color-info-600: var(--pont-ref-color-blue-600);
1250
- --pont-ref-color-info-700: var(--pont-ref-color-blue-700);
1251
- --pont-ref-color-info-800: var(--pont-ref-color-blue-800);
1252
- --pont-ref-color-info-900: var(--pont-ref-color-blue-900);
1253
- --pont-ref-color-info-950: var(--pont-ref-color-blue-950);
1267
+ /*
1268
+ * --------------------------------------------------
1269
+ * TYPOGRAPHY FONT REFERENCE TOKENS
1270
+ * --------------------------------------------------
1271
+ */
1272
+
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;
1282
+
1283
+ --pont-ref-typography-font-mono:
1284
+ ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
1285
+ "Courier New", monospace;
1254
1286
  }
1255
1287
  }
1256
1288
 
1257
- /* ./sem/color.css */
1258
1289
  /*
1259
- * sem · colour roles: shadcn's set plus pont's status colours, built on the
1260
- * ref colour roles (ref/color.css). The theme mode lives here and only here
1261
- * (docs/11-tokens.md §6).
1262
- *
1263
- * Defaults reproduce shadcn's neutral theme exactly. `primary` and
1264
- * `primary-foreground` read the `brand` ramp (neutral by default), so
1265
- * re-pointing brand re-colours primary surfaces.
1266
- *
1267
- * Dark mode: shadcn's `.dark` class AND pontkit's `[data-theme="dark"]`, on
1268
- * any ancestor (usually <html>). The block is re-declared on that element, so
1269
- * its sem tokens are resolved there.
1290
+ * --------------------------------------------------
1291
+ * TYPOGRAPHY FONT SEMANTIC TOKENS
1292
+ * --------------------------------------------------
1270
1293
  */
1294
+
1271
1295
  @layer pont.tokens {
1272
1296
  :root {
1273
- --pont-sem-color-background: var(--pont-ref-color-white);
1274
- --pont-sem-color-foreground: var(--pont-ref-color-base-950);
1275
- --pont-sem-color-card: var(--pont-ref-color-white);
1276
- --pont-sem-color-card-foreground: var(--pont-ref-color-base-950);
1277
- --pont-sem-color-popover: var(--pont-ref-color-white);
1278
- --pont-sem-color-popover-foreground: var(--pont-ref-color-base-950);
1279
- --pont-sem-color-primary: var(--pont-ref-color-brand-900);
1280
- --pont-sem-color-primary-foreground: var(--pont-ref-color-brand-50);
1281
- --pont-sem-color-secondary: var(--pont-ref-color-base-100);
1282
- --pont-sem-color-secondary-foreground: var(--pont-ref-color-base-900);
1283
- --pont-sem-color-muted: var(--pont-ref-color-base-100);
1284
- --pont-sem-color-muted-foreground: var(--pont-ref-color-base-500);
1285
- --pont-sem-color-accent: var(--pont-ref-color-base-100);
1286
- --pont-sem-color-accent-foreground: var(--pont-ref-color-base-900);
1287
- --pont-sem-color-border: var(--pont-ref-color-base-200);
1288
- --pont-sem-color-input: var(--pont-ref-color-base-200);
1289
- --pont-sem-color-ring: var(--pont-ref-color-base-400);
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
+ }
1290
1302
 
1291
- /* Interaction roles: what shadcn writes as `dark:` utilities, as tokens, so
1292
- component CSS has no mode rules (docs/11-tokens.md §6).
1293
- control an outline control's surface (outline button)
1294
- control-hover …hovered
1295
- control-border …its border
1296
- field a text field's surface (input)
1297
- surface-hover hovering a transparent surface (ghost button, menu items) */
1298
- --pont-sem-color-control: var(--pont-sem-color-background);
1299
- --pont-sem-color-control-hover: var(--pont-sem-color-muted);
1300
- --pont-sem-color-control-border: var(--pont-sem-color-border);
1301
- --pont-sem-color-field: transparent;
1302
- --pont-sem-color-surface-hover: var(--pont-sem-color-muted);
1303
- /* …and more roles from shadcn's `dark:` utilities:
1304
- field-hover a select trigger hovered (no change in light)
1305
- track a switch's unchecked track
1306
- thumb / -checked a switch's thumb, off / on
1307
- segment-fg an inactive segment (tabs trigger)
1308
- segment-active the active segment's fill / -border its border
1309
- primary-subtle a checked choice card's fill / -border its border
1310
- inverse-subtle a chip on an inverted surface (kbd in a tooltip) */
1311
- --pont-sem-color-field-hover: var(--pont-sem-color-field);
1312
- --pont-sem-color-track: var(--pont-sem-color-input);
1313
- --pont-sem-color-thumb: var(--pont-sem-color-background);
1314
- --pont-sem-color-thumb-checked: var(--pont-sem-color-background);
1315
- --pont-sem-color-segment-fg: color-mix(in oklab, var(--pont-sem-color-foreground) 60%, transparent);
1316
- --pont-sem-color-segment-active: var(--pont-sem-color-background);
1317
- --pont-sem-color-segment-active-border: transparent;
1318
- --pont-sem-color-primary-subtle: color-mix(in oklab, var(--pont-sem-color-primary) 5%, transparent);
1319
- --pont-sem-color-primary-subtle-border: color-mix(in oklab, var(--pont-sem-color-primary) 30%, transparent);
1320
- --pont-sem-color-inverse-subtle: color-mix(in oklab, var(--pont-sem-color-background) 20%, transparent);
1303
+ /*
1304
+ * ---------------------------------------------------------------------------
1305
+ * TYPOGRAPHY SIZE TOKENS
1306
+ * ---------------------------------------------------------------------------
1307
+ * `font-size`
1308
+ * ---------------------------------------------------------------------------
1309
+ */
1321
1310
 
1322
- /* Destructive tints: a subtle fill (destructive button), its hover, an
1323
- invalid control's border, and the invalid / destructive focus ring. */
1324
- --pont-sem-color-destructive-subtle: color-mix(in oklab, var(--pont-sem-color-destructive) 10%, transparent);
1325
- --pont-sem-color-destructive-subtle-hover: color-mix(in oklab, var(--pont-sem-color-destructive) 20%, transparent);
1326
- --pont-sem-color-destructive-border: var(--pont-sem-color-destructive);
1327
- --pont-sem-color-destructive-ring: color-mix(in oklab, var(--pont-sem-color-destructive) 20%, transparent);
1311
+ /*
1312
+ * --------------------------------------------------
1313
+ * TYPOGRAPHY SIZE REFERENCE TOKENS
1314
+ * --------------------------------------------------
1315
+ */
1328
1316
 
1329
- /* Status. destructive is shadcn's; success/warning/info are pont additions,
1330
- read only by kit composites (pont-alert status=…). success uses step 700
1331
- (500 in dark) to keep text contrast on light surfaces. */
1332
- --pont-sem-color-destructive: var(--pont-ref-color-destructive-600);
1333
- --pont-sem-color-success: var(--pont-ref-color-success-700);
1334
- --pont-sem-color-warning: var(--pont-ref-color-warning-600);
1335
- --pont-sem-color-info: var(--pont-ref-color-info-600);
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
+ }
1336
1334
 
1337
- --pont-sem-color-chart-1: var(--pont-ref-color-brand-300);
1338
- --pont-sem-color-chart-2: var(--pont-ref-color-brand-500);
1339
- --pont-sem-color-chart-3: var(--pont-ref-color-brand-600);
1340
- --pont-sem-color-chart-4: var(--pont-ref-color-brand-700);
1341
- --pont-sem-color-chart-5: var(--pont-ref-color-brand-800);
1335
+ /*
1336
+ * ---------------------------------------------------------------------------
1337
+ * TYPOGRAPHY WEIGHT TOKENS
1338
+ * ---------------------------------------------------------------------------
1339
+ * `font-weight`
1340
+ * ---------------------------------------------------------------------------
1341
+ */
1342
1342
 
1343
- color-scheme: light;
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;
1344
1360
  }
1361
+ }
1345
1362
 
1346
- :root.dark,
1347
- :root[data-theme="dark"],
1348
- .dark,
1349
- [data-theme="dark"] {
1350
- --pont-sem-color-background: var(--pont-ref-color-base-950);
1351
- --pont-sem-color-foreground: var(--pont-ref-color-base-50);
1352
- --pont-sem-color-card: var(--pont-ref-color-base-900);
1353
- --pont-sem-color-card-foreground: var(--pont-ref-color-base-50);
1354
- --pont-sem-color-popover: var(--pont-ref-color-base-900);
1355
- --pont-sem-color-popover-foreground: var(--pont-ref-color-base-50);
1356
- --pont-sem-color-primary: var(--pont-ref-color-brand-200);
1357
- --pont-sem-color-primary-foreground: var(--pont-ref-color-brand-900);
1358
- --pont-sem-color-secondary: var(--pont-ref-color-base-800);
1359
- --pont-sem-color-secondary-foreground: var(--pont-ref-color-base-50);
1360
- --pont-sem-color-muted: var(--pont-ref-color-base-800);
1361
- --pont-sem-color-muted-foreground: var(--pont-ref-color-base-400);
1362
- --pont-sem-color-accent: var(--pont-ref-color-base-800);
1363
- --pont-sem-color-accent-foreground: var(--pont-ref-color-base-50);
1364
- --pont-sem-color-border: color-mix(in oklab, var(--pont-ref-color-white) 10%, transparent);
1365
- --pont-sem-color-input: color-mix(in oklab, var(--pont-ref-color-white) 15%, transparent);
1366
- --pont-sem-color-ring: var(--pont-ref-color-base-500);
1363
+ /*
1364
+ * ---------------------------------------------------------------------------
1365
+ * TYPOGRAPHY TRACKING TOKENS
1366
+ * ---------------------------------------------------------------------------
1367
+ * `letter-spacing`
1368
+ * ---------------------------------------------------------------------------
1369
+ */
1367
1370
 
1368
- --pont-sem-color-control: color-mix(in oklab, var(--pont-sem-color-input) 30%, transparent);
1369
- --pont-sem-color-control-hover: color-mix(in oklab, var(--pont-sem-color-input) 50%, transparent);
1370
- --pont-sem-color-control-border: var(--pont-sem-color-input);
1371
- --pont-sem-color-field: color-mix(in oklab, var(--pont-sem-color-input) 30%, transparent);
1372
- --pont-sem-color-surface-hover: color-mix(in oklab, var(--pont-sem-color-muted) 50%, transparent);
1373
- --pont-sem-color-field-hover: color-mix(in oklab, var(--pont-sem-color-input) 50%, transparent);
1374
- --pont-sem-color-track: color-mix(in oklab, var(--pont-sem-color-input) 80%, transparent);
1375
- --pont-sem-color-thumb: var(--pont-sem-color-foreground);
1376
- --pont-sem-color-thumb-checked: var(--pont-sem-color-primary-foreground);
1377
- --pont-sem-color-segment-fg: var(--pont-sem-color-muted-foreground);
1378
- --pont-sem-color-segment-active: color-mix(in oklab, var(--pont-sem-color-input) 30%, transparent);
1379
- --pont-sem-color-segment-active-border: var(--pont-sem-color-input);
1380
- --pont-sem-color-primary-subtle: color-mix(in oklab, var(--pont-sem-color-primary) 10%, transparent);
1381
- --pont-sem-color-primary-subtle-border: color-mix(in oklab, var(--pont-sem-color-primary) 20%, transparent);
1382
- --pont-sem-color-inverse-subtle: color-mix(in oklab, var(--pont-sem-color-background) 10%, transparent);
1371
+ /*
1372
+ * --------------------------------------------------
1373
+ * TYPOGRAPHY TRACKING REFERENCE TOKENS
1374
+ * --------------------------------------------------
1375
+ */
1383
1376
 
1384
- --pont-sem-color-destructive-subtle: color-mix(in oklab, var(--pont-sem-color-destructive) 20%, transparent);
1385
- --pont-sem-color-destructive-subtle-hover: color-mix(in oklab, var(--pont-sem-color-destructive) 30%, transparent);
1386
- --pont-sem-color-destructive-border: color-mix(in oklab, var(--pont-sem-color-destructive) 50%, transparent);
1387
- --pont-sem-color-destructive-ring: color-mix(in oklab, var(--pont-sem-color-destructive) 40%, transparent);
1377
+ @layer pont.tokens {
1378
+ :root {
1379
+ --pont-ref-typography-tracking: 0.01em;
1388
1380
 
1389
- --pont-sem-color-destructive: var(--pont-ref-color-destructive-400);
1390
- --pont-sem-color-success: var(--pont-ref-color-success-500);
1391
- --pont-sem-color-warning: var(--pont-ref-color-warning-400);
1392
- --pont-sem-color-info: var(--pont-ref-color-info-400);
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
+ );
1399
+ }
1400
+ }
1393
1401
 
1394
- color-scheme: dark;
1402
+ /*
1403
+ * ---------------------------------------------------------------------------
1404
+ * TYPOGRAPHY LEADING TOKENS
1405
+ * ---------------------------------------------------------------------------
1406
+ * `line-height`
1407
+ * ---------------------------------------------------------------------------
1408
+ */
1409
+
1410
+ /*
1411
+ * --------------------------------------------------
1412
+ * TYPOGRAPHY LEADING REFERENCE TOKENS
1413
+ * --------------------------------------------------
1414
+ */
1415
+
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;
1424
+
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;
1395
1438
  }
1396
1439
  }
1397
1440