scss-library/components/00_Tools/_spacing.styl

5 lines
234 B
Stylus

calc_height(base-height=100%)
'calc(%s - (2 * var(--inner-spacing)) - (2 * var(--outer-spacing)))' % base-height
calc_width(base-width=100%)
'calc(%s - calc(2 * var(--inner-spacing)) - calc(2 * var(--outer-spacing)))' % base-width