Font-Awesome/scss/_larger.scss
mikejackson a14c00a2a1 Fix breaking change slash as division in Dart Sass 2.0.0
Updated dur to deprecation warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0

Signed-off-by: mikejackson <mike@freightlink.co.uk>
2022-06-10 15:35:48 +01:00

26 lines
426 B
SCSS

@use "sass:math";
// Icon Sizes
// -------------------------
// makes the font 33% larger relative to the icon container
.#{$fa-css-prefix}-lg {
font-size: math.div(4em, 3);
line-height: math.div(3em, 4);
vertical-align: -.0667em;
}
.#{$fa-css-prefix}-xs {
font-size: .75em;
}
.#{$fa-css-prefix}-sm {
font-size: .875em;
}
@for $i from 1 through 10 {
.#{$fa-css-prefix}-#{$i}x {
font-size: $i * 1em;
}
}