Layout & Design

Link and Color Styles in Framer (Fundamentals Lesson 18)

Link and Color Styles in Framer (Fundamentals Lesson 18)

Link and Color Styles in Framer (Fundamentals Lesson 18)

Joseph

·

9:37

·

25K views

·

About this lesson

In a perfect world, we make flawless decisions about colors and typography from the very beginning and scale our designs without making any mistakes. But in the real world, design is an iterative process and inconsistencies are time consuming to stay on top of as we evolve the aesthetics of our sites.

This is where “Styles” in Framer come in, allowing us to define presets for colors, text, and more — then apply those presets to the elements across our site. Then where the real magic happens, is that we can later redefine those styles to make global changes with flawless consistency throughout our entire site… with just a click or two.

Now let’s take a look at how to create, apply, manage, and edit styles in Framer.

https://www.youtube.com/watch?v=XqwmFB_GhLs&t=0s Intro

https://www.youtube.com/watch?v=XqwmFB_GhLs&t=9s Why use styles in Framer

https://www.youtube.com/watch?v=XqwmFB_GhLs&t=17s Types of styles in Framer

https://www.youtube.com/watch?v=XqwmFB_GhLs&t=29s Recap of link styles

https://www.youtube.com/watch?v=XqwmFB_GhLs&t=64s Creating and editing a link style

https://www.youtube.com/watch?v=XqwmFB_GhLs&t=127s Managing link styles in the Assets panel

https://www.youtube.com/watch?v=XqwmFB_GhLs&t=173s Creating color styles

https://www.youtube.com/watch?v=XqwmFB_GhLs&t=207s Naming conventions for color styles

https://www.youtube.com/watch?v=XqwmFB_GhLs&t=249s Applying existing color styles

https://www.youtube.com/watch?v=XqwmFB_GhLs&t=353s Detaching from a color style

https://www.youtube.com/watch?v=XqwmFB_GhLs&t=387s Editing color styles in the Assets panel

https://www.youtube.com/watch?v=XqwmFB_GhLs&t=428s Organizing styles with folders

https://www.youtube.com/watch?v=XqwmFB_GhLs&t=539s Deleting unused styles

https://www.youtube.com/watch?v=XqwmFB_GhLs&t=553s 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

