From 996ceb2b68e69b8e4f401ef03a3b379f4691784d Mon Sep 17 00:00:00 2001 From: Pascal Precht Date: Thu, 6 May 2021 10:25:56 +0200 Subject: [PATCH] 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. --- src/StatusQ/Core/Theme/ThemePalette.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/StatusQ/Core/Theme/ThemePalette.qml b/src/StatusQ/Core/Theme/ThemePalette.qml index 52a64870..feb2ff23 100644 --- a/src/StatusQ/Core/Theme/ThemePalette.qml +++ b/src/StatusQ/Core/Theme/ThemePalette.qml @@ -22,6 +22,9 @@ QtObject { property FontLoader monoFontExtraBold property FontLoader monoFontBlack + property color black: getColor('black') + property color white: getColor('white') + property color baseColor1 property color baseColor2 property color baseColor3