diff options
author | Hans Goudey <h.goudey@me.com> | 2020-09-09 20:08:08 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-09-09 20:08:43 +0300 |
commit | 6a76eeaced199de1143a9e6c54e6a7ca29a3bc7f (patch) | |
tree | 8fb37ec982cefc805a3405801f4b3f78a6cf95fd /release | |
parent | f3197de26599897e91046b66246a237f02a0362a (diff) |
Property Search: Add "Search match" theme color
We use a highlight on panel headers to convey that they have a search match.
It's also conceivable to use this color to highlight the property editor tabs
that have search results.
Normally we don't like adding new theme colors, but this is quite a special
case. For example, the color in the outliner is green. This patch has a blue
highlight so it feels more cohesive though.
Differential Revision: https://developer.blender.org/D8854
Diffstat (limited to 'release')
-rw-r--r-- | release/datafiles/userdef/userdef_default_theme.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release/datafiles/userdef/userdef_default_theme.c b/release/datafiles/userdef/userdef_default_theme.c index 7604a06f7df..096e2f633d5 100644 --- a/release/datafiles/userdef/userdef_default_theme.c +++ b/release/datafiles/userdef/userdef_default_theme.c @@ -269,6 +269,7 @@ const bTheme U_theme_default = { .header = RGBA(0x424242ff), .header_text = RGBA(0xeeeeeeff), .header_text_hi = RGBA(0xffffffff), + .search_match_color = RGBA(0x5680c2ff), .tab_active = RGBA(0x4b4b4bff), .tab_inactive = RGBA(0x2b2b2bff), .tab_back = RGBA(0x232323ff), |