This repository has been archived on 2026-11-05. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
thetool/public/fontawesome/scss/thin.scss
T
2025-09-30 15:59:07 +02:00

52 lines
1.3 KiB
SCSS

/*!
* Font Awesome Pro 7.0.1 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
* Copyright 2025 Fonticons, Inc.
*/
@use "sass:string";
@use 'variables' as v;
@use 'mixins' as m;
:root, :host {
--#{v.$css-prefix}-family-classic: '#{ v.$family }';
--#{v.$css-prefix}-font-thin: normal 100 1em/1 var(--#{v.$css-prefix}-family-classic);
/* deprecated: this older custom property will be removed next major release */
--#{v.$css-prefix}-style-family-classic: var(--#{v.$css-prefix}-family-classic);
}
@font-face {
font-family: 'Font Awesome 7 Pro';
font-style: normal;
font-weight: 100;
font-display: v.$font-display;
src: url('#{v.$font-path}/fa-thin-100.woff2');
}
.fat {
--#{v.$css-prefix}-family: var(--#{v.$css-prefix}-family-classic);
--#{v.$css-prefix}-style: 100;
}
.#{v.$css-prefix}-classic {
--#{v.$css-prefix}-family: var(--#{v.$css-prefix}-family-classic);
}
.#{v.$css-prefix}-thin {
--#{v.$css-prefix}-style: 100;
}
// 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 Pro);
@extend .#{v.$css-prefix}-thin;
@extend .#{v.$css-prefix}-classic;
&::before {
content: string.unquote("\"#{ $var }\"");
}
}