mirror of
https://github.com/ful1e5/Bibata_Cursor.git
synced 2025-05-25 04:24:33 -04:00
🧹 Bitmapper organized
All bitmaps renderer are moved to `<root>/bitmapper` directory. That's help us for `Makefile`.
This commit is contained in:
parent
f819ff2e00
commit
c92343ece3
161 changed files with 503 additions and 2105 deletions
22
bitmapper/packages/original/src/index.ts
Normal file
22
bitmapper/packages/original/src/index.ts
Normal file
|
@ -0,0 +1,22 @@
|
|||
import { createBitmaps } from "bibata-core";
|
||||
import { themeColors } from "./colors";
|
||||
import { resolve } from "path";
|
||||
|
||||
const main = async () => {
|
||||
const projectRoot = resolve("../../");
|
||||
const args = {
|
||||
themeName: "Bibata-Original",
|
||||
svgDir: resolve("./src/svg"),
|
||||
bitmapsDir: resolve(projectRoot, "bitmaps"),
|
||||
themeColors
|
||||
};
|
||||
|
||||
try {
|
||||
await createBitmaps(args);
|
||||
process.exit(0);
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
}
|
||||
};
|
||||
|
||||
main();
|
Loading…
Add table
Add a link
Reference in a new issue