mirror of
https://github.com/ful1e5/Bibata_Cursor.git
synced 2025-05-31 23:28:28 -04:00
🌈 Colors Config added
This commit is contained in:
parent
f60a71c02f
commit
131b5b8572
1 changed files with 31 additions and 14 deletions
|
@ -1,28 +1,45 @@
|
||||||
import fs from "fs";
|
|
||||||
import path from "path";
|
import path from "path";
|
||||||
|
|
||||||
import { ColorSchema } from "./types";
|
import { ColorSchema } from "./types";
|
||||||
|
|
||||||
// Source Directory
|
// --------------------------------------- Paths
|
||||||
|
|
||||||
const rawSvgsDir = path.resolve("src", "svg", "raw");
|
const rawSvgsDir = path.resolve("src", "svg", "raw");
|
||||||
|
|
||||||
if (!fs.existsSync(rawSvgsDir)) console.error("🚨🚨 Raw files not Found 🚨🚨");
|
|
||||||
|
|
||||||
// --------------------------------------- 🌈 Cursors Variants 🌈
|
|
||||||
const schemesPath = path.resolve("src", "svg");
|
const schemesPath = path.resolve("src", "svg");
|
||||||
|
|
||||||
|
// --------------------------------------- Colors✨
|
||||||
|
|
||||||
|
const black = "#000000";
|
||||||
|
const white = "#FFFFFF";
|
||||||
|
const red = "#F2704D";
|
||||||
|
const yellow = "#FDC43F";
|
||||||
|
const green = "#96C865";
|
||||||
|
const blue = "#4FADDF";
|
||||||
|
|
||||||
|
// --------------------------------------- Schemes🌈
|
||||||
|
|
||||||
const colorSchemes: ColorSchema = {
|
const colorSchemes: ColorSchema = {
|
||||||
Ice: {
|
Ice: {
|
||||||
base: "#FFFFFF",
|
base: black,
|
||||||
outline: "#000000",
|
outline: white,
|
||||||
watchBackground: "#000000"
|
watch: {
|
||||||
|
background: black,
|
||||||
|
color1: red,
|
||||||
|
color2: yellow,
|
||||||
|
color3: green,
|
||||||
|
color4: blue
|
||||||
|
},
|
||||||
|
customize: {
|
||||||
|
"top_left_corner.svg": {},
|
||||||
|
"top_right_corner.svg": {},
|
||||||
|
"bottom_left_corner.svg": {},
|
||||||
|
"bottom_right_corner.svg": {}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
Classic: {
|
Classic: {
|
||||||
base: "#000000",
|
base: black,
|
||||||
outline: "#FFFFFF",
|
outline: white
|
||||||
watchBackground: "#FFFFFF"
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// --------------------------------------- 🔧 Render Configs 🔧
|
|
||||||
|
|
||||||
export { rawSvgsDir, schemesPath, colorSchemes };
|
export { rawSvgsDir, schemesPath, colorSchemes };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue