Skip to content

Commit

Permalink
Font SCSS: use a loop
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Apr 3, 2023
1 parent 469ad59 commit c343d9e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/font/scss.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
}

0 comments on commit c343d9e

Please sign in to comment.