From 549f264ea6b186d417078a9ebdfd54f1a0222c4d Mon Sep 17 00:00:00 2001 From: janrembold Date: Sat, 25 May 2024 10:04:41 +0200 Subject: [PATCH] styles: change hover color and font weight --- src/extensions/theme.jsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/extensions/theme.jsx b/src/extensions/theme.jsx index 526313fa8..339250395 100644 --- a/src/extensions/theme.jsx +++ b/src/extensions/theme.jsx @@ -123,7 +123,9 @@ const theme = createTheme({ MuiButton: { styleOverrides: { root: { + fontFamily: getCssVarValue('--font-family-sans-serif'), fontSize: getCssVarValue('--font-size-primary'), + fontWeight: getCssVarValue('--font-weight-bold'), lineHeight: '20px', borderRadius: getCssVarValue('--button-border-radius') }, @@ -135,12 +137,11 @@ const theme = createTheme({ 'textTransform': 'none', 'outline': 'none', 'color': getCssVarValue('--white'), - 'fontWeight': getCssVarValue('--font-weight-regular'), - 'fontFamily': getCssVarValue('--font-family-sans-serif'), 'boxShadow': 'none', '&:hover': { boxShadow: 'none', - color: getCssVarValue('--white') + color: getCssVarValue('--white'), + backgroundColor: getCssVarValue('--hover-primary') } }, outlined: {