(v2) Can't enable light mode by default
See original GitHub issue🐛 Bug Report
I cannot enable light mode by default, even though I have both
disableDarkMode: false, defaultDarkMode: false
I have tried playing around with both options. No luck.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Can't switch dark mode to light mode - Apple Community
Well I got it to work by turning off true tone then turning it back on. THEN click light mode and it switched...
Read more >My phone suddenly switched to dark mode and the setting ...
Enable developer mode and then go to System, click Advanced, click Developer Options, set Night Mode to "Always Off." Now you can enable...
Read more >2022 Fix: Youtube Dark Mode not working - How to enable it
Get DriverFix for FREE to always keep your drivers up to date: ... Fix: Youtube Dark Mode not working / How to enable...
Read more >How to Always Use Dark Mode or Light Mode for Any App on ...
Step 2Set Apps to Always Use Dark or Light Mode · Tap "Choose" next to "App." · Check all of the apps you...
Read more >How to disable night mode in my application even if night ...
Another solution I think is that you can have a Light theme, and put it in both style.xml in the values and values-night...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@EthanSK what do you think of this PR?
https://github.com/facebook/docusaurus/pull/2939
Hi @EthanSK
Can you also verify that your computer/browser does not indicate a color scheme preference?
This per-user preference overrides the Docusaurus default.
You can know if you prefer the dark mode by running:
window.matchMedia('(prefers-color-scheme: dark)').matches