🌈 Colors Config added

This commit is contained in:
ful1e5 2020-08-17 11:17:25 +05:30
parent f60a71c02f
commit 131b5b8572

View file

@ -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 };