Skip to content
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

Add font-family support #287

Closed
wants to merge 5 commits into from
Closed

Add font-family support #287

wants to merge 5 commits into from

Conversation

mdo
Copy link
Member

@mdo mdo commented Jun 4, 2020

Screen Shot 2020-06-04 at 12 02 49 PM

First pass at generating font families, but still needs work. Generator doesn't like our use of em units in width and height, so they need to be reprocessed with pixel dimensions to work. Also requires some icon updates to remove transform attributes (coming in a separate PR).

I've also reorganized a couple things, putting the generated font files and SVG sprite into a new dist directory. The dist directory is then included in the npm package files option.

Still more to do, but a promising start for sure.

Fixes #86.

@mdo mdo added enhancement New feature or request and removed icon-request labels Jun 17, 2020
@mdo mdo changed the base branch from master to main June 26, 2020 18:06
mdo added 4 commits June 26, 2020 11:56
- First pass at adding font-family support
- Requires changing width and height from 1em to 16px before running font-family script
- Mounts the generated font folder in Hugo so we can build it into the docs
- Moves SVG sprite into the new dist folder where the font files are now located
@mdo
Copy link
Member Author

mdo commented Oct 25, 2020

Bumping this back one more release because the dependencies used to generate this PR's font families were archived and I haven't had time to dig into things properly. Sorry folks!

@mdo
Copy link
Member Author

mdo commented Dec 7, 2020

Closing for #515.

@mdo mdo closed this Dec 7, 2020
@mdo mdo deleted the icon-font branch December 7, 2020 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide font-family format
1 participant