The Startup
Published in

The Startup

Dark Mode Switcher Using CSS Variables in LESS, SASS, or Vanilla CSS

Are you stuck with (LESS/SASS) pre-processor based color variables and looking around for solutions to implement dark mode?
You came to the right place!

Are you looking for an elegant way to implement a dark mode in your new project?
You came to the right place!

Are you looking for a way to listen to the operating system theme preference and switch your app’s theme accordingly?
You came to the right place!

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store