1
2
3
4
5
6
7
8
9
"1"
to "9"
, which correspond to the steps in the scale below.
Step | Base value |
---|---|
1 | 4px |
2 | 8px |
3 | 12px |
4 | 16px |
5 | 24px |
6 | 32px |
7 | 40px |
8 | 48px |
9 | 64px |
Space scale tokens
Space scale tokens can also be accessed using CSS variables. You can use these tokens to style your custom components, ensuring they are consistent with the rest of your theme.Scaling
Values that affect layout (spacing, font size, line height) scale relatively to each other based on thescaling
value defined in your Theme. This setting allows you to scale the UI density uniformly across your entire application.
Scaling factor
The scaling factor token can be accessed using the--propel-scaling
CSS variable. If you need to use different scaling factors in your app, you can use this token in your custom styles, ensuring they are consistent with the rest of your theme.