From 27cc14c1f50dcc7b77d6f41a2c73d81ce49d8eae Mon Sep 17 00:00:00 2001 From: Prayag Prajapati Date: Wed, 4 Dec 2024 18:34:18 +0530 Subject: [PATCH] refactor: move more files to ts --- src/{theme.js => theme.ts} | 4 ++-- vite.config.js => vite.config.ts | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename src/{theme.js => theme.ts} (96%) rename vite.config.js => vite.config.ts (100%) diff --git a/src/theme.js b/src/theme.ts similarity index 96% rename from src/theme.js rename to src/theme.ts index 4cd8214..4c5e5b8 100644 --- a/src/theme.js +++ b/src/theme.ts @@ -3,8 +3,7 @@ import { clrAccentDefault, clrBackgroundDark, clrBackgroundDefault, - clrBackgroundLight, - clrSecondaryDefault, + clrSecondaryDefault, //@ts-ignore } from "./palette.module.scss"; const { palette } = createTheme({}); const { augmentColor } = palette; @@ -24,6 +23,7 @@ export const theme = createTheme({ default: clrBackgroundDefault, paper: clrBackgroundDark, }, + //@ts-ignore white: augmentColor({ color: { main: "#ffffff" } }), black: augmentColor({ color: { main: "#000" } }), mode: "dark", diff --git a/vite.config.js b/vite.config.ts similarity index 100% rename from vite.config.js rename to vite.config.ts