react-gradient-color-picker
react-gradient-color-picker copied to clipboard
Restore behavior of disableDarkMode after commit 99ad3eb regression
This change restores the functionality of disableDarkMode
prop, whose role is to prevent the automatic use of the dark mode stylesheet if the browser has the prefers-color-scheme
media value set to dark
. This was initially introduced to better integrate in application that do not have a dark mode, but this feature got broken in a subsequent change.
See #77.
There may be a better way of merging styles than using my of combineMultipleCssModules
utility, if anyone has any in mind.
I will take a peak at this ASAP and try and get that fixed for you. Theres has been a lot of complications bundling the styles for Next and thats limited my ability to interact with darkMode and make it accessible.
this should be fixed as of 3.0.10
Looks like it's not fixed. I'm on 3.0.10 and it doesn't seem to work.