Skip to content

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

@pbking pbking force-pushed the fix/font-src-array branch from 40ada68 to 403c547 Compare May 28, 2024 12:03
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
@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

3 participants