diff --git a/build/font/css.hbs b/build/font/css.hbs index f651092045..b6de062cba 100644 --- a/build/font/css.hbs +++ b/build/font/css.hbs @@ -4,9 +4,9 @@ src: {{{ fontSrc }}}; } -.{{prefix}}::before, -[class^="{{prefix}}-"]::before, -[class*=" {{prefix}}-"]::before { +.{{ prefix }}::before, +[class^="{{ prefix }}-"]::before, +[class*=" {{ prefix }}-"]::before { display: inline-block; font-family: {{ name }} !important; font-style: normal; diff --git a/build/font/scss.hbs b/build/font/scss.hbs index 2e64754632..d0e57446f4 100644 --- a/build/font/scss.hbs +++ b/build/font/scss.hbs @@ -2,7 +2,8 @@ ${{ name }}-font: "{{ name }}" !default; ${{ name }}-font-dir: "{{ fontsUrl }}" !default; ${{ name }}-font-file: #{${{ name }}-font-dir}/#{${{ name }}-font} !default; ${{ name }}-font-hash: "28df46889dced875dea48cfe64755198" !default; -${{ name }}-font-src: url("#{${{ name }}-font-file}.woff2?#{${{ name }}-font-hash}") format("woff2"), url("#{${{ name }}-font-file}.woff?#{${{ name }}-font-hash}") format("woff") !default; +${{ name }}-font-src: url("#{${{ name }}-font-file}.woff2?#{${{ name }}-font-hash}") format("woff2"), + url("#{${{ name }}-font-file}.woff?#{${{ name }}-font-hash}") format("woff") !default; @font-face { font-display: block; @@ -10,9 +11,9 @@ ${{ name }}-font-src: url("#{${{ name }}-font-file}.woff2?#{${{ name }}-font-has src: ${{ name }}-font-src; } -.{{prefix}}::before, -[class^="{{prefix}}-"]::before, -[class*=" {{prefix}}-"]::before { +.{{ prefix }}::before, +[class^="{{ prefix }}-"]::before, +[class*=" {{ prefix }}-"]::before { display: inline-block; font-family: ${{ name }}-font !important; font-style: normal;