mart-w.de/static/fonts/lato-font-3.0.0/scss/internal/_functions.scss

13 lines
310 B
SCSS
Raw Normal View History

2024-04-03 03:44:07 +02:00
@function latoGetWeightForVariant($variant, $variants: $lato-variants) {
@return map-get($variants, $variant);
}
@function latoGetFontNameForVariant($variant, $font-name: $lato-font-name) {
// Exception for Medium variant.
@if 'medium' == $variant {
$font-name: 'Lato Medium';
}
@return $font-name;
}