mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-12-25 21:11:30 +08:00
Makes use of immutable classes names for icon mixins
This commit is contained in:
parent
28e297f07a
commit
0448874d79
@ -46,7 +46,7 @@
|
|||||||
// and ::after elements in the duotone case.
|
// and ::after elements in the duotone case.
|
||||||
@mixin fa-icon-solid($fa-var) {
|
@mixin fa-icon-solid($fa-var) {
|
||||||
@extend %fa-icon;
|
@extend %fa-icon;
|
||||||
@extend .fa-solid;
|
@extend .fas;
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
content: unquote("\"#{ $fa-var }\"");
|
content: unquote("\"#{ $fa-var }\"");
|
||||||
@ -55,7 +55,7 @@
|
|||||||
|
|
||||||
@mixin fa-icon-regular($fa-var) {
|
@mixin fa-icon-regular($fa-var) {
|
||||||
@extend %fa-icon;
|
@extend %fa-icon;
|
||||||
@extend .fa-regular;
|
@extend .far;
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
content: unquote("\"#{ $fa-var }\"");
|
content: unquote("\"#{ $fa-var }\"");
|
||||||
@ -64,7 +64,7 @@
|
|||||||
|
|
||||||
@mixin fa-icon-brands($fa-var) {
|
@mixin fa-icon-brands($fa-var) {
|
||||||
@extend %fa-icon;
|
@extend %fa-icon;
|
||||||
@extend .fa-brands;
|
@extend .fab;
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
content: unquote("\"#{ $fa-var }\"");
|
content: unquote("\"#{ $fa-var }\"");
|
||||||
|
Loading…
Reference in New Issue
Block a user