You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Henning Nöth (Jira)" <de...@myfaces.apache.org> on 2021/11/15 09:00:00 UTC
[jira] [Created] (TOBAGO-2101) Support FontAwesome5
Henning Nöth created TOBAGO-2101:
------------------------------------
Summary: Support FontAwesome5
Key: TOBAGO-2101
URL: https://issues.apache.org/jira/browse/TOBAGO-2101
Project: MyFaces Tobago
Issue Type: Improvement
Components: Core, Themes
Affects Versions: 5.0.0
Reporter: Henning Nöth
Currently
{code:xml}<tc:link image="fa-eye" .../>{code}
renders
{code:html}<a ...>
...
<i class="fa fa-eye"></i>
</a>{code}
The "fa" CSS class is fine for FontAwesome4.
But in FontAwesome5 the "fa" CSS class changed depending on the icon style.
It's now:
* "fas" for solid icons
* "far" for regular icons
* "fal" for light icons
* "fad" for duotone icons
Workaround:
{code:xml}<tc:link image="far fa-eye" .../>{code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)