Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "Use System Theme" setting #781

Open
uday-rana opened this issue Jan 14, 2025 · 0 comments
Open

Add "Use System Theme" setting #781

uday-rana opened this issue Jan 14, 2025 · 0 comments
Labels
UX Issues involving user experience

Comments

@uday-rana
Copy link
Collaborator

uday-rana commented Jan 14, 2025

I'd like a setting that makes the app theme change dynamically when the system theme changes.

I think setting useSystemColorMode to true if the setting is toggled on would work:

config: {
// Initialize dark/light mode with system pref, but remember choice
// via localStorage setting
initialColorMode: "system",
useSystemColorMode: false,
},

Maybe also hide/disable the theme toggle button when this is on?

@mulla028 mulla028 added enhancement New feature or request UX Issues involving user experience and removed enhancement New feature or request labels Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UX Issues involving user experience
Projects
None yet
Development

No branches or pull requests

2 participants