XF 2.1 How do I change the Watched "fa-eye" icon to something else?

if you use in extra.less, you need to use variable:
.m-faContent(@fa-var-arrow-up)
All variables you can find this:
setup_fa.less
They correspond to the names of the icons.
In general, it is advisable to use built-in tools
 
Instead of content, specify this type and if you need to connect icons, use .m-faBase();, and if you need a certain type, then indicate which one you connect as an example .m-faBase('Brands');
 
Sorry even the first two replies from you guys have already helped me solving with my problem, I would still like to learn more.

Can you please give me an example for what you've just said? I got no clues.
 
CSS:
.structItem-status--watched::before {
  .m-faContent(@fa-var-arrow-up);
}
You can just use this.
Result:
1588093657725.webp
In this example, the built-in variables in the engine are used, and the name of the icon variable is taken from the template setup_fa.less
 
Top Bottom