feabila sought to change the icon for the “Follow” button in the Follow plugin using CSS. The goal was to switch from “user-plus” to “user-check” when a user is following. feabila found a solution by manipulating the user object reference in the template, using {{follow-toggle icon=(if user.following 'user-check' 'user-plus') user=user}}. merefield appreciated the idea, committed part of it to the repo, and simplified the implementation using an existing Computed Property.
I’m styling Discourse Follow, then I started considering changes over
button[aria-label="Follow"] or button[aria-label="Following"]
Do you know if there is some way to change icon by Css, so this way, it would be possible to change from “user-plus” (to follow) to “user-check” (following)