Skip to content

improve font-face function #13

@larrybotha

Description

@larrybotha

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions