mirror of
https://github.com/ful1e5/Bibata_Cursor.git
synced 2025-05-22 11:15:17 -04:00
🧹 render Config
This commit is contained in:
parent
a8e0f2121f
commit
3ad0126e66
1 changed files with 8 additions and 10 deletions
|
@ -4,17 +4,17 @@ import { staticCursors, animatedCursors, animatedClip } from "./cursors.json";
|
|||
|
||||
// --------------------------------------- 🌈 Cursors Variants 🌈
|
||||
|
||||
const colorSchemes = {
|
||||
export const colorSchemes = {
|
||||
ice: {
|
||||
base: "#ffffff",
|
||||
outline: "#000000",
|
||||
},
|
||||
outline: "#000000"
|
||||
}
|
||||
};
|
||||
|
||||
// --------------------------------------- 🔧 Cursors Config 🔧
|
||||
|
||||
// Source Directory
|
||||
const svgsDir = path.resolve(__dirname, "svg");
|
||||
const svgsDir = path.resolve("./src/svg");
|
||||
|
||||
// Resolve Paths for svg
|
||||
const staticSvgs = staticCursors.map((svg: string) =>
|
||||
|
@ -25,12 +25,10 @@ const staticSvgs = staticCursors.map((svg: string) =>
|
|||
const bitmapsDir = path.resolve(process.cwd(), "bitmaps");
|
||||
if (!fs.existsSync(bitmapsDir)) fs.mkdirSync(bitmapsDir);
|
||||
|
||||
const renderConfig = {
|
||||
staticSvgs,
|
||||
export const config = {
|
||||
animatedCursors,
|
||||
svgsDir,
|
||||
bitmapsDir,
|
||||
animatedClip,
|
||||
staticSvgs,
|
||||
bitmapsDir,
|
||||
svgsDir
|
||||
};
|
||||
|
||||
export { renderConfig, colorSchemes };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue