From d607ac12097afb5cb6f398a4e7b5cf4316efedc6 Mon Sep 17 00:00:00 2001 From: altaf-creator Date: Sun, 12 May 2024 12:14:02 +0700 Subject: self host --- packages/fontawesome-free-6.5.2-web/less/_sizing.less | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 packages/fontawesome-free-6.5.2-web/less/_sizing.less (limited to 'packages/fontawesome-free-6.5.2-web/less/_sizing.less') diff --git a/packages/fontawesome-free-6.5.2-web/less/_sizing.less b/packages/fontawesome-free-6.5.2-web/less/_sizing.less new file mode 100644 index 0000000..fe1d945 --- /dev/null +++ b/packages/fontawesome-free-6.5.2-web/less/_sizing.less @@ -0,0 +1,19 @@ +// sizing icons +// ------------------------- + +// literal magnification scale +.sizes-literal(@factor) when (@factor > 0) { + .sizes-literal((@factor - 1)); + + .@{fa-css-prefix}-@{factor}x { + font-size: (@factor * 1em); + } +} +.sizes-literal(10); + +// step-based scale (with alignment) +each(.fa-sizes(), { + .@{fa-css-prefix}-@{key} { + .fa-size(@value); + } +}); -- cgit v1.2.3