mirror of
https://github.com/ful1e5/Bibata_Cursor.git
synced 2025-06-01 07:38:27 -04:00
🔗 import fix
This commit is contained in:
parent
123ddfc844
commit
1c095b40b5
1 changed files with 4 additions and 8 deletions
|
@ -1,22 +1,18 @@
|
|||
import { renderCursors } from "shared";
|
||||
|
||||
import { generateConfigs } from "./helpers/schema";
|
||||
import { colorSchemes, rawSvgsDir } from "./color";
|
||||
import { colorSchemes } from "./color";
|
||||
|
||||
(async () => {
|
||||
const prefix = "Bibata-Round";
|
||||
const configs = generateConfigs(colorSchemes, prefix, rawSvgsDir);
|
||||
const configs = generateConfigs(colorSchemes, prefix);
|
||||
|
||||
try {
|
||||
for (let [schema, { bitmapsDir }] of Object.entries(configs)) {
|
||||
console.log(`\nGenerating ${prefix}-${schema} bitmaps..`);
|
||||
|
||||
for (let [schema] of Object.entries(configs)) {
|
||||
await renderCursors(configs[schema]);
|
||||
|
||||
console.log(`\nBitmaps stored at ${bitmapsDir}`);
|
||||
}
|
||||
|
||||
console.log("\n\n🎉 Render Done.");
|
||||
console.log("\n🎉 Render Done.");
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
} finally {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue