DEV Community

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

srezas profile image
SeyedReza SeyedMohseni

forget about the 1 line js code bla bla bla to turn website into dark mode. using css variables is the best way 👍

timmingau profile image
Tim Ming Author • Edited on

Its good to squeeze in every drop of performance :)