@onesaz/tailwind-config 0.2.6 → 0.2.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/v4.css +139 -126
- package/package.json +1 -1
package/dist/v4.css
CHANGED
|
@@ -291,145 +291,158 @@
|
|
|
291
291
|
* DEFAULT THEME CSS VARIABLES
|
|
292
292
|
* These provide default values so components work out of the box.
|
|
293
293
|
* Consumers can override these in their own CSS.
|
|
294
|
+
* IMPORTANT: Must be in @layer base for Tailwind v4 cascade to work!
|
|
294
295
|
* ======================================== */
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
296
|
+
@layer base {
|
|
297
|
+
/* Apply theme colors to body by default */
|
|
298
|
+
body {
|
|
299
|
+
background-color: var(--background);
|
|
300
|
+
color: var(--foreground);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
:root {
|
|
304
|
+
--background: #ffffff;
|
|
305
|
+
--foreground: #0f172a;
|
|
306
|
+
--card: #ffffff;
|
|
307
|
+
--card-foreground: #0f172a;
|
|
308
|
+
--popover: #ffffff;
|
|
309
|
+
--popover-foreground: #0f172a;
|
|
310
|
+
--muted: #f1f5f9;
|
|
311
|
+
--muted-foreground: #64748b;
|
|
312
|
+
--border: #e2e8f0;
|
|
313
|
+
--input: #e2e8f0;
|
|
314
|
+
--accent: #6739b7;
|
|
315
|
+
--accent-hover: #4f2d8f;
|
|
316
|
+
--accent-foreground: #ffffff;
|
|
317
|
+
--ring: #6739b7;
|
|
318
|
+
--destructive: #dc2626;
|
|
319
|
+
--destructive-foreground: #ffffff;
|
|
320
|
+
--radius: 0.375rem;
|
|
321
|
+
--radius-lg: 0.5rem;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
.dark, [data-theme="dark"] {
|
|
325
|
+
--background: #0f172a;
|
|
326
|
+
--foreground: #f8fafc;
|
|
327
|
+
--card: #1e293b;
|
|
328
|
+
--card-foreground: #f8fafc;
|
|
329
|
+
--popover: #1e293b;
|
|
330
|
+
--popover-foreground: #f8fafc;
|
|
331
|
+
--muted: #334155;
|
|
332
|
+
--muted-foreground: #94a3b8;
|
|
333
|
+
--border: #334155;
|
|
334
|
+
--input: #334155;
|
|
335
|
+
--accent: #8b5cf6;
|
|
336
|
+
--accent-hover: #6739b7;
|
|
337
|
+
--destructive: #ef4444;
|
|
338
|
+
--destructive-foreground: #ffffff;
|
|
339
|
+
}
|
|
331
340
|
}
|
|
332
341
|
|
|
333
342
|
/* ========================================
|
|
334
343
|
* ACCENT COLOR PRESETS
|
|
335
344
|
* Usage: <html data-accent="blue"> or <div data-accent="blue">
|
|
336
345
|
* ======================================== */
|
|
346
|
+
@layer base {
|
|
347
|
+
/* Purple (Onesaz Custom - Default) */
|
|
348
|
+
[data-accent="purple"] {
|
|
349
|
+
--accent: #6739b7;
|
|
350
|
+
--accent-hover: #4f2d8f;
|
|
351
|
+
--accent-foreground: #ffffff;
|
|
352
|
+
--ring: #6739b7;
|
|
353
|
+
}
|
|
354
|
+
[data-accent="purple"].dark, .dark [data-accent="purple"], [data-accent="purple"][data-theme="dark"] {
|
|
355
|
+
--accent: #8b5cf6;
|
|
356
|
+
--accent-hover: #6739b7;
|
|
357
|
+
}
|
|
337
358
|
|
|
338
|
-
/*
|
|
339
|
-
[data-accent="
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
}
|
|
345
|
-
[data-accent="
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
/* Blue */
|
|
351
|
-
[data-accent="blue"] {
|
|
352
|
-
--accent: #3b82f6;
|
|
353
|
-
--accent-hover: #2563eb;
|
|
354
|
-
--accent-foreground: #ffffff;
|
|
355
|
-
--ring: #3b82f6;
|
|
356
|
-
}
|
|
357
|
-
[data-accent="blue"].dark, .dark [data-accent="blue"], [data-accent="blue"][data-theme="dark"] {
|
|
358
|
-
--accent: #60a5fa;
|
|
359
|
-
--accent-hover: #3b82f6;
|
|
360
|
-
}
|
|
359
|
+
/* Blue */
|
|
360
|
+
[data-accent="blue"] {
|
|
361
|
+
--accent: #3b82f6;
|
|
362
|
+
--accent-hover: #2563eb;
|
|
363
|
+
--accent-foreground: #ffffff;
|
|
364
|
+
--ring: #3b82f6;
|
|
365
|
+
}
|
|
366
|
+
[data-accent="blue"].dark, .dark [data-accent="blue"], [data-accent="blue"][data-theme="dark"] {
|
|
367
|
+
--accent: #60a5fa;
|
|
368
|
+
--accent-hover: #3b82f6;
|
|
369
|
+
}
|
|
361
370
|
|
|
362
|
-
/* Cyan */
|
|
363
|
-
[data-accent="cyan"] {
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
}
|
|
369
|
-
[data-accent="cyan"].dark, .dark [data-accent="cyan"], [data-accent="cyan"][data-theme="dark"] {
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
}
|
|
371
|
+
/* Cyan */
|
|
372
|
+
[data-accent="cyan"] {
|
|
373
|
+
--accent: #06b6d4;
|
|
374
|
+
--accent-hover: #0891b2;
|
|
375
|
+
--accent-foreground: #ffffff;
|
|
376
|
+
--ring: #06b6d4;
|
|
377
|
+
}
|
|
378
|
+
[data-accent="cyan"].dark, .dark [data-accent="cyan"], [data-accent="cyan"][data-theme="dark"] {
|
|
379
|
+
--accent: #22d3ee;
|
|
380
|
+
--accent-hover: #06b6d4;
|
|
381
|
+
}
|
|
373
382
|
|
|
374
|
-
/* Teal */
|
|
375
|
-
[data-accent="teal"] {
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
}
|
|
381
|
-
[data-accent="teal"].dark, .dark [data-accent="teal"], [data-accent="teal"][data-theme="dark"] {
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
}
|
|
383
|
+
/* Teal */
|
|
384
|
+
[data-accent="teal"] {
|
|
385
|
+
--accent: #14b8a6;
|
|
386
|
+
--accent-hover: #0d9488;
|
|
387
|
+
--accent-foreground: #ffffff;
|
|
388
|
+
--ring: #14b8a6;
|
|
389
|
+
}
|
|
390
|
+
[data-accent="teal"].dark, .dark [data-accent="teal"], [data-accent="teal"][data-theme="dark"] {
|
|
391
|
+
--accent: #2dd4bf;
|
|
392
|
+
--accent-hover: #14b8a6;
|
|
393
|
+
}
|
|
385
394
|
|
|
386
|
-
/* Green */
|
|
387
|
-
[data-accent="green"] {
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
}
|
|
393
|
-
[data-accent="green"].dark, .dark [data-accent="green"], [data-accent="green"][data-theme="dark"] {
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
}
|
|
395
|
+
/* Green */
|
|
396
|
+
[data-accent="green"] {
|
|
397
|
+
--accent: #22c55e;
|
|
398
|
+
--accent-hover: #16a34a;
|
|
399
|
+
--accent-foreground: #ffffff;
|
|
400
|
+
--ring: #22c55e;
|
|
401
|
+
}
|
|
402
|
+
[data-accent="green"].dark, .dark [data-accent="green"], [data-accent="green"][data-theme="dark"] {
|
|
403
|
+
--accent: #4ade80;
|
|
404
|
+
--accent-hover: #22c55e;
|
|
405
|
+
}
|
|
397
406
|
|
|
398
|
-
/* Orange */
|
|
399
|
-
[data-accent="orange"] {
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
}
|
|
405
|
-
[data-accent="orange"].dark, .dark [data-accent="orange"], [data-accent="orange"][data-theme="dark"] {
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
}
|
|
407
|
+
/* Orange */
|
|
408
|
+
[data-accent="orange"] {
|
|
409
|
+
--accent: #f97316;
|
|
410
|
+
--accent-hover: #ea580c;
|
|
411
|
+
--accent-foreground: #ffffff;
|
|
412
|
+
--ring: #f97316;
|
|
413
|
+
}
|
|
414
|
+
[data-accent="orange"].dark, .dark [data-accent="orange"], [data-accent="orange"][data-theme="dark"] {
|
|
415
|
+
--accent: #fb923c;
|
|
416
|
+
--accent-hover: #f97316;
|
|
417
|
+
}
|
|
409
418
|
|
|
410
|
-
/* Red */
|
|
411
|
-
[data-accent="red"] {
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
}
|
|
417
|
-
[data-accent="red"].dark, .dark [data-accent="red"], [data-accent="red"][data-theme="dark"] {
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
}
|
|
419
|
+
/* Red */
|
|
420
|
+
[data-accent="red"] {
|
|
421
|
+
--accent: #ef4444;
|
|
422
|
+
--accent-hover: #dc2626;
|
|
423
|
+
--accent-foreground: #ffffff;
|
|
424
|
+
--ring: #ef4444;
|
|
425
|
+
}
|
|
426
|
+
[data-accent="red"].dark, .dark [data-accent="red"], [data-accent="red"][data-theme="dark"] {
|
|
427
|
+
--accent: #f87171;
|
|
428
|
+
--accent-hover: #ef4444;
|
|
429
|
+
}
|
|
421
430
|
|
|
422
|
-
/* Pink */
|
|
423
|
-
[data-accent="pink"] {
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
}
|
|
429
|
-
[data-accent="pink"].dark, .dark [data-accent="pink"], [data-accent="pink"][data-theme="dark"] {
|
|
430
|
-
|
|
431
|
-
|
|
431
|
+
/* Pink */
|
|
432
|
+
[data-accent="pink"] {
|
|
433
|
+
--accent: #ec4899;
|
|
434
|
+
--accent-hover: #db2777;
|
|
435
|
+
--accent-foreground: #ffffff;
|
|
436
|
+
--ring: #ec4899;
|
|
437
|
+
}
|
|
438
|
+
[data-accent="pink"].dark, .dark [data-accent="pink"], [data-accent="pink"][data-theme="dark"] {
|
|
439
|
+
--accent: #f472b6;
|
|
440
|
+
--accent-hover: #ec4899;
|
|
441
|
+
}
|
|
432
442
|
}
|
|
433
443
|
|
|
434
|
-
/* Scan @onesaz/ui for class generation (works in consuming apps' node_modules)
|
|
435
|
-
|
|
444
|
+
/* Scan @onesaz/ui for class generation (works in consuming apps' node_modules)
|
|
445
|
+
* Path: from node_modules/@onesaz/tailwind-config/dist/v4.css
|
|
446
|
+
* to node_modules/@onesaz/ui/dist/
|
|
447
|
+
*/
|
|
448
|
+
@source "../../ui/dist/**/*.js";
|
package/package.json
CHANGED