Feature Request: "Inherit" for text colors

There are times I want to set font colors on parent containers and have elements inherit those colors automatically. However, the builder doesn’t let me type inherit into the color field.

image

It sure would be handy at times to be able to do that. I don’t know that it would need to be exposed in the UI, as long as the field accepted the keyword.

1 Like

This one is tricky because the color picker itself is used in many different contexts that wouldn’t support inherit.

It’s been a long time since we’ve discussed this, but you proposed an idea about simply turning a control on/off. This is something we’re finally going to build with the Layout Builder cycle. For example, you can just turn a Padding control off to prevent it from outputting a style, and to collapse it in the Inspector. Most will be off by default. Perhaps with some colors (like Text color) there should be a reset button. When nothing is set, we could simply not output any CSS which would allow it to inherit the color from the surrounding context.

4 Likes