From 87800793b8c25400b1eb86a5034c63c406b15e6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20Bl=C3=A4ttermann?= Date: Wed, 25 Jan 2023 12:51:00 +0100 Subject: [PATCH] Fix text color on landing page --- website/src/components/landing.js | 1 + website/src/styles/landing.module.sass | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/website/src/components/landing.js b/website/src/components/landing.js index 7d8b455ef..08e0d678b 100644 --- a/website/src/components/landing.js +++ b/website/src/components/landing.js @@ -110,6 +110,7 @@ export const LandingBanner = ({ }) const style = { '--color-theme': background, + '--color-theme-dark': background, '--color-back': color, backgroundImage: backgroundImage ? `url(${backgroundImage})` : null, } diff --git a/website/src/styles/landing.module.sass b/website/src/styles/landing.module.sass index 2651424df..5c2a0754b 100644 --- a/website/src/styles/landing.module.sass +++ b/website/src/styles/landing.module.sass @@ -41,7 +41,7 @@ border-radius: 1em padding: 0 1rem 0.15rem background: var(--color-back) - color: var(--color-theme-dark) + color: var(--color-theme) .subtitle margin-top: 1rem