mirror of
https://github.com/ful1e5/Bibata_Cursor.git
synced 2025-06-06 17:41:46 -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 { renderCursors } from "shared";
|
||||||
|
|
||||||
import { generateConfigs } from "./helpers/schema";
|
import { generateConfigs } from "./helpers/schema";
|
||||||
import { colorSchemes, rawSvgsDir } from "./color";
|
import { colorSchemes } from "./color";
|
||||||
|
|
||||||
(async () => {
|
(async () => {
|
||||||
const prefix = "Bibata-Round";
|
const prefix = "Bibata-Round";
|
||||||
const configs = generateConfigs(colorSchemes, prefix, rawSvgsDir);
|
const configs = generateConfigs(colorSchemes, prefix);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
for (let [schema, { bitmapsDir }] of Object.entries(configs)) {
|
for (let [schema] of Object.entries(configs)) {
|
||||||
console.log(`\nGenerating ${prefix}-${schema} bitmaps..`);
|
|
||||||
|
|
||||||
await renderCursors(configs[schema]);
|
await renderCursors(configs[schema]);
|
||||||
|
|
||||||
console.log(`\nBitmaps stored at ${bitmapsDir}`);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log("\n\n🎉 Render Done.");
|
console.log("\n🎉 Render Done.");
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
} finally {
|
} finally {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue