We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When browsing the website in light mode, the theme switches on every refresh.
Switch to light mode and refresh the website.
The website stays in light mode.
The website switches theme back to dark mode.
- Operating system: Tested in Chrome Android/mobile and Firefox on Mac.
The text was updated successfully, but these errors were encountered:
Never considered using light mode, but can confirm this. It's not ideal...
Sorry, something went wrong.
Related to just-the-docs/just-the-docs#1223
Looks like we might need to persist the choice in JS...
<script> if (localStorage.getItem('theme') === 'dark') document.documentElement.classList.add('dark-mode'); </script>
No branches or pull requests
Describe the Bug
When browsing the website in light mode, the theme switches on every refresh.
To Reproduce
Switch to light mode and refresh the website.
Expected Behaviour
The website stays in light mode.
Actual Behaviour
The website switches theme back to dark mode.
Additional Context
- Operating system: Tested in Chrome Android/mobile and Firefox on Mac.
The text was updated successfully, but these errors were encountered: