mirror of https://github.com/ethereum/go-ethereum
parent
e2858c04dc
commit
629ed7c885
@ -0,0 +1,12 @@ |
||||
import { type ThemeConfig } from '@chakra-ui/react'; |
||||
/** |
||||
* https://chakra-ui.com/docs/styled-system/color-mode
|
||||
* initialColorMode: 'system' —— Will default to users system color mode |
||||
* useSystemColorMode=true —— Color mode will change if user changes their system color mode |
||||
* Can be overridden with toggle on site and will persist after refresh |
||||
* Choice is stored/managed with local storage |
||||
*/ |
||||
export const config: ThemeConfig = { |
||||
initialColorMode: 'system', |
||||
useSystemColorMode: true |
||||
}; |
@ -1,4 +1,5 @@ |
||||
export * from './colors'; |
||||
export * from './config'; |
||||
export * from './shadows'; |
||||
export * from './sizes'; |
||||
export * from './textStyles'; |
||||
|
Loading…
Reference in new issue