FREELessons: 18Length: 2.1 hours

Next lesson playing in 5 seconds

  • Overview
  • Transcript

4.1 Shared Styles

Gravit gives you the ability to create styles that can be shared between multiple items and updated across all instances in real time. Let’s see how the shared style system works in this lesson.

4.1 Shared Styles

Hi, welcome back to Gravit Designer Quick Start. In this lesson, we're gonna be looking at the shared style system in Gravit. This is really, really helpful. What it'll let you do is create an element, set up the styling of it, and then save the styling of that element into a style that can then be shared with other elements. This means that you can update one element that's using a shared style, synchronize it, and then all of the other elements are going to update as well. And plus, it makes it quick and easy to add new elements and then duplicate the style that's being applied to them. So, let's create a quick example. Let's put together a background for an image gallery. So just quickly, just gonna draw out a rectangle. We're gonna give it a curve cheddar background and we'll just give it a border, That's white and 10 pixels wide. So just a quick and easy background for an image gallery. Now what I can do is select this and then in the style section here, I can open this drop-down list, and I can go to Create new sheet style. I'll give it a name, good, image background or imageBT. Then you can see here it gonna say style, field, border and effect. Click that style, and now if I make a new shape. All I have to do is go up here to shade style and I can apply this image BG style, and then go, now it looks just like our original background. I can also make edits to any element that has this style applied to it so let's say I wanna give this a different background color like maybe a really cool blue for example. Now you can see the sink button has gone from being gray to being pink. So if i hit this button now and sink that style. And our original background has also become light blue too. So I'm just gonna delete those two and we'll have a quick look also a using it with text. This is one of the areas where it's going to be really, really useful, because you can create styles for headlines, for regular text, for block quotes, for anything else that you need in the UI. So let's say we make ourselves a heading. And we increase the font size. Choose a different font, let's go with something ornate. And we change it to bold. And we go with a different color. Now, I can create a new style, once again it's the same process. Just go to Create new shared style, give it a name, we'll go with, Headline. And now if I have some extra text, all I have to do is select that same style and it automatically gets applied. And it's the same deal again if I decide that I wanna change the style throughout the document. I can do that, and all I have to do is sync and all the instances of the shared style are updated in real time. If you find that you've created a style that you don't really wanna keep around anymore, then all you need to do is go down here to the drop-down list and choose Organize Shared Styles. And you can go ahead and delete any of the files that you already have. You also have the ability to hit this Settings button here so you can rename it to a new name. So that's how shape styles work in Gravit Designer. This is just a really quick lesson because the system is really quite straightforward, but its extremely powerful and this type of functionality can save you a ton of time, especially if you're doing UI design. Now speaking of saving time, in the next lesson we're gonna look at another one of the efficiency enhancing features that are built into Gravit Design and that is symbols. We briefly touched on earlier that in the libraries here, you have a whole bunch of different premade shapes and illustrations and icons and what have you that you can easily just drag and drop into your design. Where with symbols, you have the ability to create your own set of reusable design elements. So we're gonna check out how to use that system in the next lesson. I'll see you there.

Back to the top