@pontive/pontkit-core 3.4.0 → 4.0.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/ (the colour roles:
40
+ * light-mode.css, dark-mode.css); 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,1878 @@
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);
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);
360
392
 
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);
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);
364
404
 
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);
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);
368
416
  }
369
417
  }
370
418
 
371
- /*
372
- * ---------------------------------------------------------------------------
373
- * MOTION TRANSITION TOKENS
374
- * ---------------------------------------------------------------------------
375
- */
419
+ @layer pont.tokens {
420
+ :root {
421
+ --pont-ref-color-transparent: transparent;
422
+ --pont-ref-color-current: currentColor;
423
+
424
+ --pont-ref-color-white: #ffffff;
425
+ --pont-ref-color-black: #000000;
426
+
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);
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);
450
+
451
+ --pont-ref-color-destructive-50: var(--pont-ref-color-red-50);
452
+ --pont-ref-color-destructive-100: var(--pont-ref-color-red-100);
453
+ --pont-ref-color-destructive-200: var(--pont-ref-color-red-200);
454
+ --pont-ref-color-destructive-300: var(--pont-ref-color-red-300);
455
+ --pont-ref-color-destructive-400: var(--pont-ref-color-red-400);
456
+ --pont-ref-color-destructive-500: var(--pont-ref-color-red-500);
457
+ --pont-ref-color-destructive-600: var(--pont-ref-color-red-600);
458
+ --pont-ref-color-destructive-700: var(--pont-ref-color-red-700);
459
+ --pont-ref-color-destructive-800: var(--pont-ref-color-red-800);
460
+ --pont-ref-color-destructive-900: var(--pont-ref-color-red-900);
461
+ --pont-ref-color-destructive-950: var(--pont-ref-color-red-950);
462
+
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);
474
+
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);
486
+
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);
498
+ }
499
+ }
376
500
 
377
501
  /*
378
502
  * --------------------------------------------------
379
- * MOTION TRANSITION PROPERTY TOKENS
380
- * `transition-property`
503
+ * COLOR SEMANTIC TOKENS
381
504
  * --------------------------------------------------
382
505
  */
383
506
 
384
- @layer pont.tokens {
385
- :root {
386
- --pont-ref-motion-trans-property-all: all;
387
- --pont-ref-motion-trans-property-none: none;
388
-
389
- --pont-ref-motion-trans-property-colors:
390
- color, background-color, border-color, outline-color,
391
- text-decoration-color, fill, stroke, --pont-gradient-from,
392
- --pont-gradient-via, --pont-gradient-to;
393
- --pont-ref-motion-trans-property-opacity: opacity;
394
- --pont-ref-motion-trans-property-shadow: box-shadow;
395
- --pont-ref-motion-trans-property-transform:
396
- transform, translate, scale, rotate;
397
- }
398
- }
507
+ /* ./sem-color/index.css */
508
+ /*
509
+ * ===========================================================================
510
+ * COLOR SEMANTIC TOKENS
511
+ * ===========================================================================
512
+ *
513
+ * sem · colour roles: shadcn's set plus pont's status colours, built on the
514
+ * ref colour roles (ref-color/index.css). The theme mode lives here and only
515
+ * here (docs/11-tokens.md §6).
516
+ *
517
+ * Defaults reproduce shadcn's neutral theme exactly. Each colour scale has a
518
+ * set of roles (`brand`, `brand-fg`, `brand-subtle` …), which the shadcn
519
+ * roles read as they are migrated: `primary` and `primary-foreground` read
520
+ * `brand` / `brand-fg` (the `brand` ramp, neutral by default), so re-pointing
521
+ * brand re-colours primary surfaces; `secondary` reads `base-subtle`.
522
+ *
523
+ * Dark mode (dark-mode.css): shadcn's `.dark` class AND pontkit's
524
+ * `[data-theme="dark"]`, on any ancestor (usually <html>). The block is
525
+ * re-declared on that element, so its sem tokens are resolved there.
526
+ */
399
527
 
400
- @layer pont.tokens {
401
- :root {
402
- --pont-sem-motion-trans-property:
403
- var(--pont-ref-motion-trans-property-colors),
404
- var(--pont-ref-motion-trans-property-opacity),
405
- var(--pont-ref-motion-trans-property-shadow),
406
- var(--pont-ref-motion-trans-property-transform), filter,
407
- -webkit-backdrop-filter, backdrop-filter, display, content-visibility,
408
- overlay, pointer-events;
409
- }
410
- }
528
+ /* TODO(tokens): not yet migrated/refactored */
411
529
 
412
530
  /*
413
531
  * --------------------------------------------------
414
- * MOTION TRANSITION DURATION TOKENS
415
- * `transition-duration`, `transition-delay`
532
+ * COLOR SEMANTIC TOKENS - LIGHT MODE (DEFAULT)
416
533
  * --------------------------------------------------
417
534
  */
418
535
 
536
+ /* ./light-mode.css */
537
+ /*
538
+ * ===========================================================================
539
+ * COLOR SEMANTIC TOKENS - LIGHT MODE (DEFAULT)
540
+ * ---------------------------------------------------------------------------
541
+ * `:root`
542
+ * ===========================================================================
543
+ */
544
+
419
545
  @layer pont.tokens {
420
546
  :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
- );
547
+ color-scheme: light;
430
548
  }
431
549
  }
432
550
 
433
551
  /*
434
552
  * --------------------------------------------------
435
- * MOTION TRANSITION EASING TOKENS
436
- * `transition-timing-function`
553
+ * BASE SCALE COLORS
437
554
  * --------------------------------------------------
438
555
  */
439
556
 
440
557
  @layer pont.tokens {
441
558
  :root {
442
- --pont-sem-motion-trans-easing: var(--pont-ref-motion-easing-ease-in-out);
559
+ --pont-sem-color-base: var(--pont-ref-color-base-900);
560
+ --pont-sem-color-base-fg: var(--pont-ref-color-base-50);
561
+
562
+ --pont-sem-color-base-subtle: var(--pont-ref-color-base-100);
563
+ --pont-sem-color-base-subtle-fg: var(--pont-ref-color-base-900);
564
+
565
+ --pont-sem-color-base-border: var(--pont-ref-color-base-400);
566
+
567
+ --pont-sem-color-base-ring: color-mix(
568
+ in oklab,
569
+ var(--pont-ref-color-base-400) 50%,
570
+ var(--pont-ref-color-transparent)
571
+ );
443
572
  }
444
573
  }
445
574
 
446
- /*
447
- * ---------------------------------------------------------------------------
448
- * MOTION ANIMATION TOKENS
449
- * ---------------------------------------------------------------------------
450
- */
451
-
452
575
  /*
453
576
  * --------------------------------------------------
454
- * MOTION ANIMATION NAME TOKENS
455
- * `animation-name`
577
+ * BRAND SCALE COLORS
456
578
  * --------------------------------------------------
457
579
  */
458
580
 
459
581
  @layer pont.tokens {
460
582
  :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;
583
+ --pont-sem-color-brand: var(--pont-ref-color-brand-900);
584
+ --pont-sem-color-brand-fg: var(--pont-ref-color-brand-50);
585
+
586
+ --pont-sem-color-brand-subtle: var(--pont-ref-color-brand-100);
587
+ --pont-sem-color-brand-subtle-fg: var(--pont-ref-color-brand-900);
588
+
589
+ --pont-sem-color-brand-border: var(--pont-ref-color-brand-400);
590
+
591
+ --pont-sem-color-brand-ring: color-mix(
592
+ in oklab,
593
+ var(--pont-ref-color-brand-400) 50%,
594
+ var(--pont-ref-color-transparent)
595
+ );
465
596
  }
466
597
  }
467
598
 
468
599
  /*
469
600
  * --------------------------------------------------
470
- * MOTION ANIMATION DURATION TOKENS
471
- * `animation-duration`, `animation-delay`
601
+ * DESTRUCTIVE SCALE COLORS
472
602
  * --------------------------------------------------
473
603
  */
474
604
 
475
605
  @layer pont.tokens {
476
606
  :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
- );
607
+ --pont-sem-color-destructive: var(--pont-ref-color-destructive-600);
481
608
 
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
609
+ --pont-sem-color-destructive-subtle: color-mix(
610
+ in oklab,
611
+ var(--pont-sem-color-destructive) 10%,
612
+ var(--pont-ref-color-transparent)
486
613
  );
487
- --pont-sem-motion-anim-bounce-duration: var(
488
- --pont-sem-motion-anim-duration
614
+ --pont-sem-color-destructive-subtle-hover: color-mix(
615
+ in oklab,
616
+ var(--pont-sem-color-destructive) 20%,
617
+ var(--pont-ref-color-transparent)
618
+ );
619
+
620
+ --pont-sem-color-destructive-border: var(--pont-sem-color-destructive);
621
+
622
+ --pont-sem-color-destructive-ring: color-mix(
623
+ in oklab,
624
+ var(--pont-sem-color-destructive) 20%,
625
+ var(--pont-ref-color-transparent)
489
626
  );
490
627
  }
491
628
  }
492
629
 
493
630
  /*
494
631
  * --------------------------------------------------
495
- * MOTION ANIMATION EASING TOKENS
496
- * `animation-timing-function`
632
+ * WARNING SCALE COLORS
497
633
  * --------------------------------------------------
498
634
  */
499
635
 
500
636
  @layer pont.tokens {
501
637
  :root {
502
- --pont-sem-motion-anim-easing: var(--pont-ref-motion-easing-ease);
638
+ --pont-sem-color-warning: var(--pont-ref-color-warning-600);
503
639
 
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);
640
+ --pont-sem-color-warning-subtle: color-mix(
641
+ in oklab,
642
+ var(--pont-sem-color-warning) 10%,
643
+ var(--pont-ref-color-transparent)
644
+ );
645
+ --pont-sem-color-warning-subtle-hover: color-mix(
646
+ in oklab,
647
+ var(--pont-sem-color-warning) 20%,
648
+ var(--pont-ref-color-transparent)
649
+ );
650
+
651
+ --pont-sem-color-warning-border: var(--pont-sem-color-warning);
652
+
653
+ --pont-sem-color-warning-ring: color-mix(
654
+ in oklab,
655
+ var(--pont-sem-color-warning) 20%,
656
+ var(--pont-ref-color-transparent)
657
+ );
508
658
  }
509
659
  }
510
660
 
511
661
  /*
512
662
  * --------------------------------------------------
513
- * MOTION ANIMATION ITERATION TOKENS
514
- * `animation-iteration-count`
663
+ * SUCCESS SCALE COLORS
515
664
  * --------------------------------------------------
516
665
  */
517
666
 
518
667
  @layer pont.tokens {
519
668
  :root {
520
- --pont-ref-motion-anim-iteration-infinite: infinite;
521
- }
522
- }
669
+ --pont-sem-color-success: var(--pont-ref-color-success-700);
523
670
 
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
671
+ --pont-sem-color-success-subtle: color-mix(
672
+ in oklab,
673
+ var(--pont-sem-color-success) 10%,
674
+ var(--pont-ref-color-transparent)
531
675
  );
532
- --pont-sem-motion-anim-pulse-iteration: var(
533
- --pont-ref-motion-anim-iteration-infinite
676
+ --pont-sem-color-success-subtle-hover: color-mix(
677
+ in oklab,
678
+ var(--pont-sem-color-success) 20%,
679
+ var(--pont-ref-color-transparent)
534
680
  );
535
- --pont-sem-motion-anim-bounce-iteration: var(
536
- --pont-ref-motion-anim-iteration-infinite
681
+
682
+ --pont-sem-color-success-border: var(--pont-sem-color-success);
683
+
684
+ --pont-sem-color-success-ring: color-mix(
685
+ in oklab,
686
+ var(--pont-sem-color-success) 20%,
687
+ var(--pont-ref-color-transparent)
537
688
  );
538
689
  }
539
690
  }
540
691
 
541
692
  /*
542
693
  * --------------------------------------------------
543
- * MOTION ANIMATION 'COMPOSITE' TOKENS
544
- * `animation`
694
+ * INFO SCALE COLORS
545
695
  * --------------------------------------------------
546
696
  */
547
697
 
548
698
  @layer pont.tokens {
549
699
  :root {
550
- --pont-ref-motion-anim-none: none;
551
- }
552
- }
700
+ --pont-sem-color-info: var(--pont-ref-color-info-600);
553
701
 
554
- @layer pont.tokens {
555
- :root {
556
- --pont-sem-motion-anim-spin: var(--pont-sem-motion-anim-spin-name)
557
- var(--pont-sem-motion-anim-spin-duration)
558
- var(--pont-sem-motion-anim-spin-easing)
559
- var(--pont-sem-motion-anim-spin-iteration);
560
-
561
- --pont-sem-motion-anim-ping: var(--pont-sem-motion-anim-ping-name)
562
- var(--pont-sem-motion-anim-ping-duration)
563
- var(--pont-sem-motion-anim-ping-easing)
564
- var(--pont-sem-motion-anim-ping-iteration);
702
+ --pont-sem-color-info-subtle: color-mix(
703
+ in oklab,
704
+ var(--pont-sem-color-info) 10%,
705
+ var(--pont-ref-color-transparent)
706
+ );
707
+ --pont-sem-color-info-subtle-hover: color-mix(
708
+ in oklab,
709
+ var(--pont-sem-color-info) 20%,
710
+ var(--pont-ref-color-transparent)
711
+ );
565
712
 
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);
713
+ --pont-sem-color-info-border: var(--pont-sem-color-info);
570
714
 
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);
715
+ --pont-sem-color-info-ring: color-mix(
716
+ in oklab,
717
+ var(--pont-sem-color-info) 20%,
718
+ var(--pont-ref-color-transparent)
719
+ );
575
720
  }
576
721
  }
577
722
 
578
- /* ./opacity.css */
579
- /*
580
- * ===========================================================================
581
- * OPACITY TOKENS
582
- * ---------------------------------------------------------------------------
583
- * `opacity`
584
- * ===========================================================================
585
- */
586
-
587
- /*
588
- * --------------------------------------------------
589
- * OPACITY REFERENCE TOKENS
590
- * --------------------------------------------------
591
- */
723
+ /* * ------------------------------------------- * */
592
724
 
593
725
  @layer pont.tokens {
594
726
  :root {
595
- /* Anchor/seed value */
596
- --pont-ref-opacity: 0.01;
727
+ --pont-sem-color-bg: var(--pont-ref-color-white);
728
+ --pont-sem-color-fg: var(--pont-ref-color-base-950);
597
729
 
598
- /* Absolute values */
599
- --pont-ref-opacity-none: 0;
600
- --pont-ref-opacity-full: 1;
730
+ --pont-sem-color-surface: var(--pont-ref-color-white);
731
+ --pont-sem-color-surface-fg: var(--pont-ref-color-base-950);
732
+
733
+ --pont-sem-color-overlay: var(--pont-ref-color-white);
734
+ --pont-sem-color-overlay-fg: var(--pont-ref-color-base-950);
735
+
736
+ --pont-sem-color-primary: var(--pont-sem-color-brand);
737
+ --pont-sem-color-primary-fg: var(--pont-sem-color-brand-fg);
738
+
739
+ --pont-sem-color-secondary: var(--pont-sem-color-base-subtle);
740
+ --pont-sem-color-secondary-fg: var(--pont-sem-color-base-subtle-fg);
741
+
742
+ --pont-sem-color-muted: var(--pont-ref-color-base-100);
743
+ --pont-sem-color-muted-fg: var(--pont-ref-color-base-500);
744
+
745
+ --pont-sem-color-accent: var(--pont-ref-color-base-100);
746
+ --pont-sem-color-accent-fg: var(--pont-ref-color-base-900);
747
+
748
+ --pont-sem-color-border: var(--pont-ref-color-base-200);
749
+ --pont-sem-color-input: var(--pont-ref-color-base-200);
750
+ --pont-sem-color-ring: var(--pont-ref-color-base-400);
751
+
752
+ /* Interaction roles: what shadcn writes as `dark:` utilities, as tokens, so
753
+ component CSS has no mode rules (docs/11-tokens.md §6).
754
+ control an outline control's surface (outline button)
755
+ control-hover …hovered
756
+ control-border …its border
757
+ field a text field's surface (input)
758
+ surface-hover hovering a transparent surface (ghost button, menu items) */
759
+ --pont-sem-color-control: var(--pont-sem-color-bg);
760
+ --pont-sem-color-control-hover: var(--pont-sem-color-muted);
761
+ --pont-sem-color-control-border: var(--pont-sem-color-border);
762
+ --pont-sem-color-field: transparent;
763
+ --pont-sem-color-surface-hover: var(--pont-sem-color-muted);
764
+ /* …and more roles from shadcn's `dark:` utilities:
765
+ field-hover a select trigger hovered (no change in light)
766
+ track a switch's unchecked track
767
+ thumb / -checked a switch's thumb, off / on
768
+ segment-fg an inactive segment (tabs trigger)
769
+ segment-active the active segment's fill / -border its border
770
+ primary-subtle a checked choice card's fill / -border its border
771
+ inverse-subtle a chip on an inverted surface (kbd in a tooltip) */
772
+ --pont-sem-color-field-hover: var(--pont-sem-color-field);
773
+ --pont-sem-color-track: var(--pont-sem-color-input);
774
+ --pont-sem-color-thumb: var(--pont-sem-color-bg);
775
+ --pont-sem-color-thumb-checked: var(--pont-sem-color-bg);
776
+ --pont-sem-color-segment-fg: color-mix(
777
+ in oklab,
778
+ var(--pont-sem-color-fg) 60%,
779
+ transparent
780
+ );
781
+ --pont-sem-color-segment-active: var(--pont-sem-color-bg);
782
+ --pont-sem-color-segment-active-border: transparent;
783
+ --pont-sem-color-primary-subtle: color-mix(
784
+ in oklab,
785
+ var(--pont-sem-color-primary) 5%,
786
+ transparent
787
+ );
788
+ --pont-sem-color-primary-subtle-border: color-mix(
789
+ in oklab,
790
+ var(--pont-sem-color-primary) 30%,
791
+ transparent
792
+ );
793
+ --pont-sem-color-inverse-subtle: color-mix(
794
+ in oklab,
795
+ var(--pont-sem-color-bg) 20%,
796
+ transparent
797
+ );
798
+
799
+ --pont-sem-color-chart-1: var(--pont-ref-color-brand-300);
800
+ --pont-sem-color-chart-2: var(--pont-ref-color-brand-500);
801
+ --pont-sem-color-chart-3: var(--pont-ref-color-brand-600);
802
+ --pont-sem-color-chart-4: var(--pont-ref-color-brand-700);
803
+ --pont-sem-color-chart-5: var(--pont-ref-color-brand-800);
601
804
  }
602
805
  }
