-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Use fantasticon to generate web fonts #515
Conversation
35446d3
to
4b072da
Compare
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.
Also,
- the hbs files seem unused
- package.json is missing the new devDependency
- the script should be added to another script (or we run it separately) so that's tested on CI
|
Done and done.
|
- Includes new docs section and fonts page - Generates CSS and JSON in addition to 4x font types - Adds new script and hooks into existing icons and zip scripts
Just a question: do you really want to add eot and ttf fonts? woff and woff2 should be more than enough. Heck, you could even just generate woff2 if you don't care about IE :P |
Dropping EOT and TTF for now since we can always add back later, but removing is always more difficult. Good to go after this I think! |
Minus my last comment, I think this looks good :) |
I wonder though, is fonts/index.html supposed to be served? It's not using relative paths to the CSS AFAICT. |
Yeah, I want that served. It's used locally for previewing, and eventually I'll have it up to date and part of the full nav. |
Actually, I just saw you hooked the fonts directory as fonts so it's already available indeed: https://deploy-preview-515--bootstrap-icons.netlify.app/font/ and included in sitemap. |
@mdo @XhmikosR There is no CSS & Web Font files in the ZIP bundle & NPM package... |
The zip file does have the font for me. For the npm package see #538 . |
Replaces #287 with a new dependency, fantasticon. Fixes #86.