@codapet/design-system 0.6.5 → 0.6.8
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 +20 -2
- package/dist/index.mjs +161 -50
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +61 -34
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -16,11 +16,7 @@
|
|
|
16
16
|
--color-sidebar-primary: var(--sidebar-primary);
|
|
17
17
|
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
18
18
|
--color-sidebar: var(--sidebar);
|
|
19
|
-
|
|
20
|
-
--color-chart-4: var(--chart-4);
|
|
21
|
-
--color-chart-3: var(--chart-3);
|
|
22
|
-
--color-chart-2: var(--chart-2);
|
|
23
|
-
--color-chart-1: var(--chart-1);
|
|
19
|
+
|
|
24
20
|
--color-ring: var(--ring);
|
|
25
21
|
--color-input: var(--input);
|
|
26
22
|
--color-border: var(--border);
|
|
@@ -86,20 +82,34 @@
|
|
|
86
82
|
--color-secondary-stroke-light: var(--secondary-stroke-light);
|
|
87
83
|
--color-secondary-stroke-default: var(--secondary-stroke-default);
|
|
88
84
|
--color-secondary-text-dark: var(--secondary-text-dark);
|
|
85
|
+
--color-sand-subtle: var(--sand-subtle);
|
|
86
|
+
--color-sand-stroke-disabled: var(--sand-stroke-disabled);
|
|
89
87
|
|
|
90
88
|
/* Warning tokens */
|
|
91
89
|
--color-warning-surface-subtle: var(--warning-surface-subtle);
|
|
90
|
+
--color-warning-surface-light: var(--warning-surface-light);
|
|
92
91
|
--color-warning-stroke-default: var(--warning-stroke-default);
|
|
93
92
|
--color-warning-stroke-dark: var(--warning-stroke-dark);
|
|
94
93
|
|
|
95
94
|
/* Success tokens */
|
|
96
95
|
--color-success-surface-subtle: var(--success-surface-subtle);
|
|
97
96
|
--color-success-stroke-light: var(--success-stroke-light);
|
|
97
|
+
--color-success-surface-default: var(--success-surface-default);
|
|
98
|
+
--color-success-text-dark: var(--success-text-dark);
|
|
99
|
+
|
|
100
|
+
/* Gray Text-Icon tokens */
|
|
101
|
+
--color-gray-icon-subtle: var(--gray-icon-subtle);
|
|
102
|
+
--color-gray-icon-light: var(--gray-icon-light);
|
|
103
|
+
--color-gray-icon-default: var(--gray-icon-default);
|
|
104
|
+
--color-gray-icon-dark: var(--gray-icon-dark);
|
|
98
105
|
|
|
106
|
+
/* Vibrant text */
|
|
107
|
+
--color-vibrant-text-white-darker: var(--vibrant-text-white-darker);
|
|
99
108
|
/* Alert tokens */
|
|
100
109
|
--color-alert-bg-informative: var(--alert-bg-informative);
|
|
101
110
|
--color-alert-bg-error: var(--alert-bg-error);
|
|
102
111
|
--color-vibrant-text-heading: var(--vibrant-text-heading);
|
|
112
|
+
--color-vibrant-text-display: var(--vibrant-text-display);
|
|
103
113
|
|
|
104
114
|
/* Text tokens */
|
|
105
115
|
--color-vibrant-text-body: var(--vibrant-text-body);
|
|
@@ -108,6 +118,8 @@
|
|
|
108
118
|
--color-gray-stroke-light: var(--gray-stroke-light);
|
|
109
119
|
--color-gray-stroke-default: var(--gray-stroke-default);
|
|
110
120
|
--color-error-stroke-light: var(--error-stroke-light);
|
|
121
|
+
--color-error-stroke-default: var(--error-stroke-default);
|
|
122
|
+
--color-error-surface-subtle: var(--error-surface-subtle);
|
|
111
123
|
--color-primary-stroke-default: var(--primary-stroke-default);
|
|
112
124
|
|
|
113
125
|
/* text details */
|
|
@@ -152,11 +164,7 @@
|
|
|
152
164
|
--border: oklch(0.929 0.013 255.508);
|
|
153
165
|
--input: oklch(0.929 0.013 255.508);
|
|
154
166
|
--ring: oklch(0.704 0.04 256.788);
|
|
155
|
-
|
|
156
|
-
--chart-2: oklch(0.6 0.118 184.704);
|
|
157
|
-
--chart-3: oklch(0.398 0.07 227.392);
|
|
158
|
-
--chart-4: oklch(0.828 0.189 84.429);
|
|
159
|
-
--chart-5: oklch(0.769 0.188 70.08);
|
|
167
|
+
|
|
160
168
|
--sidebar: oklch(0.984 0.003 247.858);
|
|
161
169
|
--sidebar-foreground: oklch(0.129 0.042 264.695);
|
|
162
170
|
--sidebar-primary: oklch(0.208 0.042 265.755);
|
|
@@ -169,9 +177,9 @@
|
|
|
169
177
|
/* Brand Colors */
|
|
170
178
|
--brand-subtle: oklch(0.9672 0.0087 247.92);
|
|
171
179
|
--brand-light: oklch(0.9417 0.0144 251.57);
|
|
172
|
-
--brand-normal: oklch(0.
|
|
180
|
+
--brand-normal: oklch(0.5661 0.0865 252.66);
|
|
173
181
|
--brand-vibrant: oklch(0.5424 0.1123 253.26);
|
|
174
|
-
--brand-dark: oklch(0.
|
|
182
|
+
--brand-dark: oklch(0.4479 0.0585 256.06);
|
|
175
183
|
--brand-text-vibrant: oklch(0.6187 0.2067 259.23);
|
|
176
184
|
|
|
177
185
|
/* Custom Sand Colors */
|
|
@@ -185,34 +193,44 @@
|
|
|
185
193
|
--primary-stroke-default: oklch(0.5444 0.1133 253.36);
|
|
186
194
|
/* Rose accent */
|
|
187
195
|
--rose-light: oklch(0.9722 0.0086 0.11);
|
|
188
|
-
--rose-normal: oklch(0.
|
|
189
|
-
--rose-dark: oklch(0.
|
|
196
|
+
--rose-normal: oklch(0.8031 0.0495 0.38);
|
|
197
|
+
--rose-dark: oklch(0.5092 0.0298 0.01);
|
|
190
198
|
|
|
191
199
|
/* Custom red accent */
|
|
192
200
|
--red-subtle: oklch(0.9903 0.003 17.21);
|
|
193
201
|
|
|
194
202
|
/* Sage accent */
|
|
195
|
-
--sage-light: oklch(0.
|
|
196
|
-
--sage-normal: oklch(0.
|
|
197
|
-
--sage-dark: oklch(0.
|
|
203
|
+
--sage-light: oklch(0.9306 0.0176 164.64);
|
|
204
|
+
--sage-normal: oklch(0.7528 0.0340 163.90);
|
|
205
|
+
--sage-dark: oklch(0.4361 0.0249 165.05);
|
|
198
206
|
|
|
199
|
-
--gray-subtle: oklch(0.
|
|
207
|
+
--gray-subtle: oklch(0.6727 0.0131 286.04);
|
|
200
208
|
--icon-disabled: oklch(0.8686 0.0216 252.51);
|
|
201
209
|
|
|
202
210
|
--secondary-surface-default: oklch(0.9596 0.0076 67.56);
|
|
203
211
|
--secondary-stroke-light: oklch(0.9218 0.0049 67.38);
|
|
204
212
|
--secondary-stroke-default: oklch(0.8697 0.0058 56.37);
|
|
205
213
|
--secondary-text-dark: oklch(0.3737 0.0133 67.75);
|
|
206
|
-
--
|
|
207
|
-
--
|
|
208
|
-
--warning-
|
|
214
|
+
--sand-subtle: oklch(0.9905 0.0026 106.45);
|
|
215
|
+
--sand-stroke-disabled: oklch(0.9848 0.0013 106.42);
|
|
216
|
+
--warning-surface-subtle: oklch(0.9788 0.0408 98.07);
|
|
217
|
+
--warning-surface-light: oklch(0.9566 0.0763 97.96);
|
|
218
|
+
--warning-stroke-default: oklch(0.8230 0.1479 88.67);
|
|
219
|
+
--warning-stroke-dark: oklch(0.5548 0.1271 62.52);
|
|
220
|
+
--vibrant-text-display: oklch(0.4247 0.0456 250.58);
|
|
209
221
|
--vibrant-text-body: oklch(0.3623 0.0131 286.07);
|
|
210
222
|
--vibrant-text-heading: oklch(0.1456 0.0045 286.07);
|
|
223
|
+
--vibrant-text-white-darker: oklch(0.8853 0.0000 0);
|
|
224
|
+
--gray-icon-subtle: oklch(0.6727 0.0131 286.04);
|
|
225
|
+
--gray-icon-light: oklch(0.7057 0.0144 286.02);
|
|
226
|
+
--gray-icon-default: oklch(0.4422 0.0162 285.72);
|
|
227
|
+
--gray-icon-dark: oklch(0.2739 0.0055 286.03);
|
|
211
228
|
--alert-bg-informative: oklch(0.9804 0 0);
|
|
212
229
|
--alert-bg-error: oklch(0.9919 0.0032 17.38);
|
|
213
|
-
--success-surface-subtle: oklch(0.
|
|
214
|
-
--success-stroke-light: oklch(0.
|
|
215
|
-
|
|
230
|
+
--success-surface-subtle: oklch(0.9819 0.0181 155.83);
|
|
231
|
+
--success-stroke-light: oklch(0.9510 0.0338 154.85);
|
|
232
|
+
--success-surface-default: oklch(0.6320 0.1860 147.37);
|
|
233
|
+
--success-text-dark: oklch(0.3935 0.0957 152.28);
|
|
216
234
|
/* gray*/
|
|
217
235
|
--gray-surface-light: oklch(0.9674 0.0013 286.37);
|
|
218
236
|
--gray-surface-default: oklch(0.8711 0.0055 286.29);
|
|
@@ -231,6 +249,8 @@
|
|
|
231
249
|
--error-surface-dark: oklch(0.3967 0.1408 25.71);
|
|
232
250
|
--error-surface-light: oklch(0.9705 0.0129 17.38);
|
|
233
251
|
--error-stroke-light: oklch(0.8834 0.0616 18.39);
|
|
252
|
+
--error-stroke-default: oklch(0.6834 0.2106 19.85);
|
|
253
|
+
--error-surface-subtle: oklch(0.9903 0.003 17.21);
|
|
234
254
|
|
|
235
255
|
/* Semantic tokens */
|
|
236
256
|
--foreground-secondary: oklch(0.37 0.013 285.8);
|
|
@@ -238,9 +258,9 @@
|
|
|
238
258
|
--focus-ring: oklch(0.623 0.214 259.8);
|
|
239
259
|
--destructive-text: oklch(0.704 0.191 22.2);
|
|
240
260
|
--destructive-hover: oklch(0.97 0.013 17.4);
|
|
241
|
-
--destructive-active: oklch(0.
|
|
242
|
-
--destructive-bg-deep: oklch(0.
|
|
243
|
-
--active-primary: oklch(0.
|
|
261
|
+
--destructive-active: oklch(0.9365 0.0320 17.74);
|
|
262
|
+
--destructive-bg-deep: oklch(0.4446 0.1774 26.79);
|
|
263
|
+
--active-primary: oklch(0.2799 0.0408 260.33);
|
|
244
264
|
--range-middle-bg: oklch(0.93 0.005 264);
|
|
245
265
|
}
|
|
246
266
|
|
|
@@ -264,11 +284,7 @@
|
|
|
264
284
|
--input: oklch(1 0 0 / 15%);
|
|
265
285
|
/* --ring: oklch(0.551 0.027 264.364); */
|
|
266
286
|
--ring: oklch(0.623 0.214 259.815); /* blue-500 */
|
|
267
|
-
|
|
268
|
-
--chart-2: oklch(0.696 0.17 162.48);
|
|
269
|
-
--chart-3: oklch(0.769 0.188 70.08);
|
|
270
|
-
--chart-4: oklch(0.627 0.265 303.9);
|
|
271
|
-
--chart-5: oklch(0.645 0.246 16.439);
|
|
287
|
+
|
|
272
288
|
--sidebar: oklch(0.208 0.042 265.755);
|
|
273
289
|
--sidebar-foreground: oklch(0.984 0.003 247.858);
|
|
274
290
|
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
@@ -308,15 +324,26 @@
|
|
|
308
324
|
--secondary-stroke-light: oklch(0.3 0.005 68);
|
|
309
325
|
--secondary-stroke-default: oklch(0.35 0.006 56);
|
|
310
326
|
--secondary-text-dark: oklch(0.85 0.013 68);
|
|
311
|
-
--
|
|
327
|
+
--sand-subtle: oklch(0.18 0.003 106);
|
|
328
|
+
--sand-stroke-disabled: oklch(0.22 0.002 106);
|
|
329
|
+
--warning-surface-subtle: oklch(0.22 0.03 98);
|
|
330
|
+
--warning-surface-light: oklch(0.28 0.06 98);
|
|
312
331
|
--warning-stroke-default: oklch(0.65 0.13 89);
|
|
313
|
-
--warning-stroke-dark: oklch(0.75 0.1
|
|
332
|
+
--warning-stroke-dark: oklch(0.75 0.1 62);
|
|
333
|
+
--vibrant-text-display: oklch(0.7 0.05 250);
|
|
314
334
|
--vibrant-text-body: oklch(0.8 0.013 286);
|
|
315
335
|
--vibrant-text-heading: oklch(0.95 0.005 286);
|
|
336
|
+
--vibrant-text-white-darker: oklch(0.35 0 0);
|
|
337
|
+
--gray-icon-subtle: oklch(0.55 0.012 286);
|
|
338
|
+
--gray-icon-light: oklch(0.6 0.013 286);
|
|
339
|
+
--gray-icon-default: oklch(0.7 0.014 286);
|
|
340
|
+
--gray-icon-dark: oklch(0.85 0.006 286);
|
|
316
341
|
--alert-bg-informative: oklch(0.18 0 0);
|
|
317
342
|
--alert-bg-error: oklch(0.18 0.01 17);
|
|
318
343
|
--success-surface-subtle: oklch(0.18 0.02 152);
|
|
319
344
|
--success-stroke-light: oklch(0.35 0.06 152);
|
|
345
|
+
--success-surface-default: oklch(0.55 0.16 147);
|
|
346
|
+
--success-text-dark: oklch(0.7 0.08 152);
|
|
320
347
|
|
|
321
348
|
/* Gray / Neutral */
|
|
322
349
|
--gray-subtle: oklch(0.55 0.012 286);
|