react-gradient-color-picker icon indicating copy to clipboard operation
react-gradient-color-picker copied to clipboard

Restore behavior of disableDarkMode after commit 99ad3eb regression

Open PierreAtUptale opened this issue 11 months ago • 1 comments

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.

PierreAtUptale avatar Mar 11 '24 16:03 PierreAtUptale

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.

hxf31891 avatar Apr 25 '24 10:04 hxf31891

this should be fixed as of 3.0.10

hxf31891 avatar Jul 19 '24 08:07 hxf31891

Looks like it's not fixed. I'm on 3.0.10 and it doesn't seem to work.

n3nikita avatar Aug 26 '24 20:08 n3nikita