mirror of
https://github.com/ful1e5/Bibata_Cursor.git
synced 2025-05-30 06:45:31 -04:00
🌈 Schema spinner
This commit is contained in:
parent
62ed021fa7
commit
3cabf9ea3b
1 changed files with 5 additions and 1 deletions
|
@ -42,7 +42,9 @@ const generateConfigs = ({
|
||||||
const schemaName = `${themeName}-${schema}`;
|
const schemaName = `${themeName}-${schema}`;
|
||||||
|
|
||||||
const spinner = ora();
|
const spinner = ora();
|
||||||
spinner.text = ` Generating ${chalk.blueBright(schemaName)} Color Schema`;
|
spinner.text = ` Generating ${chalk.blueBright(
|
||||||
|
schemaName
|
||||||
|
)} Color Schema ...`;
|
||||||
|
|
||||||
const schemaSvgsPath = path.resolve(schemesPath, schemaName);
|
const schemaSvgsPath = path.resolve(schemesPath, schemaName);
|
||||||
fs.mkdirSync(schemaSvgsPath, { recursive: true });
|
fs.mkdirSync(schemaSvgsPath, { recursive: true });
|
||||||
|
@ -114,6 +116,8 @@ const generateConfigs = ({
|
||||||
animatedCursors: aCursors,
|
animatedCursors: aCursors,
|
||||||
staticCursors: sCursors
|
staticCursors: sCursors
|
||||||
};
|
};
|
||||||
|
|
||||||
|
spinner.text = ` Saving ${chalk.blueBright(schemaName)} Color Schema ...`;
|
||||||
spinner.succeed();
|
spinner.succeed();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue