vendor/assets/stylesheets/blocks/_font.scss in active_frontend-14.2.0 vs vendor/assets/stylesheets/blocks/_font.scss in active_frontend-14.2.1
- old
+ new
@@ -17,5 +17,18 @@
}
}
}
}
}
+@each $file-name, $family in $font-available-typography {
+ @if index(text-family(display), $family) {
+ @each $name, $weight in (bold: 700, normal: 400) {
+ @font-face {
+ font-display: swap;
+ font-family: $family;
+ font-style: normal;
+ font-weight: $weight;
+ src: url(font-path('#{$file-name}/#{$file-name}-#{$name}.woff')) format('woff');
+ }
+ }
+ }
+}