CommentMay 4, 20171That's how I would do it Have a CSS class that would add styles to make website dark Toggle the class with JavaScript (on user action)What are some ways of implementing a togglable “dark mode” on a website?