From d4b143f313d00f2a30abcbc1a880c140d7455e7b Mon Sep 17 00:00:00 2001 From: Luca <102960244+Luca-Timo@users.noreply.github.com> Date: Thu, 2 Jul 2026 21:29:47 +0200 Subject: [PATCH] fix(setup): keep the first-run wizard light regardless of dark mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The setup page background used var(--color-background), which flips to #0a0a0a under the .dark class while the wizard card stays hardcoded light — giving a dark page + light card mismatch in dark mode. Pin the first-run screen to its intended light branded look (fixed #fafafa bg / #171717 text) so all three steps render consistently. --- frontend/src/pages/SetupPage.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/pages/SetupPage.tsx b/frontend/src/pages/SetupPage.tsx index 4cca4fa0..c2747f0a 100644 --- a/frontend/src/pages/SetupPage.tsx +++ b/frontend/src/pages/SetupPage.tsx @@ -232,7 +232,7 @@ export const SetupPage: React.FC = () => { const stepNumber = step === 'token' ? 1 : step === 'account' ? 2 : 3; return ( -
+
{/* On a fresh instance there are no branding settings yet, so use the @@ -247,15 +247,15 @@ export const SetupPage: React.FC = () => {
); })()} -

{t('setup.title')}

-

+

{t('setup.title')}

+

{step === 'token' ? t('setup.tokenStepSubtitle') : step === 'account' ? t('setup.accountStepSubtitle') : t('setup.usageSubtitle')}

-

+

{t('setup.stepOf', { current: stepNumber, total: 3 })}