@onesaz/tailwind-config 0.2.4 → 0.2.6
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 +108 -2
- package/package.json +1 -1
package/dist/v4.css
CHANGED
|
@@ -186,6 +186,7 @@
|
|
|
186
186
|
--color-ring: var(--ring);
|
|
187
187
|
--color-destructive: var(--destructive);
|
|
188
188
|
--color-destructive-foreground: var(--destructive-foreground);
|
|
189
|
+
--color-accent-hover: var(--accent-hover);
|
|
189
190
|
|
|
190
191
|
/* ========================================
|
|
191
192
|
* TYPOGRAPHY
|
|
@@ -302,12 +303,14 @@
|
|
|
302
303
|
--muted-foreground: #64748b;
|
|
303
304
|
--border: #e2e8f0;
|
|
304
305
|
--input: #e2e8f0;
|
|
305
|
-
--accent: #
|
|
306
|
+
--accent: #6739b7;
|
|
307
|
+
--accent-hover: #4f2d8f;
|
|
306
308
|
--accent-foreground: #ffffff;
|
|
307
|
-
--ring: #
|
|
309
|
+
--ring: #6739b7;
|
|
308
310
|
--destructive: #dc2626;
|
|
309
311
|
--destructive-foreground: #ffffff;
|
|
310
312
|
--radius: 0.375rem;
|
|
313
|
+
--radius-lg: 0.5rem;
|
|
311
314
|
}
|
|
312
315
|
|
|
313
316
|
.dark, [data-theme="dark"] {
|
|
@@ -321,9 +324,112 @@
|
|
|
321
324
|
--muted-foreground: #94a3b8;
|
|
322
325
|
--border: #334155;
|
|
323
326
|
--input: #334155;
|
|
327
|
+
--accent: #8b5cf6;
|
|
328
|
+
--accent-hover: #6739b7;
|
|
324
329
|
--destructive: #ef4444;
|
|
325
330
|
--destructive-foreground: #ffffff;
|
|
326
331
|
}
|
|
327
332
|
|
|
333
|
+
/* ========================================
|
|
334
|
+
* ACCENT COLOR PRESETS
|
|
335
|
+
* Usage: <html data-accent="blue"> or <div data-accent="blue">
|
|
336
|
+
* ======================================== */
|
|
337
|
+
|
|
338
|
+
/* Purple (Onesaz Custom - Default) */
|
|
339
|
+
[data-accent="purple"] {
|
|
340
|
+
--accent: #6739b7;
|
|
341
|
+
--accent-hover: #4f2d8f;
|
|
342
|
+
--accent-foreground: #ffffff;
|
|
343
|
+
--ring: #6739b7;
|
|
344
|
+
}
|
|
345
|
+
[data-accent="purple"].dark, .dark [data-accent="purple"], [data-accent="purple"][data-theme="dark"] {
|
|
346
|
+
--accent: #8b5cf6;
|
|
347
|
+
--accent-hover: #6739b7;
|
|
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
|
+
}
|
|
361
|
+
|
|
362
|
+
/* Cyan */
|
|
363
|
+
[data-accent="cyan"] {
|
|
364
|
+
--accent: #06b6d4;
|
|
365
|
+
--accent-hover: #0891b2;
|
|
366
|
+
--accent-foreground: #ffffff;
|
|
367
|
+
--ring: #06b6d4;
|
|
368
|
+
}
|
|
369
|
+
[data-accent="cyan"].dark, .dark [data-accent="cyan"], [data-accent="cyan"][data-theme="dark"] {
|
|
370
|
+
--accent: #22d3ee;
|
|
371
|
+
--accent-hover: #06b6d4;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
/* Teal */
|
|
375
|
+
[data-accent="teal"] {
|
|
376
|
+
--accent: #14b8a6;
|
|
377
|
+
--accent-hover: #0d9488;
|
|
378
|
+
--accent-foreground: #ffffff;
|
|
379
|
+
--ring: #14b8a6;
|
|
380
|
+
}
|
|
381
|
+
[data-accent="teal"].dark, .dark [data-accent="teal"], [data-accent="teal"][data-theme="dark"] {
|
|
382
|
+
--accent: #2dd4bf;
|
|
383
|
+
--accent-hover: #14b8a6;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
/* Green */
|
|
387
|
+
[data-accent="green"] {
|
|
388
|
+
--accent: #22c55e;
|
|
389
|
+
--accent-hover: #16a34a;
|
|
390
|
+
--accent-foreground: #ffffff;
|
|
391
|
+
--ring: #22c55e;
|
|
392
|
+
}
|
|
393
|
+
[data-accent="green"].dark, .dark [data-accent="green"], [data-accent="green"][data-theme="dark"] {
|
|
394
|
+
--accent: #4ade80;
|
|
395
|
+
--accent-hover: #22c55e;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
/* Orange */
|
|
399
|
+
[data-accent="orange"] {
|
|
400
|
+
--accent: #f97316;
|
|
401
|
+
--accent-hover: #ea580c;
|
|
402
|
+
--accent-foreground: #ffffff;
|
|
403
|
+
--ring: #f97316;
|
|
404
|
+
}
|
|
405
|
+
[data-accent="orange"].dark, .dark [data-accent="orange"], [data-accent="orange"][data-theme="dark"] {
|
|
406
|
+
--accent: #fb923c;
|
|
407
|
+
--accent-hover: #f97316;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
/* Red */
|
|
411
|
+
[data-accent="red"] {
|
|
412
|
+
--accent: #ef4444;
|
|
413
|
+
--accent-hover: #dc2626;
|
|
414
|
+
--accent-foreground: #ffffff;
|
|
415
|
+
--ring: #ef4444;
|
|
416
|
+
}
|
|
417
|
+
[data-accent="red"].dark, .dark [data-accent="red"], [data-accent="red"][data-theme="dark"] {
|
|
418
|
+
--accent: #f87171;
|
|
419
|
+
--accent-hover: #ef4444;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
/* Pink */
|
|
423
|
+
[data-accent="pink"] {
|
|
424
|
+
--accent: #ec4899;
|
|
425
|
+
--accent-hover: #db2777;
|
|
426
|
+
--accent-foreground: #ffffff;
|
|
427
|
+
--ring: #ec4899;
|
|
428
|
+
}
|
|
429
|
+
[data-accent="pink"].dark, .dark [data-accent="pink"], [data-accent="pink"][data-theme="dark"] {
|
|
430
|
+
--accent: #f472b6;
|
|
431
|
+
--accent-hover: #ec4899;
|
|
432
|
+
}
|
|
433
|
+
|
|
328
434
|
/* Scan @onesaz/ui for class generation (works in consuming apps' node_modules) */
|
|
329
435
|
@source "../../@onesaz/ui/dist/**/*.js";
|
package/package.json
CHANGED