feat(Core.Theme): expose solid black and white on `ThemePalette`

Status color palettes don't specify a solid black and white that stay
black and white in both themes.

This commit introduces `black` and `white` as solid colors to `ThemePalette`
so they are automatically inherited in all built-in and custom themes.
This commit is contained in:
Pascal Precht 2021-05-06 10:25:56 +02:00 committed by Pascal Precht
parent 75e8772500
commit 996ceb2b68
1 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,9 @@ QtObject {
property FontLoader monoFontExtraBold property FontLoader monoFontExtraBold
property FontLoader monoFontBlack property FontLoader monoFontBlack
property color black: getColor('black')
property color white: getColor('white')
property color baseColor1 property color baseColor1
property color baseColor2 property color baseColor2
property color baseColor3 property color baseColor3