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

Remove unused duotone code in global styles #49213

Open
ajlende opened this issue Mar 20, 2023 · 0 comments
Open

Remove unused duotone code in global styles #49213

ajlende opened this issue Mar 20, 2023 · 0 comments
Assignees
Labels
[Type] Code Quality Issues or PRs that relate to code quality [Type] Enhancement A suggestion for improvement.

Comments

@ajlende
Copy link
Contributor

ajlende commented Mar 20, 2023

In #49103, the configuration for generating CSS custom properties and SVGs for duotone presets was removed in global styles WP_Theme_JSON_Gutenberg. The generation is now fully handled by WP_Duotone_Gutenberg. However, WP_Theme_JSON_Gutenberg still has some duotone-specific code that is no longer being run due to the configuration changing. This unused code should be removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Code Quality Issues or PRs that relate to code quality [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

2 participants