diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-03-28 19:12:00 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-03-29 22:11:33 +0200 |
commit | d35cc3dda4dc08dd16d9d12d5f96863d831fd6c7 (patch) | |
tree | 1a278ae38cc8e875a342d5d8a720ee8df368511c /resources/qml/delegates | |
parent | Merge pull request #160 from cloudrac3r/ubuntu-19.10-dependencies (diff) | |
download | nheko-d35cc3dda4dc08dd16d9d12d5f96863d831fd6c7.tar.xz |
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.
Diffstat (limited to 'resources/qml/delegates')
-rw-r--r-- | resources/qml/delegates/NoticeMessage.qml | 2 | ||||
-rw-r--r-- | resources/qml/delegates/Pill.qml | 4 |
2 files changed, 3 insertions, 3 deletions
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 } } |