Make font sizes responsive

This commit is contained in:
schroda
2024-08-31 22:42:06 +02:00
parent 2430f84837
commit 1414f2f103

View File

@@ -12,6 +12,7 @@ import {
Direction,
lighten,
Palette as MuiPalette,
responsiveFontSizes,
Theme,
} from '@mui/material/styles';
@@ -75,9 +76,9 @@ export const createTheme = (dark?: boolean, direction: Direction = 'ltr') => {
baseTheme,
);
theme = suwayomiTheme;
theme = responsiveFontSizes(suwayomiTheme);
return suwayomiTheme;
return theme;
};
export const getOptionForDirection = <T>(ltrOption: T, rtlOption: T): T =>