603
806
 
604
807
  /*
605
808
  * --------------------------------------------------
606
- * OPACITY SEMANTIC TOKENS
809
+ * COLOR SEMANTIC TOKENS - DARK MODE
607
810
  * --------------------------------------------------
608
811
  */
609
812
 
610
- @layer pont.tokens {
611
- :root {
612
- /* Anchor/seed value */
613
- --pont-sem-opacity-disabled: calc(var(--pont-ref-opacity) * 50);
614
- }
615
- }
616
-
617
- /* ./radius.css */
813
+ /* ./dark-mode.css */
618
814
  /*
619
815
  * ===========================================================================
620
- * RADIUS TOKENS
816
+ * COLOR SEMANTIC TOKENS - DARK MODE
621
817
  * ---------------------------------------------------------------------------
622
- * `border-radius`
818
+ * `:root.dark`, `:root[data-theme="dark"]`, `.dark`, `[data-theme="dark"]`
623
819
  * ===========================================================================
624
820
  */
625
821
 
822
+ @layer pont.tokens {
823
+ :root.dark,
824
+ :root[data-theme="dark"],
825
+ .dark,
826
+ [data-theme="dark"] {
827
+ color-scheme: dark;
828
+ }
829
+ }
830
+
626
831
  /*
627
832
  * --------------------------------------------------
628
- * RADIUS REFERENCE TOKENS
833
+ * BASE SCALE COLORS
629
834
  * --------------------------------------------------
630
835
  */
631
836
 
632
837
  @layer pont.tokens {
633
- :root {
634
- /* Anchor/seed value */
635
- --pont-ref-radius: 0.625rem;
838
+ :root.dark,
839
+ :root[data-theme="dark"],
840
+ .dark,
841
+ [data-theme="dark"] {
842
+ --pont-sem-color-base: var(--pont-ref-color-base-200);
843
+ --pont-sem-color-base-fg: var(--pont-ref-color-base-900);
636
844
 
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);
845
+ --pont-sem-color-base-subtle: var(--pont-ref-color-base-800);
846
+ --pont-sem-color-base-subtle-fg: var(--pont-ref-color-base-50);
646
847
 
647
- /* Absolute values */
648
- --pont-ref-radius-none: 0;
649
- --pont-ref-radius-full: calc(infinity * 1rem);
848
+ --pont-sem-color-base-border: var(--pont-ref-color-base-500);
849
+
850
+ --pont-sem-color-base-ring: color-mix(
851
+ in oklab,
852
+ var(--pont-ref-color-base-500) 50%,
853
+ var(--pont-ref-color-transparent)
854
+ );
650
855
  }
651
856
  }
652
857
 
653
- /* ./typography.css */
654
- /*
655
- * ===========================================================================
656
- * TYPOGRAPHY TOKENS
657
- * ===========================================================================
658
- */
659
-
660
- /*
661
- * ---------------------------------------------------------------------------
662
- * TYPOGRAPHY FONT TOKENS
663
- * ---------------------------------------------------------------------------
664
- * `font-family`
665
- * ---------------------------------------------------------------------------
666
- */
667
-
668
858
  /*
669
859
  * --------------------------------------------------
670
- * TYPOGRAPHY FONT REFERENCE TOKENS
860
+ * BRAND SCALE COLORS
671
861
  * --------------------------------------------------
672
862
  */
673
863
 
