Default style prefix
See original GitHub issueIf I use <fa-icon icon="coffee"></fa-icon>
it is translated to fas-coffee
and I have only far
.
Is there a default font style option?
If not maybe adding in forRoot
config?
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
prefix - CSS: Cascading Style Sheets - MDN Web Docs - Mozilla
The prefix descriptor of the @counter-style rule specifies content that ... If not specified, the default value will be "" (an empty string)....
Read more >Adding a prefix to your style | DX8 Learn and support
This will say Default on it; Within the Selector menu, click on the + icon; Click on Prefix; The Prefix menu will open;...
Read more >Adding a prefix to your style | Acquia Cohesion Docs
Within the Style editor, click on the Style tree button. This will say Default on it; Within the Selector menu, click on the...
Read more >Style Properties — Ren'Py Documentation
Style property prefixes allow one to set style properties for the different states ... Text buttons use two styles by default: button for...
Read more >FontAwesome change default prefix - Stack Overflow
I think it's expected behaviour. Default prefix for FontAwesome is fa and you're changing it to far . So far-square works, but fa ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@piernik I think this is good idea and it will be easy to implement in the
angular-fontawasome
library without affecting core.@robmadole It’s a suggestion then.
I know that this is a solution. But if I want to use only regular font, then my boilerplate is uneccessery. You could introduce something like:
Then every
<fa-icon icon="coffee"></fa-icon>
would be translated to<fa-icon [icon]="['far', 'coffee']"></fa-icon>