mart-w.de/static/fonts/lato-font-3.0.0/scss/public/_mixins.scss
2024-04-03 03:44:07 +02:00

14 lines
438 B
SCSS

// Includes font-face for a specific font.
@mixin lato-include-font ($variant) {
$weight: latoGetWeightForVariant($variant);
@include lato-render-variant($variant, $weight);
}
// Adds styles for specified font variant and style.
@mixin lato-font ($variant, $style: normal) {
/* Lato (#{$variant}, #{$style}) */
font-family: latoGetFontNameForVariant($variant);
font-weight: latoGetWeightForVariant($variant);
font-style: $style;
}