Calculate colors based on the ColorMode. For example in the dialogs. > The background color supports the chayns ColorMode already.