Depends on D9314
The current implementation uses UI_GetThemeColor4ubv(TH_ACTIVE, color_handle);
This causes an issue because the TH_ACTIVE is different in different contexts. See image below.
Instead use TH_HEADER, TH_HEADER_TEXT and TH_HEADER_TEXT_HI
Old:
New:
3d view
Graph editor


