Make the font-size definition relative to the magic-unit value
Currently, when a user customizes the value of the variable $local-rem-value, the values of the paddings & margins, update well, because they are based on the magic-unit.
However the font-size of the components defined with the mixin set-font-scale() it does not adapt.
So we should link the property value font-size to the value of the magic-unit, so that the font-size also adapts when the value of the variable $local-rem-value changes.
I have read the contributing guidelines
Does this PR introduce a breaking change?
Describe the changes
Make the
font-size
definition relative to the magic-unit valueCurrently, when a user customizes the value of the variable
$local-rem-value
, the values of the paddings & margins, update well, because they are based on the magic-unit.However the font-size of the components defined with the mixin
set-font-scale()
it does not adapt.So we should link the property value
font-size
to the value of the magic-unit, so that the font-size also adapts when the value of the variable$local-rem-value
changes.