shru-design-system 0.0.3 → 0.0.5
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.
|
@@ -59,6 +59,21 @@
|
|
|
59
59
|
|
|
60
60
|
:root {
|
|
61
61
|
--radius: 0.625rem;
|
|
62
|
+
|
|
63
|
+
/* Color palette variables - required for chart and other components */
|
|
64
|
+
--color-blue-50: #eff6ff;
|
|
65
|
+
--color-blue-100: #dbeafe;
|
|
66
|
+
--color-blue-200: #bfdbfe;
|
|
67
|
+
--color-blue-300: #93c5fd;
|
|
68
|
+
--color-blue-400: #60a5fa;
|
|
69
|
+
--color-blue-500: #3b82f6;
|
|
70
|
+
--color-blue-600: #2563eb;
|
|
71
|
+
--color-blue-700: #1d4ed8;
|
|
72
|
+
--color-blue-800: #1e40af;
|
|
73
|
+
--color-blue-900: #1e3a8a;
|
|
74
|
+
--color-blue-950: #172554;
|
|
75
|
+
|
|
76
|
+
/* Semantic color variables */
|
|
62
77
|
--background: oklch(1 0 0);
|
|
63
78
|
--foreground: oklch(0.145 0 0);
|
|
64
79
|
--card: oklch(1 0 0);
|
|
@@ -225,6 +240,57 @@
|
|
|
225
240
|
}
|
|
226
241
|
}
|
|
227
242
|
|
|
243
|
+
/*
|
|
244
|
+
* Force generation of utilities used by design system components
|
|
245
|
+
* Since components are bundled, Tailwind can't scan them automatically.
|
|
246
|
+
* This ensures all required utilities are generated.
|
|
247
|
+
*/
|
|
248
|
+
@layer utilities {
|
|
249
|
+
/* These classes are used by design system components but can't be scanned from bundled JS */
|
|
250
|
+
.rounded-md { border-radius: var(--radius-md); }
|
|
251
|
+
.rounded-lg { border-radius: var(--radius-lg); }
|
|
252
|
+
.rounded-sm { border-radius: var(--radius-sm); }
|
|
253
|
+
.rounded-xl { border-radius: var(--radius-xl); }
|
|
254
|
+
.rounded-full { border-radius: 9999px; }
|
|
255
|
+
.px-4 { padding-left: 1rem; padding-right: 1rem; }
|
|
256
|
+
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
|
|
257
|
+
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
|
|
258
|
+
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
|
|
259
|
+
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
|
|
260
|
+
.p-4 { padding: 1rem; }
|
|
261
|
+
.p-6 { padding: 1.5rem; }
|
|
262
|
+
.gap-2 { gap: 0.5rem; }
|
|
263
|
+
.gap-4 { gap: 1rem; }
|
|
264
|
+
.mb-8 { margin-bottom: 2rem; }
|
|
265
|
+
.mb-4 { margin-bottom: 1rem; }
|
|
266
|
+
.mb-2 { margin-bottom: 0.5rem; }
|
|
267
|
+
.mt-4 { margin-top: 1rem; }
|
|
268
|
+
.h-9 { height: 2.25rem; }
|
|
269
|
+
.h-8 { height: 2rem; }
|
|
270
|
+
.h-10 { height: 2.5rem; }
|
|
271
|
+
.h-12 { height: 3rem; }
|
|
272
|
+
.min-h-screen { min-height: 100vh; }
|
|
273
|
+
.inline-flex { display: inline-flex; }
|
|
274
|
+
.flex { display: flex; }
|
|
275
|
+
.items-center { align-items: center; }
|
|
276
|
+
.justify-center { justify-content: center; }
|
|
277
|
+
.flex-wrap { flex-wrap: wrap; }
|
|
278
|
+
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
|
|
279
|
+
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
|
|
280
|
+
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
|
|
281
|
+
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
|
|
282
|
+
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
|
|
283
|
+
.font-medium { font-weight: 500; }
|
|
284
|
+
.font-semibold { font-weight: 600; }
|
|
285
|
+
.font-bold { font-weight: 700; }
|
|
286
|
+
.whitespace-nowrap { white-space: nowrap; }
|
|
287
|
+
.shrink-0 { flex-shrink: 0; }
|
|
288
|
+
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
|
|
289
|
+
.disabled\:pointer-events-none:disabled { pointer-events: none; }
|
|
290
|
+
.disabled\:opacity-50:disabled { opacity: 0.5; }
|
|
291
|
+
.outline-none { outline: 2px solid transparent; outline-offset: 2px; }
|
|
292
|
+
}
|
|
293
|
+
|
|
228
294
|
@layer components {
|
|
229
295
|
.steps {
|
|
230
296
|
&:first-child {
|