You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Disqus auto-detects a site's color scheme and displays the embed with the appropriate contrast. When the color scheme is manually toggled via the theme's light/dark mode switcher, the Disqus embed is not toggled with it to the opposite color scheme and is difficult to read.
To Reproduce
Steps to reproduce the behavior:
Load a post with Disqus comments. The embed should look good.
Toggle the color scheme to the opposite one without reloading the page.
The embed should now have multiple elements with insufficient contrast.
Reload the page and the color scheme that was just not working should show sufficient contrast.
Expected behavior
The body of the iframe embed has a class light or dark which controls the color scheme. Target this element with JS and toggle the class when the dark/light mode switch is toggled by a user.
The text was updated successfully, but these errors were encountered:
Describe the bug
Disqus auto-detects a site's color scheme and displays the embed with the appropriate contrast. When the color scheme is manually toggled via the theme's light/dark mode switcher, the Disqus embed is not toggled with it to the opposite color scheme and is difficult to read.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The body of the iframe embed has a class
light
ordark
which controls the color scheme. Target this element with JS and toggle the class when the dark/light mode switch is toggled by a user.The text was updated successfully, but these errors were encountered: