News for hackers. Stuff that matters.
Re:Dark mode in a website with CSS by skunkworker on Tuesday October 08, 2019 @04:22PM (#21196760)
I currently use 'DARK READER' for hacker news and it works quite well using the 'Filter+' theme engine.
Re:Dark mode in a website with CSS by ehsankia on Tuesday October 08, 2019 @04:29PM (#21196867)
Re:Dark mode in a website with CSS by kristofferR on Tuesday October 08, 2019 @05:29PM (#21197483)
I've put an updated version here. This updated version is an UserCSS, which means it can be automatically enabled/disabled based on system Dark Mode setting.

https://raw.githubusercontent.com/kristofferR/userstyles/mas...

Re:Dark mode in a website with CSS by ehsankia on Wednesday October 09, 2019 @12:31AM (#21200038)
Awesome, and I see you fixed the vote button colors.
Re:Dark mode in a website with CSS by _bxg1 on Tuesday October 08, 2019 @04:27PM (#21196839)
The problem with browser extensions is that they're a massive security risk.
Re:Dark mode in a website with CSS by skunkworker on Tuesday October 08, 2019 @04:42PM (#21196998)
On some sites I've used it to get a good baseline then export the CSS and modify it from there.
Re:Dark mode in a website with CSS by _bxg1 on Tuesday October 08, 2019 @04:49PM (#21197077)
How do you get your browser to even load custom CSS without an extension?
Re:Dark mode in a website with CSS by skunkworker on Tuesday October 08, 2019 @04:55PM (#21197163)
Without an extension, I don’t know an easy way. You could just build your own extensions from scratch and load it there. I used it to style my own sites for dark mode.
Re:Dark mode in a website with CSS by saagarjha on Tuesday October 08, 2019 @04:56PM (#21197168)
In my browser, Preferences > Advanced > Style sheet.