From d5bcc14a52b70ecca231ba36df2cd00b14d71f77 Mon Sep 17 00:00:00 2001 From: Kris West Date: Thu, 19 Sep 2024 17:37:39 +0100 Subject: [PATCH 1/2] Set explicit background colors for website --- website/src/css/customTheme.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/website/src/css/customTheme.css b/website/src/css/customTheme.css index e4e4bc89b..4acec9b47 100644 --- a/website/src/css/customTheme.css +++ b/website/src/css/customTheme.css @@ -1,4 +1,12 @@ +html[data-theme='light'] { + background-color: white; +} + +html[data-theme='dark'] { + background-color: black; +} + @font-face { src: url("/fonts/Electrolize-Regular.ttf"); font-family: 'Electrolize' From fb1d95445a00e1f9bfab41dbbc78a197dcab1c85 Mon Sep 17 00:00:00 2001 From: Kris West Date: Thu, 19 Sep 2024 20:00:12 +0100 Subject: [PATCH 2/2] Apply suggestions from code review Adjust colours --- website/src/css/customTheme.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/src/css/customTheme.css b/website/src/css/customTheme.css index 4acec9b47..975abbf11 100644 --- a/website/src/css/customTheme.css +++ b/website/src/css/customTheme.css @@ -1,10 +1,10 @@ html[data-theme='light'] { - background-color: white; + background-color: #FFFFFF; } html[data-theme='dark'] { - background-color: black; + background-color: #1B1B1B; } @font-face {