diff options
Diffstat (limited to 'subprojects/frontend/src/theme/ThemeProvider.tsx')
-rw-r--r-- | subprojects/frontend/src/theme/ThemeProvider.tsx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/subprojects/frontend/src/theme/ThemeProvider.tsx b/subprojects/frontend/src/theme/ThemeProvider.tsx index 9cf870d5..85844d3c 100644 --- a/subprojects/frontend/src/theme/ThemeProvider.tsx +++ b/subprojects/frontend/src/theme/ThemeProvider.tsx | |||
@@ -73,6 +73,11 @@ const typography: TypographyVariantsOptions = { | |||
73 | fontWeightMedium: 600, | 73 | fontWeightMedium: 600, |
74 | fontWeightEditorNormal: 400, | 74 | fontWeightEditorNormal: 400, |
75 | fontWeightEditorBold: 700, | 75 | fontWeightEditorBold: 700, |
76 | button: { | ||
77 | // 24px line height for 14px button text means 36px high buttons. | ||
78 | // Making sure the button has whole pixel height reduces redering errors on Android. | ||
79 | lineHeight: 1.7143, | ||
80 | }, | ||
76 | editor: { | 81 | editor: { |
77 | fontFamily: | 82 | fontFamily: |
78 | '"JetBrains MonoVariable", "JetBrains Mono", "Cascadia Code", "Fira Code", monospace', | 83 | '"JetBrains MonoVariable", "JetBrains Mono", "Cascadia Code", "Fira Code", monospace', |