-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Specifically, line 470:
element.style = {
color: unset,To be:
element.style = {
color: colorObject.colorString,Reason:
I have some ::before and ::after styling for role headers (See the "bars" from ClearVision as an example, but created to reflect the Role color).
If I do this and enable "Show Gradient Colors" on Role Headers, the styled gradients turn --text-normal color, even though the Roles are Gradient.
By setting the above code change locally, I'm able to retain the styling (and bonus; don't have to define my own background to set a 'currentColor` gradient) and it is able to color the styled bars in the ::before and ::after under both cases (Use Gradient Off/On).
Now, due to how it works, it's really only grabbing the primaryColor from the Gradient to set; but that's better than "nothing".
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels