rugk/website-dark-mode-switcher

Bootstrap 5 Dark Mode has incorrect gradient/fades applied

nogweii opened this issue · 1 comments

Affected website: Anyone using the https://github.com/vinorodrigues/bootstrap-dark-5 CSS library

Bug description

Something to do with the removal of the light mode CSS causes an ugly white fade out to be left behind, when it should be the opposite.

Steps to reproduce

  1. Go to https://vinorodrigues.github.io/bootstrap-dark-5/examples/cheatsheet-dark.html

Screencast/Screenshots

image

Rendering correctly in an empty Firefox profile and dark mode set in the preferences

image

Rendered incorrectly in Firefox with privacy.resistFingerprinting and this extension installed

Expected behavior

I'd hope it's possible to fix this, and not leave the broken fades.

System

Operating system and version: Windows 10
Browser and version: Firefox 94.0.1
Add-on version: 1.2

rugk commented

So the issue only happens with privacy.resistFingerprinting?

Hmm, I have no clue why that influences the stuff.