mirror of
https://github.com/ful1e5/Bibata_Cursor.git
synced 2025-05-25 20:44:32 -04:00
🚀 Bibata Original
This commit is contained in:
parent
ec45e075d9
commit
05755fd92d
3 changed files with 15 additions and 34 deletions
|
@ -1,11 +1,11 @@
|
|||
import { ColorSchemes } from "bibata-core/src/types";
|
||||
import { ThemeColors } from "bibata-core/src/types";
|
||||
|
||||
// Common Colors
|
||||
const black = "#000000";
|
||||
const white = "#FFFFFF";
|
||||
const amber = "#FF8300";
|
||||
|
||||
const colorSchemes: ColorSchemes = {
|
||||
const themeColors: ThemeColors = {
|
||||
Amber: {
|
||||
base: amber,
|
||||
outline: white,
|
||||
|
@ -23,4 +23,4 @@ const colorSchemes: ColorSchemes = {
|
|||
}
|
||||
};
|
||||
|
||||
export { colorSchemes };
|
||||
export { themeColors };
|
|
@ -1,27 +0,0 @@
|
|||
import { resolve } from "path";
|
||||
import { readdirSync } from "fs";
|
||||
|
||||
const rawSvgsDir = resolve("./src/svg");
|
||||
const staticCursorsDir = resolve(rawSvgsDir, "static");
|
||||
const animatedCursorsDir = resolve(rawSvgsDir, "animated");
|
||||
|
||||
const staticCursors = readdirSync(staticCursorsDir).map((f) =>
|
||||
resolve(staticCursorsDir, f)
|
||||
);
|
||||
|
||||
const animatedCursors = readdirSync(animatedCursorsDir).map((f) =>
|
||||
resolve(animatedCursorsDir, f)
|
||||
);
|
||||
|
||||
const schemesPath = resolve("schemes");
|
||||
const projectRoot = resolve("../../");
|
||||
const bitmapsPath = resolve(projectRoot, "bitmaps");
|
||||
|
||||
export {
|
||||
rawSvgsDir,
|
||||
schemesPath,
|
||||
projectRoot,
|
||||
bitmapsPath,
|
||||
staticCursors,
|
||||
animatedCursors
|
||||
};
|
|
@ -1,6 +1,14 @@
|
|||
import { createBitmaps } from "bibata-core";
|
||||
import * as pathConfig from "./config";
|
||||
import { colorSchemes } from "./color";
|
||||
import { themeColors } from "./colors";
|
||||
|
||||
const themeName = "Bibata-Original";
|
||||
createBitmaps({ colorSchemes, pathConfig, themeName });
|
||||
import { resolve } from "path";
|
||||
|
||||
const projectRoot = resolve("../../");
|
||||
const args = {
|
||||
themeName: "Bibata-Modern",
|
||||
svgDir: resolve("./src/svg"),
|
||||
bitmapsDir: resolve(projectRoot, "bitmaps"),
|
||||
themeColors
|
||||
};
|
||||
|
||||
createBitmaps(args);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue