aboutsummaryrefslogtreecommitdiffstats
path: root/packages/renderer/src/components/ThemeProvider.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/renderer/src/components/ThemeProvider.tsx')
-rw-r--r--packages/renderer/src/components/ThemeProvider.tsx12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/renderer/src/components/ThemeProvider.tsx b/packages/renderer/src/components/ThemeProvider.tsx
index 3943371..5fc1f33 100644
--- a/packages/renderer/src/components/ThemeProvider.tsx
+++ b/packages/renderer/src/components/ThemeProvider.tsx
@@ -37,6 +37,18 @@ export default observer(
37 palette: { 37 palette: {
38 mode: shouldUseDarkColors ? 'dark' : 'light', 38 mode: shouldUseDarkColors ? 'dark' : 'light',
39 }, 39 },
40 components: {
41 MuiBadge: {
42 styleOverrides: {
43 standard: {
44 // Reduce badge with to make the unread message badge with "99+" unread messages
45 // fit within the sidebar. Applied for all badges for consistency.
46 paddingLeft: 4,
47 paddingRight: 4,
48 },
49 },
50 },
51 },
40 }); 52 });
41 53
42 return <MuiThemeProvider theme={theme}>{children}</MuiThemeProvider>; 54 return <MuiThemeProvider theme={theme}>{children}</MuiThemeProvider>;