summary refs log tree commit diff
path: root/resources/qml/dialogs/UserProfile.qml
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2022-10-01 13:45:26 +0000
committerGitHub <noreply@github.com>2022-10-01 13:45:26 +0000
commitf8724fdea800dc36ac164c998f914f4e5122a289 (patch)
treec8fb5a98c0cf002788e671d805f8f3a24709f493 /resources/qml/dialogs/UserProfile.qml
parentFix linting (diff)
parentAdd green theme color, make "error" configurable (diff)
downloadnheko-f8724fdea800dc36ac164c998f914f4e5122a289.tar.xz
Merge pull request #1198 from rnhmjoj/pr-green
Add green theme color, make "error" configurable
Diffstat (limited to 'resources/qml/dialogs/UserProfile.qml')
-rw-r--r--resources/qml/dialogs/UserProfile.qml16
1 files changed, 8 insertions, 8 deletions
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; } } }