godaddy-wordpress / godaddy-wordpress/coblocks

Color Settings should use color utility classes instead of inline styles

Open
#744 2 comments 0 reactions 0 assignees View on GitHub
[Priority] Low [Status] Waiting [Type] Enhancement
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**
Screen Shot 2019-08-15 at 11 38 36 AM

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.