Month View: background color computation for dark mode theme
backport of 614f757286cb3611cfb922fa0d4cc1378ee6e7b4 except without a change to an installed header.