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

adding utility to generate font face #35

Draft
wants to merge 3 commits into
base: add/theme-json-token-starter
Choose a base branch
from

Conversation

smithjw1
Copy link

Description

This is marked as a draft, because the parse-font-face.js file should be incorporated more broadly into the script, not be a stand alone file.

The file is designed to extract font-face declarations in a CSS file and convert them to a format to be used in theme.json. The current implementation is naive about how these declarations are stored, and assumes that all of them should be grouped under a single fontFamily in theme.json, which is a bad assumption.

Steps to Test

N/A this should not be merged.

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

Successfully merging this pull request may close these issues.

1 participant