From 4762a0defdcb3ba940e2172ee34c3d835b4edbfb Mon Sep 17 00:00:00 2001 From: Anastasiia Date: Tue, 25 Jun 2024 13:15:59 +0700 Subject: [PATCH] MSP-3486 update theme.ts --- src/constants/theme.ts | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) 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' + } +}