From 4076ca4549bcff438d2552b7f88b954aaffe2e08 Mon Sep 17 00:00:00 2001
From: Andreas Ellewsen <ae@uio.no>
Date: Tue, 25 Jan 2022 13:12:14 +0100
Subject: [PATCH] Set font sizes for typography elements

---
 frontend/src/themes/main.ts | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/frontend/src/themes/main.ts b/frontend/src/themes/main.ts
index 7260af94..86bde5fc 100644
--- a/frontend/src/themes/main.ts
+++ b/frontend/src/themes/main.ts
@@ -10,6 +10,19 @@ const mainTheme: ThemeOptions = {
     textWhite: 'white',
     footerLinkBgColor: '#202020',
   },
+  typography: {
+    fontSize: 16,
+    h2: {
+      fontSize: 28,
+    },
+    body1: {
+      fontSize: 18,
+    },
+    button: {
+      fontSize: 14,
+    },
+  },
+
   // No palette section defined here, it is up to the different institutions to define colours that override the default ones from Material UI
   components: {
     MuiTextField: {
-- 
GitLab