Blog by Corentin


scss

Building a dark mode theme switcher in SCSS

Building a dark mode theme switcher in SCSS

Few years ago I made a simple tutorial to explain how to build a dark mode theme switcher in CSS . Today I want to update it and show you how to do it in SCSS and how to use the default system theme.