@codapet/design-system 0.6.2 → 0.6.3
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/index.d.mts +72 -3
- package/dist/index.mjs +988 -600
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +79 -17
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -76,14 +76,42 @@
|
|
|
76
76
|
/* Surface */
|
|
77
77
|
--color-gray-surface-light: var(--gray-surface-light);
|
|
78
78
|
--color-gray-surface-default: var(--gray-surface-default);
|
|
79
|
+
--color-gray-surface-dark: var(--gray-surface-dark);
|
|
79
80
|
--color-primary-surface-subtle: var(--primary-surface-subtle);
|
|
80
81
|
--color-primary-surface-light: var(--primary-surface-light);
|
|
81
82
|
--color-primary-surface-default: var(--primary-surface-default);
|
|
82
83
|
|
|
84
|
+
/* Secondary/Sand tokens */
|
|
85
|
+
--color-secondary-surface-default: var(--secondary-surface-default);
|
|
86
|
+
--color-secondary-stroke-light: var(--secondary-stroke-light);
|
|
87
|
+
--color-secondary-stroke-default: var(--secondary-stroke-default);
|
|
88
|
+
--color-secondary-text-dark: var(--secondary-text-dark);
|
|
89
|
+
|
|
90
|
+
/* Warning tokens */
|
|
91
|
+
--color-warning-surface-subtle: var(--warning-surface-subtle);
|
|
92
|
+
--color-warning-stroke-default: var(--warning-stroke-default);
|
|
93
|
+
--color-warning-stroke-dark: var(--warning-stroke-dark);
|
|
94
|
+
|
|
95
|
+
/* Success tokens */
|
|
96
|
+
--color-success-surface-subtle: var(--success-surface-subtle);
|
|
97
|
+
--color-success-stroke-light: var(--success-stroke-light);
|
|
98
|
+
|
|
99
|
+
/* Alert tokens */
|
|
100
|
+
--color-alert-bg-informative: var(--alert-bg-informative);
|
|
101
|
+
--color-alert-bg-error: var(--alert-bg-error);
|
|
102
|
+
--color-vibrant-text-heading: var(--vibrant-text-heading);
|
|
103
|
+
|
|
104
|
+
/* Text tokens */
|
|
105
|
+
--color-vibrant-text-body: var(--vibrant-text-body);
|
|
106
|
+
|
|
83
107
|
/* stroke */
|
|
84
108
|
--color-gray-stroke-light: var(--gray-stroke-light);
|
|
109
|
+
--color-gray-stroke-default: var(--gray-stroke-default);
|
|
85
110
|
--color-error-stroke-light: var(--error-stroke-light);
|
|
86
111
|
--color-primary-stroke-default: var(--primary-stroke-default);
|
|
112
|
+
|
|
113
|
+
/* text details */
|
|
114
|
+
--color-vibrant-text-details: var(--vibrant-text-details);
|
|
87
115
|
/* error surface */
|
|
88
116
|
--color-error-surface-dark: var(--error-surface-dark);
|
|
89
117
|
--color-error-surface-light: var(--error-surface-light);
|
|
@@ -171,10 +199,27 @@
|
|
|
171
199
|
--gray-subtle: oklch(0.6722 0.0119 286.08);
|
|
172
200
|
--icon-disabled: oklch(0.8686 0.0216 252.51);
|
|
173
201
|
|
|
202
|
+
--secondary-surface-default: oklch(0.9596 0.0076 67.56);
|
|
203
|
+
--secondary-stroke-light: oklch(0.9218 0.0049 67.38);
|
|
204
|
+
--secondary-stroke-default: oklch(0.8697 0.0058 56.37);
|
|
205
|
+
--secondary-text-dark: oklch(0.3737 0.0133 67.75);
|
|
206
|
+
--warning-surface-subtle: oklch(0.9795 0.0306 102.91);
|
|
207
|
+
--warning-stroke-default: oklch(0.8244 0.1349 89.17);
|
|
208
|
+
--warning-stroke-dark: oklch(0.5137 0.1264 60.47);
|
|
209
|
+
--vibrant-text-body: oklch(0.3623 0.0131 286.07);
|
|
210
|
+
--vibrant-text-heading: oklch(0.1456 0.0045 286.07);
|
|
211
|
+
--alert-bg-informative: oklch(0.9804 0 0);
|
|
212
|
+
--alert-bg-error: oklch(0.9919 0.0032 17.38);
|
|
213
|
+
--success-surface-subtle: oklch(0.9843 0.0232 152.47);
|
|
214
|
+
--success-stroke-light: oklch(0.9345 0.0799 152.76);
|
|
215
|
+
|
|
174
216
|
/* gray*/
|
|
175
217
|
--gray-surface-light: oklch(0.9674 0.0013 286.37);
|
|
176
218
|
--gray-surface-default: oklch(0.8711 0.0055 286.29);
|
|
219
|
+
--gray-surface-dark: oklch(0.228 0.006 286.07);
|
|
177
220
|
--gray-stroke-light: oklch(0.9197 0.004 286.32);
|
|
221
|
+
--gray-stroke-default: oklch(0.8686 0.0037 286.37);
|
|
222
|
+
--vibrant-text-details: oklch(0.553 0.013 286.37);
|
|
178
223
|
|
|
179
224
|
/* primary surface */
|
|
180
225
|
--primary-surface-subtle: oklch(0.9678 0.0086 247.91);
|
|
@@ -194,7 +239,7 @@
|
|
|
194
239
|
--destructive-text: oklch(0.704 0.191 22.2);
|
|
195
240
|
--destructive-hover: oklch(0.97 0.013 17.4);
|
|
196
241
|
--destructive-active: oklch(0.94 0.03 17.4);
|
|
197
|
-
--destructive-bg-deep: oklch(0.
|
|
242
|
+
--destructive-bg-deep: oklch(0.4 0.14 22);
|
|
198
243
|
--active-primary: oklch(0.28 0.03 264);
|
|
199
244
|
--range-middle-bg: oklch(0.93 0.005 264);
|
|
200
245
|
}
|
|
@@ -206,7 +251,7 @@
|
|
|
206
251
|
--card-foreground: oklch(0.984 0.003 247.858);
|
|
207
252
|
--popover: oklch(0.208 0.042 265.755);
|
|
208
253
|
--popover-foreground: oklch(0.984 0.003 247.858);
|
|
209
|
-
--primary: oklch(0.62 0.
|
|
254
|
+
--primary: oklch(0.62 0.1 252.57);
|
|
210
255
|
--primary-foreground: oklch(0.984 0.003 247.858);
|
|
211
256
|
--secondary: oklch(0.279 0.041 260.031);
|
|
212
257
|
--secondary-foreground: oklch(0.984 0.003 247.858);
|
|
@@ -234,49 +279,66 @@
|
|
|
234
279
|
--sidebar-ring: oklch(0.551 0.027 264.364);
|
|
235
280
|
|
|
236
281
|
/* Brand Colors */
|
|
237
|
-
--brand-subtle: oklch(0.
|
|
282
|
+
--brand-subtle: oklch(0.2 0.012 248);
|
|
238
283
|
--brand-light: oklch(0.25 0.018 251);
|
|
239
|
-
--brand-normal: oklch(0.62 0.
|
|
284
|
+
--brand-normal: oklch(0.62 0.1 252.57);
|
|
240
285
|
--brand-vibrant: oklch(0.65 0.13 253.26);
|
|
241
286
|
--brand-dark: oklch(0.72 0.07 255.4);
|
|
242
|
-
--brand-text-vibrant: oklch(0.72 0.
|
|
287
|
+
--brand-text-vibrant: oklch(0.72 0.2 259.23);
|
|
243
288
|
|
|
244
289
|
/* Sand Colors */
|
|
245
|
-
--sand-light: oklch(0.
|
|
290
|
+
--sand-light: oklch(0.2 0.005 106);
|
|
246
291
|
--sand-normal: oklch(0.25 0.006 68);
|
|
247
|
-
--sand-dark: oklch(0.
|
|
292
|
+
--sand-dark: oklch(0.4 0.005 56);
|
|
248
293
|
|
|
249
294
|
/* Rose Colors */
|
|
250
|
-
--rose-light: oklch(0.
|
|
295
|
+
--rose-light: oklch(0.2 0.01 0.11);
|
|
251
296
|
--rose-normal: oklch(0.45 0.06 0.45);
|
|
252
297
|
--rose-dark: oklch(0.65 0.04 0.34);
|
|
253
298
|
|
|
254
299
|
/* Sage Colors */
|
|
255
|
-
--sage-light: oklch(0.
|
|
300
|
+
--sage-light: oklch(0.2 0.018 165);
|
|
256
301
|
--sage-normal: oklch(0.45 0.04 164);
|
|
257
302
|
--sage-dark: oklch(0.65 0.03 165);
|
|
258
303
|
|
|
259
304
|
/* Red */
|
|
260
|
-
--red-subtle: oklch(0.
|
|
305
|
+
--red-subtle: oklch(0.2 0.02 17);
|
|
306
|
+
|
|
307
|
+
--secondary-surface-default: oklch(0.25 0.008 68);
|
|
308
|
+
--secondary-stroke-light: oklch(0.3 0.005 68);
|
|
309
|
+
--secondary-stroke-default: oklch(0.35 0.006 56);
|
|
310
|
+
--secondary-text-dark: oklch(0.85 0.013 68);
|
|
311
|
+
--warning-surface-subtle: oklch(0.22 0.03 103);
|
|
312
|
+
--warning-stroke-default: oklch(0.65 0.13 89);
|
|
313
|
+
--warning-stroke-dark: oklch(0.75 0.1 60);
|
|
314
|
+
--vibrant-text-body: oklch(0.8 0.013 286);
|
|
315
|
+
--vibrant-text-heading: oklch(0.95 0.005 286);
|
|
316
|
+
--alert-bg-informative: oklch(0.18 0 0);
|
|
317
|
+
--alert-bg-error: oklch(0.18 0.01 17);
|
|
318
|
+
--success-surface-subtle: oklch(0.18 0.02 152);
|
|
319
|
+
--success-stroke-light: oklch(0.35 0.06 152);
|
|
261
320
|
|
|
262
321
|
/* Gray / Neutral */
|
|
263
322
|
--gray-subtle: oklch(0.55 0.012 286);
|
|
264
323
|
--gray-surface-light: oklch(0.22 0.005 286);
|
|
265
|
-
--gray-surface-default: oklch(0.
|
|
266
|
-
--gray-
|
|
324
|
+
--gray-surface-default: oklch(0.3 0.006 286);
|
|
325
|
+
--gray-surface-dark: oklch(0.228 0.006 286.07);
|
|
326
|
+
--gray-stroke-light: oklch(0.3 0.005 286);
|
|
327
|
+
--gray-stroke-default: oklch(0.35 0.006 286);
|
|
328
|
+
--vibrant-text-details: oklch(0.6 0.013 286);
|
|
267
329
|
--icon-disabled: oklch(0.35 0.02 252);
|
|
268
330
|
|
|
269
331
|
/* Primary Surface & Stroke */
|
|
270
|
-
--primary-surface-subtle: oklch(0.
|
|
332
|
+
--primary-surface-subtle: oklch(0.2 0.012 248);
|
|
271
333
|
--primary-surface-light: oklch(0.25 0.018 251);
|
|
272
|
-
--primary-surface-default: oklch(0.
|
|
273
|
-
--primary-stroke-default: oklch(0.
|
|
334
|
+
--primary-surface-default: oklch(0.5 0.09 252.66);
|
|
335
|
+
--primary-stroke-default: oklch(0.6 0.12 253.36);
|
|
274
336
|
|
|
275
337
|
/* Error Surface & Stroke */
|
|
276
338
|
--error-surface-default: oklch(0.55 0.18 22.23);
|
|
277
339
|
--error-surface-dark: oklch(0.55 0.16 25.71);
|
|
278
340
|
--error-surface-light: oklch(0.22 0.03 17);
|
|
279
|
-
--error-stroke-light: oklch(0.
|
|
341
|
+
--error-stroke-light: oklch(0.4 0.08 18.39);
|
|
280
342
|
|
|
281
343
|
/* Semantic tokens */
|
|
282
344
|
--foreground-secondary: oklch(0.87 0.006 286);
|
|
@@ -286,7 +348,7 @@
|
|
|
286
348
|
--destructive-hover: oklch(0.22 0.04 17.4);
|
|
287
349
|
--destructive-active: oklch(0.28 0.05 17.4);
|
|
288
350
|
--destructive-bg-deep: oklch(0.35 0.14 22);
|
|
289
|
-
--active-primary: oklch(0.
|
|
351
|
+
--active-primary: oklch(0.8 0.02 264);
|
|
290
352
|
--range-middle-bg: oklch(0.28 0.02 264);
|
|
291
353
|
}
|
|
292
354
|
|