A quick CSS and Javascript walkthrough on how to detect user color theme preference and setup your website to support dark and light color scheme with the ability to toggle the desired theme.
[Source Code]
https://codepen.io/beforesemicolon/pe...
[Playlist]
UI/UX Tips & Tricks • Build Web Views & UI Elements
[Blog]
website = https://beforesemicolon.com/blog
medium = / beforesemicolon
[Follow Social Accounts]
Instagram = / before_semicolon_
twitter = / beforesemicolon
facebook = / beforesemicolon
codepen = https://codepen.io/beforesemicolon