Layout & Design
Joseph
·
6:30
·
27K views
·
About this lesson
Color styles in Framer have a major trick up their sleeve — the ability to split them between themes for light and dark mode. Which means a single Color Style can dynamically switch theme’s to display based on your visitor's device settings.
If a user’s device is set to light mode, your site loads the light theme. And if their device is set to dark mode, your site automatically loads the dark theme instead.
Let’s take a look at how crazy easy it is to make this happen in Framer.
https://www.youtube.com/watch?v=aR81Mx5a4As&t=0s Intro
https://www.youtube.com/watch?v=aR81Mx5a4As&t=7s How light and dark mode color styles work in Framer
https://www.youtube.com/watch?v=aR81Mx5a4As&t=30s Editing color styles for dark mode
https://www.youtube.com/watch?v=aR81Mx5a4As&t=68s Toggling between light and dark mode on the canvas
https://www.youtube.com/watch?v=aR81Mx5a4As&t=109s Applying dark mode colors to content and surfaces
https://www.youtube.com/watch?v=aR81Mx5a4As&t=163s Why functional names matter for color styles
https://www.youtube.com/watch?v=aR81Mx5a4As&t=198s Publishing and testing theme switching in the browser
https://www.youtube.com/watch?v=aR81Mx5a4As&t=220s Creating static colors that don’t change between themes
https://www.youtube.com/watch?v=aR81Mx5a4As&t=288s Converting a dynamic color style into a static one
https://www.youtube.com/watch?v=aR81Mx5a4As&t=360s Wrap up
🌞 Start for free: https://framer.link/yt
📚 Learn more at: https://framer.link/yt-academy
💎 Join the Community: https://framer.link/yt-community
🎉 Follow on X: https://framer.link/yt-x