[CLI] css font-family utilities for ease of use and clarity #9
NathanWalker
started this conversation in
2. Archives
Replies: 4 comments
This comment was marked as disruptive content.
This comment was marked as disruptive content.
|
I agree with @NathanaelA since custom fonts are in $ ns fonts
Found Custom Fonts:
-------------------
barlow-bold.ttf -> font-family: Barlow, barlow-bold;
fontawesome.ttf -> font-family: FontAwesome, fontawesome;Though, I guess listing system fonts could also be useful, perhaps with a flag to reduce noise? |
0 replies
|
I like a flag to list all if desired but default would print custom fonts in fonts folder only as long as mentions that’s the output it’s printing by default clearly and mention the flag which can be added to list all maybe / Although listing all is usually runtime related since iOS and Android only upon running can output the full list to my knowledge. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
A sore spot for quite a long time is trying to get the font-family combination correct for iOS/Android.
For a custom font such as
barlow-bold.ttfthe css needs to be:Getting this correct is sometimes incredibly frustrating for custom fonts.
Proposal: Potentially add a convenient cli command which prints out exactly what css is needed for any given font:
Benefit: Save ton of time debugging why custom fonts aren't working.
All reactions