From 4cc3acabb31a3de490ec6b9ee8cab2496081b793 Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Fri, 6 May 2022 11:18:17 +0200 Subject: [PATCH] colors in history --- electrum/gui/qml/components/Constants.qml | 2 +- electrum/gui/qml/components/History.qml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/electrum/gui/qml/components/Constants.qml b/electrum/gui/qml/components/Constants.qml index 5aee068ed..01c0865e9 100644 --- a/electrum/gui/qml/components/Constants.qml +++ b/electrum/gui/qml/components/Constants.qml @@ -24,5 +24,5 @@ Item { property color colorCredit: "#ff80ff80" property color colorDebit: "#ffff8080" - property color mutedForeground: Qt.lighter(Material.background, 2) + property color mutedForeground: 'gray' //Qt.lighter(Material.background, 2) } diff --git a/electrum/gui/qml/components/History.qml b/electrum/gui/qml/components/History.qml index fd3b93ef1..e94388919 100644 --- a/electrum/gui/qml/components/History.qml +++ b/electrum/gui/qml/components/History.qml @@ -36,7 +36,7 @@ Pane { Layout.alignment: Qt.AlignHCenter Layout.topMargin: constants.paddingLarge font.pixelSize: constants.fontSizeLarge - color: constants.mutedForeground + color: Material.accentColor } } @@ -96,7 +96,7 @@ Pane { Layout.fillWidth: true font.pixelSize: model.label !== '' ? constants.fontSizeLarge : constants.fontSizeMedium text: model.label !== '' ? model.label : '' - color: model.label !== '' ? Material.foreground : 'gray' + color: model.label !== '' ? Material.foreground : constants.mutedForeground wrapMode: Text.Wrap maximumLineCount: 2 elide: Text.ElideRight @@ -117,7 +117,7 @@ Pane { Label { font.pixelSize: constants.fontSizeSmall text: model.date - color: Material.accentColor + color: constants.mutedForeground } Label { id: fiatLabel