foundation-sites
foundation-sites copied to clipboard
$header-styles forces REM - not possible to use EM, PX, ...
Maybe not an issue, but probably a thing to be discussed.
No matter if you set
$header-margin-bottom: 0.5em;
or
$header-margin-bottom: 15px;
or
$header-margin-bottom: 0.5rem;
https://github.com/foundation/foundation-sites/blob/8846fdad0289d1a0a80929c92a4245fcb781c662/scss/typography/_base.scss#L330
will convert it to REM.
Why is this? From my point of view: I want to have the control over the unit. It's totally fine for me to set $header-margin-bottom: 0.5rem !default; but taking me out of control by converting each other format isn't that great..