question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

(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:closed
  • Created 3 years ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
slorbercommented, Jun 15, 2020
1reaction
slorbercommented, Jun 3, 2020

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found