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

Fixed font utilities to work with font sources as an (optional) array. #645

Merged
merged 2 commits into from
May 30, 2024

Conversation

pbking
Copy link
Contributor

@pbking pbking commented May 22, 2024

When saving theme.json the src of font faces CAN be an array.

This change always writes that value as an array and can now operate on theme.json configurations that use arrays OR strings.

Fixes #599

Copy link
Contributor

@matiasbenedetto matiasbenedetto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is working OK. I found a bug while testing this PR: #656. As it is somewhat related but isn't caused by this PR, I'm approving it.

@matiasbenedetto matiasbenedetto merged commit 485f893 into trunk May 30, 2024
2 checks passed
@matiasbenedetto matiasbenedetto deleted the fix/font-src-array branch May 30, 2024 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

Critical error when removing fonts added using old naming convention in theme.json
2 participants