@onesaz/tailwind-config 0.2.2 → 0.2.4

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.
Files changed (2) hide show
  1. package/dist/v4.css +39 -0
  2. package/package.json +1 -1
package/dist/v4.css CHANGED
@@ -286,5 +286,44 @@
286
286
  to { transform: translateY(0); }
287
287
  }
288
288
 
289
+ /* ========================================
290
+ * DEFAULT THEME CSS VARIABLES
291
+ * These provide default values so components work out of the box.
292
+ * Consumers can override these in their own CSS.
293
+ * ======================================== */
294
+ :root {
295
+ --background: #ffffff;
296
+ --foreground: #0f172a;
297
+ --card: #ffffff;
298
+ --card-foreground: #0f172a;
299
+ --popover: #ffffff;
300
+ --popover-foreground: #0f172a;
301
+ --muted: #f1f5f9;
302
+ --muted-foreground: #64748b;
303
+ --border: #e2e8f0;
304
+ --input: #e2e8f0;
305
+ --accent: #8b5cf6;
306
+ --accent-foreground: #ffffff;
307
+ --ring: #8b5cf6;
308
+ --destructive: #dc2626;
309
+ --destructive-foreground: #ffffff;
310
+ --radius: 0.375rem;
311
+ }
312
+
313
+ .dark, [data-theme="dark"] {
314
+ --background: #0f172a;
315
+ --foreground: #f8fafc;
316
+ --card: #1e293b;
317
+ --card-foreground: #f8fafc;
318
+ --popover: #1e293b;
319
+ --popover-foreground: #f8fafc;
320
+ --muted: #334155;
321
+ --muted-foreground: #94a3b8;
322
+ --border: #334155;
323
+ --input: #334155;
324
+ --destructive: #ef4444;
325
+ --destructive-foreground: #ffffff;
326
+ }
327
+
289
328
  /* Scan @onesaz/ui for class generation (works in consuming apps' node_modules) */
290
329
  @source "../../@onesaz/ui/dist/**/*.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onesaz/tailwind-config",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "Tailwind CSS preset for Onesaz UI - shared configuration with design tokens (supports v3 and v4)",
5
5
  "type": "module",
6
6
  "license": "MIT",