Commit 1e60095f authored by Ming Rui Zhang's avatar Ming Rui Zhang

messagewebview: adjust theme for new chatview icons

Change-Id: I953e07b3a709c7e26661bb3097b96516a24b0782
parent b391d947
......@@ -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"
......
......@@ -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 + ';\
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment