From Dev.to
One Line in My Root Layout Turned 158 Static Pages Into 0
Dark mode on this blog has always had a tiny cheat in it. Before React loads, a little inline script reads your saved theme from localStorage and paints the page dark. It works, but it always felt lik...
