Theme icons (solved)

Post Reply
serenne
Posts: 94
Joined: 21 Jul 2015, 07:43

06 Dec 2019, 16:25

Hello

we actually use Ultima theme for our application and we bought Mirage theme to update it
in Ultima theme there's a icon library called material icons.

Is that library exists in Mirage theme ?

Is there a way to add it ?

Regards
Last edited by serenne on 09 Dec 2019, 17:28, edited 1 time in total.

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

07 Dec 2019, 23:10

Hi,
Is that library exists in Mirage theme ?
- It uses FontAwesome4 that comes from primefaces bundle.
Is there a way to add it ?
- You can add it but you need to override _icons.scss, icon-override method in _mixins.scss and styles that use icon-override method in theme. Exp;

Code: Select all

//in _data.scss
.ui-paginator-first {
            @include icon-override("\f048"); /* you need to change it with material icon code 
            ...
For these processes, you can review the above files in Ultima layout.

Best Regards,

serenne
Posts: 94
Joined: 21 Jul 2015, 07:43

09 Dec 2019, 14:20

Thank you.

I'll try to use the font awesome icons instead of material icons

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

10 Dec 2019, 12:03

Ok, Thanks a lot for the update!

Best Regards,

Post Reply

Return to “Mirage - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest