@ramdasiakshay01/tailwind-config 1.0.0 → 1.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.
Files changed (2) hide show
  1. package/package.json +3 -2
  2. package/tokens.css +53 -0
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@ramdasiakshay01/tailwind-config",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Shared Tailwind CSS v4 configuration for organization",
5
5
  "main": "index.css",
6
6
  "files": [
7
7
  "index.css",
8
- "tailwind.config.js"
8
+ "tailwind.config.js",
9
+ "tokens.css"
9
10
  ],
10
11
  "peerDependencies": {
11
12
  "tailwindcss": "^4.0.0"
package/tokens.css ADDED
@@ -0,0 +1,53 @@
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
+ }