mirror of
https://github.com/Unleash/unleash.git
synced 2025-03-18 00:19:49 +01:00
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
This commit is contained in:
parent
243088fdca
commit
b5bd5ee3f2
@ -424,7 +424,7 @@ export const darkTheme = createTheme({
|
|||||||
styleOverrides: {
|
styleOverrides: {
|
||||||
root: ({ theme }) => ({
|
root: ({ theme }) => ({
|
||||||
color: theme.palette.text.primary,
|
color: theme.palette.text.primary,
|
||||||
fontSize: '1rem',
|
fontSize: theme.typography.body1.fontSize,
|
||||||
textTransform: 'none',
|
textTransform: 'none',
|
||||||
fontWeight: 400,
|
fontWeight: 400,
|
||||||
lineHeight: '1',
|
lineHeight: '1',
|
||||||
|
@ -487,7 +487,7 @@ export const lightTheme = createTheme({
|
|||||||
styleOverrides: {
|
styleOverrides: {
|
||||||
root: ({ theme }) => ({
|
root: ({ theme }) => ({
|
||||||
color: theme.palette.text.primary,
|
color: theme.palette.text.primary,
|
||||||
fontSize: '1rem',
|
fontSize: theme.typography.body1.fontSize,
|
||||||
textTransform: 'none',
|
textTransform: 'none',
|
||||||
fontWeight: 400,
|
fontWeight: 400,
|
||||||
lineHeight: '1',
|
lineHeight: '1',
|
||||||
|
Loading…
Reference in New Issue
Block a user