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

Implement withColors Higher Order Component to improve ease of color management #47

Open
mrwweb opened this issue Apr 16, 2024 · 0 comments

Comments

@mrwweb
Copy link
Owner

mrwweb commented Apr 16, 2024

For reference, see this blog post from the developer blog.

Here's the withColors documentation.

Once I do that, I should be able to significantly simplify get_accordion_heading_classes() in utils.php to avoid having to look up the colors again.

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

No branches or pull requests

1 participant