Add Color Mode

This commit is contained in:
Lucian Petri
2022-12-29 18:40:09 +02:00
parent 71eb09b28a
commit 721012ab27
2 changed files with 13 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
import { extendTheme, type ThemeConfig } from "@chakra-ui/react";
const config: ThemeConfig = {
initialColorMode: "light",
useSystemColorMode: true,
};
const theme = extendTheme({ config });
export default theme;