From 10b1283d6ae453662f51aabf26a15c170b0255b1 Mon Sep 17 00:00:00 2001 From: Daniel Cojocea Date: Thu, 29 Aug 2024 20:47:19 -0400 Subject: [PATCH] Added icon button default padding and background --- Client/src/Utils/Theme/darkTheme.js | 10 ++++++++++ Client/src/Utils/Theme/lightTheme.js | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/Client/src/Utils/Theme/darkTheme.js b/Client/src/Utils/Theme/darkTheme.js index 3599e4c53..d9d25893c 100644 --- a/Client/src/Utils/Theme/darkTheme.js +++ b/Client/src/Utils/Theme/darkTheme.js @@ -80,6 +80,16 @@ const darkTheme = createTheme({ disableRipple: true, }, }, + MuiIconButton: { + styleOverrides: { + root: { + padding: 4, + "&:hover": { + backgroundColor: background.fill, + }, + }, + }, + }, MuiPaper: { styleOverrides: { root: { diff --git a/Client/src/Utils/Theme/lightTheme.js b/Client/src/Utils/Theme/lightTheme.js index c328302b3..18923613b 100644 --- a/Client/src/Utils/Theme/lightTheme.js +++ b/Client/src/Utils/Theme/lightTheme.js @@ -80,6 +80,16 @@ const lightTheme = createTheme({ disableRipple: true, }, }, + MuiIconButton: { + styleOverrides: { + root: { + padding: 4, + "&:hover": { + backgroundColor: background.fill, + }, + }, + }, + }, MuiPaper: { styleOverrides: { root: {