Page MenuHome

UI: Use text highlight theme color for active tab
ClosedPublic

Authored by Pablo Vazquez (pablovazquez) on Oct 26 2021, 12:52 PM.

Details

Summary

Currently, both inactive and active tabs are using the Region Text theme property.
This patch makes it so active tabs use Region Text Highlight.

Since this check is done in other places already but was simply missing in this case, I believe this was just an oversight and not a design decision.

Top is master, bottom is this patch:

This allows this kind of tab highlight, not possible before since all tabs would have white text.

Diff Detail

Repository
rB Blender

Event Timeline

Pablo Vazquez (pablovazquez) requested review of this revision.Oct 26 2021, 12:52 PM
Pablo Vazquez (pablovazquez) created this revision.

Makes sense. Hopefully this won't cause issues for other themes. Have you checked with the builtin ones?

Makes sense. Hopefully this won't cause issues for other themes. Have you checked with the builtin ones?

Both light and dark themes work. Some of the community ones might look better with darker text, although I'm not sure who is in charge of decisions for community themes.

This is how they currently look with this patch:

This revision is now accepted and ready to land.Oct 26 2021, 2:03 PM
  • Improve contrast on active tabs on Blender Light theme.