🧹 Bitmapper organized

All bitmaps renderer are moved to `<root>/bitmapper` directory. That's
help us for `Makefile`.
This commit is contained in:
ful1e5 2021-02-18 19:15:38 +05:30
parent f819ff2e00
commit c92343ece3
161 changed files with 503 additions and 2105 deletions

View file

@ -0,0 +1,27 @@
import { ThemeColors } from "bibata-core/src/types";
// Common Colors
const black = "#000000";
const white = "#FFFFFF";
const amber = "#FF8300";
const richBlack = "#001524";
const themeColors: ThemeColors = {
Amber: {
base: amber,
outline: white,
watch: {
background: richBlack
}
},
Classic: {
base: black,
outline: white
},
Ice: {
base: white,
outline: black
}
};
export { themeColors };

View 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-Modern",
svgDir: resolve("./src/svg"),
bitmapsDir: resolve(projectRoot, "bitmaps"),
themeColors
};
try {
await createBitmaps(args);
process.exit(0);
} catch (error) {
console.error(error);
}
};
main();