Spacing
spacing
design tokens are applied in padding
and margin
properties. They are used to create a consistent spacing within and between components.
Name | Value |
---|---|
spacing-0 | 0
|
spacing-12 | 2px
|
spacing-25 | 4px
|
spacing-30 | 5px
|
spacing-35 | 6px
|
spacing-50 | 8px
|
spacing-75 | 12px
|
spacing-100 | 16px
|
spacing-125 | 20px
|
spacing-150 | 24px
|
spacing-200 | 32px
|
spacing-250 | 40px
|
spacing-300 | 48px
|
spacing-400 | 64px
|
spacing-half | 50%
|
spacing-full | 100%
|
spacing-horizontal-button | 12px - 1px
|
spacing-horizontal-button-icon-only | 6px - 1px
|
spacing-horizontal-button-large | 16px - 1px
|
spacing-horizontal-input-text-two-end-icons | calc( 8px * 2 + 1rem )
|
spacing-start-typeahead-search-figure | 12px
|
spacing-start-typeahead-search-icon | calc( 12px + ( 40px - 20px ) / 2 )
|
spacing-typeahead-search-focus-addition | calc( ( 12px + 40px ) - ( 20px + 8px ) )
|