CSS THEME SWITCHER

Author:

  • Michelle Barker
  • February 18, 2019

Made with:

  • HTML / CSS (SCSS)

About the code:

This is a nice and cool Theme Switcher in which a user can click or tap on a button to reverse the colors of the site from dark text on a light background to light text on dark. There may be subtle changes too, like switching to a different highlight color to maintain sufficient contrast with the background.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: Yes

Dependencies:

Download Demo and Code Article