π Spaces
The spaces foundation provides bottom margins to manage vertical rhythm across components.
Each spacing variation is defined through a mixin and compiled into a foundation class that follows the naming convention:
.f--sp-{variation}
π§ How to use it
Section titled βπ§ How to use itβIn HTML
<div class="f--sp-a">Spacing A</div><div class="f--sp-c">Spacing C</div>
In SCSS
- Extending the generated foundation class β preferred method:
.c--component-a { @extend .f--sp-b;}
- Using the mixin directly β only if strictly necessary:
.c--component-a { @include make-sp-b();}