From 6d451162b1048e474eabc766c7fd5d07b0f3c2e2 Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Sat, 13 Jul 2024 21:06:42 +0300 Subject: [PATCH] theme enhancements --- frontend/src/themes/defaults.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/frontend/src/themes/defaults.ts b/frontend/src/themes/defaults.ts index f67f981..4f11ce1 100644 --- a/frontend/src/themes/defaults.ts +++ b/frontend/src/themes/defaults.ts @@ -25,6 +25,20 @@ export const commonTheme: ThemeOptions = { info: { main: info } + }, + components: { + MuiAppBar: { + defaultProps: { + enableColorOnDark: true + } + }, + MuiPaper: { + styleOverrides: { + root: { + backgroundImage: "unset" // The gradient is part of how MUI implements the elevation of the Paper component in dark mode. If you don't want this gradient, you can override it with "unset". + } + } + } } };