0:00in a perfect world we make Flawless0:02decisions about colors and typography0:04from the very beginning and scale our0:06designs without making any mistakes but0:09in the real world design is an iterative0:11process and inconsistencies are0:13time-consuming to stay on top of as we0:16evolve the Aesthetics of our sites this0:18is where Styles in framer come in0:21allowing us to Define presets for colors0:23text and more then apply those presets0:26to elements across our sites then where0:28the real magic happens is is that we can0:30later redefine those styles to make0:32Global changes with flawless consistency0:35throughout our entire site with just a0:38click or two let's take a look at how to0:40create apply manage and edit Styles in0:45[Music]0:47framer before we jump into setting up0:49some Styles let's take a quick look at0:51the different types you can create in0:54framer we have link Styles which we0:57talked about in an earlier lesson on0:58links text Styles which I mentioned in1:01the previous lesson on text and we'll1:02dig into today color styles which will1:05be new to you and CMS Styles which we're1:08going to save for another course on the1:10framer CMS each is somewhat unique but1:13fundamentally they have a lot in common1:15let's unpack how each one works I'll1:18start with a quick little recap of Link1:19Styles which we talked about a couple1:21lessons back I'm going to select this1:23first layer in my Navar and add a link1:26on the properties panel I'll just link1:28it to framer dcom so that it actually1:30goes somewhere and when you add a link1:33to a text layer or a range of text1:35specifically you'll see a property1:37called style here and we can click to1:39open this modal and if you haven't1:40created a link style in this project1:42before one will be created and applied1:44automatically which is exactly what just1:46happened unlike other text text links1:49are actually required to have a link1:51style applied from the links model here1:54we can create a new style select an1:56existing style or edit an existing style1:59here we've just got this one link style2:01that I've created so far so I'm just2:02going to edit that one and instead of2:04using blue for the color I'll change it2:07to some sort of neutral gray to be more2:09cohesive with our theme here and then2:11I'll head back and on Hover we'll just2:13go solid black then for the current2:16state I'll go black as well so if we're2:18currently looking at the page it'll look2:20pretty much the same as if we're already2:22hovering on it so now if I'm happy with2:24that link style I can go back and uh2:27personally I would like to rename this2:28because once I have multiple link Styles2:30I want to be able to tell them apart so2:32I'm just going to double click here and2:34I'm going to name this nav link just to2:37keep it straight for myself later now2:39when I select my other two NAB items and2:42I add a link to those again I'll just2:44link to framer dcom you see they2:46instantly take on the appearance of that2:47first nav link I did because we only2:49have one link style so that link Style2:52just got applied automatically but at2:54any time I can go in and edit this link2:57Style again and whatever changes I make2:59here will apply to all of the links that3:02share this link style all in one swoop3:05and we can also manage our link styles3:07by going to the asset panel and you'll3:09find all of your Styles here in the3:11style section of the asset panel so3:13here's my nav link I can click the3:15little overflow menu here where I can3:17find layers that are using the style I3:19can rename the style I can duplicate the3:21style or up above I can click the plus3:23sign to create a new style without even3:25having to have a link selected I can3:28create a text style without having to3:29grab some text I can create a link style3:31without having to grab a link and then3:32we also have block quotes and code which3:34I didn't mention earlier cuz they're a3:36lot like text Styles but they're3:37specific to block quote text or code3:40text and then we also have color styles3:43and CMS Styles here so again the assets3:46panel is home to all of your Styles and3:48that's the place you'll go most of the3:50time to manage your existing Styles now3:53let's look at color styles even a simple3:55landing page is sure to have enough3:57colors and layers to make Global changes3:59major chore even this basic black and4:02white example page already has a bunch4:04of layers and at least four unique color4:07fills I'm going to start by creating a4:09color style for our whole background4:11color here which is applied to the4:12breakpoint I believe if I head down here4:15I can see that I have a fill that my4:16fill is this color and if I click to4:19open the color popover there's a button4:20at the bottom that allows me to create a4:22new style and when I click new style I4:25can now give this a name now there are a4:27few different ways to approach naming4:28your color styles I could name this4:30color for what it actually appears to be4:32I could name it gray or I could name it4:34light gray or lightest gray using4:36subjective terms like that light lighter4:38lightest I don't really recommend but if4:41you use a number scale you can help keep4:43track of what is higher contrast and4:45what's lower contrast which is why4:46sometimes you'll see colors that end4:48with 500 or a th000 or 50 at the end4:51that's just a numeric system that helps4:54kind of take the subjectivity out of4:56what's the strongest in contrast versus4:58what's the weakest contrast but in this5:00case I'm going to name this semantically5:02I'm going to call it surface and rather5:05than using the contrast scale I'm going5:07to name this surface zero because it's5:09the base level surface so with this5:11called surface zero I'm going to click5:13create and there I have it now I've got5:15a color style called surface zero I'll5:18do something similar for the cards I'll5:20select both of these and these are5:23already white so I don't need to do5:24anything there create a new style and5:26name this surface one since these are5:29one level higher now for this next one5:32let's say I want to grab the black5:34that's being used for my text here I'm5:36going to head down choose the color of5:39the text and when I create a new style5:41for this one I'm instead going to name5:43this content and I'm going to name it5:45content 100 because it's 100% I would5:49name this black 100 perhaps 100% solid5:52black but again I might change the color5:54later it might not always be black so in5:56this case I'm more naming it5:58semantically based on what it's used for6:00it's used for Content so content 100 and6:04I'll click create now I've got a few6:06other layers that seem to share the same6:09color and if I think they're always6:10going to share the same color like the6:12background of this button for example I6:14can go and apply that same color style6:17so again bring up the Color Picker and6:19instead of creating a new style this6:21time I will select the existing one6:23content 100 I can do the same for this6:25black card over here and the Color6:27Picker stays open for me which is really6:29nice I'll do the same for this button6:31I'll do the same for this button I guess6:33I would theoretically do the same for6:35this text here and this text here6:37because those both appear to be black as6:39well as the footer down here so let me6:41do that text first content 100 and the6:45footer I'll grab and I'll set that to6:48content 100 as well and if you decide6:51that you don't want an element to be6:53connected to a color style anymore6:55perhaps you want to change it and not6:56change everything else or change6:58everything else and not change it there6:59are a couple of different ways to detach7:02one is just to remove the color fill and7:04reestablish a color fill or you can open7:06the Color Picker and any change you make7:08up here will instantly detach from the7:11color style you'll notice when I click7:13content 100 content 100 is highlighted7:16it appears to be selected but as soon as7:18I make a change up here it's no longer7:20highlighted I've deviated from the color7:22style down here and instead I've7:24manually chosen a color up here now7:27let's look at how to edit and manage our7:29existing color styles I'm going to jump7:31ahead to another version of this7:32document where I've already created some7:34additional color styles and applied them7:36to the corresponding layers let's start7:38with the real magic editing the color7:40associated with a color style so I'm7:41going to head over here to the assets7:43panel I'm going to find my color styles7:46and I'm going to Mouse over content 1007:49and when I click it since I'm on the7:50assets panel it's not going to apply it7:52to anything it's instead going to open7:54up the properties of that style and here7:57all I need to do is make a change and7:59I'm redefining the color associated with8:02that style so my changes are applying on8:04the canvas automatically in real time8:08and when I'm done I can just close this8:11then back over here on the assets panel8:12if I decide that I want things to be a8:14little more organized which will8:16inevitably happen down the road when we8:18have more and more of these color styles8:20accumulating we can come up to the color8:22folder click the Ellipsis and we can8:24create a new folder for ourselves you8:26can also sort things alphabetically8:28which can help manage the cha8:30but I'm going to create a new folder and8:31I'm going to name this folder content8:34and then I can drag in all of my content8:37related8:39Styles another way to go about this is8:42when you're creating or editing the name8:44of a style you can also type a Word and8:48then a slash to create a folder so boom8:51I just created a surface folder and I8:53could have done that when I originally8:54named the color style as well and then8:57I'll drop surface one in there so things8:58are nice and tidy9:00and if at any point you decide you don't9:02need a color style anymore and you want9:03to delete it and detach it from all of9:05the layers and properties that it's9:07connected to you can also click the9:08Ellipsis icon next to the name of the9:10style and you can choose9:12delete that does it for part one now you9:15know what styles are all about and how9:17to create edit and manage link and color9:20styles now we're on to part two where9:23we'll dive into Tex Styles I'll see you9:25there

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.