Unified the ui/selection color logic and put glow effects and emphasis lightening to be dependent on dark background.