Skip to content

fix: default theme to light instead of system preference#99

Merged
brandonpham13 merged 1 commit into
mainfrom
fix/default-light-theme
May 13, 2026
Merged

fix: default theme to light instead of system preference#99
brandonpham13 merged 1 commit into
mainfrom
fix/default-light-theme

Conversation

@brandonpham13
Copy link
Copy Markdown
Owner

Closes #68

Summary

  • Removes the prefers-color-scheme OS media query fallback in ThemeContext
  • New sessions now default to light mode unless the user has a saved huddle-theme preference in localStorage
  • Saved preferences still work as before

Test plan

  • Open the app in a browser with OS set to dark mode — should load in light mode
  • Toggle to dark, refresh — should stay dark (localStorage preference respected)
  • Clear localStorage, refresh — should revert to light

Closes #68

Co-Authored-By: Butter <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
huddle Ready Ready Preview, Comment May 13, 2026 4:12am

@brandonpham13 brandonpham13 merged commit 073100d into main May 13, 2026
3 checks passed
@brandonpham13 brandonpham13 deleted the fix/default-light-theme branch May 13, 2026 04:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Save user dark mode preference

1 participant