Layout & Design

Framer Update: Light & Dark Mode

Framer Update: Light & Dark Mode

Framer Update: Light & Dark Mode

Benjamin

·

5:45

·

27K views

·

About this lesson

Introducing Color Styles with Themes. Design websites with a light and dark mode with ease—simply define color styles with both a light and dark value, then use within your layouts, text styles, components, effects, and more. Remix the Blog Template here: https://blog-themes.framer.wiki/

🌞 Try Framer for free: https://framer.com

🎉 Follow on Twitter: https://twitter.com/framer

💎 Join Community: https://www.framer.community

0:00Yo, my name is Benjamin and in this0:03video I'm very excited to introduce all0:05new color styles with support for0:09theming. This allows you to define a0:11color palette both for a light mode and0:14a dark mode. So you can design websites0:17that match the appearance settings of0:20your device or operating system. In0:22Framer, you simply design your color0:24palette once and then you can use it0:26throughout your entire project, even0:29within animations. So, let's dive into0:32our demo project, which is a simple blog0:35template. And this file is set up using0:37our CMS. So, here we have the index0:41page, and over here we have the detail0:44pages. And we can use the new color0:47styles with theming support to design0:49both a light and a dark mode version of0:52our blog. I'll select our homepage and0:55head over to the fill property.0:58As you can see, the fill property is1:00currently set to white. So, we're not1:03using a color style just yet. In this1:06release, we also redesigned this UI,1:09placing the color styles front and1:12center while always allowing you to1:14customize the color by keeping the1:16picker open as well. So, let's create a1:19new color style for our page background.1:23Here, we can give our color style a1:25name. But you might also notice there's1:28now a brand new control in which we can1:31define both a light and a dark version1:34of our color style. On dark mode, we1:37would like our page background color to1:39be black instead of white. So we have a1:42single color style with two unique1:44values. So let's create this color1:47style. And as we do so, it gets added to1:50the bottom of our list. I already have1:53defined a few styles within this1:55project, but we can simply sort them to1:58reorganize. Now, as you can also tell by2:01looking at the property panel, we're now2:03using the backdrop style instead of a2:06plain white value for the fill property2:09of our homepage. These new color styles2:12can also be used within text styles. So2:16here we have an H1 style called title2:20and it uses the titles color style and2:24that color style also has themes. It's2:28black on light mode and it's white on2:31dark mode. This is a really powerful2:33workflow as now we can simply assign2:36this text style anywhere knowing that2:39the text layers will work well on both2:41light and dark mode. And these new color2:44styles work practically anywhere in2:46Framer.2:48For example, we can also use them within2:51effects. So here we have a collection2:54list and each row has a simple hover2:58effect. And within the hover effect, we3:00can animate the fill property. And3:03instead of using a solid color, we can3:06animate to a color style. And that color3:09style can have themes as well. I think3:12it's pretty magical how easy it now is3:14to design animations and interactions in3:17Framer that work well on both light and3:20dark mode. In this release, we also made3:23a lot of tweaks to the assets panel in3:26Framer. It's now easier to differentiate3:29text styles from link styles. Plus, you3:33can now find all of your color styles in3:35here as well.3:37You can even create new color styles3:40right from within the styles menu. To3:43edit a color style, you can simply3:45select it right from within this panel.3:48And this also allows you to customize3:51the light and dark values. It's a really3:54quick way to iterate on your websites as3:58now any layer that uses any of these4:00color styles can be customized from4:03within the assets panel. I can also4:06rightclick on any color here to rename,4:10duplicate, delete, or clear the dark4:14style. You can also use color styles4:17without any theming functionality. If4:20you simply define a single color value,4:23it will still work great as a reusable4:26style. Finally, there's now a new icon4:29in the canvas toolbar here that you can4:32click to toggle between dark and light4:35mode. This not only sets the app UI, but4:39it also now updates all the color styles4:42to their matching theme, meaning you can4:45quickly see what your website will look4:47like in each respective theme without4:50having to preview or publish. And this4:53even works outside of web pages in4:56Framer. I can also use this on the4:58canvas. For example, here I have a5:01simple canvas note that I can now design5:04to work well in both dark and light5:06mode, ensuring the instructions remain5:09legible and matching the user5:12preference. And that's pretty much it5:14for this video. This has been one of our5:17most requested features, so we're super5:19excited to get this out there. Thank you5:22so much for watching. I hope you enjoyed5:25the video and stay tuned for more5:28updates coming soon.5:33[Music]

Watch on YouTube ↗

More in this topic

8 Framer shortcuts you're probably sleeping on4:19
8 Framer shortcuts you're probably sleeping on
Layout & Design3K views · 2 months ago
Framer Update: Stack Sorting and Bento Grids2:16
Framer Update: Stack Sorting and Bento Grids
Framer Update7K views · 2 months ago
Sharing Vector Sets Across Projects (Vectors Lesson 7)3:41
Sharing Vector Sets Across Projects (Vectors Lesson 7)
Layout & Design1K views · 3 months ago
Connecting Vector Sets to the Framer CMS (Vectors Lesson 6)3:38
Connecting Vector Sets to the Framer CMS (Vectors Lesson 6)
Layout & Design2K views · 3 months ago
Animating Vectors in Framer (Vectors Lesson 5)4:25
Animating Vectors in Framer (Vectors Lesson 5)
Layout & Design4K views · 3 months ago
Customizing Vectors with Variables in Framer (Vectors Lesson 4)4:59
Customizing Vectors with Variables in Framer (Vectors Lesson 4)
Layout & Design3K views · 3 months ago
Replace component instances site-wide in Framer1:39
Replace component instances site-wide in Framer
Layout & Design4K views · 4 months ago
Creating and Organizing Vector Sets in Framer (Vectors Lesson 3)6:58
Creating and Organizing Vector Sets in Framer (Vectors Lesson 3)
Layout & Design3K views · 4 months ago

Create a free website with Framer, the website builder loved by startups, designers and agencies.