From d35cc3dda4dc08dd16d9d12d5f96863d831fd6c7 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sat, 28 Mar 2020 19:12:00 +0100 Subject: Use palette for qml code for theming Can't do it for QtWidgets code. We need to fully transition, before we can fully switch over probably. --- resources/qml/delegates/NoticeMessage.qml | 2 +- resources/qml/delegates/Pill.qml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'resources/qml/delegates') diff --git a/resources/qml/delegates/NoticeMessage.qml b/resources/qml/delegates/NoticeMessage.qml index 12664fb5..62ada6d1 100644 --- a/resources/qml/delegates/NoticeMessage.qml +++ b/resources/qml/delegates/NoticeMessage.qml @@ -1,4 +1,4 @@ TextMessage { font.italic: true - color: inactiveColors.text + color: colors.buttonText } diff --git a/resources/qml/delegates/Pill.qml b/resources/qml/delegates/Pill.qml index b19d9a54..27985b58 100644 --- a/resources/qml/delegates/Pill.qml +++ b/resources/qml/delegates/Pill.qml @@ -2,13 +2,13 @@ import QtQuick 2.5 import QtQuick.Controls 2.1 Label { - color: inactiveColors.text + color: colors.brightText horizontalAlignment: Text.AlignHCenter height: contentHeight * 1.2 width: contentWidth * 1.2 background: Rectangle { radius: parent.height / 2 - color: colors.base + color: colors.dark } } -- cgit 1.5.1