create-zen 1.6.8 → 1.6.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/index.js +7 -5
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -9,9 +9,11 @@ import ora from 'ora';
|
|
|
9
9
|
|
|
10
10
|
// Color palette inspired by the ZEN website
|
|
11
11
|
const colors = {
|
|
12
|
-
green: '#
|
|
13
|
-
lightGreen: '#
|
|
12
|
+
green: '#00D4AA', // Less acidic, more blue-green
|
|
13
|
+
lightGreen: '#00B894', // Darker blue-green
|
|
14
14
|
purple: '#8B5CF6', // Purple accent
|
|
15
|
+
darkPurple: '#7C3AED', // Darker purple
|
|
16
|
+
lightPurple: '#A78BFA', // Light purple
|
|
15
17
|
white: '#FFFFFF', // Pure white
|
|
16
18
|
lightGrey: '#9CA3AF', // Light grey
|
|
17
19
|
darkGrey: '#374151', // Dark grey
|
|
@@ -105,7 +107,7 @@ const main = async () => {
|
|
|
105
107
|
|
|
106
108
|
try {
|
|
107
109
|
execSync(`git clone --depth=1 "${REPO_URL}" "${PROJECT_NAME}"`, { stdio: 'pipe' });
|
|
108
|
-
spinner.succeed(
|
|
110
|
+
spinner.succeed();
|
|
109
111
|
} catch (err) {
|
|
110
112
|
spinner.fail(`${error('Clone failed!')}`);
|
|
111
113
|
console.log(` ${subtitle('Please check your internet connection or permissions.')}`);
|
|
@@ -117,7 +119,7 @@ const main = async () => {
|
|
|
117
119
|
|
|
118
120
|
// Success message
|
|
119
121
|
console.log();
|
|
120
|
-
console.log(` ${
|
|
122
|
+
console.log(` ${chalk.hex(colors.darkPurple)('✅ SUCCESS! Your project is ready to go!')} ${chalk.hex(colors.lightPurple)('🎉')}`);
|
|
121
123
|
console.log();
|
|
122
124
|
|
|
123
125
|
// Next steps
|
|
@@ -128,7 +130,7 @@ const main = async () => {
|
|
|
128
130
|
console.log();
|
|
129
131
|
|
|
130
132
|
// Final message
|
|
131
|
-
console.log(` ${zen('Happy coding with ZEN!')} ${chalk.hex(colors.
|
|
133
|
+
console.log(` ${zen('Happy coding with ZEN!')} ${chalk.hex(colors.lightPurple)('✨')}`);
|
|
132
134
|
console.log();
|
|
133
135
|
|
|
134
136
|
} catch (err) {
|