novaui-cli 1.0.0 → 1.0.2
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 +1 -1
- package/src/bin.js +43 -6
package/package.json
CHANGED
package/src/bin.js
CHANGED
|
@@ -64,17 +64,55 @@ const GLOBAL_CSS_CONTENT = `@tailwind base;
|
|
|
64
64
|
// ─── Tailwind Config ────────────────────────────────────────────────────────
|
|
65
65
|
|
|
66
66
|
const TAILWIND_CONFIG_CONTENT = `/** @type {import('tailwindcss').Config} */
|
|
67
|
-
const novaui = require("novaui-components/tailwind");
|
|
68
|
-
|
|
69
67
|
module.exports = {
|
|
70
68
|
content: [
|
|
71
69
|
"./App.{js,jsx,ts,tsx}",
|
|
72
70
|
"./src/**/*.{js,jsx,ts,tsx}",
|
|
73
|
-
"./node_modules/novaui-components/src/**/*.{js,jsx,ts,tsx}",
|
|
74
71
|
],
|
|
75
|
-
presets: [require("nativewind/preset")
|
|
72
|
+
presets: [require("nativewind/preset")],
|
|
76
73
|
theme: {
|
|
77
|
-
extend: {
|
|
74
|
+
extend: {
|
|
75
|
+
colors: {
|
|
76
|
+
border: "hsl(var(--border))",
|
|
77
|
+
input: "hsl(var(--input))",
|
|
78
|
+
ring: "hsl(var(--ring))",
|
|
79
|
+
background: "hsl(var(--background))",
|
|
80
|
+
foreground: "hsl(var(--foreground))",
|
|
81
|
+
primary: {
|
|
82
|
+
DEFAULT: "hsl(var(--primary))",
|
|
83
|
+
foreground: "hsl(var(--primary-foreground))",
|
|
84
|
+
},
|
|
85
|
+
secondary: {
|
|
86
|
+
DEFAULT: "hsl(var(--secondary))",
|
|
87
|
+
foreground: "hsl(var(--secondary-foreground))",
|
|
88
|
+
},
|
|
89
|
+
destructive: {
|
|
90
|
+
DEFAULT: "hsl(var(--destructive))",
|
|
91
|
+
foreground: "hsl(var(--destructive-foreground))",
|
|
92
|
+
},
|
|
93
|
+
muted: {
|
|
94
|
+
DEFAULT: "hsl(var(--muted))",
|
|
95
|
+
foreground: "hsl(var(--muted-foreground))",
|
|
96
|
+
},
|
|
97
|
+
accent: {
|
|
98
|
+
DEFAULT: "hsl(var(--accent))",
|
|
99
|
+
foreground: "hsl(var(--accent-foreground))",
|
|
100
|
+
},
|
|
101
|
+
popover: {
|
|
102
|
+
DEFAULT: "hsl(var(--popover))",
|
|
103
|
+
foreground: "hsl(var(--popover-foreground))",
|
|
104
|
+
},
|
|
105
|
+
card: {
|
|
106
|
+
DEFAULT: "hsl(var(--card))",
|
|
107
|
+
foreground: "hsl(var(--card-foreground))",
|
|
108
|
+
},
|
|
109
|
+
},
|
|
110
|
+
borderRadius: {
|
|
111
|
+
lg: "var(--radius)",
|
|
112
|
+
md: "calc(var(--radius) - 2px)",
|
|
113
|
+
sm: "calc(var(--radius) - 4px)",
|
|
114
|
+
},
|
|
115
|
+
},
|
|
78
116
|
},
|
|
79
117
|
plugins: [],
|
|
80
118
|
};
|
|
@@ -149,7 +187,6 @@ async function init() {
|
|
|
149
187
|
|
|
150
188
|
const installCmd = detectPackageManager()
|
|
151
189
|
const deps = [
|
|
152
|
-
"novaui-components",
|
|
153
190
|
"nativewind",
|
|
154
191
|
"tailwindcss",
|
|
155
192
|
"clsx",
|