674
864
  @layer pont.tokens {
675
- :root {
676
- --pont-ref-typography-font-sans:
677
- -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
678
- "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
679
- "Segoe UI Symbol", "Noto Color Emoji";
865
+ :root.dark,
866
+ :root[data-theme="dark"],
867
+ .dark,
868
+ [data-theme="dark"] {
869
+ --pont-sem-color-brand: var(--pont-ref-color-brand-200);
870
+ --pont-sem-color-brand-fg: var(--pont-ref-color-brand-900);
680
871
 
681
- --pont-ref-typography-font-serif:
682
- ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
872
+ --pont-sem-color-brand-subtle: var(--pont-ref-color-brand-800);
873
+ --pont-sem-color-brand-subtle-fg: var(--pont-ref-color-brand-50);
683
874
 
684
- --pont-ref-typography-font-mono:
685
- ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
686
- "Courier New", monospace;
875
+ --pont-sem-color-brand-border: var(--pont-ref-color-brand-500);
876
+
877
+ --pont-sem-color-brand-ring: color-mix(
878
+ in oklab,
879
+ var(--pont-ref-color-brand-500) 50%,
880
+ var(--pont-ref-color-transparent)
881
+ );
687
882
  }
688
883
  }
689
884
 
690
885
  /*
691
886
  * --------------------------------------------------
692
- * TYPOGRAPHY FONT SEMANTIC TOKENS
887
+ * DESTRUCTIVE SCALE COLORS
693
888
  * --------------------------------------------------
694
889
  */
695
890
 
696
891
  @layer pont.tokens {
697
- :root {
698
- --pont-sem-typography-font-body: var(--pont-ref-typography-font-sans);
699
- --pont-sem-typography-font-heading: var(--pont-ref-typography-font-sans);
700
- --pont-sem-typography-font-code: var(--pont-ref-typography-font-mono);
892
+ :root.dark,
893
+ :root[data-theme="dark"],
894
+ .dark,
895
+ [data-theme="dark"] {
896
+ --pont-sem-color-destructive: var(--pont-ref-color-destructive-400);
897
+
898
+ --pont-sem-color-destructive-subtle: color-mix(
899
+ in oklab,
900
+ var(--pont-sem-color-destructive) 20%,
901
+ var(--pont-ref-color-transparent)
902
+ );
903
+ --pont-sem-color-destructive-subtle-hover: color-mix(
904
+ in oklab,
905
+ var(--pont-sem-color-destructive) 30%,
906
+ var(--pont-ref-color-transparent)
907
+ );
908
+
909
+ --pont-sem-color-destructive-border: color-mix(
910
+ in oklab,
911
+ var(--pont-sem-color-destructive) 50%,
912
+ var(--pont-ref-color-transparent)
913
+ );
914
+
915
+ --pont-sem-color-destructive-ring: color-mix(
916
+ in oklab,
917
+ var(--pont-sem-color-destructive) 40%,
918
+ var(--pont-ref-color-transparent)
919
+ );
701
920
  }
702
921
  }
703
922
 
704
- /*
705
- * ---------------------------------------------------------------------------
706
- * TYPOGRAPHY SIZE TOKENS
707
- * ---------------------------------------------------------------------------
708
- * `font-size`
709
- * ---------------------------------------------------------------------------
710
- */
711
-
712
923
  /*
713
924
  * --------------------------------------------------
714
- * TYPOGRAPHY SIZE REFERENCE TOKENS
925
+ * WARNING SCALE COLORS
715
926
  * --------------------------------------------------
716
927
  */
717
928
 
718
929
  @layer pont.tokens {
719
- :root {
720
- --pont-ref-typography-size-xs: 0.75rem;
721
- --pont-ref-typography-size-sm: 0.875rem;
722
- --pont-ref-typography-size-base: 1rem;
723
- --pont-ref-typography-size-lg: 1.125rem;
724
- --pont-ref-typography-size-xl: 1.25rem;
725
- --pont-ref-typography-size-2xl: 1.5rem;
726
- --pont-ref-typography-size-3xl: 1.875rem;
727
- --pont-ref-typography-size-4xl: 2.25rem;
728
- --pont-ref-typography-size-5xl: 3rem;
729
- --pont-ref-typography-size-6xl: 3.75rem;
730
- --pont-ref-typography-size-7xl: 4.5rem;
731
- --pont-ref-typography-size-8xl: 6rem;
732
- --pont-ref-typography-size-9xl: 8rem;
930
+ :root.dark,
931
+ :root[data-theme="dark"],
932
+ .dark,
933
+ [data-theme="dark"] {
934
+ --pont-sem-color-warning: var(--pont-ref-color-warning-400);
935
+
936
+ --pont-sem-color-warning-subtle: color-mix(
937
+ in oklab,
938
+ var(--pont-sem-color-warning) 20%,
939
+ var(--pont-ref-color-transparent)
940
+ );
941
+ --pont-sem-color-warning-subtle-hover: color-mix(
942
+ in oklab,
943
+ var(--pont-sem-color-warning) 30%,
944
+ var(--pont-ref-color-transparent)
945
+ );
946
+
947
+ --pont-sem-color-warning-border: color-mix(
948
+ in oklab,
949
+ var(--pont-sem-color-warning) 50%,
950
+ var(--pont-ref-color-transparent)
951
+ );
952
+
953
+ --pont-sem-color-warning-ring: color-mix(
954
+ in oklab,
955
+ var(--pont-sem-color-warning) 40%,
956
+ var(--pont-ref-color-transparent)
957
+ );
733
958
  }
734
959
  }
735
960
 
736
- /*
737
- * ---------------------------------------------------------------------------
738
- * TYPOGRAPHY WEIGHT TOKENS
739
- * ---------------------------------------------------------------------------
740
- * `font-weight`
741
- * ---------------------------------------------------------------------------
742
- */
743
-
744
961
  /*
745
962
  * --------------------------------------------------
746
- * TYPOGRAPHY WEIGHT REFERENCE TOKENS
963
+ * SUCCESS SCALE COLORS
747
964
  * --------------------------------------------------
748
965
  */
749
966
 
750
967
  @layer pont.tokens {
751
- :root {
752
- --pont-ref-typography-weight-thin: 100;
753
- --pont-ref-typography-weight-extralight: 200;
754
- --pont-ref-typography-weight-light: 300;
755
- --pont-ref-typography-weight-normal: 400;
756
- --pont-ref-typography-weight-medium: 500;
757
- --pont-ref-typography-weight-semibold: 600;
758
- --pont-ref-typography-weight-bold: 700;
759
- --pont-ref-typography-weight-extrabold: 800;
760
- --pont-ref-typography-weight-black: 900;
968
+ :root.dark,
969
+ :root[data-theme="dark"],
970
+ .dark,
971
+ [data-theme="dark"] {
972
+ --pont-sem-color-success: var(--pont-ref-color-success-500);
973
+
974
+ --pont-sem-color-success-subtle: color-mix(
975
+ in oklab,
976
+ var(--pont-sem-color-success) 20%,
977
+ var(--pont-ref-color-transparent)
978
+ );
979
+ --pont-sem-color-success-subtle-hover: color-mix(
980
+ in oklab,
981
+ var(--pont-sem-color-success) 30%,
982
+ var(--pont-ref-color-transparent)
983
+ );
984
+
985
+ --pont-sem-color-success-border: color-mix(
986
+ in oklab,
987
+ var(--pont-sem-color-success) 50%,
988
+ var(--pont-ref-color-transparent)
989
+ );
990
+
991
+ --pont-sem-color-success-ring: color-mix(
992
+ in oklab,
993
+ var(--pont-sem-color-success) 40%,
994
+ var(--pont-ref-color-transparent)
995
+ );
761
996
  }
762
997
  }
763
998
 
764
- /*
765
- * ---------------------------------------------------------------------------
766
- * TYPOGRAPHY TRACKING TOKENS
767
- * ---------------------------------------------------------------------------
768
- * `letter-spacing`
769
- * ---------------------------------------------------------------------------
770
- */
771
-
772
999
  /*
773
1000
  * --------------------------------------------------
774
- * TYPOGRAPHY TRACKING REFERENCE TOKENS
1001
+ * INFO SCALE COLORS
775
1002
  * --------------------------------------------------
776
1003
  */
777
1004
 
778
1005
  @layer pont.tokens {
779
- :root {
780
- --pont-ref-typography-tracking: 0.01em;
1006
+ :root.dark,
1007
+ :root[data-theme="dark"],
1008
+ .dark,
1009
+ [data-theme="dark"] {
1010
+ --pont-sem-color-info: var(--pont-ref-color-info-400);
781
1011
 
782
- --pont-ref-typography-tracking-tighter: calc(
783
- var(--pont-ref-typography-tracking) * -5
1012
+ --pont-sem-color-info-subtle: color-mix(
1013
+ in oklab,
1014
+ var(--pont-sem-color-info) 20%,
1015
+ var(--pont-ref-color-transparent)
784
1016
  );
785
- --pont-ref-typography-tracking-tight: calc(
786
- var(--pont-ref-typography-tracking) * -2.5
1017
+ --pont-sem-color-info-subtle-hover: color-mix(
1018
+ in oklab,
1019
+ var(--pont-sem-color-info) 30%,
1020
+ var(--pont-ref-color-transparent)
787
1021
  );
788
- --pont-ref-typography-tracking-normal: calc(
789
- var(--pont-ref-typography-tracking) * 0
1022
+
1023
+ --pont-sem-color-info-border: color-mix(
1024
+ in oklab,
1025
+ var(--pont-sem-color-info) 50%,
1026
+ var(--pont-ref-color-transparent)
790
1027
  );
791
- --pont-ref-typography-tracking-wide: calc(
792
- var(--pont-ref-typography-tracking) * 2.5
1028
+
1029
+ --pont-sem-color-info-ring: color-mix(
1030
+ in oklab,
1031
+ var(--pont-sem-color-info) 40%,
1032
+ var(--pont-ref-color-transparent)
793
1033
  );
794
- --pont-ref-typography-tracking-wider: calc(
795
- var(--pont-ref-typography-tracking) * 5
1034
+ }
1035
+ }
1036
+
1037
+ /* * ------------------------------------------- * */
1038
+
1039
+ @layer pont.tokens {
1040
+ :root.dark,
1041
+ :root[data-theme="dark"],
1042
+ .dark,
1043
+ [data-theme="dark"] {
1044
+ --pont-sem-color-bg: var(--pont-ref-color-base-950);
1045
+ --pont-sem-color-fg: var(--pont-ref-color-base-50);
1046
+
1047
+ --pont-sem-color-surface: var(--pont-ref-color-base-900);
1048
+ --pont-sem-color-surface-fg: var(--pont-ref-color-base-50);
1049
+
1050
+ --pont-sem-color-overlay: var(--pont-ref-color-base-900);
1051
+ --pont-sem-color-overlay-fg: var(--pont-ref-color-base-50);
1052
+
1053
+ --pont-sem-color-primary: var(--pont-sem-color-brand);
1054
+ --pont-sem-color-primary-fg: var(--pont-sem-color-brand-fg);
1055
+
1056
+ --pont-sem-color-secondary: var(--pont-sem-color-base-subtle);
1057
+ --pont-sem-color-secondary-fg: var(--pont-sem-color-base-subtle-fg);
1058
+
1059
+ --pont-sem-color-muted: var(--pont-ref-color-base-800);
1060
+ --pont-sem-color-muted-fg: var(--pont-ref-color-base-400);
1061
+
1062
+ --pont-sem-color-accent: var(--pont-ref-color-base-800);
1063
+ --pont-sem-color-accent-fg: var(--pont-ref-color-base-50);
1064
+
1065
+ --pont-sem-color-border: color-mix(
1066
+ in oklab,
1067
+ var(--pont-ref-color-white) 10%,
1068
+ var(--pont-ref-color-transparent)
796
1069
  );
797
- --pont-ref-typography-tracking-widest: calc(
798
- var(--pont-ref-typography-tracking) * 10
1070
+ --pont-sem-color-input: color-mix(
1071
+ in oklab,
1072
+ var(--pont-ref-color-white) 15%,
1073
+ transparent
1074
+ );
1075
+ --pont-sem-color-ring: var(--pont-ref-color-base-500);
1076
+
1077
+ --pont-sem-color-control: color-mix(
1078
+ in oklab,
1079
+ var(--pont-sem-color-input) 30%,
1080
+ transparent
1081
+ );
1082
+ --pont-sem-color-control-hover: color-mix(
1083
+ in oklab,
1084
+ var(--pont-sem-color-input) 50%,
1085
+ transparent
1086
+ );
1087
+ --pont-sem-color-control-border: var(--pont-sem-color-input);
1088
+ --pont-sem-color-field: color-mix(
1089
+ in oklab,
1090
+ var(--pont-sem-color-input) 30%,
1091
+ transparent
1092
+ );
1093
+ --pont-sem-color-surface-hover: color-mix(
1094
+ in oklab,
1095
+ var(--pont-sem-color-muted) 50%,
1096
+ transparent
1097
+ );
1098
+ --pont-sem-color-field-hover: color-mix(
1099
+ in oklab,
1100
+ var(--pont-sem-color-input) 50%,
1101
+ transparent
1102
+ );
1103
+ --pont-sem-color-track: color-mix(
1104
+ in oklab,
1105
+ var(--pont-sem-color-input) 80%,
1106
+ transparent
1107
+ );
1108
+ --pont-sem-color-thumb: var(--pont-sem-color-fg);
1109
+ --pont-sem-color-thumb-checked: var(--pont-sem-color-primary-fg);
1110
+ --pont-sem-color-segment-fg: var(--pont-sem-color-muted-fg);
1111
+ --pont-sem-color-segment-active: color-mix(
1112
+ in oklab,
1113
+ var(--pont-sem-color-input) 30%,
1114
+ transparent
1115
+ );
1116
+ --pont-sem-color-segment-active-border: var(--pont-sem-color-input);
1117
+ --pont-sem-color-primary-subtle: color-mix(
1118
+ in oklab,
1119
+ var(--pont-sem-color-primary) 10%,
1120
+ transparent
1121
+ );
1122
+ --pont-sem-color-primary-subtle-border: color-mix(
1123
+ in oklab,
1124
+ var(--pont-sem-color-primary) 20%,
1125
+ transparent
1126
+ );
1127
+ --pont-sem-color-inverse-subtle: color-mix(
1128
+ in oklab,
1129
+ var(--pont-sem-color-bg) 10%,
1130
+ transparent
799
1131
  );
800
1132
  }
801
1133
  }
802
1134
 
1135
+ /* ./cursor.css */
803
1136
  /*
1137
+ * ===========================================================================
1138
+ * CURSOR TOKENS
804
1139
  * ---------------------------------------------------------------------------
805
- * TYPOGRAPHY LEADING TOKENS
806
- * ---------------------------------------------------------------------------
807
- * `line-height`
808
- * ---------------------------------------------------------------------------
1140
+ * `cursor`
1141
+ * ===========================================================================
809
1142
  */
810
1143
 
811
1144
  /*
812
1145
  * --------------------------------------------------
813
- * TYPOGRAPHY LEADING REFERENCE TOKENS
1146
+ * CURSOR REFERENCE TOKENS
814
1147
  * --------------------------------------------------
815
1148
  */
816
1149
 
817
1150
  @layer pont.tokens {
818
1151
  :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;
1152
+ --pont-ref-cursor-auto: auto;
1153
+ --pont-ref-cursor-default: default;
1154
+ --pont-ref-cursor-pointer: pointer;
1155
+ --pont-ref-cursor-wait: wait;
1156
+ --pont-ref-cursor-text: text;
1157
+ --pont-ref-cursor-move: move;
1158
+ --pont-ref-cursor-help: help;
1159
+ --pont-ref-cursor-not-allowed: not-allowed;
1160
+ --pont-ref-cursor-none: none;
1161
+ --pont-ref-cursor-context-menu: context-menu;
1162
+ --pont-ref-cursor-progress: progress;
1163
+ --pont-ref-cursor-cell: cell;
1164
+ --pont-ref-cursor-crosshair: crosshair;
1165
+ --pont-ref-cursor-vertical-text: vertical-text;
1166
+ --pont-ref-cursor-alias: alias;
1167
+ --pont-ref-cursor-copy: copy;
1168
+ --pont-ref-cursor-no-drop: no-drop;
1169
+ --pont-ref-cursor-grab: grab;
1170
+ --pont-ref-cursor-grabbing: grabbing;
1171
+ --pont-ref-cursor-all-scroll: all-scroll;
1172
+ --pont-ref-cursor-col-resize: col-resize;
1173
+ --pont-ref-cursor-row-resize: row-resize;
1174
+ --pont-ref-cursor-n-resize: n-resize;
1175
+ --pont-ref-cursor-e-resize: e-resize;
1176
+ --pont-ref-cursor-s-resize: s-resize;
1177
+ --pont-ref-cursor-w-resize: w-resize;
1178
+ --pont-ref-cursor-ne-resize: ne-resize;
1179
+ --pont-ref-cursor-nw-resize: nw-resize;
1180
+ --pont-ref-cursor-se-resize: se-resize;
1181
+ --pont-ref-cursor-sw-resize: sw-resize;
1182
+ --pont-ref-cursor-ew-resize: ew-resize;
1183
+ --pont-ref-cursor-ns-resize: ns-resize;
1184
+ --pont-ref-cursor-nesw-resize: nesw-resize;
1185
+ --pont-ref-cursor-nwse-resize: nwse-resize;
1186
+ --pont-ref-cursor-zoom-in: zoom-in;
1187
+ --pont-ref-cursor-zoom-out: zoom-out;
1188
+ }
1189
+ }
825
1190
 
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;
1191
+ /*
1192
+ * --------------------------------------------------
1193
+ * CURSOR SEMANTIC TOKENS
1194
+ * --------------------------------------------------
1195
+ */
1196
+
1197
+ @layer pont.tokens {
1198
+ :root {
1199
+ /*
1200
+ * Roles, not components: a brand that wants the hand cursor on every
1201
+ * pressable control sets -interactive once. `default` is shadcn's
1202
+ * (Tailwind v4) choice for buttons and controls.
1203
+ */
1204
+
1205
+ /* Pressable controls: button, tabs trigger, checkbox, radio, switch, slider thumb */
1206
+ --pont-sem-cursor-interactive: var(--pont-ref-cursor-default);
1207
+ /* Options in a list: combobox, dropdown menu and select items */
1208
+ --pont-sem-cursor-item: var(--pont-ref-cursor-default);
1209
+ /* Areas that focus a text field: input-group addon, OTP slots, combobox chips */
1210
+ --pont-sem-cursor-text: var(--pont-ref-cursor-text);
1211
+ /* Drag handles: the drawer handle */
1212
+ --pont-sem-cursor-grab: var(--pont-ref-cursor-grab);
1213
+ /* Every disabled control and its label */
1214
+ --pont-sem-cursor-disabled: var(--pont-ref-cursor-not-allowed);
839
1215
  }
840
1216
  }
841
1217
 
842
- /* ./ref/color.css */
1218
+ /* ./dimension.css */
843
1219
  /*
844
1220
  * ===========================================================================
845
- * COLOR REFERENCE TOKENS
846
- * --pont-ref-color-*
1221
+ * DIMENSION TOKENS
847
1222
  * ===========================================================================
848
1223
  */
849
1224
 
1225
+ @layer pont.tokens {
1226
+ :root {
1227
+ --pont-ref-dimension: 0.25rem;
1228
+ }
1229
+ }
1230
+
1231
+ /*
1232
+ * ---------------------------------------------------------------------------
1233
+ * DIMENSION SIZE TOKENS
1234
+ * ---------------------------------------------------------------------------
1235
+ * `width`, `height`, `min-width`, `max-width`, `min-height`, `max-height`,
1236
+ * `box-size`, `flex-basis`
1237
+ * ---------------------------------------------------------------------------
1238
+ */
1239
+
850
1240
  /*
851
1241
  * --------------------------------------------------
852
- * COLOR PALETTE
1242
+ * DIMENSION SIZE REFERENCE TOKENS
853
1243
  * --------------------------------------------------
854
1244
  */
855
1245
 
856
1246
  @layer pont.tokens {
857
1247
  :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);
1248
+ --pont-ref-dimension-size-auto: auto;
1249
+ --pont-ref-dimension-size-none: none;
1250
+ --pont-ref-dimension-size-px: 1px;
1251
+ --pont-ref-dimension-size-full: 100%;
1252
+ --pont-ref-dimension-size-min: min-content;
1253
+ --pont-ref-dimension-size-max: max-content;
1254
+ --pont-ref-dimension-size-fit: fit-content;
869
1255
 
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);
1256
+ --pont-ref-dimension-size-dvw: 100dvw;
1257
+ --pont-ref-dimension-size-dvh: 100dvh;
1258
+ --pont-ref-dimension-size-lvw: 100lvw;
1259
+ --pont-ref-dimension-size-lvh: 100lvh;
1260
+ --pont-ref-dimension-size-svw: 100svw;
1261
+ --pont-ref-dimension-size-svh: 100svh;
1262
+ --pont-ref-dimension-size-vw: 100vw;
1263
+ --pont-ref-dimension-size-vh: 100vh;
1264
+ --pont-ref-dimension-size-lh: 1lh;
881
1265
 
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);
1266
+ --pont-ref-dimension-size-3xs: 16rem;
1267
+ --pont-ref-dimension-size-2xs: 18rem;
1268
+ --pont-ref-dimension-size-xs: 20rem;
1269
+ --pont-ref-dimension-size-sm: 24rem;
1270
+ --pont-ref-dimension-size-md: 28rem;
1271
+ --pont-ref-dimension-size-lg: 32rem;
1272
+ --pont-ref-dimension-size-xl: 36rem;
1273
+ --pont-ref-dimension-size-2xl: 42rem;
1274
+ --pont-ref-dimension-size-3xl: 48rem;
1275
+ --pont-ref-dimension-size-4xl: 56rem;
1276
+ --pont-ref-dimension-size-5xl: 64rem;
1277
+ --pont-ref-dimension-size-6xl: 72rem;
1278
+ --pont-ref-dimension-size-7xl: 80rem;
1279
+ }
1280
+ }
893
1281
 
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);
1282
+ /*
1283
+ * --------------------------------------------------
1284
+ * DIMENSION SIZE SEMANTIC TOKENS
1285
+ * --------------------------------------------------
1286
+ */
905
1287
 
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);
1288
+ @layer pont.tokens {
1289
+ :root {
1290
+ /* Default size (width/height) */
1291
+ --pont-sem-dimension-size: var(--pont-ref-dimension-size-auto);
917
1292
 
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);
1293
+ /* Default min size (min-width/min-height) */
1294
+ --pont-sem-dimension-size-min: var(--pont-ref-dimension-size-auto);
1295
+ /* Default max size (max-width/max-height) */
1296
+ --pont-sem-dimension-size-max: var(--pont-ref-dimension-size-none);
929
1297
 
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);
1298
+ --pont-sem-dimension-size-width-screen: var(--pont-ref-dimension-size-vw);
1299
+ --pont-sem-dimension-size-height-screen: var(--pont-ref-dimension-size-vh);
1300
+ }
1301
+ }
941
1302
 
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);
1303
+ /*
1304
+ * ---------------------------------------------------------------------------
1305
+ * DIMENSION SPACE TOKENS
1306
+ * ---------------------------------------------------------------------------
1307
+ * `padding`, `gap`, `top`, `right`, `bottom`, `left`, `inset`,
1308
+ * `scroll-margin`, `scroll-padding`, `text-indent`, `outline-offset`
1309
+ * ---------------------------------------------------------------------------
1310
+ */
953
1311
 
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);
1312
+ /*
1313
+ * --------------------------------------------------
1314
+ * DIMENSION SPACE REFERENCE TOKENS
1315
+ * --------------------------------------------------
1316
+ */
965
1317
 
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);
1318
+ @layer pont.tokens {
1319
+ :root {
1320
+ --pont-ref-dimension-space-auto: auto;
1321
+ --pont-ref-dimension-space-px: 1px;
1322
+ --pont-ref-dimension-space-full: 100%;
1323
+ }
1324
+ }
977
1325
 
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);
1326
+ /*
1327
+ * --------------------------------------------------
1328
+ * DIMENSION SPACE SEMANTIC TOKENS
1329
+ * --------------------------------------------------
1330
+ */
1331
+
1332
+ @layer pont.tokens {
1333
+ :root {
1334
+ /* Default inset/top/right/bottom/left */
1335
+ --pont-sem-dimension-space-inset: var(--pont-ref-dimension-space-auto);
1336
+ }
1337
+ }
1338
+
1339
+ /* ./filter.css */
1340
+ /*
1341
+ * ===========================================================================
1342
+ * FILTER TOKENS
1343
+ * ---------------------------------------------------------------------------
1344
+ * `filter`, `backdrop-filter`
1345
+ * ===========================================================================
1346
+ */
1347
+
1348
+ /*
1349
+ * ---------------------------------------------------------------------------
1350
+ * FILTER BLUR TOKENS
1351
+ * ---------------------------------------------------------------------------
1352
+ * length value arg for `blur()`
1353
+ * ---------------------------------------------------------------------------
1354
+ */
1355
+
1356
+ /*
1357
+ * --------------------------------------------------
1358
+ * FILTER BLUR REFERENCE TOKENS
1359
+ * --------------------------------------------------
1360
+ */
1361
+
1362
+ @layer pont.tokens {
1363
+ :root {
1364
+ /* Anchor/seed value */
1365
+ --pont-ref-filter-blur: 1px;
1366
+
1367
+ /* Derived values */
1368
+ --pont-ref-filter-blur-xs: calc(var(--pont-ref-filter-blur) * 4);
1369
+ --pont-ref-filter-blur-sm: calc(var(--pont-ref-filter-blur) * 8);
1370
+ --pont-ref-filter-blur-md: calc(var(--pont-ref-filter-blur) * 12);
1371
+ --pont-ref-filter-blur-lg: calc(var(--pont-ref-filter-blur) * 16);
1372
+ --pont-ref-filter-blur-xl: calc(var(--pont-ref-filter-blur) * 24);
1373
+ --pont-ref-filter-blur-2xl: calc(var(--pont-ref-filter-blur) * 40);
1374
+ --pont-ref-filter-blur-3xl: calc(var(--pont-ref-filter-blur) * 64);
1375
+
1376
+ /* Special values */
1377
+ --pont-ref-filter-blur-none: 0;
1378
+ }
1379
+ }
1380
+
1381
+ /* ./layout.css */
1382
+ /*
1383
+ * ===========================================================================
1384
+ * LAYOUT TOKENS
1385
+ * ===========================================================================
1386
+ */
1387
+
1388
+ /*
1389
+ * ---------------------------------------------------------------------------
1390
+ * LAYOUT ASPECT TOKENS
1391
+ * ---------------------------------------------------------------------------
1392
+ * `aspect-ratio`
1393
+ * ---------------------------------------------------------------------------
1394
+ */
1395
+
1396
+ /*
1397
+ * --------------------------------------------------
1398
+ * LAYOUT ASPECT REFERENCE TOKENS
1399
+ * --------------------------------------------------
1400
+ */
1401
+
1402
+ @layer pont.tokens {
1403
+ :root {
1404
+ --pont-ref-layout-aspect-auto: auto;
1405
+
1406
+ --pont-ref-layout-aspect-square: 1 / 1;
1407
+ --pont-ref-layout-aspect-video: 16 / 9;
1408
+ }
1409
+ }
1410
+
1411
+ /* ./motion.css */
1412
+ /*
1413
+ * ===========================================================================
1414
+ * MOTION TOKENS
1415
+ * ===========================================================================
1416
+ */
1417
+
1418
+ /*
1419
+ * --------------------------------------------------
1420
+ * MOTION DURATION TOKENS
1421
+ * `[transition|animation]-duration`, `[transition|animation]-delay`
1422
+ * --------------------------------------------------
1423
+ */
1424
+
1425
+ @layer pont.tokens {
1426
+ :root {
1427
+ --pont-ref-motion-duration: 1ms;
1428
+
1429
+ --pont-ref-motion-duration-s: calc(var(--pont-ref-motion-duration) * 1000);
1430
+ }
1431
+ }
1432
+
1433
+ /*
1434
+ * --------------------------------------------------
1435
+ * MOTION EASING TOKENS
1436
+ * `[transition|animation]-timing-function`
1437
+ * --------------------------------------------------
1438
+ */
1439
+
1440
+ @layer pont.tokens {
1441
+ :root {
1442
+ --pont-ref-motion-easing-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
1443
+ --pont-ref-motion-easing-linear: cubic-bezier(0, 0, 1, 1);
1444
+
1445
+ --pont-ref-motion-easing-ease-in: cubic-bezier(0.4, 0, 1, 1);
1446
+ --pont-ref-motion-easing-ease-out: cubic-bezier(0, 0, 0.2, 1);
1447
+ --pont-ref-motion-easing-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
1448
+
1449
+ --pont-ref-motion-easing-ease-in-native: cubic-bezier(0.42, 0, 1, 1);
1450
+ --pont-ref-motion-easing-ease-out-native: cubic-bezier(0, 0, 0.58, 1);
1451
+ --pont-ref-motion-easing-ease-in-out-native: cubic-bezier(0.42, 0, 0.58, 1);
1452
+ }
1453
+ }
1454
+
1455
+ /*
1456
+ * ---------------------------------------------------------------------------
1457
+ * MOTION TRANSITION TOKENS
1458
+ * ---------------------------------------------------------------------------
1459
+ */
1460
+
1461
+ /*
1462
+ * --------------------------------------------------
1463
+ * MOTION TRANSITION PROPERTY TOKENS
1464
+ * `transition-property`
1465
+ * --------------------------------------------------
1466
+ */
1467
+
1468
+ @layer pont.tokens {
1469
+ :root {
1470
+ --pont-ref-motion-trans-property-all: all;
1471
+ --pont-ref-motion-trans-property-none: none;
1472
+
1473
+ --pont-ref-motion-trans-property-colors:
1474
+ color, background-color, border-color, outline-color,
1475
+ text-decoration-color, fill, stroke, --pont-gradient-from,
1476
+ --pont-gradient-via, --pont-gradient-to;
1477
+ --pont-ref-motion-trans-property-opacity: opacity;
1478
+ --pont-ref-motion-trans-property-shadow: box-shadow;
1479
+ --pont-ref-motion-trans-property-transform:
1480
+ transform, translate, scale, rotate;
1481
+ }
1482
+ }
1483
+
1484
+ @layer pont.tokens {
1485
+ :root {
1486
+ --pont-sem-motion-trans-property:
1487
+ var(--pont-ref-motion-trans-property-colors),
1488
+ var(--pont-ref-motion-trans-property-opacity),
1489
+ var(--pont-ref-motion-trans-property-shadow),
1490
+ var(--pont-ref-motion-trans-property-transform), filter,
1491
+ -webkit-backdrop-filter, backdrop-filter, display, content-visibility,
1492
+ overlay, pointer-events;
1493
+ }
1494
+ }
1495
+
1496
+ /*
1497
+ * --------------------------------------------------
1498
+ * MOTION TRANSITION DURATION TOKENS
1499
+ * `transition-duration`, `transition-delay`
1500
+ * --------------------------------------------------
1501
+ */
1502
+
1503
+ @layer pont.tokens {
1504
+ :root {
1505
+ --pont-sem-motion-trans-duration: calc(
1506
+ var(--pont-ref-motion-duration) * 150
1507
+ );
1508
+ --pont-sem-motion-trans-duration-slow: calc(
1509
+ var(--pont-ref-motion-duration) * 200
1510
+ );
1511
+ --pont-sem-motion-trans-duration-fast: calc(
1512
+ var(--pont-ref-motion-duration) * 100
1513
+ );
1514
+ }
1515
+ }
1516
+
1517
+ /*
1518
+ * --------------------------------------------------
1519
+ * MOTION TRANSITION EASING TOKENS
1520
+ * `transition-timing-function`
1521
+ * --------------------------------------------------
1522
+ */
1523
+
1524
+ @layer pont.tokens {
1525
+ :root {
1526
+ --pont-sem-motion-trans-easing: var(--pont-ref-motion-easing-ease-in-out);
1527
+ }
1528
+ }
1529
+
1530
+ /*
1531
+ * ---------------------------------------------------------------------------
1532
+ * MOTION ANIMATION TOKENS
1533
+ * ---------------------------------------------------------------------------
1534
+ */
1535
+
1536
+ /*
1537
+ * --------------------------------------------------
1538
+ * MOTION ANIMATION NAME TOKENS
1539
+ * `animation-name`
1540
+ * --------------------------------------------------
1541
+ */
1542
+
1543
+ @layer pont.tokens {
1544
+ :root {
1545
+ --pont-sem-motion-anim-spin-name: pont-spin;
1546
+ --pont-sem-motion-anim-ping-name: pont-ping;
1547
+ --pont-sem-motion-anim-pulse-name: pont-pulse;
1548
+ --pont-sem-motion-anim-bounce-name: pont-bounce;
1549
+ }
1550
+ }
1551
+
1552
+ /*
1553
+ * --------------------------------------------------
1554
+ * MOTION ANIMATION DURATION TOKENS
1555
+ * `animation-duration`, `animation-delay`
1556
+ * --------------------------------------------------
1557
+ */
1558
+
1559
+ @layer pont.tokens {
1560
+ :root {
1561
+ --pont-sem-motion-anim-duration: var(--pont-ref-motion-duration-s);
1562
+ --pont-sem-motion-anim-duration-slow: calc(
1563
+ var(--pont-ref-motion-duration-s) * 2
1564
+ );
1565
+
1566
+ --pont-sem-motion-anim-spin-duration: var(--pont-sem-motion-anim-duration);
1567
+ --pont-sem-motion-anim-ping-duration: var(--pont-sem-motion-anim-duration);
1568
+ --pont-sem-motion-anim-pulse-duration: var(
1569
+ --pont-sem-motion-anim-duration-slow
1570
+ );
1571
+ --pont-sem-motion-anim-bounce-duration: var(
1572
+ --pont-sem-motion-anim-duration
1573
+ );
1574
+ }
1575
+ }
1576
+
1577
+ /*
1578
+ * --------------------------------------------------
1579
+ * MOTION ANIMATION EASING TOKENS
1580
+ * `animation-timing-function`
1581
+ * --------------------------------------------------
1582
+ */
1583
+
1584
+ @layer pont.tokens {
1585
+ :root {
1586
+ --pont-sem-motion-anim-easing: var(--pont-ref-motion-easing-ease);
1587
+
1588
+ --pont-sem-motion-anim-spin-easing: var(--pont-ref-motion-easing-linear);
1589
+ --pont-sem-motion-anim-ping-easing: var(--pont-ref-motion-easing-ease-out);
1590
+ --pont-sem-motion-anim-pulse-easing: cubic-bezier(0.4, 0, 0.6, 1);
1591
+ --pont-sem-motion-anim-bounce-easing: var(--pont-sem-motion-anim-easing);
1592
+ }
1593
+ }
1594
+
1595
+ /*
1596
+ * --------------------------------------------------
1597
+ * MOTION ANIMATION ITERATION TOKENS
1598
+ * `animation-iteration-count`
1599
+ * --------------------------------------------------
1600
+ */
1601
+
1602
+ @layer pont.tokens {
1603
+ :root {
1604
+ --pont-ref-motion-anim-iteration-infinite: infinite;
1605
+ }
1606
+ }
1607
+
1608
+ @layer pont.tokens {
1609
+ :root {
1610
+ --pont-sem-motion-anim-spin-iteration: var(
1611
+ --pont-ref-motion-anim-iteration-infinite
1612
+ );
1613
+ --pont-sem-motion-anim-ping-iteration: var(
1614
+ --pont-ref-motion-anim-iteration-infinite
1615
+ );
1616
+ --pont-sem-motion-anim-pulse-iteration: var(
1617
+ --pont-ref-motion-anim-iteration-infinite
1618
+ );
1619
+ --pont-sem-motion-anim-bounce-iteration: var(
1620
+ --pont-ref-motion-anim-iteration-infinite
1621
+ );
1622
+ }
1623
+ }
1624
+
1625
+ /*
1626
+ * --------------------------------------------------
1627
+ * MOTION ANIMATION 'COMPOSITE' TOKENS
1628
+ * `animation`
1629
+ * --------------------------------------------------
1630
+ */
1631
+
1632
+ @layer pont.tokens {
1633
+ :root {
1634
+ --pont-ref-motion-anim-none: none;
1635
+ }
1636
+ }
1637
+
1638
+ @layer pont.tokens {
1639
+ :root {
1640
+ --pont-sem-motion-anim-spin: var(--pont-sem-motion-anim-spin-name)
1641
+ var(--pont-sem-motion-anim-spin-duration)
1642
+ var(--pont-sem-motion-anim-spin-easing)
1643
+ var(--pont-sem-motion-anim-spin-iteration);
1644
+
1645
+ --pont-sem-motion-anim-ping: var(--pont-sem-motion-anim-ping-name)
1646
+ var(--pont-sem-motion-anim-ping-duration)
1647
+ var(--pont-sem-motion-anim-ping-easing)
1648
+ var(--pont-sem-motion-anim-ping-iteration);
1649
+
1650
+ --pont-sem-motion-anim-pulse: var(--pont-sem-motion-anim-pulse-name)
1651
+ var(--pont-sem-motion-anim-pulse-duration)
1652
+ var(--pont-sem-motion-anim-pulse-easing)
1653
+ var(--pont-sem-motion-anim-pulse-iteration);
1654
+
1655
+ --pont-sem-motion-anim-bounce: var(--pont-sem-motion-anim-bounce-name)
1656
+ var(--pont-sem-motion-anim-bounce-duration)
1657
+ var(--pont-sem-motion-anim-bounce-easing)
1658
+ var(--pont-sem-motion-anim-bounce-iteration);
1659
+ }
1660
+ }
989
1661
 
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);
1662
+ /* ./opacity.css */
1663
+ /*
1664
+ * ===========================================================================
1665
+ * OPACITY TOKENS
1666
+ * ---------------------------------------------------------------------------
1667
+ * `opacity`
1668
+ * ===========================================================================
1669
+ */
1001
1670
 
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);
1671
+ /*
1672
+ * --------------------------------------------------
1673
+ * OPACITY REFERENCE TOKENS
1674
+ * --------------------------------------------------
1675
+ */
1013
1676
 
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);
1677
+ @layer pont.tokens {
1678
+ :root {
1679
+ /* Anchor/seed value */
1680
+ --pont-ref-opacity: 0.01;
1025
1681
 
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);
1682
+ /* Absolute values */
1683
+ --pont-ref-opacity-none: 0;
1684
+ --pont-ref-opacity-full: 1;
1685
+ }
1686
+ }
1037
1687
 
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);
1688
+ /*
1689
+ * --------------------------------------------------
1690
+ * OPACITY SEMANTIC TOKENS
1691
+ * --------------------------------------------------
1692
+ */
1049
1693
 
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);
1694
+ @layer pont.tokens {
1695
+ :root {
1696
+ /* Anchor/seed value */
1697
+ --pont-sem-opacity-disabled: calc(var(--pont-ref-opacity) * 50);
1698
+ }
1699
+ }
1061
1700
 
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);
1701
+ /* ./radius.css */
1702
+ /*
1703
+ * ===========================================================================
1704
+ * RADIUS TOKENS
1705
+ * ---------------------------------------------------------------------------
1706
+ * `border-radius`
1707
+ * ===========================================================================
1708
+ */
1073
1709
 
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);
1710
+ /*
1711
+ * --------------------------------------------------
1712
+ * RADIUS REFERENCE TOKENS
1713
+ * --------------------------------------------------
1714
+ */
1085
1715
 
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);
1716
+ @layer pont.tokens {
1717
+ :root {
1718
+ /* Anchor/seed value */
1719
+ --pont-ref-radius: 0.625rem;
1097
1720
 
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);
1721
+ /* Proportional scale derived from anchor */
1722
+ --pont-ref-radius-xs: calc(var(--pont-ref-radius) * 0.2);
1723
+ --pont-ref-radius-sm: calc(var(--pont-ref-radius) * 0.6);
1724
+ --pont-ref-radius-md: calc(var(--pont-ref-radius) * 0.8);
1725
+ --pont-ref-radius-lg: var(--pont-ref-radius);
1726
+ --pont-ref-radius-xl: calc(var(--pont-ref-radius) * 1.4);
1727
+ --pont-ref-radius-2xl: calc(var(--pont-ref-radius) * 1.8);
1728
+ --pont-ref-radius-3xl: calc(var(--pont-ref-radius) * 2.2);
1729
+ --pont-ref-radius-4xl: calc(var(--pont-ref-radius) * 2.6);
1109
1730
 
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);
1731
+ /* Absolute values */
1732
+ --pont-ref-radius-none: 0;
1733
+ --pont-ref-radius-full: calc(infinity * 1rem);
1734
+ }
1735
+ }
1121
1736
 
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);
1737
+ /* ./typography.css */
1738
+ /*
1739
+ * ===========================================================================
1740
+ * TYPOGRAPHY TOKENS
1741
+ * ===========================================================================
1742
+ */
1133
1743
 
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);
1744
+ /*
1745
+ * ---------------------------------------------------------------------------
1746
+ * TYPOGRAPHY FONT TOKENS
1747
+ * ---------------------------------------------------------------------------
1748
+ * `font-family`
1749
+ * ---------------------------------------------------------------------------
1750
+ */
1145
1751
 
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);
1752
+ /*
1753
+ * --------------------------------------------------
1754
+ * TYPOGRAPHY FONT REFERENCE TOKENS
1755
+ * --------------------------------------------------
1756
+ */
1157
1757
 
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);
1758
+ @layer pont.tokens {
1759
+ :root {
1760
+ --pont-ref-typography-font-sans:
1761
+ -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
1762
+ "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
1763
+ "Segoe UI Symbol", "Noto Color Emoji";
1764
+
1765
+ --pont-ref-typography-font-serif:
1766
+ ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
1169
1767
 
1170
- --pont-ref-color-black: #000;
1171
- --pont-ref-color-white: #fff;
1768
+ --pont-ref-typography-font-mono:
1769
+ ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
1770
+ "Courier New", monospace;
1172
1771
  }
1173
1772
  }
