LEANability Design-Tokens

The design system tokens are flexible and work cross-plattform. Think about a set of variable names, that can be used in every element on the page. You are able to define them in the configurations. The configuration of the used tokens can you see in the documentation at tailwindcss.com. Some of them are specialized for LEANability, these once you find here.

Colors

dark
dark
dark-darken
blue
blue
blue-darken
pink
pink-darken
pink
grey
grey
grey-darken
orange
orange
orange-darken
white
white
status
status-ok
status-error
status-warn
trainer
trainer-lightgrey
Usage

You can use the Colors with the ColorSelector in the editor or by the coresponding css-classes.

Spacing

The Spacing-System is available in the Backend as well (but will not apply always). So you can have a feeling how the space will look like on the Live-Page. Every root-element have a default spacing to the bottom (4rem or 64px). For vertical spacing in root-elements it is recommended to use at least 2rem or 32px. For this, simply apply the class “mb-8” to your element. Keep always consistency in mind. For elements which belongs to each other use the half.

Root Element
Child
Child
Child
Child
Page setup

Every Element should have a "save" space to their neigbours. Every root-element has a always space bottom.

0 0
px 1px
2 0.5rem
3 0.75rem
4 1rem
5 1.25rem
6 1.5rem
8 2rem
10 2.5rem
1 0.25rem
16 4rem
20 5rem
24 6rem
32 8rem
40 10rem
48 12rem
56 14rem
64 16rem
12 3rem
Usage

You can use the Spacing System by the given css-classes. Combine them with the effect you want to apply. See the example below, and also the documentation for margin and padding