Primeng: Support for Both Font Awesome 4 and 5

Created on 20 Nov 2017  路  2Comments  路  Source: primefaces/primeng

There is no guarantee in receiving a response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeNG PRO Support where support is provided within 4 business hours

I'm submitting a ... (check one with "x")
```
[ ] bug report => Search github for a similar issue or PR before submitting
[x ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

I have updated my solution to use FA 5. I had to modify some of the prime NG comonents

FA5 no longer supports the alias names.
fa-close = fa-times
fa-warning = fa=exclamation

These are the issues i have found so far. The changes would allow to use both FA 4 and FA 5

https://forum.primefaces.org/viewtopic.php?f=35&t=53211&p=161938#p161938

Most helpful comment

In the meantime, I'm just defining the Unicode characters for those aliases in the SASS files like this:

.fa-close:before {
  content: '\F00D';
}

All 2 comments

In the meantime, I'm just defining the Unicode characters for those aliases in the SASS files like this:

.fa-close:before {
  content: '\F00D';
}
Was this page helpful?
0 / 5 - 0 ratings

Related issues

gatapia picture gatapia  路  3Comments

pchristou picture pchristou  路  3Comments

Helayxa picture Helayxa  路  3Comments

Faigjaz picture Faigjaz  路  3Comments

garethlewis picture garethlewis  路  3Comments