Add semantic light/dark theme support
Summary
I would like to propose adding first-class semantic light/dark/system theme support across the Meetily frontend.
Problem
Several screens and components currently rely on hardcoded light-oriented Tailwind colors such as bg-white, text-gray-*, and similar surface tokens. This makes parts of the UI difficult to read or visually inconsistent when used on dark screens.
The issue is most visible in app-wide surfaces such as settings, meeting details, onboarding, dialogs, cards, transcript/summary UI, and status/alert surfaces.
Proposed solution
Introduce a semantic theme foundation and route UI surfaces through theme-aware tokens instead of hardcoded light colors.
The implementation I prepared includes:
- persistent
light/dark/systemtheme mode handling; - a first-paint theme script to avoid incorrect initial rendering;
- semantic app/status/surface tokens;
- replacement of hardcoded light surfaces across the frontend;
- Playwright coverage for dark surfaces, semantic primitives, shell rendering, and storage fallback behavior;
- a small regression test ensuring custom summary system prompts are preserved in summary generation.
Expected behavior
- The app should render consistently in both light and dark modes.
- Dialogs, popovers, cards, settings, meeting details, transcript, summary, onboarding, and status surfaces should remain readable on dark backgrounds.
- Theme preference should persist and support system mode.
Implementation status
I have a working branch prepared and tested locally. I can open a PR targeting devtest, following the repository contribution workflow.
Verification performed locally
cargo test summary::processor::tests::pnpm test:theme-auditpnpm exec tsc --noEmitpnpm test:e2epnpm build
Source: Zackriya-Solutions/meetily