Closed w-jerome closed 4 years ago
You have to use size
keys instead of font-size
:
$type-sizes : (
body : (
default : (
size: 16px,
line-height: 28px,
),
s : (
size: 18px,
line-height: 32px,
),
),
) ;
See the map-get
function in the source file : https://github.com/studiometa/scss-toolkit/blob/release/3.0.0/src/framework/_typography.scss#L131.
_config.scss
When I do a
@include font-size('body')
it returnsfont-size: /16pxem;
so I can't display my font size correctly.