From 3ad0126e668e7ad397418f17a80b7558bdc35a39 Mon Sep 17 00:00:00 2001 From: ful1e5 <24286590+KaizIqbal@users.noreply.github.com> Date: Sat, 15 Aug 2020 17:28:31 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20render=20Config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/round/src/config.ts | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/packages/round/src/config.ts b/packages/round/src/config.ts index 52c1a8e1..ed7b8ab4 100644 --- a/packages/round/src/config.ts +++ b/packages/round/src/config.ts @@ -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 };