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

Forcing light mode not working correctly #149

Closed
jpanther opened this issue Mar 13, 2022 Discussed in #148 · 0 comments
Closed

Forcing light mode not working correctly #149

jpanther opened this issue Mar 13, 2022 Discussed in #148 · 0 comments
Labels
bug Something isn't working

Comments

@jpanther
Copy link
Owner

Discussed in #148

Originally posted by benmatheson March 14, 2022
Hi, I love Congo and was very excited to upgrade to version 2.

I'm trying to force "light mode" but am experiencing the page switching to dark mode on a Mac device that has dark mode in the OS settings. I'm wondering if it's possible to override the OS settings, or whether those will prevail. A live version is here.

My params.toml looks like this:

defaultAppearance = "light" autoSwitchAppearance = false showAppearanceSwitcher = true

When I develop locally and view it on localhost, it indeed appears in light mode. but upon deploying, it switches to dark mode on my Mac with OS preferences for dark mode.

I'm hoping that I'm reading this page correctly and using default and autoSwitchAppearance right.

When I change my Mac OS preferences from light to dark, it switches to light mode. Thanks for any insights!!!

@jpanther jpanther added the bug Something isn't working label Mar 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant