vendor/assets/stylesheets/blocks/_font.scss in active_frontend-15.1.6 vs vendor/assets/stylesheets/blocks/_font.scss in active_frontend-16.0.0

- old
+ new

@@ -11,24 +11,11 @@ @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'); + src: font-url('#{$file-name}/#{$file-name}-#{$name}.woff') format('woff'); } - } - } - } -} -@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'); } } } }