@byldpartners/ui 0.0.8 → 0.0.9
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/bin/init.cjs +5 -3
- package/package.json +1 -1
package/bin/init.cjs
CHANGED
|
@@ -211,15 +211,17 @@ if (command === "init") {
|
|
|
211
211
|
|
|
212
212
|
fs.writeFileSync(
|
|
213
213
|
cssPath,
|
|
214
|
-
generateWebCss(lightColors, radiusTokens, "./node_modules/@byldpartners/ui/src"),
|
|
214
|
+
generateWebCss(lightColors, radiusTokens, "./node_modules/@byldpartners/ui/src", ["tw-animate-css"]),
|
|
215
215
|
"utf-8"
|
|
216
216
|
);
|
|
217
217
|
console.log(`✓ Created ${path.relative(cwd, cssPath)}`);
|
|
218
218
|
|
|
219
219
|
console.log("");
|
|
220
220
|
console.log("Next steps:");
|
|
221
|
-
console.log(" 1.
|
|
222
|
-
console.log(" 2.
|
|
221
|
+
console.log(" 1. Install tw-animate-css: npm install tw-animate-css");
|
|
222
|
+
console.log(" 2. Add Tailwind CSS as a plugin to your bundler (e.g. @tailwindcss/vite for Vite — see README)");
|
|
223
|
+
console.log(" 3. Import './app.css' in your entry file");
|
|
224
|
+
console.log(" 4. Wrap your app with <ThemeProvider> from @byldpartners/ui");
|
|
223
225
|
}
|
|
224
226
|
} else if (command === "generate-theme") {
|
|
225
227
|
// --- Monorepo theme generation ---
|