3 ms·
Look at the source of https://perfectmotherfuckingwebsite.com/ https://perfectmotherfuckingwebsite.com/. It literally takes that little effort (3 lines) to add
by nindalf 6y ago
Look at the source of https://perfectmotherfuckingwebsite.com/ https://perfectmotherfuckingwebsite.com/. It literally takes that little effort (3 lines) to add dark mode to a simple website. HN is a bit more complex but this is a tractable problem. Let’s not talk about “all the energy wasted” like we’re asking dang to solve the Travelling Salesman problem.
- deleted 6y ago[deleted]
- thrower123 6y agoThis is one of those kinds of things that looks simple, but turns into a land war in Asia by opening up endless bikeshedding and maintenance burden.
- nindalf 6y agoI tried the approach on my website - blog.nindalf.com. Seems to work alright. /* Assume light mode by default */ @import 'light.css' screen; /* Supersede with dark mode when applicable */ @import 'dark.css' screen and (prefers-color-scheme: dark);