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

Generate @font-face for each font #3

Open
RamonGebben opened this issue Oct 20, 2016 · 2 comments
Open

Generate @font-face for each font #3

RamonGebben opened this issue Oct 20, 2016 · 2 comments

Comments

@RamonGebben
Copy link

It would be great if it would pair the fonts with a fonts.css/fonts.less/fonts.scss.
Which would look a bit like this:

@font-face {
  font-family: 'FontA';
  src: url('./fonts/font-a.eot');
  src: url('./fonts/font-a.eot?#iefix') format('embedded-opentype'),
       url('./fonts/font-a.woff2') format('woff2'),
       url('./fonts/font-a.woff') format('woff'),
       url('./fonts/font-a.ttf')  format('truetype'),
       url('./fonts/font-a.svg#svgFontName') format('svg');
}
@bigxixi
Copy link
Owner

bigxixi commented Oct 20, 2016

I will try it.
Thank you for your feed back!

@bduffley
Copy link

bduffley commented Mar 7, 2017

Would be great if it could pull the full font face. Looks like it's still pulling just the single font styles.

Thank you for the plugin, though. Helpful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants