adjust background for window fading and dark theme