godaddy-wordpress / godaddy-wordpress/coblocks
Color Settings should use color utility classes instead of inline styles
- Dominant language
- JavaScript
- Stars
- 794
- Forks
- 142
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
We've added Color Settings panels to the core List and Quote blocks, which allow for coloring of those blocks. The current implementation simply adds an inline style with the color applied.
**Describe the solution you'd like**
We should figure out how we could employ color classes within the save functions of those blocks, so that the color utility classes defined by the theme can properly declare the colors.
**Describe alternatives you've considered**
Gutenberg core may eventually add coloring to other text-based blocks, though there's no real timeline/expectation there.
**Additional context**
Contributor guide
Assessment
This issue has not been assessed yet.