Closed PierreAtUptale closed 4 months ago
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.
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 theprefers-color-scheme
media value set todark
. 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.