Skip to content

Commit 6bb40c8

Browse files
author
Stefanie Hein
committed
Icons: add a CSS variable to define the icon font-size. See #75769
1 parent 41f3425 commit 6bb40c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scss/themes/fylr/mixins/_icons.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
content: $code;
33
display: inline-block;
44
// stylelint-disable-next-line
5-
font: normal normal normal #{$font-size} 'FontAwesome';
5+
font: normal normal normal var(--icon-font-size, #{$font-size}) 'FontAwesome';
66
text-rendering: auto;
77
-webkit-font-smoothing: antialiased;
88
-moz-osx-font-smoothing: grayscale;

0 commit comments

Comments
 (0)