Replies: 1 comment
-
Hi, Sure! There are multiple ways to achieve this. One way is by putting the icon inside a div: <div id="my-heart">
{{ partial "icon" (context . name "fas heart") }}
</div> And add a CSS rule such as: #my-heart {
fill: orangered;
} An alternative would be to use the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Interesting mod, but I couldn't find how to customize the style of the used icon. For example, if I want to change the color and animation of the icon, I used to do
<i class="fa fa-beat fa-heart" style="--fa-animation-duration: 2s; color: orangered;"></i>
.Is there a way to do this?
Beta Was this translation helpful? Give feedback.
All reactions