@ramdasiakshay01/tailwind-config 1.0.3 → 2.0.1
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/package.json +12 -3
- package/src/base/dark-mode.css +10 -0
- package/src/base/index.css +3 -0
- package/src/base/reset.css +8 -0
- package/src/index.css +3 -0
- package/src/theme/colors.css +23 -0
- package/src/theme/index.css +4 -0
- package/src/theme/radius.css +6 -0
- package/src/theme/shadows.css +5 -0
- package/index.css +0 -53
- package/tailwind.config.js +0 -12
package/package.json
CHANGED
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ramdasiakshay01/tailwind-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "Shared Tailwind CSS v4 configuration for organization",
|
|
5
5
|
"main": "index.css",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": "./src/index.css",
|
|
8
|
+
"./theme": "./src/theme/index.css",
|
|
9
|
+
"./theme/colors": "./src/theme/colors.css",
|
|
10
|
+
"./theme/radius": "./src/theme/radius.css",
|
|
11
|
+
"./theme/shadows": "./src/theme/shadows.css",
|
|
12
|
+
"./base": "./src/base/index.css",
|
|
13
|
+
"./base/reset": "./src/base/reset.css",
|
|
14
|
+
"./base/dark-mode": "./src/base/dark-mode.css"
|
|
15
|
+
},
|
|
6
16
|
"files": [
|
|
7
|
-
"
|
|
8
|
-
"tailwind.config.js"
|
|
17
|
+
"src"
|
|
9
18
|
],
|
|
10
19
|
"peerDependencies": {
|
|
11
20
|
"tailwindcss": "^4.0.0"
|
package/src/index.css
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
@theme {
|
|
2
|
+
/* Background colors */
|
|
3
|
+
--color-bg: light-dark(#f9fafb, #0f172a);
|
|
4
|
+
--color-surface: light-dark(#ffffff, #1e293b);
|
|
5
|
+
--color-border: light-dark(#e5e7eb, #334155);
|
|
6
|
+
|
|
7
|
+
/* Text colors */
|
|
8
|
+
--color-text-primary: light-dark(#1f2937, #f1f5f9);
|
|
9
|
+
--color-text-secondary: light-dark(#4b5563, #cbd5e1);
|
|
10
|
+
|
|
11
|
+
/* Primary brand colors */
|
|
12
|
+
--color-primary: light-dark(#0064e0, #0064e0);
|
|
13
|
+
--color-primary-hover: light-dark(#3b5b92, #60a5fa);
|
|
14
|
+
|
|
15
|
+
/* Secondary brand colors */
|
|
16
|
+
--color-secondary: light-dark(#2f9e44, #22c55e);
|
|
17
|
+
--color-secondary-hover: light-dark(#4cc46a, #4ade80);
|
|
18
|
+
|
|
19
|
+
/* Semantic colors */
|
|
20
|
+
--color-success: #16a34a;
|
|
21
|
+
--color-warning: #f59e0b;
|
|
22
|
+
--color-error: #dc2626;
|
|
23
|
+
}
|
package/index.css
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
@import "tailwindcss";
|
|
2
|
-
|
|
3
|
-
@theme {
|
|
4
|
-
/* Colors */
|
|
5
|
-
--color-primary-50: #eff6ff;
|
|
6
|
-
--color-primary-100: #dbeafe;
|
|
7
|
-
--color-primary-200: #bfdbfe;
|
|
8
|
-
--color-primary-500: #3b82f6;
|
|
9
|
-
--color-primary-600: #2563eb;
|
|
10
|
-
--color-primary-700: #1d4ed8;
|
|
11
|
-
--color-primary-900: #1e3a8a;
|
|
12
|
-
|
|
13
|
-
--color-secondary-500: #8b5cf6;
|
|
14
|
-
--color-secondary-600: #7c3aed;
|
|
15
|
-
|
|
16
|
-
/* Spacing */
|
|
17
|
-
--spacing-18: 4.5rem;
|
|
18
|
-
--spacing-22: 5.5rem;
|
|
19
|
-
|
|
20
|
-
/* Font families */
|
|
21
|
-
--font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
|
|
22
|
-
--font-display: "Poppins", ui-sans-serif, system-ui, sans-serif;
|
|
23
|
-
|
|
24
|
-
/* Font sizes */
|
|
25
|
-
--font-size-xs: 0.75rem;
|
|
26
|
-
--font-size-sm: 0.875rem;
|
|
27
|
-
--font-size-base: 1rem;
|
|
28
|
-
--font-size-lg: 1.125rem;
|
|
29
|
-
--font-size-xl: 1.25rem;
|
|
30
|
-
--font-size-2xl: 1.5rem;
|
|
31
|
-
|
|
32
|
-
/* Border radius */
|
|
33
|
-
--radius-sm: 0.25rem;
|
|
34
|
-
--radius-md: 0.375rem;
|
|
35
|
-
--radius-lg: 0.5rem;
|
|
36
|
-
--radius-xl: 0.75rem;
|
|
37
|
-
|
|
38
|
-
/* Breakpoints */
|
|
39
|
-
--breakpoint-sm: 640px;
|
|
40
|
-
--breakpoint-md: 768px;
|
|
41
|
-
--breakpoint-lg: 1024px;
|
|
42
|
-
--breakpoint-xl: 1280px;
|
|
43
|
-
--breakpoint-2xl: 1536px;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/* Custom utilities */
|
|
47
|
-
@utility container-narrow {
|
|
48
|
-
max-width: 960px;
|
|
49
|
-
margin-left: auto;
|
|
50
|
-
margin-right: auto;
|
|
51
|
-
padding-left: 1rem;
|
|
52
|
-
padding-right: 1rem;
|
|
53
|
-
}
|