From e045081346c566bddeea4962266a490a2d263c0b Mon Sep 17 00:00:00 2001 From: Manuel Date: Sat, 29 Jul 2023 16:19:57 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Fix=20darkmode=20styling=20for?= =?UTF-8?q?=20manage=20home=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/manage/index.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/pages/manage/index.tsx b/src/pages/manage/index.tsx index cec1f4121..7e1b52238 100644 --- a/src/pages/manage/index.tsx +++ b/src/pages/manage/index.tsx @@ -102,16 +102,17 @@ export default ManagementPage; const useStyles = createStyles((theme) => ({ box: { borderRadius: theme.radius.md, - backgroundColor: theme.colorScheme === 'dark' ? theme.colors.red[4] : theme.colors.red[1], + backgroundColor: + theme.colorScheme === 'dark' ? theme.fn.rgba(theme.colors.red[8], 0.1) : theme.colors.red[1], }, boxTitle: { color: theme.colors.red[6], }, quickActionCard: { - height: "100%", - backgroundColor: theme.colors.gray[2], + height: '100%', + backgroundColor: theme.colorScheme === 'dark' ? theme.colors.dark[6] : theme.colors.gray[2], '&:hover': { - backgroundColor: theme.colors.gray[3], + backgroundColor: theme.colorScheme === 'dark' ? theme.colors.dark[5] : theme.colors.gray[3], }, }, }));