From 1e60095ff2bc4c9a3181141b2b726622feaaf5c0 Mon Sep 17 00:00:00 2001 From: Ming Rui Zhang <mingrui.zhang@savoirfairelinux.com> Date: Tue, 27 Apr 2021 10:58:57 -0400 Subject: [PATCH] messagewebview: adjust theme for new chatview icons Change-Id: I953e07b3a709c7e26661bb3097b96516a24b0782 --- src/constant/JamiTheme.qml | 2 +- src/mainview/components/MessageWebView.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/constant/JamiTheme.qml b/src/constant/JamiTheme.qml index 4f8b4def8..4a9c6aaae 100644 --- a/src/constant/JamiTheme.qml +++ b/src/constant/JamiTheme.qml @@ -137,7 +137,7 @@ Item { property color inviteHoverColor: darkTheme ? blackColor : whiteColor property color chatviewButtonColor: darkTheme ? whiteColor : blackColor property color bgTextInput: darkTheme ? "#060608" : whiteColor - + property int invertPercentageInDecimal: darkTheme ? 1 : 0 // Font. property color faddedFontColor: darkTheme? "#c0c0c0" : "#a0a0a0" property color faddedLastInteractionFontColor: darkTheme ? "#c0c0c0" : "#505050" diff --git a/src/mainview/components/MessageWebView.qml b/src/mainview/components/MessageWebView.qml index 95be7d905..f2bad1d50 100644 --- a/src/mainview/components/MessageWebView.qml +++ b/src/mainview/components/MessageWebView.qml @@ -78,6 +78,7 @@ Rectangle { function updateChatviewTheme() { var theme = 'setTheme("\ + --svg-invert-percentage:' + JamiTheme.invertPercentageInDecimal + ';\ --jami-light-blue:' + JamiTheme.jamiLightBlue + ';\ --jami-dark-blue: ' + JamiTheme.jamiDarkBlue + ';\ --text-color: ' + JamiTheme.chatviewTextColor + ';\ @@ -89,7 +90,6 @@ Rectangle { --file-in-timestamp-color:' + JamiTheme.fileOutTimestampColor + ';\ --file-out-timestamp-color:' + JamiTheme.fileInTimestampColor + ';\ --bg-color:' + JamiTheme.chatviewBgColor + ';\ - --action-icon-color:' + JamiTheme.chatviewButtonColor + ';\ --action-icon-hover-color:' + JamiTheme.hoveredButtonColor + ';\ --action-icon-press-color:' + JamiTheme.pressedButtonColor + ';\ --placeholder-text-color:' + JamiTheme.placeholderTextColor + ';\ -- GitLab