Last active
April 24, 2018 04:08
-
-
Save seven-phases-max/d2713c9a34d1c91077a47eb9635cd1d6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@han_cart_icon: fa-shopping-cart; | |
@han_fa_version: v5; | |
.change_basket_icon() when (@han_cart_icon = fa-shopping-cart) { | |
i.ty-icon-moon-commerce, | |
.ty-icon-basket { | |
& when (@han_fa_version = v4) { | |
font-family: FontAwesome; | |
} | |
& when (@han_fa_version = v5) { | |
font-family: "Font Awesome\ 5 Free"; | |
} | |
&:before { | |
content: "\f07a"; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment