core/api/fontawesome/6.2.0/scss/_sizing.scss

17 lines
308 B
SCSS
Raw Normal View History

2022-12-11 13:55:49 +05:00
// sizing icons
// -------------------------
// literal magnification scale
@for $i from 1 through 10 {
.#{$fa-css-prefix}-#{$i}x {
font-size: $i * 1em;
}
}
// step-based scale (with alignment)
@each $size, $value in $fa-sizes {
.#{$fa-css-prefix}-#{$size} {
@include fa-size($value);
}
}