diff --git a/src/constant/JamiTheme.qml b/src/constant/JamiTheme.qml index 4f8b4def8a18d699039e41380cbd867a973363a3..4a9c6aaaedf7e57024bf6cdae448bf9d1b779fbc 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 95be7d905c83970c4452e5a11e37ad9150138de9..f2bad1d50d075e9161395f8c8e3864c52e85d76a 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 + ';\