diff --git a/src/constants/theme.ts b/src/constants/theme.ts index 605d371..6e883f5 100644 --- a/src/constants/theme.ts +++ b/src/constants/theme.ts @@ -1,5 +1,17 @@ import { theme } from 'antd' -export const darkTheme = { algorithm: theme.darkAlgorithm } +export const darkTheme = { + algorithm: theme.darkAlgorithm, + cssVar: true, + token: { + colorBgLayout: '#000000' + } +} -export const lightTheme = { algorithm: theme.defaultAlgorithm } +export const lightTheme = { + algorithm: theme.defaultAlgorithm, + cssVar: true, + token: { + colorBgLayout: '#FFFFFF' + } +}