set frame background color depending on theme.