summaryrefslogtreecommitdiff
path: root/www/packages/fontawesome-free-7.2.0-web/scss/_sizing.scss
blob: 90a557361dc8add4954a9d35a7c02a50bc6242fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// sizing icons
// -------------------------
@use 'variables' as v;
@use 'mixins' as m;

// literal magnification scale
@for $i from 1 through 10 {
  .#{v.$css-prefix}-#{$i}x {
    font-size: $i * 1em;
  }
}

// step-based scale (with alignment)
@each $size, $value in v.$sizes {
  .#{v.$css-prefix}-#{$size} {
     @include m.fa-size($value);
  }
}