-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support new font families #39
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this! Just a few comments. I would also recommend updating the devdeps with the newer dependency version but I can do that too once it's merged if that's easier.
{ | ||
"sharp-duotone-solid": ["star"], | ||
}, | ||
[{ family: "fa-sharp-duotone-solid-900.woff2", icon: "star" }] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't need .woff2
here since the font file should be handled by the helper
{ family: "fa-duotone-regular-400.woff2", icon: "star" }, | ||
{ family: "fa-duotone-light-300.woff2", icon: "star" }, | ||
{ family: "fa-duotone-thin-100.woff2", icon: "star" }, | ||
{ family: "fa-sharp-duotone-regular-400.woff2", icon: "star" }, | ||
{ family: "fa-sharp-duotone-light-300.woff2", icon: "star" }, | ||
{ family: "fa-sharp-duotone-thin-100.woff2", icon: "star" }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same with .woff2
file extensions here
itGTE("6.7.0", "pro")( | ||
"should add requested glyphs for new font styles in duotone-(regular|light|thin) and sharp-duotone-(regular|light|thin)", | ||
async () => { | ||
expect.assertions(1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
expect.assertions(6);
This will create 6 dynamic assertions so this expect should reflect that
Support 8 new font families added since 6.4 (changelog):
sharp-thin
duotone-light
duotone-regular
duotone-thin
sharp-duotone-light
sharp-duotone-regular
sharp-duotone-solid
sharp-duotone-thin
Fixes #38