Design tab
Change colors, spacing, typography, borders, and layout for any element, for each breakpoint and each state.
On this page
- Open the Design tab
- Select a section
- Open the tab
- Choose an element
- Pick a layer
- Check the selection
- Apply a global class
- Change spacing and size
- Open the group
- Enter a value
- Set each side
- Change typography
- Open Typography
- Set the font
- Set size and spacing
- Set alignment and style
- Style for each breakpoint
- Switch the breakpoint
- Change a value
- Style hover and other states
- Open States
- Pick a state
- Change a value
- Reset styles
- Next steps
The Design tab controls how the selected element looks. Every change applies to the element you picked, for the breakpoint and state you choose.
#Open the Design tab
Select a section
Click a section on the canvas.
Open the tab
In the right panel, click Design. The left panel changes from Blocks to a Tree View of the layers in the section.
The groups of controls are Layout, Size, Spacing, Typography, Border, Appearance, Background, Shadow, Placement, Effects, and Custom. Which groups show depends on the element. Layout, Size, and Typography start open. Click a group name to open or close it.
#Choose an element
Pick a layer
In the Tree View, click the layer you want. You can also click the element on the canvas.
Check the selection
The controls in the right panel now apply to that layer.
The Computed Style button in the Tree View header opens a read-only list of the resolved values of the selected layer.
#Apply a global class
Use the Add New Class field at the top of the Design tab to attach a class to the selected layer. The list Existing Classes shows the classes of your project. Create classes in Theme Settings. See Theme system.
#Change spacing and size
Open the group
Click Size or Spacing. Size holds Width and Height. Spacing holds Padding and Margin.
Enter a value
Type a number and pick a unit:
px,rem,%,em,vw, orvh. Width and Height also accept auto. When the parent lays out its children in a row or column, they accept hug and fill too.Set each side
Padding and Margin start with Vertical and Horizontal fields. Click the button next to them to set the top, right, bottom, and left sides one by one.
#Change typography
Open Typography
Select a text element, then open Typography.
Set the font
Pick a font in the font list. Click Add Custom Font to upload your own.
Set size and spacing
Fill in Font Weight, Size, Line Height, and Letter Spacing. Pick a text color.
Set alignment and style
Choose Left, Center, Right, or Justify. Use the style buttons for Bold, Italic, and more. More Text Options adds text case, such as UPPERCASE or Capitalize, and overflow options, such as Ellipsis.
#Style for each breakpoint
Switch the breakpoint
Above the groups of controls, click Desktop, Tablet, or Mobile. The canvas resizes to match.
Change a value
Edit any control. The change applies to the breakpoint you chose.
Tablet and Mobile show the Desktop value until you set one of their own. A field that follows Desktop shows an Inherited label, and a field that shows the default of the element shows Default. Type a value to override it for the current breakpoint.
#Style hover and other states
Open States
Open the States group under the breakpoint switcher.
Pick a state
Under Pseudo States, choose None or Hover. Click the plus button (More Pseudo States) to add Active, Focus, First Child, and Last Child.
Change a value
Edit any control. The change applies only while the element is in that state.
Use Pseudo Elements to style a part of the element, such as before, after, or first-letter. Choose None to go back to the element itself.
#Reset styles
Each group shows a Reset button next to its name after you change it. Click it to return that group to its starting values for the current breakpoint and state. Other groups, breakpoints, and states stay as they are.