@ds-gn/tokens 0.0.0-stage → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,201 @@
1
+ /*
2
+ * Brand Overrides Template
3
+ *
4
+ * Copy this file to your project and uncomment the variables you want to override.
5
+ * Load this stylesheet AFTER tokens.public.css to override defaults.
6
+ */
7
+ :root {
8
+ /* --accent-on-light: var(--color-orange-600); */
9
+ /* --accent-on-dark: var(--color-orange-500); */
10
+ /* --accent-text-on-light: var(--color-orange-700); */
11
+ /* --accent-text-on-dark: var(--color-orange-500); */
12
+
13
+ /* --badge-bg-on-light: var(--color-neutral-100); */
14
+ /* --badge-bg-on-dark: var(--color-blue-700); */
15
+ /* --badge-border-on-light: var(--color-neutral-200); */
16
+ /* --badge-border-on-dark: var(--color-blue-600); */
17
+ /* --badge-brand-text-on-light: var(--color-blue-700); */
18
+ /* --badge-brand-text-on-dark: var(--color-blue-100); */
19
+ /* --badge-error-text-on-light: #b91c1c; */
20
+ /* --badge-error-text-on-dark: #fecaca; */
21
+ /* --badge-text-on-light: var(--color-neutral-700); */
22
+ /* --badge-text-on-dark: var(--color-neutral-100); */
23
+ /* --badge-warning-text-on-light: var(--color-orange-900); */
24
+ /* --badge-warning-text-on-dark: var(--color-orange-100); */
25
+
26
+ /* --brand-on-light: var(--color-blue-500); */
27
+ /* --brand-on-dark: var(--color-blue-400); */
28
+ /* --brand-subtle-on-light: var(--color-blue-100); */
29
+ /* --brand-subtle-on-dark: var(--color-blue-800); */
30
+
31
+ /* --button-ghost-bg-on-light: transparent; */
32
+ /* --button-ghost-bg-on-dark: transparent; */
33
+ /* --button-ghost-bg-hover-on-light: var(--color-neutral-200); */
34
+ /* --button-ghost-bg-hover-on-dark: var(--color-neutral-300); */
35
+ /* --button-ghost-text-on-light: var(--color-neutral-900); */
36
+ /* --button-ghost-text-on-dark: var(--color-white); */
37
+ /* --button-ghost-text-hover-on-light: var(--color-neutral-900); */
38
+ /* --button-ghost-text-hover-on-dark: var(--color-neutral-900); */
39
+ /* --button-gradient-text-on-light: var(--color-white); */
40
+ /* --button-gradient-text-on-dark: var(--color-neutral-900); */
41
+ /* --button-inline-text-on-light: var(--color-neutral-900); */
42
+ /* --button-inline-text-on-dark: var(--color-white); */
43
+ /* --button-inline-text-hover-on-light: var(--color-orange-500); */
44
+ /* --button-inline-text-hover-on-dark: var(--color-orange-500); */
45
+ /* --button-link-text-on-light: var(--color-blue-700); */
46
+ /* --button-link-text-on-dark: var(--color-blue-400); */
47
+ /* --button-link-text-hover-on-light: var(--color-blue-800); */
48
+ /* --button-link-text-hover-on-dark: var(--color-blue-300); */
49
+ /* --button-mono-outline-bg-on-light: var(--color-transparent); */
50
+ /* --button-mono-outline-bg-on-dark: var(--color-transparent); */
51
+ /* --button-mono-outline-bg-hover-on-light: var(--color-neutral-900); */
52
+ /* --button-mono-outline-bg-hover-on-dark: var(--color-white); */
53
+ /* --button-mono-outline-outline-on-light: var(--color-neutral-900); */
54
+ /* --button-mono-outline-outline-on-dark: var(--color-neutral-100); */
55
+ /* --button-mono-outline-outline-hover-on-light: var(--color-neutral-700); */
56
+ /* --button-mono-outline-outline-hover-on-dark: var(--color-white); */
57
+ /* --button-mono-outline-text-on-light: var(--color-neutral-900); */
58
+ /* --button-mono-outline-text-on-dark: var(--color-neutral-100); */
59
+ /* --button-mono-outline-text-hover-on-light: var(--color-white); */
60
+ /* --button-mono-outline-text-hover-on-dark: var(--color-neutral-900); */
61
+ /* --button-mono-solid-bg-on-light: var(--color-neutral-900); */
62
+ /* --button-mono-solid-bg-on-dark: var(--color-white); */
63
+ /* --button-mono-solid-bg-hover-on-light: var(--color-neutral-700); */
64
+ /* --button-mono-solid-bg-hover-on-dark: var(--color-neutral-200); */
65
+ /* --button-mono-solid-text-on-light: var(--color-white); */
66
+ /* --button-mono-solid-text-on-dark: var(--color-neutral-900); */
67
+ /* --button-outline-bg-on-light: var(--color-transparent); */
68
+ /* --button-outline-bg-on-dark: var(--color-transparent); */
69
+ /* --button-outline-bg-hover-on-light: var(--color-orange-600); */
70
+ /* --button-outline-bg-hover-on-dark: var(--color-orange-500); */
71
+ /* --button-outline-outline-on-light: var(--color-orange-500); */
72
+ /* --button-outline-outline-on-dark: var(--color-orange-600); */
73
+ /* --button-outline-outline-hover-on-light: var(--color-orange-600); */
74
+ /* --button-outline-outline-hover-on-dark: var(--color-orange-500); */
75
+ /* --button-outline-text-on-light: var(--color-neutral-900); */
76
+ /* --button-outline-text-on-dark: var(--color-neutral-100); */
77
+ /* --button-outline-text-hover-on-light: var(--color-orange-600); */
78
+ /* --button-outline-text-hover-on-dark: var(--color-orange-500); */
79
+ /* --button-solid-bg-on-light: var(--color-orange-500); */
80
+ /* --button-solid-bg-on-dark: var(--color-orange-600); */
81
+ /* --button-solid-bg-hover-on-light: var(--color-orange-400); */
82
+ /* --button-solid-bg-hover-on-dark: var(--color-orange-500); */
83
+ /* --button-solid-text-on-light: var(--color-neutral-900); */
84
+ /* --button-solid-text-on-dark: var(--color-neutral-900); */
85
+
86
+ /* --card-bg-on-light: var(--color-white); */
87
+ /* --card-bg-on-dark: var(--color-blue-800); */
88
+ /* --card-border-on-light: var(--color-neutral-200); */
89
+ /* --card-border-on-dark: rgb(255 255 255 / 0.08); */
90
+
91
+ /* --disabled-on-light: var(--color-neutral-400); */
92
+ /* --disabled-on-dark: var(--color-neutral-600); */
93
+
94
+ /* --error-on-light: #ef4444; */
95
+ /* --error-on-dark: #f87171; */
96
+ /* --error-subtle-on-light: #fee2e2; */
97
+ /* --error-subtle-on-dark: #7f1d1d; */
98
+
99
+ /* --eyebrow-on-light: var(--color-orange-700); */
100
+ /* --eyebrow-on-dark: var(--color-orange-500); */
101
+
102
+ /* --focus-on-light: var(--color-blue-500); */
103
+ /* --focus-on-dark: var(--color-blue-400); */
104
+
105
+ /* --gradient-accent-bg-on-light: linear-gradient(90deg, var(--color-orange-600), var(--color-orange-400)); */
106
+ /* --gradient-accent-bg-on-dark: linear-gradient(90deg, var(--color-orange-600), var(--color-orange-400)); */
107
+ /* --gradient-accent-bg-hover-on-light: linear-gradient(90deg, var(--color-orange-500), var(--color-orange-300)); */
108
+ /* --gradient-accent-bg-hover-on-dark: linear-gradient(90deg, var(--color-orange-500), var(--color-orange-300)); */
109
+
110
+ /* --info-on-light: var(--color-blue-500); */
111
+ /* --info-on-dark: var(--color-blue-400); */
112
+ /* --info-subtle-on-light: var(--color-blue-100); */
113
+ /* --info-subtle-on-dark: var(--color-blue-900); */
114
+
115
+ /* --input-bg-on-light: var(--surface-default-on-light); */
116
+ /* --input-bg-on-dark: var(--surface-default-on-dark); */
117
+ /* --input-border-on-light: var(--color-neutral-300); */
118
+ /* --input-border-on-dark: var(--color-blue-600); */
119
+ /* --input-error-text-on-light: #b91c1c; */
120
+ /* --input-error-text-on-dark: #f87171; */
121
+ /* --input-focus-on-light: var(--color-blue-500); */
122
+ /* --input-focus-on-dark: var(--color-blue-400); */
123
+ /* --input-placeholder-on-light: var(--color-neutral-600); */
124
+ /* --input-placeholder-on-dark: var(--color-neutral-500); */
125
+ /* --input-text-on-light: var(--color-neutral-900); */
126
+ /* --input-text-on-dark: var(--color-neutral-100); */
127
+
128
+ /* --interactive-on-light: var(--color-blue-500); */
129
+ /* --interactive-on-dark: var(--color-blue-400); */
130
+ /* --interactive-active-on-light: var(--color-blue-700); */
131
+ /* --interactive-active-on-dark: var(--color-blue-500); */
132
+ /* --interactive-disabled-on-light: var(--color-neutral-300); */
133
+ /* --interactive-disabled-on-dark: var(--color-neutral-700); */
134
+ /* --interactive-hover-on-light: var(--color-blue-600); */
135
+ /* --interactive-hover-on-dark: var(--color-blue-300); */
136
+
137
+ /* --inverse-on-light: var(--color-white); */
138
+ /* --inverse-on-dark: var(--color-neutral-900); */
139
+
140
+ /* --nav-link-dropdown-text-hover-on-light: var(--color-orange-700); */
141
+ /* --nav-link-dropdown-text-hover-on-dark: var(--color-orange-200); */
142
+
143
+ /* --outline-on-light: var(--color-neutral-200); */
144
+ /* --outline-on-dark: oklch(24% 0.05 255); */
145
+ /* --outline-strong-on-light: var(--color-neutral-300); */
146
+ /* --outline-strong-on-dark: var(--color-blue-600); */
147
+ /* --outline-subtle-on-light: var(--color-neutral-100); */
148
+ /* --outline-subtle-on-dark: var(--color-blue-800); */
149
+
150
+ /* --page-on-light: oklch(97% 0.01 255); */
151
+ /* --page-on-dark: oklch(12% 0.05 255); */
152
+
153
+ /* --pattern-dot-on-light: oklch(70% 0.03 255); */
154
+ /* --pattern-dot-on-dark: oklch(40% 0.05 255); */
155
+
156
+ /* --success-on-light: #047857; */
157
+ /* --success-on-dark: #34d399; */
158
+ /* --success-subtle-on-light: #d1fae5; */
159
+ /* --success-subtle-on-dark: #064e3b; */
160
+
161
+ /* --surface-default-on-light: oklch(100% 0 0); */
162
+ /* --surface-default-on-dark: oklch(18% 0.06 255); */
163
+ /* --surface-elevated-on-light: oklch(96% 0.02 255); */
164
+ /* --surface-elevated-on-dark: oklch(0.22 0.08 255); */
165
+ /* --surface-subtle-on-light: oklch(94% 0.04 255); */
166
+ /* --surface-subtle-on-dark: oklch(30% 0.12 255); */
167
+
168
+ /* --terminal-bg: #09090b; */
169
+ /* --terminal-border: #1a1a1a; */
170
+ /* --terminal-dot-red: #ea580c; */
171
+ /* --terminal-dot-yellow: #fbbf24; */
172
+ /* --terminal-muted: #a1a1aa; */
173
+ /* --terminal-success: #34d399; */
174
+ /* --terminal-text: #e4e4e7; */
175
+ /* --terminal-titlebar: #0d0d0f; */
176
+
177
+ /* --text-primary-on-light: var(--color-neutral-900); */
178
+ /* --text-primary-on-dark: var(--color-neutral-50); */
179
+ /* --text-secondary-on-light: var(--color-neutral-600); */
180
+ /* --text-secondary-on-dark: var(--color-neutral-400); */
181
+ /* --text-tertiary-on-light: var(--color-neutral-600); */
182
+ /* --text-tertiary-on-dark: var(--color-neutral-400); */
183
+
184
+ /* --warning-on-light: var(--color-orange-500); */
185
+ /* --warning-on-dark: var(--color-orange-400); */
186
+ /* --warning-subtle-on-light: var(--color-orange-100); */
187
+ /* --warning-subtle-on-dark: var(--color-orange-900); */
188
+
189
+ /* --duration-moderate: 240ms; */
190
+ /* --duration-quick: 180ms; */
191
+
192
+ /* --ease-emphasized: cubic-bezier(0.16, 1, 0.3, 1); */
193
+
194
+ /* --radius-button: calc(infinity * 1px); */
195
+ /* --radius-card: 1rem; */
196
+ /* --radius-input: 0.5rem; */
197
+ /* --radius-surface: 1rem; */
198
+
199
+ /* --shadow-card-on-light: 0 10px 30px rgb(15 23 42 / 0.08); */
200
+ /* --shadow-card-on-dark: 0 12px 32px rgb(2 6 23 / 0.35); */
201
+ }
@@ -0,0 +1,358 @@
1
+ /* ==========================================================================
2
+ * tokens.properties.css
3
+ *
4
+ * AUTO-GENERATED — do not edit manually.
5
+ * Extracted from compiled component CSS after Tailwind processing.
6
+ *
7
+ * Registers Tailwind v4 @property rules at the document level.
8
+ * Shadow DOM adopted stylesheets cannot register @property — the spec
9
+ * only honours @property in document-level stylesheets. Loading this
10
+ * file once on the document makes all Tailwind utilities that depend on
11
+ * registered custom properties (border, shadow, ring, etc.) work
12
+ * correctly inside shadow roots.
13
+ * ========================================================================== */
14
+
15
+ @property --dsgn-border-sweep-angle {
16
+ syntax: '<angle>';
17
+ inherits: false;
18
+ initial-value: 0deg;
19
+ }
20
+
21
+ @property --tw-backdrop-blur {
22
+ syntax: "*";
23
+ inherits: false;
24
+ }
25
+
26
+ @property --tw-backdrop-brightness {
27
+ syntax: "*";
28
+ inherits: false;
29
+ }
30
+
31
+ @property --tw-backdrop-contrast {
32
+ syntax: "*";
33
+ inherits: false;
34
+ }
35
+
36
+ @property --tw-backdrop-grayscale {
37
+ syntax: "*";
38
+ inherits: false;
39
+ }
40
+
41
+ @property --tw-backdrop-hue-rotate {
42
+ syntax: "*";
43
+ inherits: false;
44
+ }
45
+
46
+ @property --tw-backdrop-invert {
47
+ syntax: "*";
48
+ inherits: false;
49
+ }
50
+
51
+ @property --tw-backdrop-opacity {
52
+ syntax: "*";
53
+ inherits: false;
54
+ }
55
+
56
+ @property --tw-backdrop-saturate {
57
+ syntax: "*";
58
+ inherits: false;
59
+ }
60
+
61
+ @property --tw-backdrop-sepia {
62
+ syntax: "*";
63
+ inherits: false;
64
+ }
65
+
66
+ @property --tw-blur {
67
+ syntax: "*";
68
+ inherits: false;
69
+ }
70
+
71
+ @property --tw-border-style {
72
+ syntax: "*";
73
+ inherits: false;
74
+ initial-value: solid;
75
+ }
76
+
77
+ @property --tw-brightness {
78
+ syntax: "*";
79
+ inherits: false;
80
+ }
81
+
82
+ @property --tw-contrast {
83
+ syntax: "*";
84
+ inherits: false;
85
+ }
86
+
87
+ @property --tw-drop-shadow {
88
+ syntax: "*";
89
+ inherits: false;
90
+ }
91
+
92
+ @property --tw-drop-shadow-alpha {
93
+ syntax: "<percentage>";
94
+ inherits: false;
95
+ initial-value: 100%;
96
+ }
97
+
98
+ @property --tw-drop-shadow-color {
99
+ syntax: "*";
100
+ inherits: false;
101
+ }
102
+
103
+ @property --tw-drop-shadow-size {
104
+ syntax: "*";
105
+ inherits: false;
106
+ }
107
+
108
+ @property --tw-duration {
109
+ syntax: "*";
110
+ inherits: false;
111
+ }
112
+
113
+ @property --tw-ease {
114
+ syntax: "*";
115
+ inherits: false;
116
+ }
117
+
118
+ @property --tw-font-weight {
119
+ syntax: "*";
120
+ inherits: false;
121
+ }
122
+
123
+ @property --tw-gradient-from {
124
+ syntax: "<color>";
125
+ inherits: false;
126
+ initial-value: #0000;
127
+ }
128
+
129
+ @property --tw-gradient-from-position {
130
+ syntax: "<length-percentage>";
131
+ inherits: false;
132
+ initial-value: 0%;
133
+ }
134
+
135
+ @property --tw-gradient-position {
136
+ syntax: "*";
137
+ inherits: false;
138
+ }
139
+
140
+ @property --tw-gradient-stops {
141
+ syntax: "*";
142
+ inherits: false;
143
+ }
144
+
145
+ @property --tw-gradient-to {
146
+ syntax: "<color>";
147
+ inherits: false;
148
+ initial-value: #0000;
149
+ }
150
+
151
+ @property --tw-gradient-to-position {
152
+ syntax: "<length-percentage>";
153
+ inherits: false;
154
+ initial-value: 100%;
155
+ }
156
+
157
+ @property --tw-gradient-via {
158
+ syntax: "<color>";
159
+ inherits: false;
160
+ initial-value: #0000;
161
+ }
162
+
163
+ @property --tw-gradient-via-position {
164
+ syntax: "<length-percentage>";
165
+ inherits: false;
166
+ initial-value: 50%;
167
+ }
168
+
169
+ @property --tw-gradient-via-stops {
170
+ syntax: "*";
171
+ inherits: false;
172
+ }
173
+
174
+ @property --tw-grayscale {
175
+ syntax: "*";
176
+ inherits: false;
177
+ }
178
+
179
+ @property --tw-hue-rotate {
180
+ syntax: "*";
181
+ inherits: false;
182
+ }
183
+
184
+ @property --tw-inset-ring-color {
185
+ syntax: "*";
186
+ inherits: false;
187
+ }
188
+
189
+ @property --tw-inset-ring-shadow {
190
+ syntax: "*";
191
+ inherits: false;
192
+ initial-value: 0 0 #0000;
193
+ }
194
+
195
+ @property --tw-inset-shadow {
196
+ syntax: "*";
197
+ inherits: false;
198
+ initial-value: 0 0 #0000;
199
+ }
200
+
201
+ @property --tw-inset-shadow-alpha {
202
+ syntax: "<percentage>";
203
+ inherits: false;
204
+ initial-value: 100%;
205
+ }
206
+
207
+ @property --tw-inset-shadow-color {
208
+ syntax: "*";
209
+ inherits: false;
210
+ }
211
+
212
+ @property --tw-invert {
213
+ syntax: "*";
214
+ inherits: false;
215
+ }
216
+
217
+ @property --tw-leading {
218
+ syntax: "*";
219
+ inherits: false;
220
+ }
221
+
222
+ @property --tw-opacity {
223
+ syntax: "*";
224
+ inherits: false;
225
+ }
226
+
227
+ @property --tw-outline-style {
228
+ syntax: "*";
229
+ inherits: false;
230
+ initial-value: solid;
231
+ }
232
+
233
+ @property --tw-ring-color {
234
+ syntax: "*";
235
+ inherits: false;
236
+ }
237
+
238
+ @property --tw-ring-inset {
239
+ syntax: "*";
240
+ inherits: false;
241
+ }
242
+
243
+ @property --tw-ring-offset-color {
244
+ syntax: "*";
245
+ inherits: false;
246
+ initial-value: #fff;
247
+ }
248
+
249
+ @property --tw-ring-offset-shadow {
250
+ syntax: "*";
251
+ inherits: false;
252
+ initial-value: 0 0 #0000;
253
+ }
254
+
255
+ @property --tw-ring-offset-width {
256
+ syntax: "<length>";
257
+ inherits: false;
258
+ initial-value: 0px;
259
+ }
260
+
261
+ @property --tw-ring-shadow {
262
+ syntax: "*";
263
+ inherits: false;
264
+ initial-value: 0 0 #0000;
265
+ }
266
+
267
+ @property --tw-rotate-x {
268
+ syntax: "*";
269
+ inherits: false;
270
+ }
271
+
272
+ @property --tw-rotate-y {
273
+ syntax: "*";
274
+ inherits: false;
275
+ }
276
+
277
+ @property --tw-rotate-z {
278
+ syntax: "*";
279
+ inherits: false;
280
+ }
281
+
282
+ @property --tw-saturate {
283
+ syntax: "*";
284
+ inherits: false;
285
+ }
286
+
287
+ @property --tw-scale-x {
288
+ syntax: "*";
289
+ inherits: false;
290
+ initial-value: 1;
291
+ }
292
+
293
+ @property --tw-scale-y {
294
+ syntax: "*";
295
+ inherits: false;
296
+ initial-value: 1;
297
+ }
298
+
299
+ @property --tw-scale-z {
300
+ syntax: "*";
301
+ inherits: false;
302
+ initial-value: 1;
303
+ }
304
+
305
+ @property --tw-sepia {
306
+ syntax: "*";
307
+ inherits: false;
308
+ }
309
+
310
+ @property --tw-shadow {
311
+ syntax: "*";
312
+ inherits: false;
313
+ initial-value: 0 0 #0000;
314
+ }
315
+
316
+ @property --tw-shadow-alpha {
317
+ syntax: "<percentage>";
318
+ inherits: false;
319
+ initial-value: 100%;
320
+ }
321
+
322
+ @property --tw-shadow-color {
323
+ syntax: "*";
324
+ inherits: false;
325
+ }
326
+
327
+ @property --tw-skew-x {
328
+ syntax: "*";
329
+ inherits: false;
330
+ }
331
+
332
+ @property --tw-skew-y {
333
+ syntax: "*";
334
+ inherits: false;
335
+ }
336
+
337
+ @property --tw-tracking {
338
+ syntax: "*";
339
+ inherits: false;
340
+ }
341
+
342
+ @property --tw-translate-x {
343
+ syntax: "*";
344
+ inherits: false;
345
+ initial-value: 0;
346
+ }
347
+
348
+ @property --tw-translate-y {
349
+ syntax: "*";
350
+ inherits: false;
351
+ initial-value: 0;
352
+ }
353
+
354
+ @property --tw-translate-z {
355
+ syntax: "*";
356
+ inherits: false;
357
+ initial-value: 0;
358
+ }