From dfe33fe18aacd70569c845773f0d7a58809a8b42 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Sat, 19 Oct 2024 05:25:10 +0530 Subject: [PATCH] feat: styles for buttons --- src/App.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/App.tsx b/src/App.tsx index 64ffe1b7..b9108fde 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -15,10 +15,21 @@ const theme = createTheme({ MuiButton: { styleOverrides: { root: { + // Default styles for all buttons (optional) + }, + containedPrimary: { + // Styles for 'contained' variant with 'primary' color '&:hover': { backgroundColor: "#ff66d9", }, }, + outlined: { + // Apply white background for all 'outlined' variant buttons + backgroundColor: "#ffffff", + '&:hover': { + backgroundColor: "#f0f0f0", // Optional lighter background on hover + }, + }, }, }, MuiLink: { @@ -42,6 +53,7 @@ const theme = createTheme({ }, }); + function App() { return (