From f5d5bea8408daf39aaa09b18c6ed4bd2f7c52a3f Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Sun, 26 Dec 2021 19:58:08 +0100 Subject: Add green theme color, make "error" configurable --- resources/qml/dialogs/UserProfile.qml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'resources/qml/dialogs/UserProfile.qml') diff --git a/resources/qml/dialogs/UserProfile.qml b/resources/qml/dialogs/UserProfile.qml index d218e8fe..e57d4de5 100644 --- a/resources/qml/dialogs/UserProfile.qml +++ b/resources/qml/dialogs/UserProfile.qml @@ -313,13 +313,13 @@ ApplicationWindow { source: { switch (verificationStatus) { case VerificationStatus.VERIFIED: - return "image://colorimage/:/icons/icons/ui/shield-filled-checkmark.svg?green"; + return "image://colorimage/:/icons/icons/ui/shield-filled-checkmark.svg?" + Nheko.theme.green; case VerificationStatus.UNVERIFIED: - return "image://colorimage/:/icons/icons/ui/shield-filled-exclamation-mark.svg?#d6c020"; + return "image://colorimage/:/icons/icons/ui/shield-filled-exclamation-mark.svg?" + Nheko.theme.orange; case VerificationStatus.SELF: - return "image://colorimage/:/icons/icons/ui/checkmark.svg?green"; + return "image://colorimage/:/icons/icons/ui/checkmark.svg?" + Nheko.theme.green; default: - return "image://colorimage/:/icons/icons/ui/shield-filled-cross.svg?#d6c020"; + return "image://colorimage/:/icons/icons/ui/shield-filled-cross.svg?" + Nheko.theme.orange; } } } @@ -394,13 +394,13 @@ ApplicationWindow { source: { switch (verificationStatus) { case VerificationStatus.VERIFIED: - return "image://colorimage/:/icons/icons/ui/shield-filled-checkmark.svg?green"; + return "image://colorimage/:/icons/icons/ui/shield-filled-checkmark.svg?" + Nheko.theme.green; case VerificationStatus.UNVERIFIED: - return "image://colorimage/:/icons/icons/ui/shield-filled-exclamation-mark.svg?#d6c020"; + return "image://colorimage/:/icons/icons/ui/shield-filled-exclamation-mark.svg?" + Nheko.theme.orange; case VerificationStatus.SELF: - return "image://colorimage/:/icons/icons/ui/checkmark.svg?green"; + return "image://colorimage/:/icons/icons/ui/checkmark.svg?" + Nheko.theme.green; default: - return "image://colorimage/:/icons/icons/ui/shield-filled.svg?red"; + return "image://colorimage/:/icons/icons/ui/shield-filled.svg?" + Nheko.theme.red; } } } -- cgit 1.5.1