diff --git a/packages/round/src/color.ts b/packages/round/src/color.ts index 01de41b8..e9c9591d 100644 --- a/packages/round/src/color.ts +++ b/packages/round/src/color.ts @@ -1,61 +1,39 @@ -import path from "path"; import { ColorSchema } from "./types"; -// --------------------------------------- Paths 🔗 - -const rawSvgsDir = path.resolve("svg"); - -// --------------------------------------- Config 🔧 -const schemesPath = path.resolve("schemes"); -const projectRoot = path.resolve("../../"); -const bitmapsPath = path.resolve(projectRoot, "bitmaps"); - const watchKeyColor = "#FF0000"; const baseKeyColor = "#00FF00"; const outlineKeyColor = "#0000FF"; -// --------------------------------------- Colors✨ - // Common Colors const black = "#000000"; const white = "#FFFFFF"; // Schemes Colors -const amber = "#FF8300"; -const adwaita = "#272728"; -const breezeDark = "#4A4C49"; - -// --------------------------------------- Schemes🌈 +// const amber = "#FF8300"; +// const adwaita = "#272728"; +// const breezeDark = "#4A4C49"; const colorSchemes: ColorSchema = { - Adwaita: { - base: adwaita, - outline: white - }, - Amber: { - base: amber, - outline: white - }, - Breeze: { - base: breezeDark, - outline: white - }, - Classic: { - base: black, - outline: white - }, + // Adwaita: { + // base: adwaita, + // outline: white + // }, + // Amber: { + // base: amber, + // outline: white + // }, + // Breeze: { + // base: breezeDark, + // outline: white + // }, + // Classic: { + // base: black, + // outline: white + // }, Ice: { base: white, outline: black } }; -export { - rawSvgsDir, - bitmapsPath, - schemesPath, - watchKeyColor, - baseKeyColor, - outlineKeyColor, - colorSchemes -}; +export { watchKeyColor, baseKeyColor, outlineKeyColor, colorSchemes }; diff --git a/packages/round/src/helpers/schema.ts b/packages/round/src/helpers/schema.ts index 253ec6d2..9df969e5 100644 --- a/packages/round/src/helpers/schema.ts +++ b/packages/round/src/helpers/schema.ts @@ -2,14 +2,8 @@ import fs from "fs"; import path from "path"; import { staticCursors, animatedCursors } from "../cursors.json"; -import { - schemesPath, - bitmapsPath, - baseKeyColor, - outlineKeyColor, - watchKeyColor, - rawSvgsDir -} from "../color"; +import { baseKeyColor, outlineKeyColor, watchKeyColor } from "../color"; +import { rawSvgsDir, schemesPath, bitmapsPath } from "../paths"; import { ColorSchema, Config } from "../types"; // --------------------------------------- Generate Configs 🛠 diff --git a/packages/round/src/paths.ts b/packages/round/src/paths.ts new file mode 100644 index 00000000..3da23fb5 --- /dev/null +++ b/packages/round/src/paths.ts @@ -0,0 +1,9 @@ +import { resolve } from "path"; + +const rawSvgsDir = resolve("svg"); + +const schemesPath = resolve("schemes"); +const projectRoot = resolve("../../"); +const bitmapsPath = resolve(projectRoot, "bitmaps"); + +export { rawSvgsDir, schemesPath, projectRoot, bitmapsPath };