Bitmapper packages updated

This commit is contained in:
ful1e5 2021-02-18 20:02:38 +05:30
parent c92343ece3
commit 2b021d2321
11 changed files with 106 additions and 106 deletions

View file

@ -1,22 +1,8 @@
import { createBitmaps } from "bibata-core";
import { themeColors } from "./colors";
import { resolve } from "path";
import { main } from "bibata-core";
const main = async () => {
const projectRoot = resolve("../../");
const args = {
themeName: "Bibata-Modern",
svgDir: resolve("./src/svg"),
bitmapsDir: resolve(projectRoot, "bitmaps"),
themeColors
};
try {
await createBitmaps(args);
process.exit(0);
} catch (error) {
console.error(error);
}
const hmm = async () => {
main();
console.log("Bibata modern");
};
main();
hmm();