1174
1773
 
1175
1774
  /*
1176
1775
  * --------------------------------------------------
1177
- * COLOR ROLES
1776
+ * TYPOGRAPHY FONT SEMANTIC TOKENS
1178
1777
  * --------------------------------------------------
1179
1778
  */
1180
1779
 
1181
1780
  @layer pont.tokens {
1182
1781
  :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);
1194
-
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);
1206
-
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);
1782
+ --pont-sem-typography-font-body: var(--pont-ref-typography-font-sans);
1783
+ --pont-sem-typography-font-heading: var(--pont-ref-typography-font-sans);
1784
+ --pont-sem-typography-font-code: var(--pont-ref-typography-font-mono);
1785
+ }
1786
+ }
1218
1787
 
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);
1788
+ /*
1789
+ * ---------------------------------------------------------------------------
1790
+ * TYPOGRAPHY SIZE TOKENS
1791
+ * ---------------------------------------------------------------------------
1792
+ * `font-size`
1793
+ * ---------------------------------------------------------------------------
1794
+ */
1230
1795
 
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);
1796
+ /*
1797
+ * --------------------------------------------------
1798
+ * TYPOGRAPHY SIZE REFERENCE TOKENS
1799
+ * --------------------------------------------------
1800
+ */
1242
1801
 
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);
1802
+ @layer pont.tokens {
1803
+ :root {
1804
+ --pont-ref-typography-size-xs: 0.75rem;
1805
+ --pont-ref-typography-size-sm: 0.875rem;
1806
+ --pont-ref-typography-size-base: 1rem;
1807
+ --pont-ref-typography-size-lg: 1.125rem;
1808
+ --pont-ref-typography-size-xl: 1.25rem;
1809
+ --pont-ref-typography-size-2xl: 1.5rem;
1810
+ --pont-ref-typography-size-3xl: 1.875rem;
1811
+ --pont-ref-typography-size-4xl: 2.25rem;
1812
+ --pont-ref-typography-size-5xl: 3rem;
1813
+ --pont-ref-typography-size-6xl: 3.75rem;
1814
+ --pont-ref-typography-size-7xl: 4.5rem;
1815
+ --pont-ref-typography-size-8xl: 6rem;
1816
+ --pont-ref-typography-size-9xl: 8rem;
1254
1817
  }
1255
1818
  }
1256
1819
 
1257
- /* ./sem/color.css */
1258
1820
  /*
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.
1821
+ * ---------------------------------------------------------------------------
1822
+ * TYPOGRAPHY WEIGHT TOKENS
1823
+ * ---------------------------------------------------------------------------
1824
+ * `font-weight`
1825
+ * ---------------------------------------------------------------------------
1826
+ */
1827
+
1828
+ /*
1829
+ * --------------------------------------------------
1830
+ * TYPOGRAPHY WEIGHT REFERENCE TOKENS
1831
+ * --------------------------------------------------
1270
1832
  */
1833
+
1271
1834
  @layer pont.tokens {
1272
1835
  :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);
1836
+ --pont-ref-typography-weight-thin: 100;
1837
+ --pont-ref-typography-weight-extralight: 200;
1838
+ --pont-ref-typography-weight-light: 300;
1839
+ --pont-ref-typography-weight-normal: 400;
1840
+ --pont-ref-typography-weight-medium: 500;
1841
+ --pont-ref-typography-weight-semibold: 600;
1842
+ --pont-ref-typography-weight-bold: 700;
1843
+ --pont-ref-typography-weight-extrabold: 800;
1844
+ --pont-ref-typography-weight-black: 900;
1845
+ }
1846
+ }
1290
1847
 
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);
1321
-
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);
1848
+ /*
1849
+ * ---------------------------------------------------------------------------
1850
+ * TYPOGRAPHY TRACKING TOKENS
1851
+ * ---------------------------------------------------------------------------
1852
+ * `letter-spacing`
1853
+ * ---------------------------------------------------------------------------
1854
+ */
1328
1855
 
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);
1856
+ /*
1857
+ * --------------------------------------------------
1858
+ * TYPOGRAPHY TRACKING REFERENCE TOKENS
1859
+ * --------------------------------------------------
1860
+ */
1336
1861
 
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);
1862
+ @layer pont.tokens {
1863
+ :root {
1864
+ --pont-ref-typography-tracking: 0.01em;
1342
1865
 
1343
- color-scheme: light;
1866
+ --pont-ref-typography-tracking-tighter: calc(
1867
+ var(--pont-ref-typography-tracking) * -5
1868
+ );
1869
+ --pont-ref-typography-tracking-tight: calc(
1870
+ var(--pont-ref-typography-tracking) * -2.5
1871
+ );
1872
+ --pont-ref-typography-tracking-normal: calc(
1873
+ var(--pont-ref-typography-tracking) * 0
1874
+ );
1875
+ --pont-ref-typography-tracking-wide: calc(
1876
+ var(--pont-ref-typography-tracking) * 2.5
1877
+ );
1878
+ --pont-ref-typography-tracking-wider: calc(
1879
+ var(--pont-ref-typography-tracking) * 5
1880
+ );
1881
+ --pont-ref-typography-tracking-widest: calc(
1882
+ var(--pont-ref-typography-tracking) * 10
1883
+ );
1344
1884
  }
1885
+ }
1345
1886
 
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);
1367
-
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);
1887
+ /*
1888
+ * ---------------------------------------------------------------------------
1889
+ * TYPOGRAPHY LEADING TOKENS
1890
+ * ---------------------------------------------------------------------------
1891
+ * `line-height`
1892
+ * ---------------------------------------------------------------------------
1893
+ */
1383
1894
 
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);
1895
+ /*
1896
+ * --------------------------------------------------
1897
+ * TYPOGRAPHY LEADING REFERENCE TOKENS
1898
+ * --------------------------------------------------
1899
+ */
1388
1900
 
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);
1901
+ @layer pont.tokens {
1902
+ :root {
1903
+ --pont-ref-typography-leading-none: 1;
1904
+ --pont-ref-typography-leading-tight: 1.25;
1905
+ --pont-ref-typography-leading-snug: 1.375;
1906
+ --pont-ref-typography-leading-normal: 1.5;
1907
+ --pont-ref-typography-leading-relaxed: 1.625;
1908
+ --pont-ref-typography-leading-loose: 2;
1393
1909
 
1394
- color-scheme: dark;
1910
+ --pont-ref-typography-leading-of-xs: calc(1 / 0.75);
1911
+ --pont-ref-typography-leading-of-sm: calc(1.25 / 0.875);
1912
+ --pont-ref-typography-leading-of-base: calc(1.5 / 1);
1913
+ --pont-ref-typography-leading-of-lg: calc(1.75 / 1.125);
1914
+ --pont-ref-typography-leading-of-xl: calc(1.75 / 1.25);
1915
+ --pont-ref-typography-leading-of-2xl: calc(2 / 1.5);
1916
+ --pont-ref-typography-leading-of-3xl: calc(2.25 / 1.875);
1917
+ --pont-ref-typography-leading-of-4xl: calc(2.5 / 2.25);
1918
+ --pont-ref-typography-leading-of-5xl: 1;
1919
+ --pont-ref-typography-leading-of-6xl: 1;
1920
+ --pont-ref-typography-leading-of-7xl: 1;
1921
+ --pont-ref-typography-leading-of-8xl: 1;
1922
+ --pont-ref-typography-leading-of-9xl: 1;
1395
1923
  }
1396
1924
  }
1397
1925
 
@@ -1683,7 +2211,7 @@
1683
2211
  /** @token Background */
1684
2212
  --_pont-button-bg: var(--pont-button-default-bg, var(--pont-sem-color-primary));
1685
2213
  /** @token Text */
1686
- --_pont-button-fg: var(--pont-button-default-fg, var(--pont-sem-color-primary-foreground));
2214
+ --_pont-button-fg: var(--pont-button-default-fg, var(--pont-sem-color-primary-fg));
1687
2215
  /** @token Background on hover */
1688
2216
  --_pont-button-bg-hover: var(--pont-button-default-bg-hover, color-mix(in oklab, var(--_pont-button-bg) 80%, transparent));
1689
2217
  }
@@ -1697,7 +2225,7 @@
1697
2225
  --_pont-button-border-color: var(--pont-button-outline-border-color, var(--pont-sem-color-control-border));
1698
2226
  /** @token Background on hover */
1699
2227
  --_pont-button-bg-hover: var(--pont-button-outline-bg-hover, var(--pont-sem-color-control-hover));
1700
- --_pont-button-fg-hover: var(--pont-sem-color-foreground);
2228
+ --_pont-button-fg-hover: var(--pont-sem-color-fg);
1701
2229
  --pont-shadow: var(--pont-sem-shadow-xs);
1702
2230
  }
1703
2231
 
@@ -1705,9 +2233,9 @@
1705
2233
  /** @token Background */
1706
2234
  --_pont-button-bg: var(--pont-button-secondary-bg, var(--pont-sem-color-secondary));
1707
2235
  /** @token Text */
1708
- --_pont-button-fg: var(--pont-button-secondary-fg, var(--pont-sem-color-secondary-foreground));
2236
+ --_pont-button-fg: var(--pont-button-secondary-fg, var(--pont-sem-color-secondary-fg));
1709
2237
  /** @token Background on hover */
1710
- --_pont-button-bg-hover: var(--pont-button-secondary-bg-hover, color-mix(in oklch, var(--_pont-button-bg), var(--pont-sem-color-foreground) 5%));
2238
+ --_pont-button-bg-hover: var(--pont-button-secondary-bg-hover, color-mix(in oklch, var(--_pont-button-bg), var(--pont-sem-color-fg) 5%));
1711
2239
  }
1712
2240
 
1713
2241
  [data-pont-button][data-variant="ghost"] {
@@ -1715,7 +2243,7 @@
1715
2243
  --_pont-button-fg: var(--pont-button-ghost-fg, currentcolor);
1716
2244
  /** @token Background on hover */
1717
2245
  --_pont-button-bg-hover: var(--pont-button-ghost-bg-hover, var(--pont-sem-color-surface-hover));
1718
- --_pont-button-fg-hover: var(--pont-sem-color-foreground);
2246
+ --_pont-button-fg-hover: var(--pont-sem-color-fg);
1719
2247
  }
1720
2248
 
1721
2249
  [data-pont-button][data-variant="destructive"] {
@@ -2016,7 +2544,7 @@
2016
2544
  /** @token Height */
2017
2545
  --_pont-input-height: var(--pont-input-height, 2.25rem);
2018
2546
  /** @token Placeholder text */
2019
- --_pont-input-placeholder-fg: var(--pont-input-placeholder-fg, var(--pont-sem-color-muted-foreground));
2547
+ --_pont-input-placeholder-fg: var(--pont-input-placeholder-fg, var(--pont-sem-color-muted-fg));
2020
2548
  }
2021
2549
 
2022
2550
  [data-pont-input] {
@@ -2061,7 +2589,7 @@
2061
2589
  height: 1.75rem;
2062
2590
  border: 0;
2063
2591
  background-color: transparent;
2064
- color: var(--pont-sem-color-foreground);
2592
+ color: var(--pont-sem-color-fg);
2065
2593
  font: inherit;
2066
2594
  font-size: var(--pont-ref-typography-size-sm);
2067
2595
  line-height: var(--pont-ref-typography-leading-of-sm);
@@ -2106,7 +2634,7 @@
2106
2634
  /** @token Corner radius */
2107
2635
  --_pont-textarea-radius: var(--pont-textarea-radius, var(--pont-ref-radius-md));
2108
2636
  /** @token Placeholder text */
2109
- --_pont-textarea-placeholder-fg: var(--pont-textarea-placeholder-fg, var(--pont-sem-color-muted-foreground));
2637
+ --_pont-textarea-placeholder-fg: var(--pont-textarea-placeholder-fg, var(--pont-sem-color-muted-fg));
2110
2638
  }
2111
2639
 
2112
2640
  [data-pont-textarea] {
@@ -2188,7 +2716,7 @@
2188
2716
  /** @token Background when checked */
2189
2717
  --_pont-checkbox-bg-checked: var(--pont-checkbox-bg-checked, var(--pont-sem-color-primary));
2190
2718
  /** @token Check mark when checked */
2191
- --_pont-checkbox-fg-checked: var(--pont-checkbox-fg-checked, var(--pont-sem-color-primary-foreground));
2719
+ --_pont-checkbox-fg-checked: var(--pont-checkbox-fg-checked, var(--pont-sem-color-primary-fg));
2192
2720
  /** @token Border when checked */
2193
2721
  --_pont-checkbox-border-color-checked: var(--pont-checkbox-border-color-checked, var(--_pont-checkbox-bg-checked));
2194
2722
  }
@@ -2304,7 +2832,7 @@
2304
2832
  /** @token Background */
2305
2833
  --_pont-badge-bg: var(--pont-badge-default-bg, var(--pont-sem-color-primary));
2306
2834
  /** @token Text */
2307
- --_pont-badge-fg: var(--pont-badge-default-fg, var(--pont-sem-color-primary-foreground));
2835
+ --_pont-badge-fg: var(--pont-badge-default-fg, var(--pont-sem-color-primary-fg));
2308
2836
  /** @token Background on hover */
2309
2837
  --_pont-badge-bg-hover: var(--pont-badge-default-bg-hover, color-mix(in oklab, var(--_pont-badge-bg) 80%, transparent));
2310
2838
  --_pont-badge-fg-hover: initial;
@@ -2315,19 +2843,19 @@
2315
2843
  /** @token Background */
2316
2844
  --_pont-badge-bg: var(--pont-badge-secondary-bg, var(--pont-sem-color-secondary));
2317
2845
  /** @token Text */
2318
- --_pont-badge-fg: var(--pont-badge-secondary-fg, var(--pont-sem-color-secondary-foreground));
2846
+ --_pont-badge-fg: var(--pont-badge-secondary-fg, var(--pont-sem-color-secondary-fg));
2319
2847
  --_pont-badge-bg-hover: color-mix(in oklab, var(--_pont-badge-bg) 80%, transparent);
2320
2848
  }
2321
2849
 
2322
2850
  [data-pont-badge][data-variant="outline"] {
2323
2851
  --_pont-badge-bg: transparent;
2324
2852
  /** @token Text */
2325
- --_pont-badge-fg: var(--pont-badge-outline-fg, var(--pont-sem-color-foreground));
2853
+ --_pont-badge-fg: var(--pont-badge-outline-fg, var(--pont-sem-color-fg));
2326
2854
  /** @token Border */
2327
2855
  --_pont-badge-border-color: var(--pont-badge-outline-border-color, var(--pont-sem-color-border));
2328
2856
  /** @token Background on hover */
2329
2857
  --_pont-badge-bg-hover: var(--pont-badge-outline-bg-hover, var(--pont-sem-color-muted));
2330
- --_pont-badge-fg-hover: var(--pont-sem-color-muted-foreground);
2858
+ --_pont-badge-fg-hover: var(--pont-sem-color-muted-fg);
2331
2859
  }
2332
2860
 
2333
2861
  [data-pont-badge][data-variant="destructive"] {
@@ -2344,7 +2872,7 @@
2344
2872
  --_pont-badge-fg: currentcolor;
2345
2873
  /** @token Background on hover */
2346
2874
  --_pont-badge-bg-hover: var(--pont-badge-ghost-bg-hover, var(--pont-sem-color-surface-hover));
2347
- --_pont-badge-fg-hover: var(--pont-sem-color-muted-foreground);
2875
+ --_pont-badge-fg-hover: var(--pont-sem-color-muted-fg);
2348
2876
  }
2349
2877
 
2350
2878
  [data-pont-badge][data-variant="link"] {
@@ -2447,7 +2975,7 @@
2447
2975
  /** @token Background */
2448
2976
  --_pont-kbd-bg: var(--pont-kbd-bg, var(--pont-sem-color-muted));
2449
2977
  /** @token Text */
2450
- --_pont-kbd-fg: var(--pont-kbd-fg, var(--pont-sem-color-muted-foreground));
2978
+ --_pont-kbd-fg: var(--pont-kbd-fg, var(--pont-sem-color-muted-fg));
2451
2979
  /** @token Corner radius */
2452
2980
  --_pont-kbd-radius: var(--pont-kbd-radius, var(--pont-ref-radius-sm));
2453
2981
  /** @token Height */
@@ -2459,7 +2987,7 @@
2459
2987
  /* in-data-[slot=tooltip-content]: the inverted tooltip colours */
2460
2988
  [data-slot="tooltip-content"] :is(pont-prim-kbd, pont-kbd, [data-pont-kbd]) {
2461
2989
  --_pont-kbd-bg: var(--pont-sem-color-inverse-subtle);
2462
- --_pont-kbd-fg: var(--pont-sem-color-background);
2990
+ --_pont-kbd-fg: var(--pont-sem-color-bg);
2463
2991
  }
2464
2992
 
2465
2993
  /* ------------------------------------------------------------------ */
@@ -2576,9 +3104,9 @@
2576
3104
 
2577
3105
  :is(pont-prim-alert, [data-pont-alert]) {
2578
3106
  /** @token Background */
2579
- --_pont-alert-bg: var(--pont-alert-default-bg, var(--pont-sem-color-card));
3107
+ --_pont-alert-bg: var(--pont-alert-default-bg, var(--pont-sem-color-surface));
2580
3108
  /** @token Text */
2581
- --_pont-alert-fg: var(--pont-alert-default-fg, var(--pont-sem-color-card-foreground));
3109
+ --_pont-alert-fg: var(--pont-alert-default-fg, var(--pont-sem-color-surface-fg));
2582
3110
  /** @token Border */
2583
3111
  --_pont-alert-border-color: var(--pont-alert-border-color, var(--pont-sem-color-border));
2584
3112
  /** @token Corner radius */
@@ -2590,12 +3118,12 @@
2590
3118
  /** @token Title weight */
2591
3119
  --_pont-alert-title-font-weight: var(--pont-alert-title-font-weight, var(--pont-ref-typography-weight-medium));
2592
3120
  /** @token Description text */
2593
- --_pont-alert-description-fg: var(--pont-alert-description-fg, var(--pont-sem-color-muted-foreground));
3121
+ --_pont-alert-description-fg: var(--pont-alert-description-fg, var(--pont-sem-color-muted-fg));
2594
3122
  }
2595
3123
 
2596
3124
  [data-pont-alert][data-variant="destructive"] {
2597
3125
  /** @token Background */
2598
- --_pont-alert-bg: var(--pont-alert-destructive-bg, var(--pont-sem-color-card));
3126
+ --_pont-alert-bg: var(--pont-alert-destructive-bg, var(--pont-sem-color-surface));
2599
3127
  /** @token Text */
2600
3128
  --_pont-alert-fg: var(--pont-alert-destructive-fg, var(--pont-sem-color-destructive));
2601
3129
  --_pont-alert-description-fg: color-mix(in oklab, var(--_pont-alert-fg) 90%, transparent);
@@ -2652,7 +3180,7 @@
2652
3180
 
2653
3181
  :is(pont-prim-alert-description, [data-pont-alert-description]) {
2654
3182
  display: block;
2655
- color: var(--_pont-alert-description-fg, var(--pont-sem-color-muted-foreground));
3183
+ color: var(--_pont-alert-description-fg, var(--pont-sem-color-muted-fg));
2656
3184
  font-size: var(--pont-ref-typography-size-sm);
2657
3185
  line-height: var(--pont-ref-typography-leading-of-sm);
2658
3186
  text-wrap: balance;
@@ -2675,7 +3203,7 @@
2675
3203
  text-underline-offset: 3px;
2676
3204
  }
2677
3205
  :is(pont-prim-alert-title, [data-pont-alert-title], pont-prim-alert-description, [data-pont-alert-description]) a:hover {
2678
- color: var(--pont-sem-color-foreground);
3206
+ color: var(--pont-sem-color-fg);
2679
3207
  }
2680
3208
 
2681
3209
  :is(pont-prim-alert-action, [data-pont-alert-action]) {
@@ -2721,11 +3249,11 @@
2721
3249
  /** @token Fallback and count background */
2722
3250
  --_pont-avatar-fallback-bg: var(--pont-avatar-fallback-bg, var(--pont-sem-color-muted));
2723
3251
  /** @token Fallback and count text */
2724
- --_pont-avatar-fallback-fg: var(--pont-avatar-fallback-fg, var(--pont-sem-color-muted-foreground));
3252
+ --_pont-avatar-fallback-fg: var(--pont-avatar-fallback-fg, var(--pont-sem-color-muted-fg));
2725
3253
  /** @token Badge background */
2726
3254
  --_pont-avatar-badge-bg: var(--pont-avatar-badge-bg, var(--pont-sem-color-primary));
2727
3255
  /** @token Badge text */
2728
- --_pont-avatar-badge-fg: var(--pont-avatar-badge-fg, var(--pont-sem-color-primary-foreground));
3256
+ --_pont-avatar-badge-fg: var(--pont-avatar-badge-fg, var(--pont-sem-color-primary-fg));
2729
3257
  }
2730
3258
 
2731
3259
  /* ------------------------------------------------------------------ */
@@ -2786,7 +3314,7 @@
2786
3314
  height: var(--pont-ref-dimension-size-full);
2787
3315
  border-radius: var(--_pont-avatar-radius, var(--pont-ref-radius-full));
2788
3316
  background-color: var(--_pont-avatar-fallback-bg, var(--pont-sem-color-muted));
2789
- color: var(--_pont-avatar-fallback-fg, var(--pont-sem-color-muted-foreground));
3317
+ color: var(--_pont-avatar-fallback-fg, var(--pont-sem-color-muted-fg));
2790
3318
  font-size: var(--pont-ref-typography-size-sm);
2791
3319
  line-height: var(--pont-ref-typography-leading-of-sm);
2792
3320
  }
@@ -2812,9 +3340,9 @@
2812
3340
  border-radius: var(--pont-ref-radius-full);
2813
3341
  background-blend-mode: color;
2814
3342
  background-color: var(--_pont-avatar-badge-bg, var(--pont-sem-color-primary));
2815
- color: var(--_pont-avatar-badge-fg, var(--pont-sem-color-primary-foreground));
3343
+ color: var(--_pont-avatar-badge-fg, var(--pont-sem-color-primary-fg));
2816
3344
  user-select: none;
2817
- box-shadow: 0 0 0 2px var(--pont-sem-color-background);
3345
+ box-shadow: 0 0 0 2px var(--pont-sem-color-bg);
2818
3346
  }
2819
3347
  :is(pont-prim-avatar-badge, [data-pont-avatar-badge]) > svg {
2820
3348
  width: 0.5rem;
@@ -2840,7 +3368,7 @@
2840
3368
  margin-inline-end: -0.5rem;
2841
3369
  }
2842
3370
  :is(pont-prim-avatar-group, [data-pont-avatar-group]) > [data-slot="avatar"] {
2843
- --pont-ring-shadow: 0 0 0 2px var(--pont-sem-color-background);
3371
+ --pont-ring-shadow: 0 0 0 2px var(--pont-sem-color-bg);
2844
3372
  }
2845
3373
 
2846
3374
  :is(pont-prim-avatar-group-count, [data-pont-avatar-group-count]) {
@@ -2857,7 +3385,7 @@
2857
3385
  color: var(--_pont-avatar-fallback-fg);
2858
3386
  font-size: var(--pont-ref-typography-size-sm);
2859
3387
  line-height: var(--pont-ref-typography-leading-of-sm);
2860
- box-shadow: 0 0 0 2px var(--pont-sem-color-background);
3388
+ box-shadow: 0 0 0 2px var(--pont-sem-color-bg);
2861
3389
  }
2862
3390
  :is(pont-prim-avatar-group-count, [data-pont-avatar-group-count]) > svg {
2863
3391
  width: 1rem;
@@ -3056,11 +3584,11 @@
3056
3584
 
3057
3585
  :is(pont-prim-card, [data-pont-card]) {
3058
3586
  /** @token Background */
3059
- --_pont-card-bg: var(--pont-card-bg, var(--pont-sem-color-card));
3587
+ --_pont-card-bg: var(--pont-card-bg, var(--pont-sem-color-surface));
3060
3588
  /** @token Text */
3061
- --_pont-card-fg: var(--pont-card-fg, var(--pont-sem-color-card-foreground));
3589
+ --_pont-card-fg: var(--pont-card-fg, var(--pont-sem-color-surface-fg));
3062
3590
  /** @token Border */
3063
- --_pont-card-border-color: var(--pont-card-border-color, color-mix(in oklab, var(--pont-sem-color-foreground) 10%, transparent));
3591
+ --_pont-card-border-color: var(--pont-card-border-color, color-mix(in oklab, var(--pont-sem-color-fg) 10%, transparent));
3064
3592
  /** @token Corner radius */
3065
3593
  --_pont-card-radius: var(--pont-card-radius, var(--pont-ref-radius-xl));
3066
3594
  /** @token Shadow */
@@ -3141,7 +3669,7 @@
3141
3669
 
3142
3670
  :is(pont-prim-card-description, [data-pont-card-description]) {
3143
3671
  display: block;
3144
- color: var(--pont-sem-color-muted-foreground);
3672
+ color: var(--pont-sem-color-muted-fg);
3145
3673
  font-size: var(--pont-ref-typography-size-sm);
3146
3674
  line-height: var(--pont-ref-typography-leading-of-sm);
3147
3675
  }
@@ -3218,11 +3746,11 @@
3218
3746
  /** @token Icon background */
3219
3747
  --_pont-empty-media-icon-bg: var(--pont-empty-media-icon-bg, var(--pont-sem-color-muted));
3220
3748
  /** @token Icon colour */
3221
- --_pont-empty-media-icon-fg: var(--pont-empty-media-icon-fg, var(--pont-sem-color-foreground));
3749
+ --_pont-empty-media-icon-fg: var(--pont-empty-media-icon-fg, var(--pont-sem-color-fg));
3222
3750
  /** @token Title weight */
3223
3751
  --_pont-empty-title-font-weight: var(--pont-empty-title-font-weight, var(--pont-ref-typography-weight-medium));
3224
3752
  /** @token Description text */
3225
- --_pont-empty-description-fg: var(--pont-empty-description-fg, var(--pont-sem-color-muted-foreground));
3753
+ --_pont-empty-description-fg: var(--pont-empty-description-fg, var(--pont-sem-color-muted-fg));
3226
3754
  }
3227
3755
 
3228
3756
  /* ------------------------------------------------------------------ */
@@ -3273,7 +3801,7 @@
3273
3801
  height: 2.5rem;
3274
3802
  border-radius: var(--_pont-empty-radius, var(--pont-ref-radius-lg));
3275
3803
  background-color: var(--_pont-empty-media-icon-bg, var(--pont-sem-color-muted));
3276
- color: var(--_pont-empty-media-icon-fg, var(--pont-sem-color-foreground));
3804
+ color: var(--_pont-empty-media-icon-fg, var(--pont-sem-color-fg));
3277
3805
  }
3278
3806
  [data-pont-empty-media][data-variant="icon"] svg:not([class*="size-"]) {
3279
3807
  width: 1.5rem;
@@ -3290,7 +3818,7 @@
3290
3818
 
3291
3819
  :is(pont-prim-empty-description, [data-pont-empty-description]) {
3292
3820
  display: block;
3293
- color: var(--_pont-empty-description-fg, var(--pont-sem-color-muted-foreground));
3821
+ color: var(--_pont-empty-description-fg, var(--pont-sem-color-muted-fg));
3294
3822
  font-size: var(--pont-ref-typography-size-sm);
3295
3823
  line-height: var(--pont-ref-typography-leading-relaxed);
3296
3824
  }
@@ -3363,7 +3891,7 @@
3363
3891
  /** @token Text when invalid */
3364
3892
  --_pont-field-fg-invalid: var(--pont-field-fg-invalid, var(--pont-sem-color-destructive));
3365
3893
  /** @token Text */
3366
- --_pont-field-description-fg: var(--pont-field-description-fg, var(--pont-sem-color-muted-foreground));
3894
+ --_pont-field-description-fg: var(--pont-field-description-fg, var(--pont-sem-color-muted-fg));
3367
3895
  /** @token Text */
3368
3896
  --_pont-field-error-fg: var(--pont-field-error-fg, var(--pont-sem-color-destructive));
3369
3897
  /** @token Border */
@@ -3572,7 +4100,7 @@
3572
4100
  align-items: center;
3573
4101
  height: 1.25rem;
3574
4102
  margin-block: -0.5rem;
3575
- color: var(--pont-sem-color-muted-foreground);
4103
+ color: var(--pont-sem-color-muted-fg);
3576
4104
  font-size: var(--pont-ref-typography-size-sm);
3577
4105
  line-height: var(--pont-ref-typography-leading-of-sm);
3578
4106
  white-space: nowrap;
@@ -3661,7 +4189,7 @@
3661
4189
  /** @token Height */
3662
4190
  --_pont-input-group-height: var(--pont-input-group-height, var(--pont-input-height, 2.25rem));
3663
4191
  /** @token Addon text */
3664
- --_pont-input-group-addon-fg: var(--pont-input-group-addon-fg, var(--pont-sem-color-muted-foreground));
4192
+ --_pont-input-group-addon-fg: var(--pont-input-group-addon-fg, var(--pont-sem-color-muted-fg));
3665
4193
  }
3666
4194
 
3667
4195
  :is(pont-prim-input-group, [data-pont-input-group]) {
@@ -3800,7 +4328,7 @@
3800
4328
  display: flex;
3801
4329
  align-items: center;
3802
4330
  gap: 0.5rem;
3803
- color: var(--pont-sem-color-muted-foreground);
4331
+ color: var(--pont-sem-color-muted-fg);
3804
4332
  font-size: var(--pont-ref-typography-size-sm);
3805
4333
  line-height: var(--pont-ref-typography-leading-of-sm);
3806
4334
  }
@@ -3904,7 +4432,7 @@
3904
4432
  /** @token Title weight */
3905
4433
  --_pont-item-title-font-weight: var(--pont-item-title-font-weight, var(--pont-ref-typography-weight-medium));
3906
4434
  /** @token Description text */
3907
- --_pont-item-description-fg: var(--pont-item-description-fg, var(--pont-sem-color-muted-foreground));
4435
+ --_pont-item-description-fg: var(--pont-item-description-fg, var(--pont-sem-color-muted-fg));
3908
4436
  /* set per variant below; declared here so nothing is inherited from an ancestor */
3909
4437
  --_pont-item-bg: transparent;
3910
4438
  --_pont-item-border-color: transparent;
@@ -4056,7 +4584,7 @@
4056
4584
  -webkit-line-clamp: 2;
4057
4585
  -webkit-box-orient: vertical;
4058
4586
  margin: 0;
4059
- color: var(--_pont-item-description-fg, var(--pont-sem-color-muted-foreground));
4587
+ color: var(--_pont-item-description-fg, var(--pont-sem-color-muted-fg));
4060
4588
  text-align: left;
4061
4589
  font-size: var(--pont-ref-typography-size-sm);
4062
4590
  line-height: var(--pont-ref-typography-leading-normal);
@@ -4123,7 +4651,7 @@
4123
4651
  /** @token Height */
4124
4652
  --_pont-native-select-height: var(--pont-native-select-height, 2.25rem);
4125
4653
  /** @token Chevron */
4126
- --_pont-native-select-icon-color: var(--pont-native-select-icon-color, var(--pont-sem-color-muted-foreground));
4654
+ --_pont-native-select-icon-color: var(--pont-native-select-icon-color, var(--pont-sem-color-muted-fg));
4127
4655
  --_pont-native-select-default: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
4128
4656
  }
4129
4657
  [data-pont-native-select][data-size="sm"] {
@@ -4182,7 +4710,7 @@
4182
4710
  }
4183
4711
  [data-pont-native-select]::selection {
4184
4712
  background-color: var(--pont-sem-color-primary);
4185
- color: var(--pont-sem-color-primary-foreground);
4713
+ color: var(--pont-sem-color-primary-fg);
4186
4714
  }
