From 7255d4f07b5361574ec7d3ad448dc8b2b3e00c61 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 18 Mar 2024 12:15:27 +0100 Subject: [PATCH] fix(conversations): Make avatars dark in dark mode again Signed-off-by: Joas Schilling Signed-off-by: Maksim Sukharev --- img/icon-conversation-federation-dark.svg | 4 ++-- img/icon-conversation-group-dark.svg | 4 ++-- img/icon-conversation-mail-dark.svg | 4 ++-- img/icon-conversation-password-dark.svg | 4 ++-- img/icon-conversation-phone-dark.svg | 4 ++-- img/icon-conversation-public-dark.svg | 4 ++-- img/icon-conversation-text-dark.svg | 4 ++-- img/icon-conversation-user-dark.svg | 4 ++-- lib/Service/AvatarService.php | 2 +- src/components/ConversationIcon.vue | 13 ++++++++++--- .../ConversationAvatarEditor.vue | 11 ++++++++++- .../features/conversation-1/avatar.feature | 4 ++-- 12 files changed, 39 insertions(+), 23 deletions(-) diff --git a/img/icon-conversation-federation-dark.svg b/img/icon-conversation-federation-dark.svg index 6c726794f11..11c24802c01 100644 --- a/img/icon-conversation-federation-dark.svg +++ b/img/icon-conversation-federation-dark.svg @@ -1,6 +1,6 @@ - + - + \ No newline at end of file diff --git a/img/icon-conversation-group-dark.svg b/img/icon-conversation-group-dark.svg index 482009f06d9..c61b54be0a6 100644 --- a/img/icon-conversation-group-dark.svg +++ b/img/icon-conversation-group-dark.svg @@ -1,6 +1,6 @@ - + - + diff --git a/img/icon-conversation-mail-dark.svg b/img/icon-conversation-mail-dark.svg index f07c2fc1e39..30423fe5676 100644 --- a/img/icon-conversation-mail-dark.svg +++ b/img/icon-conversation-mail-dark.svg @@ -1,6 +1,6 @@ - + - + diff --git a/img/icon-conversation-password-dark.svg b/img/icon-conversation-password-dark.svg index f7c63a03b4f..459ca3e7f2c 100644 --- a/img/icon-conversation-password-dark.svg +++ b/img/icon-conversation-password-dark.svg @@ -1,6 +1,6 @@ - + - + diff --git a/img/icon-conversation-phone-dark.svg b/img/icon-conversation-phone-dark.svg index 56e4e8079e4..55061f2bc7e 100644 --- a/img/icon-conversation-phone-dark.svg +++ b/img/icon-conversation-phone-dark.svg @@ -1,6 +1,6 @@ - + - + diff --git a/img/icon-conversation-public-dark.svg b/img/icon-conversation-public-dark.svg index 02af232224c..be2d729b998 100644 --- a/img/icon-conversation-public-dark.svg +++ b/img/icon-conversation-public-dark.svg @@ -1,6 +1,6 @@ - + - + diff --git a/img/icon-conversation-text-dark.svg b/img/icon-conversation-text-dark.svg index 7f2b9656e7c..8c4b5cf3138 100644 --- a/img/icon-conversation-text-dark.svg +++ b/img/icon-conversation-text-dark.svg @@ -1,6 +1,6 @@ - + - + diff --git a/img/icon-conversation-user-dark.svg b/img/icon-conversation-user-dark.svg index e561cfb020c..648339843ef 100644 --- a/img/icon-conversation-user-dark.svg +++ b/img/icon-conversation-user-dark.svg @@ -1,6 +1,6 @@ - + - + diff --git a/lib/Service/AvatarService.php b/lib/Service/AvatarService.php index 70757074a98..ac0291ac708 100644 --- a/lib/Service/AvatarService.php +++ b/lib/Service/AvatarService.php @@ -43,7 +43,7 @@ class AvatarService { public const THEMING_PLACEHOLDER = '{{THEMING}}'; - public const THEMING_DARK_BACKGROUND = '999999'; + public const THEMING_DARK_BACKGROUND = '3B3B3B'; public const THEMING_BRIGHT_BACKGROUND = '6B6B6B'; public function __construct( diff --git a/src/components/ConversationIcon.vue b/src/components/ConversationIcon.vue index 3209e4dd9db..21e82c1b3b8 100644 --- a/src/components/ConversationIcon.vue +++ b/src/components/ConversationIcon.vue @@ -22,7 +22,7 @@