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
Code examples on website are shown in light and dark mode always #2981
Comments
@uvd540 Thanks for the bug! Very interesting I'm not able to repro on FF 124.0.1 on windows. I'll do a little digging on what's going on, possibly a bug in FF? What does Chrome/Safari show for you? |
I can reproduce it on browserstack with:
Things only appear to work as intended at Monterey/Safari 15 I think it relates to this pseudo class selector using a This feature comes pre-bundled with Docusaurus v3 which we use for documentation, I'll see if their issue tracker has anything relating to this. @kamranayub any ideas? |
It looks like we've fallen off the older safari support by default in browserlist https://docusaurus.io/docs/browser-support
|
@uvd540 @mattjennings I've opened an issue against docusaurus for this facebook/docusaurus#10074 I'm going to close this issue as wont fix for now. |
Steps to Reproduce
Expected Result
Only see the light/dark code examples based on dark mode preference
Actual Result
Seeing both code examples no matter what mode is selected
Environment
Current Workaround
None
The text was updated successfully, but these errors were encountered: