@vegastack/design-tokens 0.8.0 → 0.8.12
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/base.css +8 -0
- package/dist/theme.css +102 -0
- package/dist/utilities.css +23 -0
- package/package.json +1 -1
package/dist/base.css
CHANGED
|
@@ -260,3 +260,11 @@
|
|
|
260
260
|
overscroll-behavior-y: none;
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
|
+
|
|
264
|
+
/* PRINT — A DOCUMENT'S PAPER (Regent Pages v2, 2026-10-14). `DocumentLayout` puts itself on the
|
|
265
|
+
named page `document` (`page: document`, print only), so the pages it lands on take a paper
|
|
266
|
+
margin of 16mm top and bottom, 14mm at the sides; any other print keeps the browser's own. The
|
|
267
|
+
palette is forced light for print in `theme.css`, generated from the light tokens. */
|
|
268
|
+
@page document {
|
|
269
|
+
margin: 16mm 14mm;
|
|
270
|
+
}
|
package/dist/theme.css
CHANGED
|
@@ -190,6 +190,108 @@
|
|
|
190
190
|
--sidebar-ring: oklch(0.922 0 0);
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
+
@media print {
|
|
194
|
+
.dark {
|
|
195
|
+
color-scheme: light;
|
|
196
|
+
--background: oklch(1 0 0);
|
|
197
|
+
--foreground: oklch(0.145 0 0);
|
|
198
|
+
--card: oklch(1 0 0);
|
|
199
|
+
--card-foreground: oklch(0.145 0 0);
|
|
200
|
+
--popover: oklch(1 0 0);
|
|
201
|
+
--popover-foreground: oklch(0.145 0 0);
|
|
202
|
+
--primary: oklch(0.205 0 0);
|
|
203
|
+
--primary-foreground: oklch(0.985 0 0);
|
|
204
|
+
--secondary: oklch(0.97 0 0);
|
|
205
|
+
--secondary-foreground: oklch(0.205 0 0);
|
|
206
|
+
--muted: oklch(0.97 0 0);
|
|
207
|
+
--muted-foreground: oklch(0.539 0 0);
|
|
208
|
+
--accent: oklch(0.97 0 0);
|
|
209
|
+
--accent-foreground: oklch(0.205 0 0);
|
|
210
|
+
--border: oklch(0.922 0 0);
|
|
211
|
+
--input: oklch(0.922 0 0);
|
|
212
|
+
--ring: oklch(0.205 0 0);
|
|
213
|
+
--destructive: oklch(0.577 0.245 27.325);
|
|
214
|
+
--destructive-foreground: oklch(1 0 0);
|
|
215
|
+
--destructive-text: oklch(0.446 0.182 27.325);
|
|
216
|
+
--success: oklch(0.53 0.15 150);
|
|
217
|
+
--success-foreground: oklch(1 0 0);
|
|
218
|
+
--success-text: oklch(0.44 0.121 150);
|
|
219
|
+
--warning: oklch(0.55 0.12 70);
|
|
220
|
+
--warning-foreground: oklch(1 0 0);
|
|
221
|
+
--warning-text: oklch(0.462 0.1 70);
|
|
222
|
+
--info: oklch(0.55 0.19 256);
|
|
223
|
+
--info-foreground: oklch(1 0 0);
|
|
224
|
+
--info-text: oklch(0.456 0.156 256);
|
|
225
|
+
--media-scrim: oklch(0.13 0.002 75 / 0.6);
|
|
226
|
+
--media-scrim-strong: oklch(0.13 0.002 75 / 0.8);
|
|
227
|
+
--media-foreground: oklch(0.985 0 0);
|
|
228
|
+
--scrim: oklch(0 0 0);
|
|
229
|
+
--scrim-foreground: oklch(1 0 0);
|
|
230
|
+
--chart-1: oklch(0.546 0.245 262.88);
|
|
231
|
+
--chart-2: oklch(0.581 0.118 184.7);
|
|
232
|
+
--chart-3: oklch(0.398 0.07 227.39);
|
|
233
|
+
--chart-4: oklch(0.623 0.222 41.12);
|
|
234
|
+
--chart-5: oklch(0.632 0.246 16.44);
|
|
235
|
+
--chart-6: oklch(0.505 0.213 27.52);
|
|
236
|
+
--chart-7: oklch(0.598 0.127 104.2);
|
|
237
|
+
--chart-8: oklch(0.531 0.182 256);
|
|
238
|
+
--chart-single: oklch(0.145 0 0);
|
|
239
|
+
--brand: oklch(0.6 0.17 148);
|
|
240
|
+
--brand-text: oklch(0.46 0.17 148);
|
|
241
|
+
--tag-blue: oklch(0.6 0.16 256);
|
|
242
|
+
--tag-blue-subtle: oklch(0.955 0.02 256);
|
|
243
|
+
--tag-blue-text: oklch(0.51 0.15 256);
|
|
244
|
+
--tag-cyan: oklch(0.6 0.11 226);
|
|
245
|
+
--tag-cyan-subtle: oklch(0.955 0.028 226);
|
|
246
|
+
--tag-cyan-text: oklch(0.51 0.09 226);
|
|
247
|
+
--tag-green: oklch(0.6 0.16 150);
|
|
248
|
+
--tag-green-subtle: oklch(0.955 0.028 150);
|
|
249
|
+
--tag-green-text: oklch(0.51 0.14 150);
|
|
250
|
+
--tag-lime: oklch(0.6 0.13 117);
|
|
251
|
+
--tag-lime-subtle: oklch(0.955 0.028 117);
|
|
252
|
+
--tag-lime-text: oklch(0.51 0.11 117);
|
|
253
|
+
--tag-yellow: oklch(0.6 0.12 86);
|
|
254
|
+
--tag-yellow-subtle: oklch(0.955 0.028 86);
|
|
255
|
+
--tag-yellow-text: oklch(0.51 0.1 86);
|
|
256
|
+
--tag-orange: oklch(0.6 0.15 52);
|
|
257
|
+
--tag-orange-subtle: oklch(0.955 0.02 52);
|
|
258
|
+
--tag-orange-text: oklch(0.51 0.13 52);
|
|
259
|
+
--tag-red: oklch(0.6 0.16 25);
|
|
260
|
+
--tag-red-subtle: oklch(0.955 0.02 25);
|
|
261
|
+
--tag-red-text: oklch(0.51 0.15 25);
|
|
262
|
+
--tag-pink: oklch(0.6 0.16 356);
|
|
263
|
+
--tag-pink-subtle: oklch(0.955 0.02 356);
|
|
264
|
+
--tag-pink-text: oklch(0.51 0.15 356);
|
|
265
|
+
--tag-magenta: oklch(0.6 0.16 323);
|
|
266
|
+
--tag-magenta-subtle: oklch(0.955 0.028 323);
|
|
267
|
+
--tag-magenta-text: oklch(0.51 0.15 323);
|
|
268
|
+
--tag-purple: oklch(0.6 0.16 295);
|
|
269
|
+
--tag-purple-subtle: oklch(0.955 0.02 295);
|
|
270
|
+
--tag-purple-text: oklch(0.51 0.15 295);
|
|
271
|
+
--sidebar: oklch(0.985 0 0);
|
|
272
|
+
--sidebar-foreground: oklch(0.145 0 0);
|
|
273
|
+
--sidebar-primary: oklch(0.205 0 0);
|
|
274
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
275
|
+
--sidebar-accent: oklch(0.97 0 0);
|
|
276
|
+
--sidebar-accent-foreground: oklch(0.205 0 0);
|
|
277
|
+
--sidebar-border: oklch(0.922 0 0);
|
|
278
|
+
--sidebar-ring: oklch(0.205 0 0);
|
|
279
|
+
--radius: 0.625rem;
|
|
280
|
+
--font-family-sans: Geist, sans-serif;
|
|
281
|
+
--font-family-mono: 'Geist Mono', monospace;
|
|
282
|
+
--font-family-serif: Newsreader, serif;
|
|
283
|
+
--font-family-display: Geist, sans-serif;
|
|
284
|
+
--duration-fast: 150ms;
|
|
285
|
+
--duration-base: 200ms;
|
|
286
|
+
--duration-slow: 300ms;
|
|
287
|
+
--duration-indeterminate: 1200ms;
|
|
288
|
+
--motion-ease-standard: cubic-bezier(0.2, 0, 0, 1);
|
|
289
|
+
--motion-ease-emphasized: cubic-bezier(0.3, 0, 0, 1);
|
|
290
|
+
--motion-ease-exit: cubic-bezier(0.4, 0, 1, 1);
|
|
291
|
+
--motion-ease-spring: linear(0, 0.5 60%, 1.05 80%, 0.98 90%, 1);
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
|
|
193
295
|
@theme inline {
|
|
194
296
|
--color-background: var(--background);
|
|
195
297
|
--color-foreground: var(--foreground);
|
package/dist/utilities.css
CHANGED
|
@@ -1016,3 +1016,26 @@
|
|
|
1016
1016
|
.hljs-strong {
|
|
1017
1017
|
font-weight: 600;
|
|
1018
1018
|
}
|
|
1019
|
+
|
|
1020
|
+
/* ---------------------------------------------------------------------------------------------
|
|
1021
|
+
* Spark gradient: the subtle purple -> blue pair for "new" / AI-flavoured accents (e.g. a
|
|
1022
|
+
* What's new icon). Built from the theme-aware tag hues, so it follows light and dark.
|
|
1023
|
+
* - gradient-spark : background-image fill.
|
|
1024
|
+
* - stop-spark-from / -to : `stop-color` for the <stop>s of an SVG <linearGradient>, to give a
|
|
1025
|
+
* stroked icon the same gradient (stroke="url(#id)").
|
|
1026
|
+
* ------------------------------------------------------------------------------------------- */
|
|
1027
|
+
@utility gradient-spark {
|
|
1028
|
+
background-image: linear-gradient(
|
|
1029
|
+
135deg,
|
|
1030
|
+
var(--color-tag-purple),
|
|
1031
|
+
var(--color-tag-blue)
|
|
1032
|
+
);
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
@utility stop-spark-from {
|
|
1036
|
+
stop-color: var(--color-tag-purple);
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
@utility stop-spark-to {
|
|
1040
|
+
stop-color: var(--color-tag-blue);
|
|
1041
|
+
}
|