Skip to content
Snippets Groups Projects
Commit 1e60095f authored by Ming Rui Zhang's avatar Ming Rui Zhang
Browse files

messagewebview: adjust theme for new chatview icons

Change-Id: I953e07b3a709c7e26661bb3097b96516a24b0782
parent b391d947
Branches
Tags
No related merge requests found
...@@ -137,7 +137,7 @@ Item { ...@@ -137,7 +137,7 @@ Item {
property color inviteHoverColor: darkTheme ? blackColor : whiteColor property color inviteHoverColor: darkTheme ? blackColor : whiteColor
property color chatviewButtonColor: darkTheme ? whiteColor : blackColor property color chatviewButtonColor: darkTheme ? whiteColor : blackColor
property color bgTextInput: darkTheme ? "#060608" : whiteColor property color bgTextInput: darkTheme ? "#060608" : whiteColor
property int invertPercentageInDecimal: darkTheme ? 1 : 0
// Font. // Font.
property color faddedFontColor: darkTheme? "#c0c0c0" : "#a0a0a0" property color faddedFontColor: darkTheme? "#c0c0c0" : "#a0a0a0"
property color faddedLastInteractionFontColor: darkTheme ? "#c0c0c0" : "#505050" property color faddedLastInteractionFontColor: darkTheme ? "#c0c0c0" : "#505050"
......
...@@ -78,6 +78,7 @@ Rectangle { ...@@ -78,6 +78,7 @@ Rectangle {
function updateChatviewTheme() { function updateChatviewTheme() {
var theme = 'setTheme("\ var theme = 'setTheme("\
--svg-invert-percentage:' + JamiTheme.invertPercentageInDecimal + ';\
--jami-light-blue:' + JamiTheme.jamiLightBlue + ';\ --jami-light-blue:' + JamiTheme.jamiLightBlue + ';\
--jami-dark-blue: ' + JamiTheme.jamiDarkBlue + ';\ --jami-dark-blue: ' + JamiTheme.jamiDarkBlue + ';\
--text-color: ' + JamiTheme.chatviewTextColor + ';\ --text-color: ' + JamiTheme.chatviewTextColor + ';\
...@@ -89,7 +90,6 @@ Rectangle { ...@@ -89,7 +90,6 @@ Rectangle {
--file-in-timestamp-color:' + JamiTheme.fileOutTimestampColor + ';\ --file-in-timestamp-color:' + JamiTheme.fileOutTimestampColor + ';\
--file-out-timestamp-color:' + JamiTheme.fileInTimestampColor + ';\ --file-out-timestamp-color:' + JamiTheme.fileInTimestampColor + ';\
--bg-color:' + JamiTheme.chatviewBgColor + ';\ --bg-color:' + JamiTheme.chatviewBgColor + ';\
--action-icon-color:' + JamiTheme.chatviewButtonColor + ';\
--action-icon-hover-color:' + JamiTheme.hoveredButtonColor + ';\ --action-icon-hover-color:' + JamiTheme.hoveredButtonColor + ';\
--action-icon-press-color:' + JamiTheme.pressedButtonColor + ';\ --action-icon-press-color:' + JamiTheme.pressedButtonColor + ';\
--placeholder-text-color:' + JamiTheme.placeholderTextColor + ';\ --placeholder-text-color:' + JamiTheme.placeholderTextColor + ';\
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment