Skip to content

Instantly share code, notes, and snippets.

@edulanasca
Created May 28, 2022 15:21
Show Gist options
  • Save edulanasca/71679919953fcb4cee88506393ab62f4 to your computer and use it in GitHub Desktop.
Save edulanasca/71679919953fcb4cee88506393ab62f4 to your computer and use it in GitHub Desktop.
Config theme
import { extendTheme, type ThemeConfig } from '@chakra-ui/react'
const config: ThemeConfig = {
initialColorMode: 'dark',
useSystemColorMode: false,
}
const theme = extendTheme({ config });
export default theme
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment