changes the way the topbar divider color is calculated.