summaryrefslogtreecommitdiff
path: root/www/packages/fontawesome-free-7.2.0-web/scss/brands.scss
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2026-05-17 13:01:57 +0800
committeraltaf-creator <dev@altafcreator.com>2026-05-17 13:01:57 +0800
commit9e7fe6d8dad56c237adb1905e130c1d723131812 (patch)
treedd067e14b3ec5af719d748427bb322320c248879 /www/packages/fontawesome-free-7.2.0-web/scss/brands.scss
parentd04598ba59d7267ee4db3745ff90eaa1a990072a (diff)
big structural change, altafcreator.com no longer served statically, projects now use md, blog is being reworked, videos removed temp
Diffstat (limited to 'www/packages/fontawesome-free-7.2.0-web/scss/brands.scss')
-rw-r--r--www/packages/fontawesome-free-7.2.0-web/scss/brands.scss45
1 files changed, 45 insertions, 0 deletions
diff --git a/www/packages/fontawesome-free-7.2.0-web/scss/brands.scss b/www/packages/fontawesome-free-7.2.0-web/scss/brands.scss
new file mode 100644
index 0000000..5120a06
--- /dev/null
+++ b/www/packages/fontawesome-free-7.2.0-web/scss/brands.scss
@@ -0,0 +1,45 @@
+/*!
+ * Font Awesome Free 7.2.0 by @fontawesome - https://fontawesome.com
+ * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
+ * Copyright 2026 Fonticons, Inc.
+ */
+@use "sass:string";
+@use 'variables' as v;
+@use 'mixins' as m;
+
+:root, :host {
+ --#{v.$css-prefix}-family-brands: 'Font Awesome 7 Brands';
+ --#{v.$css-prefix}-font-brands: normal 400 1em/1 var(--#{v.$css-prefix}-family-brands);
+}
+
+@font-face {
+ font-family: 'Font Awesome 7 Brands';
+ font-style: normal;
+ font-weight: 400;
+ font-display: v.$font-display;
+ src: url('#{v.$font-path}/fa-brands-400.woff2');
+}
+
+.fab,
+.#{v.$css-prefix}-brands,
+.#{v.$css-prefix}-classic.#{v.$css-prefix}-brands {
+ --#{v.$css-prefix}-family: var(--#{v.$css-prefix}-family-brands);
+ --#{v.$css-prefix}-style: 400;
+}
+
+@each $name, $icon in v.$brand-icons {
+ .#{v.$css-prefix}-#{$name} {
+ #{v.$icon-property}: string.unquote("\"#{ $icon }\"");
+ }
+}
+
+// convenience mixin for declaring pseudo-elements by CSS variable,
+// including all style-specific font properties and ::before elements.
+@mixin icon($var) {
+ @include m.fa-icon(Font Awesome 7 Brands);
+ @extend .#{v.$css-prefix}-brands;
+
+ &::before {
+ content: string.unquote("\"#{ $var }\"");
+ }
+}