@onesaz/tailwind-config 0.3.2 → 0.3.3
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 +27 -1
- package/package.json +4 -2
package/dist/v4.css
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
/* Use data-theme/class-based dark mode instead of prefers-color-scheme */
|
|
8
|
-
|
|
8
|
+
@custom-variant dark (&:where(.dark, [data-theme="dark"], .dark *, [data-theme="dark"] *));
|
|
9
9
|
|
|
10
10
|
@theme {
|
|
11
11
|
/* ========================================
|
|
@@ -24,6 +24,20 @@
|
|
|
24
24
|
--color-purple-11: #4c1d95;
|
|
25
25
|
--color-purple-12: #2e1065;
|
|
26
26
|
|
|
27
|
+
/* Violet — built around #6933d3 as step 6 (main interactive shade) */
|
|
28
|
+
--color-violet-1: #f8f5ff;
|
|
29
|
+
--color-violet-2: #ede5ff;
|
|
30
|
+
--color-violet-3: #d9ccff;
|
|
31
|
+
--color-violet-4: #bea8f5;
|
|
32
|
+
--color-violet-5: #9a6fe8;
|
|
33
|
+
--color-violet-6: #6933d3;
|
|
34
|
+
--color-violet-7: #5626b2;
|
|
35
|
+
--color-violet-8: #441e92;
|
|
36
|
+
--color-violet-9: #351970;
|
|
37
|
+
--color-violet-10: #281050;
|
|
38
|
+
--color-violet-11: #1b0a36;
|
|
39
|
+
--color-violet-12: #100623;
|
|
40
|
+
|
|
27
41
|
/* Blue */
|
|
28
42
|
--color-blue-1: #eff6ff;
|
|
29
43
|
--color-blue-2: #dbeafe;
|
|
@@ -427,6 +441,18 @@
|
|
|
427
441
|
* Usage: <html data-accent="blue"> or <div data-accent="blue">
|
|
428
442
|
* ======================================== */
|
|
429
443
|
@layer base {
|
|
444
|
+
/* Violet (Default) */
|
|
445
|
+
[data-accent="violet"] {
|
|
446
|
+
--accent: #6933d3;
|
|
447
|
+
--accent-hover: #5626b2;
|
|
448
|
+
--accent-foreground: #ffffff;
|
|
449
|
+
--ring: #6933d3;
|
|
450
|
+
}
|
|
451
|
+
[data-accent="violet"].dark, .dark [data-accent="violet"], [data-accent="violet"][data-theme="dark"] {
|
|
452
|
+
--accent: #9a6fe8;
|
|
453
|
+
--accent-hover: #6933d3;
|
|
454
|
+
}
|
|
455
|
+
|
|
430
456
|
/* Purple (Onesaz Custom - Default) */
|
|
431
457
|
[data-accent="purple"] {
|
|
432
458
|
--accent: #6739b7;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onesaz/tailwind-config",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
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",
|
|
@@ -36,7 +36,9 @@
|
|
|
36
36
|
"./v4": "./dist/v4.css",
|
|
37
37
|
"./v4.css": "./dist/v4.css"
|
|
38
38
|
},
|
|
39
|
-
"files": [
|
|
39
|
+
"files": [
|
|
40
|
+
"dist"
|
|
41
|
+
],
|
|
40
42
|
"scripts": {
|
|
41
43
|
"build": "tsup",
|
|
42
44
|
"dev": "tsup --watch",
|