Hacker News new | ask | show | jobs
by CodeHz 1935 days ago
You can achieve it without CSS actually (in chrome) Just put <meta name="color-scheme" content="light dark"> to <head> It will also make vanilla scrollbar into dark theme
1 comments

That is freaking awesome. I learned something new today and it is much simpler than trying to manage inverted colors in CSS.