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

Include activated Fonts on theme zip export functions #564

Merged
merged 2 commits into from
Apr 18, 2024

Conversation

pbking
Copy link
Contributor

@pbking pbking commented Apr 16, 2024

Previously fonts were only "managed" with Create Block Theme on the "save" action.

This change includes the activated fonts in the exported zip action.

To test activate a font using the Font Manager.

Do NOT 'Save' the theme (that font will be persisted in the theme and this isn't the functionality we're adding).

Export the theme. Note that any font that is active is included in the exported theme's theme.json and the assets it is referencing are included in /assets/fonts/*.

Fixes: #558

@pbking pbking force-pushed the fix/include-fonts-on-zip-export branch from ebdcaab to d27beb8 Compare April 18, 2024 15:45
Copy link
Member

@vcanales vcanales left a comment

Choose a reason for hiding this comment

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

Installed new fonts with the Font Library, activated them, and then exported the theme; assets are included with the export.

LGTM

@pbking pbking merged commit 9963980 into trunk Apr 18, 2024
2 checks passed
@pbking pbking deleted the fix/include-fonts-on-zip-export branch April 18, 2024 17:28
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.

Font library management no longer stores font in theme folder on theme export
2 participants