[Feature] Add feature flag for opting out of baseline grid
csshugs opened this issue · 1 comments
Currently, the baseline grid is without any alternative. By default, each time a font-size is declared via the fluidms-font-size()
mixin, a line-height is also generated accordingly. However this could potentially lead to many line-height declarations in the compiled CSS. The advantage is that everything sits on the baseline grid. However, a baseline grid might not be needed in every project and could be considered as needless and unnecessary feature.
So the idea is to en-/disable the baseline grid via a Sass feature flag, so the user can decide if they need it or not. In case they don’t need it, a global unit-less line-height is set and the fluidms-font-size()
mixin does not output any line-height declarations. However, an optional line-height can still be defined in the mixin to override the globally defined line-height.