4187
4715
  [data-pont-native-select]:hover {
4188
4716
  background-color: var(--_pont-native-select-bg-hover);
@@ -4244,7 +4772,7 @@
4244
4772
  /** @token Footer background */
4245
4773
  --_pont-table-footer-bg: var(--pont-table-footer-bg, color-mix(in oklab, var(--pont-sem-color-muted) 50%, transparent));
4246
4774
  /** @token Header text */
4247
- --_pont-table-head-fg: var(--pont-table-head-fg, var(--pont-sem-color-foreground));
4775
+ --_pont-table-head-fg: var(--pont-table-head-fg, var(--pont-sem-color-fg));
4248
4776
  /** @token Header weight */
4249
4777
  --_pont-table-head-font-weight: var(--pont-table-head-font-weight, var(--pont-ref-typography-weight-medium));
4250
4778
  /** @token Header height */
@@ -4305,7 +4833,7 @@
4305
4833
  :is(:is(pont-prim-table, pont-table) > table > * > tr > th, [data-pont-table-head]) {
4306
4834
  height: var(--_pont-table-head-height, 2.5rem);
4307
4835
  padding: 0 0.5rem;
4308
- color: var(--_pont-table-head-fg, var(--pont-sem-color-foreground));
4836
+ color: var(--_pont-table-head-fg, var(--pont-sem-color-fg));
4309
4837
  text-align: left;
4310
4838
  vertical-align: middle;
4311
4839
  font-weight: var(--_pont-table-head-font-weight, var(--pont-ref-typography-weight-medium));
@@ -4325,7 +4853,7 @@
4325
4853
 
4326
4854
  :is(:is(pont-prim-table, pont-table) > table > caption, [data-pont-table-caption]) {
4327
4855
  margin-top: 1rem;
4328
- color: var(--pont-sem-color-muted-foreground);
4856
+ color: var(--pont-sem-color-muted-fg);
4329
4857
  font-size: var(--pont-ref-typography-size-sm);
4330
4858
  line-height: var(--pont-ref-typography-leading-of-sm);
4331
4859
  }
@@ -4588,7 +5116,7 @@
4588
5116
  [data-pont-input-otp-caret-line] {
4589
5117
  width: var(--pont-ref-dimension-size-px);
4590
5118
  height: 1rem;
4591
- background-color: var(--pont-sem-color-foreground);
5119
+ background-color: var(--pont-sem-color-fg);
4592
5120
  animation: pont-caret-blink var(--pont-sem-motion-anim-duration) var(--pont-ref-motion-easing-ease-out)
4593
5121
  var(--pont-ref-motion-anim-iteration-infinite);
4594
5122
  }
@@ -4673,7 +5201,7 @@
4673
5201
 
4674
5202
  :is(pont-prim-progress-value, [data-pont-progress-value]) {
4675
5203
  margin-left: auto;
4676
- color: var(--pont-sem-color-muted-foreground);
5204
+ color: var(--pont-sem-color-muted-fg);
4677
5205
  font-size: var(--pont-ref-typography-size-sm);
4678
5206
  line-height: var(--pont-ref-typography-leading-of-sm);
4679
5207
  font-variant-numeric: tabular-nums;
@@ -4711,7 +5239,7 @@
4711
5239
  /** @token Border when checked */
4712
5240
  --_pont-radio-group-item-border-color-checked: var(--pont-radio-group-item-border-color-checked, var(--_pont-radio-group-item-bg-checked));
4713
5241
  /** @token Dot */
4714
- --_pont-radio-group-indicator-bg: var(--pont-radio-group-indicator-bg, var(--pont-sem-color-primary-foreground));
5242
+ --_pont-radio-group-indicator-bg: var(--pont-radio-group-indicator-bg, var(--pont-sem-color-primary-fg));
4715
5243
  }
4716
5244
 
4717
5245
  :is(pont-prim-radio-group, [data-pont-radio-group]) {
@@ -4747,7 +5275,7 @@
4747
5275
 
4748
5276
  [data-pont-radio-group-item][data-checked] {
4749
5277
  background-color: var(--_pont-radio-group-item-bg-checked);
4750
- color: var(--pont-sem-color-primary-foreground);
5278
+ color: var(--pont-sem-color-primary-fg);
4751
5279
  border-color: var(--_pont-radio-group-item-border-color-checked);
4752
5280
  }
4753
5281
 
@@ -5098,15 +5626,15 @@
5098
5626
  /** @token Tab text */
5099
5627
  --_pont-tabs-trigger-fg: var(--pont-tabs-trigger-fg, var(--pont-sem-color-segment-fg));
5100
5628
  /** @token Tab text on hover */
5101
- --_pont-tabs-trigger-fg-hover: var(--pont-tabs-trigger-fg-hover, var(--pont-sem-color-foreground));
5629
+ --_pont-tabs-trigger-fg-hover: var(--pont-tabs-trigger-fg-hover, var(--pont-sem-color-fg));
5102
5630
  /** @token Active tab background */
5103
5631
  --_pont-tabs-trigger-bg-active: var(--pont-tabs-trigger-bg-active, var(--pont-sem-color-segment-active));
5104
5632
  /** @token Active tab text */
5105
- --_pont-tabs-trigger-fg-active: var(--pont-tabs-trigger-fg-active, var(--pont-sem-color-foreground));
5633
+ --_pont-tabs-trigger-fg-active: var(--pont-tabs-trigger-fg-active, var(--pont-sem-color-fg));
5106
5634
  /** @token Active tab border */
5107
5635
  --_pont-tabs-trigger-border-color-active: var(--pont-tabs-trigger-border-color-active, var(--pont-sem-color-segment-active-border));
5108
5636
  /** @token Line indicator */
5109
- --_pont-tabs-indicator-bg: var(--pont-tabs-indicator-bg, var(--pont-sem-color-foreground));
5637
+ --_pont-tabs-indicator-bg: var(--pont-tabs-indicator-bg, var(--pont-sem-color-fg));
5110
5638
  }
5111
5639
 
5112
5640
  /* line variant: no list fill, the active tab is marked by the indicator only */
@@ -5141,7 +5669,7 @@
5141
5669
  padding: 3px;
5142
5670
  border-radius: var(--_pont-tabs-list-radius);
5143
5671
  background-color: var(--_pont-tabs-list-bg);
5144
- color: var(--pont-sem-color-muted-foreground);
5672
+ color: var(--pont-sem-color-muted-fg);
5145
5673
  }
5146
5674
  [data-pont-tabs][data-orientation="vertical"] [data-pont-tabs-list] {
5147
5675
  height: var(--pont-ref-dimension-size-fit);
@@ -5181,7 +5709,7 @@
5181
5709
  justify-content: flex-start;
5182
5710
  }
5183
5711
  [data-pont-tabs-trigger]:hover {
5184
- color: var(--_pont-tabs-trigger-fg-hover, var(--pont-sem-color-foreground));
5712
+ color: var(--_pont-tabs-trigger-fg-hover, var(--pont-sem-color-fg));
5185
5713
  }
5186
5714
  [data-pont-tabs-trigger]:is([data-disabled], [aria-disabled="true"]) {
5187
5715
  pointer-events: none;
@@ -5206,7 +5734,7 @@
5206
5734
  [data-pont-tabs-trigger][data-active] {
5207
5735
  border-color: var(--_pont-tabs-trigger-border-color-active, var(--pont-sem-color-segment-active-border));
5208
5736
  background-color: var(--_pont-tabs-trigger-bg-active, var(--pont-sem-color-segment-active));
5209
- color: var(--_pont-tabs-trigger-fg-active, var(--pont-sem-color-foreground));
5737
+ color: var(--_pont-tabs-trigger-fg-active, var(--pont-sem-color-fg));
5210
5738
  }
5211
5739
  [data-pont-tabs-list]:not([data-variant="line"]) > [data-pont-tabs-trigger][data-active] {
5212
5740
  --pont-shadow: var(--pont-sem-shadow-sm);
@@ -5228,7 +5756,7 @@
5228
5756
  [data-pont-tabs-trigger]::after {
5229
5757
  content: "";
5230
5758
  position: absolute;
5231
- background-color: var(--_pont-tabs-indicator-bg, var(--pont-sem-color-foreground));
5759
+ background-color: var(--_pont-tabs-indicator-bg, var(--pont-sem-color-fg));
5232
5760
  opacity: 0;
5233
5761
  transition-property: var(--pont-ref-motion-trans-property-opacity);
5234
5762
  transition-duration: var(--pont-sem-motion-trans-duration);
@@ -5397,11 +5925,11 @@
5397
5925
 
5398
5926
  :is(pont-prim-popover-content, [data-pont-popover-content]) {
5399
5927
  /** @token Background */
5400
- --_pont-popover-bg: var(--pont-popover-bg, var(--pont-sem-color-popover));
5928
+ --_pont-popover-bg: var(--pont-popover-bg, var(--pont-sem-color-overlay));
5401
5929
  /** @token Text */
5402
- --_pont-popover-fg: var(--pont-popover-fg, var(--pont-sem-color-popover-foreground));
5930
+ --_pont-popover-fg: var(--pont-popover-fg, var(--pont-sem-color-overlay-fg));
5403
5931
  /** @token Border */
5404
- --_pont-popover-border-color: var(--pont-popover-border-color, color-mix(in oklab, var(--pont-sem-color-foreground) 10%, transparent));
5932
+ --_pont-popover-border-color: var(--pont-popover-border-color, color-mix(in oklab, var(--pont-sem-color-fg) 10%, transparent));
5405
5933
  /** @token Corner radius */
5406
5934
  --_pont-popover-radius: var(--pont-popover-radius, var(--pont-ref-radius-md));
5407
5935
  /** @token Shadow */
@@ -5454,7 +5982,7 @@
5454
5982
  :is(pont-prim-popover-description, [data-pont-popover-description]) {
5455
5983
  display: block;
5456
5984
  margin: 0;
5457
- color: var(--pont-sem-color-muted-foreground);
5985
+ color: var(--pont-sem-color-muted-fg);
5458
5986
  }
5459
5987
  }
5460
5988
 
@@ -5477,11 +6005,11 @@
5477
6005
 
5478
6006
  :is(pont-prim-dropdown-menu-content, [data-pont-dropdown-menu-content]) {
5479
6007
  /** @token Background */
5480
- --_pont-dropdown-menu-bg: var(--pont-dropdown-menu-bg, var(--pont-sem-color-popover));
6008
+ --_pont-dropdown-menu-bg: var(--pont-dropdown-menu-bg, var(--pont-sem-color-overlay));
5481
6009
  /** @token Text */
5482
- --_pont-dropdown-menu-fg: var(--pont-dropdown-menu-fg, var(--pont-sem-color-popover-foreground));
6010
+ --_pont-dropdown-menu-fg: var(--pont-dropdown-menu-fg, var(--pont-sem-color-overlay-fg));
5483
6011
  /** @token Border */
5484
- --_pont-dropdown-menu-border-color: var(--pont-dropdown-menu-border-color, color-mix(in oklab, var(--pont-sem-color-foreground) 10%, transparent));
6012
+ --_pont-dropdown-menu-border-color: var(--pont-dropdown-menu-border-color, color-mix(in oklab, var(--pont-sem-color-fg) 10%, transparent));
5485
6013
  /** @token Corner radius */
5486
6014
  --_pont-dropdown-menu-radius: var(--pont-dropdown-menu-radius, var(--pont-ref-radius-md));
5487
6015
  /** @token Shadow */
@@ -5497,7 +6025,7 @@
5497
6025
  /** @token Background when highlighted */
5498
6026
  --_pont-dropdown-menu-item-bg-focus: var(--pont-dropdown-menu-item-bg-focus, var(--pont-sem-color-accent));
5499
6027
  /** @token Text when highlighted */
5500
- --_pont-dropdown-menu-item-fg-focus: var(--pont-dropdown-menu-item-fg-focus, var(--pont-sem-color-accent-foreground));
6028
+ --_pont-dropdown-menu-item-fg-focus: var(--pont-dropdown-menu-item-fg-focus, var(--pont-sem-color-accent-fg));
5501
6029
  /** @token Text */
5502
6030
  --_pont-dropdown-menu-item-destructive-fg: var(--pont-dropdown-menu-item-destructive-fg, var(--pont-sem-color-destructive));
5503
6031
  /** @token Background when highlighted */
@@ -5628,7 +6156,7 @@
5628
6156
  :is(pont-prim-dropdown-menu-label, [data-pont-dropdown-menu-label]) {
5629
6157
  display: block;
5630
6158
  padding: 0.375rem 0.5rem;
5631
- color: var(--pont-sem-color-muted-foreground);
6159
+ color: var(--pont-sem-color-muted-fg);
5632
6160
  font-size: var(--pont-ref-typography-size-xs);
5633
6161
  line-height: var(--pont-ref-typography-leading-of-xs);
5634
6162
  font-weight: var(--pont-ref-typography-weight-medium);
@@ -5651,7 +6179,7 @@
5651
6179
  ml-auto text-xs tracking-widest" */
5652
6180
  :is(pont-prim-dropdown-menu-shortcut, [data-pont-dropdown-menu-shortcut]) {
5653
6181
  margin-left: auto;
5654
- color: var(--pont-sem-color-muted-foreground);
6182
+ color: var(--pont-sem-color-muted-fg);
5655
6183
  font-size: var(--pont-ref-typography-size-xs);
5656
6184
  line-height: var(--pont-ref-typography-leading-of-xs);
5657
6185
  letter-spacing: var(--pont-ref-typography-tracking-widest);
@@ -5684,11 +6212,11 @@
5684
6212
  /** @token Height */
5685
6213
  --_pont-select-trigger-height: var(--pont-select-trigger-height, 2.25rem);
5686
6214
  /** @token Background */
5687
- --_pont-select-content-bg: var(--pont-select-content-bg, var(--pont-sem-color-popover));
6215
+ --_pont-select-content-bg: var(--pont-select-content-bg, var(--pont-sem-color-overlay));
5688
6216
  /** @token Text */
5689
- --_pont-select-content-fg: var(--pont-select-content-fg, var(--pont-sem-color-popover-foreground));
6217
+ --_pont-select-content-fg: var(--pont-select-content-fg, var(--pont-sem-color-overlay-fg));
5690
6218
  /** @token Border */
5691
- --_pont-select-content-border-color: var(--pont-select-content-border-color, color-mix(in oklab, var(--pont-sem-color-foreground) 10%, transparent));
6219
+ --_pont-select-content-border-color: var(--pont-select-content-border-color, color-mix(in oklab, var(--pont-sem-color-fg) 10%, transparent));
5692
6220
  /** @token Corner radius */
5693
6221
  --_pont-select-content-radius: var(--pont-select-content-radius, var(--pont-ref-radius-md));
5694
6222
  /** @token Shadow */
@@ -5698,7 +6226,7 @@
5698
6226
  /** @token Background when highlighted */
5699
6227
  --_pont-select-item-bg-focus: var(--pont-select-item-bg-focus, var(--pont-sem-color-accent));
5700
6228
  /** @token Text when highlighted */
5701
- --_pont-select-item-fg-focus: var(--pont-select-item-fg-focus, var(--pont-sem-color-accent-foreground));
6229
+ --_pont-select-item-fg-focus: var(--pont-select-item-fg-focus, var(--pont-sem-color-accent-fg));
5702
6230
  }
5703
6231
  [data-pont-select-trigger][data-size="sm"] {
5704
6232
  /** @token Height */
@@ -5740,7 +6268,7 @@
5740
6268
  transition-timing-function: var(--pont-sem-motion-trans-easing);
5741
6269
  }
5742
6270
  [data-pont-select-trigger][data-placeholder] {
5743
- color: var(--pont-sem-color-muted-foreground);
6271
+ color: var(--pont-sem-color-muted-fg);
5744
6272
  }
5745
6273
  [data-pont-select-trigger]:hover {
5746
6274
  background-color: var(--_pont-select-trigger-bg-hover);
@@ -5767,7 +6295,7 @@
5767
6295
  }
5768
6296
  /* .cn-select-trigger-icon "text-muted-foreground size-4" */
5769
6297
  [data-pont-select-trigger] > svg[data-icon-name="chevron-down"] {
5770
- color: var(--pont-sem-color-muted-foreground);
6298
+ color: var(--pont-sem-color-muted-fg);
5771
6299
  }
5772
6300
 
5773
6301
  /* value: "flex flex-1 text-left" + line-clamp-1 items-center gap-1.5 */
@@ -5817,7 +6345,7 @@
5817
6345
  :is(pont-prim-select-label, [data-pont-select-label]) {
5818
6346
  display: block;
5819
6347
  padding: 0.375rem 0.5rem;
5820
- color: var(--pont-sem-color-muted-foreground);
6348
+ color: var(--pont-sem-color-muted-fg);
5821
6349
  font-size: var(--pont-ref-typography-size-xs);
5822
6350
  line-height: var(--pont-ref-typography-leading-of-xs);
5823
6351
  }
@@ -5904,11 +6432,11 @@
5904
6432
  /** @token Height */
5905
6433
  --_pont-combobox-input-height: var(--pont-combobox-input-height, var(--pont-input-group-height, var(--pont-input-height, 2.25rem)));
5906
6434
  /** @token Background */
5907
- --_pont-combobox-content-bg: var(--pont-combobox-content-bg, var(--pont-sem-color-popover));
6435
+ --_pont-combobox-content-bg: var(--pont-combobox-content-bg, var(--pont-sem-color-overlay));
5908
6436
  /** @token Text */
5909
- --_pont-combobox-content-fg: var(--pont-combobox-content-fg, var(--pont-sem-color-popover-foreground));
6437
+ --_pont-combobox-content-fg: var(--pont-combobox-content-fg, var(--pont-sem-color-overlay-fg));
5910
6438
  /** @token Border */
5911
- --_pont-combobox-content-border-color: var(--pont-combobox-content-border-color, color-mix(in oklab, var(--pont-sem-color-foreground) 10%, transparent));
6439
+ --_pont-combobox-content-border-color: var(--pont-combobox-content-border-color, color-mix(in oklab, var(--pont-sem-color-fg) 10%, transparent));
5912
6440
  /** @token Corner radius */
5913
6441
  --_pont-combobox-content-radius: var(--pont-combobox-content-radius, var(--pont-ref-radius-md));
5914
6442
  /** @token Shadow */
@@ -5918,11 +6446,11 @@
5918
6446
  /** @token Background when highlighted */
5919
6447
  --_pont-combobox-item-bg-focus: var(--pont-combobox-item-bg-focus, var(--pont-sem-color-accent));
5920
6448
  /** @token Text when highlighted */
5921
- --_pont-combobox-item-fg-focus: var(--pont-combobox-item-fg-focus, var(--pont-sem-color-accent-foreground));
6449
+ --_pont-combobox-item-fg-focus: var(--pont-combobox-item-fg-focus, var(--pont-sem-color-accent-fg));
5922
6450
  /** @token Background */
5923
6451
  --_pont-combobox-chip-bg: var(--pont-combobox-chip-bg, var(--pont-sem-color-muted));
5924
6452
  /** @token Text */
5925
- --_pont-combobox-chip-fg: var(--pont-combobox-chip-fg, var(--pont-sem-color-foreground));
6453
+ --_pont-combobox-chip-fg: var(--pont-combobox-chip-fg, var(--pont-sem-color-fg));
5926
6454
  /** @token Corner radius */
5927
6455
  --_pont-combobox-chip-radius: var(--pont-combobox-chip-radius, var(--pont-ref-radius-sm));
5928
6456
  }
@@ -5986,7 +6514,7 @@
5986
6514
  }
5987
6515
  }
5988
6516
  [data-pont-combobox-input-control]::placeholder {
5989
- color: var(--pont-sem-color-muted-foreground);
6517
+ color: var(--pont-sem-color-muted-fg);
5990
6518
  opacity: 1;
5991
6519
  }
5992
6520
  [data-pont-combobox-input-control]:disabled {
@@ -6003,7 +6531,7 @@
6003
6531
  justify-content: center;
6004
6532
  gap: 0.5rem;
6005
6533
  padding: 0.375rem 0.5rem 0.375rem 0;
6006
- color: var(--pont-sem-color-muted-foreground);
6534
+ color: var(--pont-sem-color-muted-fg);
6007
6535
  font-size: var(--pont-ref-typography-size-sm);
6008
6536
  line-height: var(--pont-ref-typography-leading-of-sm);
6009
6537
  font-weight: var(--pont-ref-typography-weight-medium);
@@ -6025,7 +6553,7 @@
6025
6553
  [data-pont-combobox-input-addon] > [data-combobox-trigger] svg {
6026
6554
  width: 1rem;
6027
6555
  height: 1rem;
6028
- color: var(--pont-sem-color-muted-foreground);
6556
+ color: var(--pont-sem-color-muted-fg);
6029
6557
  }
6030
6558
 
6031
6559
  /* content: "relative max-h-(--available-height) w-(--anchor-width) max-w-(--available-width)
@@ -6127,7 +6655,7 @@
6127
6655
  justify-content: center;
6128
6656
  padding: 0.5rem 0;
6129
6657
  text-align: center;
6130
- color: var(--pont-sem-color-muted-foreground);
6658
+ color: var(--pont-sem-color-muted-fg);
6131
6659
  font-size: var(--pont-ref-typography-size-sm);
6132
6660
  line-height: var(--pont-ref-typography-leading-of-sm);
6133
6661
  }
@@ -6143,7 +6671,7 @@
6143
6671
  :is(pont-prim-combobox-label, [data-pont-combobox-label]) {
6144
6672
  display: block;
6145
6673
  padding: 0.375rem 0.5rem;
6146
- color: var(--pont-sem-color-muted-foreground);
6674
+ color: var(--pont-sem-color-muted-fg);
6147
6675
  font-size: var(--pont-ref-typography-size-xs);
6148
6676
  line-height: var(--pont-ref-typography-leading-of-xs);
6149
6677
  }
@@ -6241,7 +6769,7 @@
6241
6769
  outline: none;
6242
6770
  }
6243
6771
  [data-pont-combobox-chip-input]::placeholder {
6244
- color: var(--pont-sem-color-muted-foreground);
6772
+ color: var(--pont-sem-color-muted-fg);
6245
6773
  opacity: 1;
6246
6774
  }
6247
6775
  [data-pont-combobox-chip-input]:disabled {
@@ -6268,9 +6796,9 @@
6268
6796
 
6269
6797
  :is(pont-prim-tooltip-content, [data-pont-tooltip-content]) {
6270
6798
  /** @token Background */
6271
- --_pont-tooltip-bg: var(--pont-tooltip-bg, var(--pont-sem-color-foreground));
6799
+ --_pont-tooltip-bg: var(--pont-tooltip-bg, var(--pont-sem-color-fg));
6272
6800
  /** @token Text */
6273
- --_pont-tooltip-fg: var(--pont-tooltip-fg, var(--pont-sem-color-background));
6801
+ --_pont-tooltip-fg: var(--pont-tooltip-fg, var(--pont-sem-color-bg));
6274
6802
  /** @token Corner radius */
6275
6803
  --_pont-tooltip-radius: var(--pont-tooltip-radius, var(--pont-ref-radius-md));
6276
6804
  /** @token Maximum width */
@@ -6364,11 +6892,11 @@
6364
6892
 
6365
6893
  :is(pont-prim-dialog-content, [data-pont-dialog-content]) {
6366
6894
  /** @token Background */
6367
- --_pont-dialog-bg: var(--pont-dialog-bg, var(--pont-sem-color-popover));
6895
+ --_pont-dialog-bg: var(--pont-dialog-bg, var(--pont-sem-color-overlay));
6368
6896
  /** @token Text */
6369
- --_pont-dialog-fg: var(--pont-dialog-fg, var(--pont-sem-color-popover-foreground));
6897
+ --_pont-dialog-fg: var(--pont-dialog-fg, var(--pont-sem-color-overlay-fg));
6370
6898
  /** @token Border */
6371
- --_pont-dialog-border-color: var(--pont-dialog-border-color, color-mix(in oklab, var(--pont-sem-color-foreground) 10%, transparent));
6899
+ --_pont-dialog-border-color: var(--pont-dialog-border-color, color-mix(in oklab, var(--pont-sem-color-fg) 10%, transparent));
6372
6900
  /** @token Corner radius */
6373
6901
  --_pont-dialog-radius: var(--pont-dialog-radius, var(--pont-ref-radius-xl));
6374
6902
  /** @token Shadow */
@@ -6458,7 +6986,7 @@
6458
6986
  :is(pont-prim-dialog-description, [data-pont-dialog-description]) {
6459
6987
  display: block;
6460
6988
  margin: 0;
6461
- color: var(--pont-sem-color-muted-foreground);
6989
+ color: var(--pont-sem-color-muted-fg);
6462
6990
  font-size: var(--pont-ref-typography-size-sm);
6463
6991
  line-height: var(--pont-ref-typography-leading-of-sm);
6464
6992
  }
@@ -6468,7 +6996,7 @@
6468
6996
  text-underline-offset: 3px;
6469
6997
  }
6470
6998
  :is(pont-prim-dialog-description, [data-pont-dialog-description]) > a:hover {
6471
- color: var(--pont-sem-color-foreground);
6999
+ color: var(--pont-sem-color-fg);
6472
7000
  }
6473
7001
 
6474
7002
  /* ------------------------------------------------------------------ */
@@ -6513,11 +7041,11 @@
6513
7041
  @layer pont.primitives {
6514
7042
  :is(pont-prim-alert-dialog-content, [data-pont-alert-dialog-content]) {
6515
7043
  /** @token Background */
6516
- --_pont-alert-dialog-bg: var(--pont-alert-dialog-bg, var(--pont-sem-color-popover));
7044
+ --_pont-alert-dialog-bg: var(--pont-alert-dialog-bg, var(--pont-sem-color-overlay));
6517
7045
  /** @token Text */
6518
- --_pont-alert-dialog-fg: var(--pont-alert-dialog-fg, var(--pont-sem-color-popover-foreground));
7046
+ --_pont-alert-dialog-fg: var(--pont-alert-dialog-fg, var(--pont-sem-color-overlay-fg));
6519
7047
  /** @token Border */
6520
- --_pont-alert-dialog-border-color: var(--pont-alert-dialog-border-color, color-mix(in oklab, var(--pont-sem-color-foreground) 10%, transparent));
7048
+ --_pont-alert-dialog-border-color: var(--pont-alert-dialog-border-color, color-mix(in oklab, var(--pont-sem-color-fg) 10%, transparent));
6521
7049
  /** @token Corner radius */
6522
7050
  --_pont-alert-dialog-radius: var(--pont-alert-dialog-radius, var(--pont-ref-radius-xl));
6523
7051
  /** @token Maximum width */
@@ -6598,7 +7126,7 @@
6598
7126
  :is(pont-prim-alert-dialog-description, [data-pont-alert-dialog-description]) {
6599
7127
  display: block;
6600
7128
  margin: 0;
6601
- color: var(--pont-sem-color-muted-foreground);
7129
+ color: var(--pont-sem-color-muted-fg);
6602
7130
  font-size: var(--pont-ref-typography-size-sm);
6603
7131
  line-height: var(--pont-ref-typography-leading-of-sm);
6604
7132
  text-wrap: balance;
@@ -6609,7 +7137,7 @@
6609
7137
  text-underline-offset: 3px;
6610
7138
  }
6611
7139
  :is(pont-prim-alert-dialog-description, [data-pont-alert-dialog-description]) > a:hover {
6612
- color: var(--pont-sem-color-foreground);
7140
+ color: var(--pont-sem-color-fg);
6613
7141
  }
6614
7142
 
6615
7143
  :is(pont-prim-alert-dialog-footer, [data-pont-alert-dialog-footer]) {
@@ -6674,9 +7202,9 @@
6674
7202
  @layer pont.primitives {
6675
7203
  :is(pont-prim-sheet-content, [data-pont-sheet-content]) {
6676
7204
  /** @token Background */
6677
- --_pont-sheet-bg: var(--pont-sheet-bg, var(--pont-sem-color-popover));
7205
+ --_pont-sheet-bg: var(--pont-sheet-bg, var(--pont-sem-color-overlay));
6678
7206
  /** @token Text */
6679
- --_pont-sheet-fg: var(--pont-sheet-fg, var(--pont-sem-color-popover-foreground));
7207
+ --_pont-sheet-fg: var(--pont-sheet-fg, var(--pont-sem-color-overlay-fg));
6680
7208
  /** @token Border */
6681
7209
  --_pont-sheet-border-color: var(--pont-sheet-border-color, var(--pont-sem-color-border));
6682
7210
  /** @token Shadow */
@@ -6781,14 +7309,14 @@
6781
7309
  :is(pont-prim-sheet-title, [data-pont-sheet-title]) {
6782
7310
  display: block;
6783
7311
  margin: 0;
6784
- color: var(--pont-sem-color-foreground);
7312
+ color: var(--pont-sem-color-fg);
6785
7313
  font-family: var(--pont-sem-typography-font-heading);
6786
7314
  font-weight: var(--pont-ref-typography-weight-medium);
6787
7315
  }
6788
7316
  :is(pont-prim-sheet-description, [data-pont-sheet-description]) {
6789
7317
  display: block;
6790
7318
  margin: 0;
6791
- color: var(--pont-sem-color-muted-foreground);
7319
+ color: var(--pont-sem-color-muted-fg);
6792
7320
  font-size: var(--pont-ref-typography-size-sm);
6793
7321
  line-height: var(--pont-ref-typography-leading-of-sm);
6794
7322
  }
@@ -6818,9 +7346,9 @@
6818
7346
  @layer pont.primitives {
6819
7347
  :is(pont-prim-drawer-content, [data-pont-drawer-content]) {
6820
7348
  /** @token Background */
6821
- --_pont-drawer-bg: var(--pont-drawer-bg, var(--pont-sem-color-popover));
7349
+ --_pont-drawer-bg: var(--pont-drawer-bg, var(--pont-sem-color-overlay));
6822
7350
  /** @token Text */
6823
- --_pont-drawer-fg: var(--pont-drawer-fg, var(--pont-sem-color-popover-foreground));
7351
+ --_pont-drawer-fg: var(--pont-drawer-fg, var(--pont-sem-color-overlay-fg));
6824
7352
  /** @token Border */
6825
7353
  --_pont-drawer-border-color: var(--pont-drawer-border-color, var(--pont-sem-color-border));
6826
7354
  /** @token Corner radius */
@@ -6968,14 +7496,14 @@
6968
7496
  :is(pont-prim-drawer-title, [data-pont-drawer-title]) {
6969
7497
  display: block;
6970
7498
  margin: 0;
6971
- color: var(--pont-sem-color-foreground);
7499
+ color: var(--pont-sem-color-fg);
6972
7500
  font-family: var(--pont-sem-typography-font-heading);
6973
7501
  font-weight: var(--pont-ref-typography-weight-medium);
6974
7502
  }
6975
7503
  :is(pont-prim-drawer-description, [data-pont-drawer-description]) {
6976
7504
  display: block;
6977
7505
  margin: 0;
6978
- color: var(--pont-sem-color-muted-foreground);
7506
+ color: var(--pont-sem-color-muted-fg);
6979
7507
  font-size: var(--pont-ref-typography-size-sm);
6980
7508
  line-height: var(--pont-ref-typography-leading-of-sm);
6981
7509
  text-wrap: balance;
@@ -6995,11 +7523,11 @@
6995
7523
  @layer pont.primitives {
6996
7524
  :is(pont-prim-hover-card-content, [data-pont-hover-card-content]) {
6997
7525
  /** @token Background */
6998
- --_pont-hover-card-bg: var(--pont-hover-card-bg, var(--pont-sem-color-popover));
7526
+ --_pont-hover-card-bg: var(--pont-hover-card-bg, var(--pont-sem-color-overlay));
6999
7527
  /** @token Text */
7000
- --_pont-hover-card-fg: var(--pont-hover-card-fg, var(--pont-sem-color-popover-foreground));
7528
+ --_pont-hover-card-fg: var(--pont-hover-card-fg, var(--pont-sem-color-overlay-fg));
7001
7529
  /** @token Border */
7002
- --_pont-hover-card-border-color: var(--pont-hover-card-border-color, color-mix(in oklab, var(--pont-sem-color-foreground) 10%, transparent));
7530
+ --_pont-hover-card-border-color: var(--pont-hover-card-border-color, color-mix(in oklab, var(--pont-sem-color-fg) 10%, transparent));
7003
7531
  /** @token Corner radius */
7004
7532
  --_pont-hover-card-radius: var(--pont-hover-card-radius, var(--pont-ref-radius-lg));
7005
7533
  /** @token Shadow */
@@ -7048,9 +7576,9 @@
7048
7576
  @layer pont.primitives {
7049
7577
  :is(pont-prim-toaster, [data-pont-toaster]) {
7050
7578
  /** @token component=toast Background */
7051
- --_pont-toast-bg: var(--pont-toast-bg, var(--pont-sem-color-popover));
7579
+ --_pont-toast-bg: var(--pont-toast-bg, var(--pont-sem-color-overlay));
7052
7580
  /** @token component=toast Text */
7053
- --_pont-toast-fg: var(--pont-toast-fg, var(--pont-sem-color-popover-foreground));
7581
+ --_pont-toast-fg: var(--pont-toast-fg, var(--pont-sem-color-overlay-fg));
7054
7582
  /** @token component=toast Border */
7055
7583
  --_pont-toast-border-color: var(--pont-toast-border-color, var(--pont-sem-color-border));
7056
7584
  /** @token component=toast Corner radius */
@@ -7185,7 +7713,7 @@
7185
7713
  [data-pont-toast] [data-description] {
7186
7714
  font-weight: var(--pont-ref-typography-weight-normal);
7187
7715
  line-height: 1.4;
7188
- color: var(--pont-sem-color-muted-foreground);
7716
+ color: var(--pont-sem-color-muted-fg);
7189
7717
  }
7190
7718
 
7191
7719
  [data-pont-toast] > [data-button] {
@@ -7425,7 +7953,7 @@
7425
7953
 
7426
7954
  /* `mark` / required caret after the label text. */
7427
7955
  [data-pont-field-label] > [data-slot="field-mark"] {
7428
- color: var(--pont-sem-color-muted-foreground);
7956
+ color: var(--pont-sem-color-muted-fg);
7429
7957
  font-weight: var(--pont-ref-typography-weight-normal, 400);
7430
7958
  }
7431
7959
 
@@ -7453,7 +7981,7 @@
7453
7981
  /* Tokens: the resend row, like <pont-link> (muted text, link colour and hover). */
7454
7982
  :is(pont-otp-resend, [data-pont-otp-resend]) {
7455
7983
  /** @token component=otp-resend Text */
7456
- --_pont-otp-resend-fg: var(--pont-otp-resend-fg, var(--pont-sem-color-muted-foreground));
7984
+ --_pont-otp-resend-fg: var(--pont-otp-resend-fg, var(--pont-sem-color-muted-fg));
7457
7985
  /** @token component=otp-resend Link text */
7458
7986
  --_pont-otp-resend-button-fg: var(--pont-otp-resend-button-fg, currentcolor);
7459
7987
  /** @token component=otp-resend Link text on hover */
@@ -7510,7 +8038,7 @@
7510
8038
  /* Tokens */
7511
8039
  :is(pont-link, [data-pont-link]) {
7512
8040
  /** @token Text */
7513
- --_pont-link-fg: var(--pont-link-fg, var(--pont-sem-color-muted-foreground));
8041
+ --_pont-link-fg: var(--pont-link-fg, var(--pont-sem-color-muted-fg));
7514
8042
  /** @token Link text */
7515
8043
  --_pont-link-button-fg: var(--pont-link-button-fg, currentcolor);
7516
8044
  /** @token Link text on hover */
@@ -7593,7 +8121,7 @@
7593
8121
  }
7594
8122
  [data-pont-title] {
7595
8123
  /** @token component=title Text */
7596
- --_pont-title-fg: var(--pont-title-fg, var(--pont-sem-color-foreground));
8124
+ --_pont-title-fg: var(--pont-title-fg, var(--pont-sem-color-fg));
7597
8125
  /** @token component=title Weight */
7598
8126
  --_pont-title-font-weight: var(--pont-title-font-weight, var(--pont-ref-typography-weight-semibold));
7599
8127
  }
@@ -7617,7 +8145,7 @@
7617
8145
  }
7618
8146
  [data-pont-subtitle] {
7619
8147
  /** @token component=subtitle Text */
7620
- --_pont-subtitle-fg: var(--pont-subtitle-fg, var(--pont-sem-color-muted-foreground));
8148
+ --_pont-subtitle-fg: var(--pont-subtitle-fg, var(--pont-sem-color-muted-fg));
7621
8149
  /** @token component=subtitle Size */
7622
8150
  --_pont-subtitle-font-size: var(--pont-subtitle-font-size, var(--pont-ref-typography-size-sm));
7623
8151
  }
@@ -7745,11 +8273,11 @@
7745
8273
 
7746
8274
  pont-block {
7747
8275
  /** @token Background */
7748
- --_pont-card-bg: var(--pont-block-bg, var(--pont-card-bg, var(--pont-sem-color-card)));
8276
+ --_pont-card-bg: var(--pont-block-bg, var(--pont-card-bg, var(--pont-sem-color-surface)));
7749
8277
  /** @token Text */
7750
- --_pont-card-fg: var(--pont-block-fg, var(--pont-card-fg, var(--pont-sem-color-card-foreground)));
8278
+ --_pont-card-fg: var(--pont-block-fg, var(--pont-card-fg, var(--pont-sem-color-surface-fg)));
7751
8279
  /** @token Border */
7752
- --_pont-card-border-color: var(--pont-block-border-color, var(--pont-card-border-color, color-mix(in oklab, var(--pont-sem-color-foreground) 10%, transparent)));
8280
+ --_pont-card-border-color: var(--pont-block-border-color, var(--pont-card-border-color, color-mix(in oklab, var(--pont-sem-color-fg) 10%, transparent)));
7753
8281
  /** @token Corner radius */
7754
8282
  --_pont-card-radius: var(--pont-block-radius, var(--pont-card-radius, var(--pont-ref-radius-xl)));
7755
8283
  /** @token Shadow */
@@ -7854,7 +8382,7 @@
7854
8382
  }
7855
8383
  [data-pont-watermark][data-variant="muted"] {
7856
8384
  /** @token Text and mark */
7857
- --_pont-watermark-fg: var(--pont-watermark-muted-fg, var(--pont-sem-color-muted-foreground));
8385
+ --_pont-watermark-fg: var(--pont-watermark-muted-fg, var(--pont-sem-color-muted-fg));
7858
8386
  --_pont-watermark-icon-color: currentColor;
7859
8387
  }
7860
8388
 
@@ -7934,7 +8462,7 @@
7934
8462
  * surface left to click or drop onto. Served screens never get these attributes.
7935
8463
  */
7936
8464
  [data-pont-container][data-design] {
7937
- outline: 1px dotted color-mix(in oklab, var(--pont-sem-color-foreground) 35%, transparent);
8465
+ outline: 1px dotted color-mix(in oklab, var(--pont-sem-color-fg) 35%, transparent);
7938
8466
  outline-offset: -1px;
7939
8467
  padding: 0.5rem;
7940
8468
  }
@@ -7950,7 +8478,7 @@
7950
8478
  display: flex;
7951
8479
  align-items: center;
7952
8480
  justify-content: center;
7953
- color: var(--pont-sem-color-muted-foreground);
8481
+ color: var(--pont-sem-color-muted-fg);
7954
8482
  font-size: var(--pont-ref-typography-size-sm);
7955
8483
  pointer-events: none;
7956
8484
  }
@@ -8040,7 +8568,7 @@
8040
8568
  @layer pont.kit {
8041
8569
  :is(pont-countdown, [data-pont-countdown]) {
8042
8570
  display: block;
8043
- color: var(--pont-sem-color-muted-foreground);
8571
+ color: var(--pont-sem-color-muted-fg);
8044
8572
  font-size: var(--pont-ref-typography-size-sm);
8045
8573
  line-height: var(--pont-ref-typography-leading-of-sm);
8046
8574
  font-variant-numeric: tabular-nums;
@@ -8090,7 +8618,7 @@
8090
8618
  /* Reserved line, so the status appearing does not shift the layout. */
8091
8619
  [data-pont-secret] > [data-slot="secret-copied"] {
8092
8620
  min-height: 1rem;
8093
- color: var(--pont-sem-color-muted-foreground);
8621
+ color: var(--pont-sem-color-muted-fg);
8094
8622
  font-size: var(--pont-ref-typography-size-xs);
8095
8623
  line-height: 1rem;
8096
8624
  }
@@ -8101,7 +8629,7 @@
8101
8629
  margin: 0;
8102
8630
  }
8103
8631
  [data-pont-secret] > [data-slot="secret-metadata"] dt {
8104
- color: var(--pont-sem-color-muted-foreground);
8632
+ color: var(--pont-sem-color-muted-fg);
8105
8633
  font-size: var(--pont-ref-typography-size-xs);
8106
8634
  line-height: 1rem;
8107
8635
  }
@@ -8183,7 +8711,7 @@
8183
8711
  }
8184
8712
  [data-pont-recovery-codes] > :is([data-slot="recovery-codes-description"], [data-slot="recovery-codes-empty"]) {
8185
8713
  margin: 0;
8186
- color: var(--pont-sem-color-muted-foreground);
8714
+ color: var(--pont-sem-color-muted-fg);
8187
8715
  font-size: var(--pont-ref-typography-size-sm);
8188
8716
  line-height: var(--pont-ref-typography-leading-of-sm);
8189
8717
  }
@@ -8210,7 +8738,7 @@
8210
8738
  }
8211
8739
  [data-pont-recovery-codes] > [data-slot="recovery-codes-copied"] {
8212
8740
  min-height: 1rem;
8213
- color: var(--pont-sem-color-muted-foreground);
8741
+ color: var(--pont-sem-color-muted-fg);
8214
8742
  font-size: var(--pont-ref-typography-size-xs);
8215
8743
  line-height: 1rem;
8216
8744
  text-align: center;
@@ -8273,7 +8801,7 @@
8273
8801
  display: grid;
8274
8802
  place-items: center;
8275
8803
  min-height: 12rem;
8276
- color: var(--pont-sem-color-muted-foreground);
8804
+ color: var(--pont-sem-color-muted-fg);
8277
8805
  }
8278
8806
  }
8279
8807
 
@@ -8288,7 +8816,7 @@
8288
8816
  display: grid;
8289
8817
  place-items: center;
8290
8818
  min-height: 12rem;
8291
- color: var(--pont-sem-color-muted-foreground);
8819
+ color: var(--pont-sem-color-muted-fg);
8292
8820
  }
8293
8821
  }
8294
8822
 
@@ -8335,7 +8863,7 @@
8335
8863
  height: 1rem;
8336
8864
  }
8337
8865
  pont-data-table [data-pont-data-table-sort]:not(:hover) svg[data-icon-name="arrow-up-down"] {
8338
- color: var(--pont-sem-color-muted-foreground);
8866
+ color: var(--pont-sem-color-muted-fg);
8339
8867
  }
8340
8868
  pont-data-table :is(th, td)[data-align="end"] {
8341
8869
  text-align: end;
@@ -8353,7 +8881,7 @@
8353
8881
  pont-data-table [data-pont-data-table-empty] > td {
8354
8882
  height: 6rem;
8355
8883
  text-align: center;
8356
- color: var(--pont-sem-color-muted-foreground);
8884
+ color: var(--pont-sem-color-muted-fg);
8357
8885
  }
8358
8886
  pont-data-table [data-pont-data-table-empty]:hover {
8359
8887
  background-color: transparent;
@@ -8456,7 +8984,7 @@
8456
8984
  white-space: nowrap;
8457
8985
  font-size: var(--pont-ref-typography-size-xs);
8458
8986
  font-weight: var(--pont-ref-typography-weight-normal);
8459
- color: var(--pont-sem-color-muted-foreground);
8987
+ color: var(--pont-sem-color-muted-fg);
8460
8988
  }
8461
8989
 
8462
8990
  /* The header is a group label: give it the snippet's normal weight and colour. */
@@ -8492,7 +9020,7 @@
8492
9020
  [data-pont-organization-switcher-switching] {
8493
9021
  margin-inline-start: auto;
8494
9022
  font-size: var(--pont-ref-typography-size-xs);
8495
- color: var(--pont-sem-color-muted-foreground);
9023
+ color: var(--pont-sem-color-muted-fg);
8496
9024
  }
8497
9025
 
8498
9026
  [data-pont-organization-switcher-error] {
@@ -8588,7 +9116,7 @@
8588
9116
  margin: 0;
8589
9117
  font-size: var(--pont-ref-typography-size-sm);
8590
9118
  font-weight: var(--pont-ref-typography-weight-medium);
8591
- color: var(--pont-sem-color-muted-foreground);
9119
+ color: var(--pont-sem-color-muted-fg);
8592
9120
  overflow-wrap: anywhere;
8593
9121
  hyphens: auto;
8594
9122
  }
@@ -8607,7 +9135,7 @@
8607
9135
  }
8608
9136
 
8609
9137
  [data-pont-account-settings-empty] {
8610
- color: var(--pont-sem-color-muted-foreground);
9138
+ color: var(--pont-sem-color-muted-fg);
8611
9139
  }
8612
9140
 
8613
9141
  [data-pont-account-settings-photo] {
@@ -8731,7 +9259,7 @@
8731
9259
  [data-pont-member-management-subtitle] {
8732
9260
  margin: 0;
8733
9261
  font-size: var(--pont-ref-typography-size-sm);
8734
- color: var(--pont-sem-color-muted-foreground);
9262
+ color: var(--pont-sem-color-muted-fg);
8735
9263
  }
8736
9264
 
8737
9265
  [data-pont-member-management-tabs] {
@@ -8794,7 +9322,7 @@
8794
9322
  text-overflow: ellipsis;
8795
9323
  white-space: nowrap;
8796
9324
  font-size: var(--pont-ref-typography-size-xs);
8797
- color: var(--pont-sem-color-muted-foreground);
9325
+ color: var(--pont-sem-color-muted-fg);
8798
9326
  }
8799
9327
 
8800
9328
  [data-pont-member-management-roles] {
@@ -8810,7 +9338,7 @@
8810
9338
 
8811
9339
  [data-pont-member-management-time] {
8812
9340
  font-size: var(--pont-ref-typography-size-xs);
8813
- color: var(--pont-sem-color-muted-foreground);
9341
+ color: var(--pont-sem-color-muted-fg);
8814
9342
  }
8815
9343
 
8816
9344
  [data-pont-member-management-pager] {
@@ -8823,7 +9351,7 @@
8823
9351
  }
8824
9352
 
8825
9353
  [data-pont-member-management-range] {
8826
- color: var(--pont-sem-color-muted-foreground);
9354
+ color: var(--pont-sem-color-muted-fg);
8827
9355
  font-variant-numeric: tabular-nums;
8828
9356
  }
8829
9357
 
@@ -8831,7 +9359,7 @@
8831
9359
  display: inline-flex;
8832
9360
  align-items: center;
8833
9361
  gap: 0.5rem;
8834
- color: var(--pont-sem-color-muted-foreground);
9362
+ color: var(--pont-sem-color-muted-fg);
8835
9363
  }
8836
9364
 
8837
9365
  [data-pont-member-management-pager] > :is(pont-pagination, [data-pont-pagination]) {
@@ -8875,14 +9403,14 @@
8875
9403
 
8876
9404
  [data-pont-member-management-who] dd {
8877
9405
  margin: 0;
8878
- color: var(--pont-sem-color-muted-foreground);
9406
+ color: var(--pont-sem-color-muted-fg);
8879
9407
  overflow-wrap: anywhere;
8880
9408
  }
8881
9409
 
8882
9410
  [data-pont-member-management-subject] {
8883
9411
  display: block;
8884
9412
  margin-block: 0.5rem;
8885
- color: var(--pont-sem-color-foreground);
9413
+ color: var(--pont-sem-color-fg);
8886
9414
  overflow-wrap: anywhere;
8887
9415
  }
8888
9416