From 2c08271ba9f12c87ded0504f0ef028d32ff6a124 Mon Sep 17 00:00:00 2001 From: Matt Toohey Date: Thu, 16 Jul 2026 23:54:16 +1000 Subject: [PATCH] feat(desktop): remove theme selection from onboarding, default to Buzz + System (#1947) Signed-off-by: Matt Toohey Co-authored-by: Claude Fable 5 --- desktop/index.html | 22 +- .../features/onboarding/ui/OnboardingFlow.tsx | 100 +----- .../src/features/onboarding/ui/ThemeStep.tsx | 311 ------------------ .../ui/onboardingFlowSteps.test.mjs | 104 ++---- desktop/src/features/onboarding/ui/types.ts | 8 - desktop/src/main.tsx | 2 +- desktop/src/shared/theme/ThemeProvider.tsx | 9 +- desktop/src/shared/theme/theme-loader.ts | 10 - desktop/tests/e2e/onboarding.spec.ts | 8 +- desktop/tests/e2e/profile.spec.ts | 20 +- desktop/tests/e2e/sidebar.spec.ts | 10 +- desktop/tests/e2e/video-attachment.spec.ts | 9 +- 12 files changed, 88 insertions(+), 525 deletions(-) delete mode 100644 desktop/src/features/onboarding/ui/ThemeStep.tsx diff --git a/desktop/index.html b/desktop/index.html index c219f214d..4b58bd432 100644 --- a/desktop/index.html +++ b/desktop/index.html @@ -15,10 +15,10 @@ The inline script below reads the cached theme background (same `buzz-theme-cache` entry ThemeProvider writes) and applies it synchronously so the boot color matches the themed loading gate — no black flash on light - themes. On the first-ever launch (no cache yet) it seeds the `dark` class - synchronously so the setup gate reads the dark `:root` vars instead of the - light Catppuccin-Latte default, matching the dark `houston` theme - ThemeProvider applies moments later — no light flash before it loads. + themes. On the first-ever launch (no cache yet) it seeds the light/dark + class from the OS color scheme, matching the Buzz theme in System mode + that ThemeProvider applies moments later — no wrong-scheme flash before + it loads. -->