From b5bd5ee3f2ae938231327c21c35324ffa6415a0e Mon Sep 17 00:00:00 2001 From: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com> Date: Wed, 12 Feb 2025 15:13:22 +0100 Subject: [PATCH] refactor: MuiTab font sizes (#9296) I didn't find where this style is taken into account, but I don't like leaving `1rem` when everything else is scaled down to 15px --- frontend/src/themes/dark-theme.ts | 2 +- frontend/src/themes/theme.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/themes/dark-theme.ts b/frontend/src/themes/dark-theme.ts index 4691ca5af7..4e2a1e2c20 100644 --- a/frontend/src/themes/dark-theme.ts +++ b/frontend/src/themes/dark-theme.ts @@ -424,7 +424,7 @@ export const darkTheme = createTheme({ styleOverrides: { root: ({ theme }) => ({ color: theme.palette.text.primary, - fontSize: '1rem', + fontSize: theme.typography.body1.fontSize, textTransform: 'none', fontWeight: 400, lineHeight: '1', diff --git a/frontend/src/themes/theme.ts b/frontend/src/themes/theme.ts index 7fc0b85aba..05233a7f6c 100644 --- a/frontend/src/themes/theme.ts +++ b/frontend/src/themes/theme.ts @@ -487,7 +487,7 @@ export const lightTheme = createTheme({ styleOverrides: { root: ({ theme }) => ({ color: theme.palette.text.primary, - fontSize: '1rem', + fontSize: theme.typography.body1.fontSize, textTransform: 'none', fontWeight: 400, lineHeight: '1',