bug: provider tokens and elements that don't set a default color-palette
#147
Labels
bug
Something isn't working
color-palette
#147
As of last release we generate a
color-context-provider.css
file with the following contents:These styles are included with components that are a color context provider. However some components do not default to setting their
color-palette
attribute, so--rh-color-surface
does not get set in the above rule sets leaving that style undefined. Such an element isrh-tile
as reported by Michael Wells.I think we have 1 of 2 fixes.
In this repo:
Or in RHDS every component that is a provider must specify and reflect a
color-palette
attribute by default.Thoughts @bennypowers @markcaron
The text was updated successfully, but these errors were encountered: