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