Blender Git Commit Log

Git Commits -> Revision 962b17b

Revision 962b17b by Pablo Vazquez (master)
October 17, 2021, 16:49 (GMT)
UI: Adjust header color when active instead of inactive

Currently, the background color of headers gets darkened when the editor is not active,
this makes it hard to theme, and adds contrast/noise when it's not needed.

This patch makes headers use the regular theme color when the editor is not active, so it
can be made to flush with the background more easily. And lightens the header (by +10,
same value as before) when the editor is active, providing the wanted highlight.

The motivations behind this change are:
* Simplify picking a theme color for headers.
* Widgets already become lighter on mouse hover, this change creates a connection with that concept.

Left: current master, inactive header is darkened.
Right: this patch, inactive header gets the theme color, active editor gets header in a slightly lighter color (like most widgets)

{F11052503, size=full, loop, autoplay}

Reviewed By: #user_interface, HooglyBoogly

Differential Revision:

Commit Details:

Full Hash: 962b17b3ca140aca3ccce94e0e39c6631f830f8d
Parent Commit: 93544b6
Lines Changed: +13, -11

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2022