diff --git a/build/font/scss.hbs b/build/font/scss.hbs index f540bae40e..710b45c5f2 100644 --- a/build/font/scss.hbs +++ b/build/font/scss.hbs @@ -38,6 +38,6 @@ ${{ name }}-map: ( {{/ each }} ); -{{# each codepoints }} -.{{ ../prefix }}-{{ @key }}::before { content: map-get(${{ ../name }}-map, "{{ @key }}"); } -{{/ each }} +@each $icon, $codepoint in ${{ name }}-map { + .{{ prefix }}-#{$icon}::before { content: $codepoint; } +}