News for hackers. Stuff that matters.
Re:Ask HN: Dark mode for HN please? by clairity on Friday May 15, 2020 @10:55PM (#23200078)
looks good!

to preview, folks can live edit this page in inspector and paste these styles into a style tag.

in firefox, F12 to open inspector, hit '+' in the style pane to insert a <style> tag (but don't add a rule), then right click the inserted tag in the inspector pane and "edit as html" to edit the html, and finally paste these styles inside the tag and click out of it.

Re:Ask HN: Dark mode for HN please? by rptr on Saturday May 16, 2020 @02:44AM (#23201028)
Yes there is much better way. Install Stylus plugin and copy and paste the same script (except meta tag) with rule on domain. And it just works fine across all instances of domain.