From 6c5807ed0c5e6155b508483dab351e1a48296e16 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Thu, 11 Nov 2021 21:26:18 +0100 Subject: [PATCH] Make yellow darker Fixes readability issues in the userprofile. fixes #440 --- resources/qml/EncryptionIndicator.qml | 4 ++-- resources/qml/dialogs/UserProfile.qml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/qml/EncryptionIndicator.qml b/resources/qml/EncryptionIndicator.qml index 6bc16a18..f5f4cc76 100644 --- a/resources/qml/EncryptionIndicator.qml +++ b/resources/qml/EncryptionIndicator.qml @@ -22,10 +22,10 @@ Image { case Crypto.TOFU: return "image://colorimage/:/icons/icons/ui/lock.png?" + Nheko.colors.buttonText; default: - return "image://colorimage/:/icons/icons/ui/lock.png?#dd3d3d"; + return "image://colorimage/:/icons/icons/ui/lock.png?#d6c020"; } } else { - return "image://colorimage/:/icons/icons/ui/unlock.png?#dd3d3d"; + return "image://colorimage/:/icons/icons/ui/unlock.png?#d6c020"; } } ToolTip.visible: ma.hovered diff --git a/resources/qml/dialogs/UserProfile.qml b/resources/qml/dialogs/UserProfile.qml index da573ec1..e32a4595 100644 --- a/resources/qml/dialogs/UserProfile.qml +++ b/resources/qml/dialogs/UserProfile.qml @@ -309,7 +309,7 @@ ApplicationWindow { case VerificationStatus.VERIFIED: return "image://colorimage/:/icons/icons/ui/lock.png?green"; case VerificationStatus.UNVERIFIED: - return "image://colorimage/:/icons/icons/ui/unlock.png?yellow"; + return "image://colorimage/:/icons/icons/ui/unlock.png?#d6c020"; case VerificationStatus.SELF: return "image://colorimage/:/icons/icons/ui/checkmark.png?green"; default: @@ -390,7 +390,7 @@ ApplicationWindow { case VerificationStatus.VERIFIED: return "image://colorimage/:/icons/icons/ui/lock.png?green"; case VerificationStatus.UNVERIFIED: - return "image://colorimage/:/icons/icons/ui/unlock.png?yellow"; + return "image://colorimage/:/icons/icons/ui/unlock.png?#d6c020"; case VerificationStatus.SELF: return "image://colorimage/:/icons/icons/ui/checkmark.png?green"; default: