summaryrefslogtreecommitdiff
path: root/packages/fontawesome-free-6.5.2-web/scss/_sizing.scss
diff options
context:
space:
mode:
Diffstat (limited to 'packages/fontawesome-free-6.5.2-web/scss/_sizing.scss')
-rw-r--r--packages/fontawesome-free-6.5.2-web/scss/_sizing.scss16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/fontawesome-free-6.5.2-web/scss/_sizing.scss b/packages/fontawesome-free-6.5.2-web/scss/_sizing.scss
new file mode 100644
index 0000000..e171e7d
--- /dev/null
+++ b/packages/fontawesome-free-6.5.2-web/scss/_sizing.scss
@@ -0,0 +1,16 @@
+// 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);
+ }
+}