Hi I'm using package Our.Iconic And I would preceate som help with regex for fontawesome 6 I want to render <i class="fa-light fa-alarm-exclamation"></i>
I have tried
I have just been trying to get Font Awesome 6 working with this also.
I found that if you use the following regex ".(fa-[\w-]+):{2}before {" it should return the icons.
I'm using the all.css file on both the css file and Rules source file as I believe all the icons are in this css file, and you can swap out the light|regular|bold|duotone etc out using a different selector.
Regex for Fontawesome 6
Hi I'm using package Our.Iconic And I would preceate som help with regex for fontawesome 6 I want to render
<i class="fa-light fa-alarm-exclamation"></i>
I have tried./fa-(light)+:before {
./fa-(solid|regular|light|brands|duotone|thin)+:before {
.(fa-[\w-]+):before {
Nothing seems to works, I have checked the path to the font and it's ok. Maybee someone can point me in right direction.
Many thanks in advance /Christina
Hello,
I have just been trying to get Font Awesome 6 working with this also.
I found that if you use the following regex ".(fa-[\w-]+):{2}before {" it should return the icons.
I'm using the all.css file on both the css file and Rules source file as I believe all the icons are in this css file, and you can swap out the light|regular|bold|duotone etc out using a different selector.
Attached picture below of my config.
Hopefully that works for your setup also!
Thanks,
Christian
Hi it works you have saved my, day big thanks. /Christina
is working on a reply...