shadcn-packaged 0.0.0 → 0.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/index.css ADDED
@@ -0,0 +1,147 @@
1
+
2
+
3
+ @layer base {
4
+ :root {
5
+
6
+ --background: 0 0% 100%;
7
+
8
+ --foreground: 0 0% 3.9%;
9
+
10
+ --card: 0 0% 100%;
11
+
12
+ --card-foreground: 0 0% 3.9%;
13
+
14
+ --popover: 0 0% 100%;
15
+
16
+ --popover-foreground: 0 0% 3.9%;
17
+
18
+ --primary: 0 0% 9%;
19
+
20
+ --primary-foreground: 0 0% 98%;
21
+
22
+ --secondary: 0 0% 96.1%;
23
+
24
+ --secondary-foreground: 0 0% 9%;
25
+
26
+ --muted: 0 0% 96.1%;
27
+
28
+ --muted-foreground: 0 0% 45.1%;
29
+
30
+ --accent: 0 0% 96.1%;
31
+
32
+ --accent-foreground: 0 0% 9%;
33
+
34
+ --destructive: 0 84.2% 60.2%;
35
+
36
+ --destructive-foreground: 0 0% 98%;
37
+
38
+ --border: 0 0% 89.8%;
39
+
40
+ --input: 0 0% 89.8%;
41
+
42
+ --ring: 0 0% 3.9%;
43
+
44
+ --chart-1: 12 76% 61%;
45
+
46
+ --chart-2: 173 58% 39%;
47
+
48
+ --chart-3: 197 37% 24%;
49
+
50
+ --chart-4: 43 74% 66%;
51
+
52
+ --chart-5: 27 87% 67%;
53
+
54
+ --radius: 0.5rem;
55
+
56
+ --sidebar-background: 0 0% 98%;
57
+
58
+ --sidebar-foreground: 240 5.3% 26.1%;
59
+
60
+ --sidebar-primary: 240 5.9% 10%;
61
+
62
+ --sidebar-primary-foreground: 0 0% 98%;
63
+
64
+ --sidebar-accent: 240 4.8% 95.9%;
65
+
66
+ --sidebar-accent-foreground: 240 5.9% 10%;
67
+
68
+ --sidebar-border: 220 13% 91%;
69
+
70
+ --sidebar-ring: 217.2 91.2% 59.8%}
71
+
72
+ .dark {
73
+
74
+ --background: 0 0% 3.9%;
75
+
76
+ --foreground: 0 0% 98%;
77
+
78
+ --card: 0 0% 3.9%;
79
+
80
+ --card-foreground: 0 0% 98%;
81
+
82
+ --popover: 0 0% 3.9%;
83
+
84
+ --popover-foreground: 0 0% 98%;
85
+
86
+ --primary: 0 0% 98%;
87
+
88
+ --primary-foreground: 0 0% 9%;
89
+
90
+ --secondary: 0 0% 14.9%;
91
+
92
+ --secondary-foreground: 0 0% 98%;
93
+
94
+ --muted: 0 0% 14.9%;
95
+
96
+ --muted-foreground: 0 0% 63.9%;
97
+
98
+ --accent: 0 0% 14.9%;
99
+
100
+ --accent-foreground: 0 0% 98%;
101
+
102
+ --destructive: 0 62.8% 30.6%;
103
+
104
+ --destructive-foreground: 0 0% 98%;
105
+
106
+ --border: 0 0% 14.9%;
107
+
108
+ --input: 0 0% 14.9%;
109
+
110
+ --ring: 0 0% 83.1%;
111
+
112
+ --chart-1: 220 70% 50%;
113
+
114
+ --chart-2: 160 60% 45%;
115
+
116
+ --chart-3: 30 80% 55%;
117
+
118
+ --chart-4: 280 65% 60%;
119
+
120
+ --chart-5: 340 75% 55%;
121
+
122
+ --sidebar-background: 240 5.9% 10%;
123
+
124
+ --sidebar-foreground: 240 4.8% 95.9%;
125
+
126
+ --sidebar-primary: 224.3 76.3% 48%;
127
+
128
+ --sidebar-primary-foreground: 0 0% 100%;
129
+
130
+ --sidebar-accent: 240 3.7% 15.9%;
131
+
132
+ --sidebar-accent-foreground: 240 4.8% 95.9%;
133
+
134
+ --sidebar-border: 240 3.7% 15.9%;
135
+
136
+ --sidebar-ring: 217.2 91.2% 59.8%}
137
+ }
138
+
139
+ @layer base {
140
+ * {
141
+ @apply border-border;
142
+ }
143
+
144
+ body {
145
+ @apply bg-background text-foreground;
146
+ }
147
+ }
package/package.json CHANGED
@@ -1,14 +1,16 @@
1
1
  {
2
2
  "name": "shadcn-packaged",
3
3
  "private": false,
4
- "version": "0.0.0",
4
+ "version": "0.0.1",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",
8
- "build": "npm run shadcn:generate && npm run shadcn:tsc && npm run shadcn:move",
8
+ "build": "npm run shadcn:clean && npm run shadcn:generate && npm run shadcn:tsc && npm run shadcn:move",
9
+ "shadcn:clean": "rm -rf lib ui hooks dist ~shadcn-packaged/hooks ~shadcn-packaged/ui",
9
10
  "shadcn:generate": "npx shadcn@latest add -a -y -o && node ./modify.mjs",
10
11
  "shadcn:tsc": "tsc -p tsconfig.json && node ./types.mjs",
11
- "shadcn:move": "mv dist/* ./"
12
+ "shadcn:move": "mv dist/* ./",
13
+ "postinstall": "npm install tailwindcss-animate class-variance-authority clsx tailwind-merge lucide-react"
12
14
  },
13
15
  "types": "index.d.ts",
14
16
  "files": [
@@ -16,7 +18,8 @@
16
18
  "hooks",
17
19
  "lib",
18
20
  "index.d.ts",
19
- "tailwind.config.js"
21
+ "tailwind.config.js",
22
+ "index.css"
20
23
  ],
21
24
  "dependencies": {
22
25
  "@hookform/resolvers": "^3.10.0",
@@ -1,7 +1,7 @@
1
1
  /** @type {import('tailwindcss').Config} */
2
2
  module.exports = {
3
3
  darkMode: ["class"],
4
- content: ["./index.html", "./src/**/*.{ts,tsx,js,jsx}", "./~shadcn-packaged/**/*.{ts,tsx,js,jsx}"],
4
+ content: ["./**/*.{ts,tsx,js,jsx}"],
5
5
  theme: {
6
6
  extend: {
7
7
  borderRadius: {