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

improve font-face function #13

Open
2 of 6 tasks
larrybotha opened this issue May 11, 2018 · 0 comments
Open
2 of 6 tasks

improve font-face function #13

larrybotha opened this issue May 11, 2018 · 0 comments

Comments

@larrybotha
Copy link
Owner

larrybotha commented May 11, 2018

Tasks

  • prefixed function name with f8- to prevent namespace collisions
  • changed list of params to a map
  • warns if any required params are omitted
  • outputs @font-face only if a filename and path are provided
  • uses sensible defaults for font-weight and font-style
  • updated example / boilerplate calls with map argument
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

1 participant