mirror of
https://github.com/ful1e5/Bibata_Cursor.git
synced 2025-05-19 09:45:24 -04:00
💬 Comments
This commit is contained in:
parent
64339a3ebc
commit
dc82fa38d9
1 changed files with 5 additions and 4 deletions
|
@ -1,20 +1,21 @@
|
|||
import { renderCursors } from "shared";
|
||||
|
||||
import { generateConfigs } from "./helpers/schema";
|
||||
import { colorSchemes, rawSvgsDir } from "./color";
|
||||
|
||||
// from shared package
|
||||
import { renderCursors } from "shared";
|
||||
|
||||
(async () => {
|
||||
// Svg generate dir prefix
|
||||
const prefix = "Bibata-Round";
|
||||
const configs = generateConfigs(colorSchemes, prefix, rawSvgsDir);
|
||||
|
||||
try {
|
||||
for (let [schema, { bitmapsDir }] of Object.entries(configs)) {
|
||||
console.log(`\nGenerating ${prefix}-${schema} bitmaps..`);
|
||||
|
||||
await renderCursors(configs[schema]);
|
||||
|
||||
console.log(`\nBitmaps stored at ${bitmapsDir}`);
|
||||
}
|
||||
|
||||
console.log("\n\n🎉 Render Done.");
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue