Do background contrast fallback at runtime

Authored by broulik on Feb 7 2019, 3:37 PM.

Description

Do background contrast fallback at runtime

When a theme doesn't supply background contrast values, we take an educated guess based on whether it's a dark or light theme.
We didn't update the values when switching only color schemes at runtime (when theme follows it).
This lead to washed out Plasma popup and panel backgrounds. Instead, compute the fallback value at runtime.
Also, while at it, update complimentary colorscheme as well, which was forgotten here.

BUG: 401142

Differential Revision: https://phabricator.kde.org/D18487

Details

Committed
broulikFeb 7 2019, 3:37 PM
Differential Revision
D18487: Do background contrast fallback at runtime
Parents
R242:dda4edcc6eb0: [breeze desktop theme/dialogs] Add rounded corners to dialogs
Branches
Unknown
Tags
Unknown