Skip to content
BlinkpageBlinkpageDocs

Design tab

Change colors, spacing, typography, borders, and layout for any element, for each breakpoint and each state.

On this page

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

  1. Select a section

    Click a section on the canvas.

  2. 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 Design tab with the hero title selected and the Tree View on the left.

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

  1. Pick a layer

    In the Tree View, click the layer you want. You can also click the element on the canvas.

  2. 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

  1. Open the group

    Click Size or Spacing. Size holds Width and Height. Spacing holds Padding and Margin.

  2. Enter a value

    Type a number and pick a unit: px, rem, %, em, vw, or vh. Width and Height also accept auto. When the parent lays out its children in a row or column, they accept hug and fill too.

  3. 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

  1. Open Typography

    Select a text element, then open Typography.

  2. Set the font

    Pick a font in the font list. Click Add Custom Font to upload your own.

  3. Set size and spacing

    Fill in Font Weight, Size, Line Height, and Letter Spacing. Pick a text color.

  4. 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

  1. Switch the breakpoint

    Above the groups of controls, click Desktop, Tablet, or Mobile. The canvas resizes to match.

  2. 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.

Switch the breakpoint above the groups of controls. The canvas follows.

#Style hover and other states

  1. Open States

    Open the States group under the breakpoint switcher.

  2. 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.

  3. 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.

Pick a state under Pseudo States to style the element in that state.

#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.

#Next steps

Edit this page(opens in a new tab)