Page MenuHome

Outliner: Use row background color for elements count indicator
ClosedPublic

Authored by Dalai Felinto (dfelinto) on Oct 13 2022, 7:16 PM.

Details

Summary

From T101799:

Currently, the count indicator background and color are hardcoded to
black and white in an attempt to maximize contrast, at the expense of
being too prominent even when not needed.

Changing the background color to match the row (or any other element)
background, would make it look like the data-block icon is masked
out, improving readability while not standing out too much.

The circle background color should not have transparency, as it does
now. And the text inside should match the color of the text used for the
parent element (instead of hardcoded white). This should make it look
good in any theme.


Before:

After:

Diff Detail

Repository
rB Blender

Event Timeline

Dalai Felinto (dfelinto) requested review of this revision.Oct 13 2022, 7:16 PM
Dalai Felinto (dfelinto) created this revision.
  • From review: Pass region instead of Context
  • From Review: te_parent > te_visible
This revision is now accepted and ready to land.Oct 13 2022, 7:33 PM