feat: move to nextjs
This commit is contained in:
27
style/theme.ts
Normal file
27
style/theme.ts
Normal file
@@ -0,0 +1,27 @@
|
||||
import { extendTheme, ThemeConfig } from "@chakra-ui/react";
|
||||
|
||||
const colors = {
|
||||
brand: {
|
||||
black: "#101010",
|
||||
lightBlack: "#1a1a1a",
|
||||
},
|
||||
};
|
||||
|
||||
const config: ThemeConfig = {
|
||||
initialColorMode: "dark",
|
||||
useSystemColorMode: false,
|
||||
};
|
||||
|
||||
const theme = extendTheme({
|
||||
styles: {
|
||||
global: {
|
||||
body: {
|
||||
bg: "brand.black",
|
||||
},
|
||||
},
|
||||
},
|
||||
config,
|
||||
colors,
|
||||
});
|
||||
|
||||
export default theme;
|
||||
Reference in New Issue
Block a user