mirror of
https://github.com/ful1e5/Bibata_Cursor.git
synced 2025-05-29 06:15:24 -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 spinner = ora();
|
||||
spinner.text = ` Generating ${chalk.blueBright(schemaName)} Color Schema`;
|
||||
spinner.text = ` Generating ${chalk.blueBright(
|
||||
schemaName
|
||||
)} Color Schema ...`;
|
||||
|
||||
const schemaSvgsPath = path.resolve(schemesPath, schemaName);
|
||||
fs.mkdirSync(schemaSvgsPath, { recursive: true });
|
||||
|
@ -114,6 +116,8 @@ const generateConfigs = ({
|
|||
animatedCursors: aCursors,
|
||||
staticCursors: sCursors
|
||||
};
|
||||
|
||||
spinner.text = ` Saving ${chalk.blueBright(schemaName)} Color Schema ...`;
|
||||
spinner.succeed();
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue