In this short course, you’ll learn how to create a switcher to enable users to switch between dark and light mode on a website.
► Download dark mode scripts and plugins from CodeCanyon: https://codecanyon.net/search/dark%20mode?utm_campaign=yt_tutsplus_Xk12JtYG8rw&utm_medium=referral&utm_source=youtube.com&utm_content=description
Nowadays, both macOS and Windows support dark and light UIs; iOS and Android do the same for other devices. And an increasing number of websites allow users to switch between dark and light modes (many people find darker UIs easier on the eyes, and even on energy bills!).
Learn how to create a dark mode switcher using CSS and JavaScript in this video. Here's what we'll cover:
00:00 Welcome to the course!
03:07 The project so far
07:07 Creating and styling the theme switcher
17:12 Adding a dark theme to our page
24:51 Making the Theme Switcher Functional
Relevant Links:
• Source Files: https://github.com/tutsplus/Creating-a-Dark-Mode-Switcher-with-CSS-and-JavaScript/archive/refs/heads/main.zip
• Can I Use prefers-color-scheme: https://caniuse.com/prefers-color-scheme
• Can I Use CSS Variables: https://caniuse.com/css-variables
• Entypo+ Icon Set: https://iconset.io/set/entypo
• Ionicons Icon Set: https://iconset.io/set/ionicons
• How to Create a WordPress Coming Soon Page: https://webdesign.tutsplus.com/tutorials/elementor-coming-soon-page-for-wordpress--cms-36633?utm_campaign=yt_tutsplus_Xk12JtYG8rw&utm_medium=referral&utm_source=youtube.com&utm_content=description
• Chair Image: https://elements.envato.com/chair-JTDVE8K?utm_campaign=yt_tutsplus_Xk12JtYG8rw&utm_medium=referral&utm_source=youtube.com&utm_content=description
• Armchair Logo: https://elements.envato.com/logo-armchair-furniture-chair-negative-space-style-ZVX9PE?utm_campaign=yt_tutsplus_Xk12JtYG8rw&utm_medium=referral&utm_source=youtube.com&utm_content=description
• modern-normalize: https://github.com/sindresorhus/modern-normalize
• Poppins Font: https://fonts.google.com/specimen/Poppins
► Download unlimited photos, fonts, and templates with Envato Elements: https://elements.envato.com/?utm_campaign=yt_tutsplus_Xk12JtYG8rw&utm_medium=referral&utm_source=youtube.com&utm_content=description
Read more web design tutorials on Envato Tuts+: https://webdesign.tutsplus.com/?utm_campaign=yt_tutsplus_Xk12JtYG8rw&utm_medium=referral&utm_source=youtube.com&utm_content=description
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Envato Tuts+
Discover free how-to tutorials and online courses. Design a logo, create a website, build an app, or learn a new skill: https://tutsplus.com/?utm_campaign=yt_tutsplus_Xk12JtYG8rw&utm_medium=referral&utm_source=youtube.com&utm_content=description
Envato Elements
All the creative assets you need under one subscription. Customize your project by adding unique photos, fonts, graphics, and themes.
► Download Unlimited Stock Photos, Fonts & Templates with Envato Elements: https://elements.envato.com/?utm_campaign=yt_tutsplus_Xk12JtYG8rw&utm_medium=referral&utm_source=youtube.com&utm_content=description
► Subscribe to Envato Tuts+ on YouTube: https://www.youtube.com/tutsplus
► Follow Envato Tuts+ on Twitter: https://twitter.com/tutsplus
► Follow Envato Tuts+ on Facebook: https://www.facebook.com/tutsplus
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -