mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* Add ENV variable allowing to choose default color schema Fixes #1868 * Update values.yaml.gotmpl --------- Co-authored-by: Yan Vaskov <[email protected]>
12 lines
290 B
TypeScript
12 lines
290 B
TypeScript
import { type ThemeConfig } from '@chakra-ui/react';
|
|
|
|
import appConfig from 'configs/app';
|
|
|
|
const config: ThemeConfig = {
|
|
initialColorMode: appConfig.UI.colorTheme.default?.colorMode ?? 'system',
|
|
useSystemColorMode: false,
|
|
disableTransitionOnChange: false,
|
|
};
|
|
|
|
export default config;
|