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
No related branches found
No related tags found
No related merge requests found
......@@ -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 + ';\
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment