Files
explore/theme/config.ts
T
e8d8b3a7c8 Add ENV variable allowing to choose default color schema (#1882)
* Add ENV variable allowing to choose default color schema

Fixes #1868

* Update values.yaml.gotmpl

---------

Co-authored-by: Yan Vaskov <[email protected]>
2024-05-07 13:52:20 +02:00

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;