mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-09-10 12:03:18 +02:00
messagewebview: adjust theme for new chatview icons
Change-Id: I953e07b3a709c7e26661bb3097b96516a24b0782
This commit is contained in:
parent
b391d947c3
commit
1e60095ff2
2 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
||||||
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 {
|
||||||
--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 + ';\
|
||||||
|
|
Loading…
Add table
Reference in a new issue