Premium Layouts and Themes should use Primeicons for UI-Components instead of FontAwesome-Icons

Post Reply
christophs78
Posts: 64
Joined: 01 Mar 2018, 12:29

17 Jul 2019, 14:25

related to:
viewtopic.php?f=98&t=57813 and
https://github.com/primefaces/primefaces/issues/4778

summary:
PF uses a FontAwesome 4.x. This is an old, outdated version.
Users want to use a up-to-date-versions of FontAwesome (5.x; see related)
After this there are some issues because the Premium Themes use FontAwesome for UI-Component-Icons.

Code: Select all

// Icon Override Mixin
@mixin icon-override($icon) {
    background: none;
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
IMHO it would make sense to use PrimeIcons for this. Nova- und Luna-Themes already do this. Also PF Designer.

Code: Select all

// Icon Override Mixin
@mixin icon_override($icon) {
    font-family: 'primeicons';
    speak: none;
    font-style: normal;
    font-weight: normal;

mert.sincan
Posts: 4638
Joined: 29 Jun 2013, 12:38

18 Jul 2019, 10:05

I think this link can help to you to use new FA version; viewtopic.php?f=98&t=57813
Also, we try to use PrimeIcons in new layouts as much as possible.

Best Regards,

Post Reply

Return to “Babylon - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest