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
Astro v4.5.12 Node v18.16.1 System Windows (x64) Package Manager npm Output server Adapter @astrojs/node Integrations none
No response
The errorOverlay's themeSwitch does not work as expected.
astroErrorOverlayTheme
isDark
localStorage.astroErrorOverlayTheme === 'dark' || this?.classList.contains('astro-dark')
errorOverlay's themeSwitch works correctly
https://stackblitz.com/edit/github-xx2wzh
The text was updated successfully, but these errors were encountered:
PR is here: #10661
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
Issue
The errorOverlay's themeSwitch does not work as expected.
How to reproduce
Prerequisites
astroErrorOverlayTheme
now.Steps
Video
astro-error-overlay.-.Compressed.with.FlexClip.mp4
Reason
isDark
should belocalStorage.astroErrorOverlayTheme === 'dark' || this?.classList.contains('astro-dark')
What's the expected result?
errorOverlay's themeSwitch works correctly
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-xx2wzh
Participation
The text was updated successfully, but these errors were encountered: