josephfrazier / reported-web

Web front-end for https://twitter.com/Reported_NYC: https://reported-web.herokuapp.com
https://reported-web.herokuapp.com
MIT License
10 stars 1 forks source link

Add dark mode #471

Open josephfrazier opened 1 year ago

josephfrazier commented 1 year ago

See https://reportedcab.slack.com/archives/C9VNM3DL4/p1692087071429079:

Have we ever considered supporting dark mode? Sometimes I’m filing complaints late at night and I wish

I'm curious, do you know if your browser automatically indicates a preference for dark mode at night? I'm asking because the webapp uses a pretty simple css framework, and I've found a similar one that will automatically use dark mode if preferred by the browser, so I'm hoping I could just drop that in and not have to add in other code to support switching between the two

Yeah I’m pretty sure Safari on iOS just auto switches if it’s available!


Commits at PR open: