DEV Community

Discussion on: Dark mode: the "best" way (IMO)

idarek profile image
Dariusz Więckiewicz

I am interesting to see (struggling to find working easy solution) where @media is used in first place and button is changing with it. When user don’t what dark theme he can always click button to revert, but my default prefers-Color-Scheme taking charge. Any advise.