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

darkmode: UI theme make up

1. SimpleMessageDialog (Password changing)
2. SidePanelTabBar (Inivitation & Conversation tabs)
3. Contact search status rect

Change-Id: I3cf6aecde5a3ab840c351cfd6e18d7ce9fbfa3cc
parent 4715571d
No related branches found
No related tags found
No related merge requests found
......@@ -53,6 +53,8 @@ BaseDialog {
+ JamiTheme.preferredMarginSize))
implicitHeight: JamiTheme.preferredDialogHeight / 2 - JamiTheme.preferredMarginSize
color: JamiTheme.secondaryBackgroundColor
ColumnLayout {
anchors.fill: parent
......@@ -67,6 +69,7 @@ BaseDialog {
wrapMode: Text.WordWrap
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
color: JamiTheme.textColor
}
Item {
......
......@@ -166,15 +166,15 @@ Rectangle {
hoverEnabled: true
onReleased: {
searchStatusRect.color = JamiTheme.normalButtonColor
searchStatusRect.color = Qt.binding(function(){return JamiTheme.normalButtonColor})
}
onEntered: {
searchStatusRect.color = JamiTheme.hoverColor
searchStatusRect.color = Qt.binding(function(){return JamiTheme.hoverColor})
}
onExited: {
searchStatusRect.color = JamiTheme.backgroundColor
searchStatusRect.color = Qt.binding(function(){return JamiTheme.backgroundColor})
}
}
}
......
......@@ -154,13 +154,13 @@ TabBar {
selectTab(SidePanelTabBar.Conversations)
}
onReleased: {
buttonRectOne.color = JamiTheme.backgroundColor
buttonRectOne.color = Qt.binding(function(){return JamiTheme.backgroundColor})
}
onEntered: {
buttonRectOne.color = JamiTheme.hoverColor
buttonRectOne.color = Qt.binding(function(){return JamiTheme.hoverColor})
}
onExited: {
buttonRectOne.color = JamiTheme.backgroundColor
buttonRectOne.color = Qt.binding(function(){return JamiTheme.backgroundColor})
}
}
......@@ -267,13 +267,13 @@ TabBar {
selectTab(SidePanelTabBar.Requests)
}
onReleased: {
buttonRectTwo.color = JamiTheme.backgroundColor
buttonRectTwo.color = Qt.binding(function(){return JamiTheme.backgroundColor})
}
onEntered: {
buttonRectTwo.color = JamiTheme.hoverColor
buttonRectTwo.color = Qt.binding(function(){return JamiTheme.hoverColor})
}
onExited: {
buttonRectTwo.color = JamiTheme.backgroundColor
buttonRectTwo.color = Qt.binding(function(){return JamiTheme.backgroundColor})
}
}
......
......@@ -189,12 +189,11 @@ BaseDialog {
'anchors.verticalCenterOffset: -2;' +
'anchors.left: containerRectWithThreeKeys.left;' +
'anchors.leftMargin: 30;' +
'color: "' + JamiTheme.textColor + '";' +
'font.bold: true;' +
'font.pointSize : 12;' +
'text: "+"}',
containerRectWithThreeKeys)
componentPlusSign.color = Qt.binding(function() { return JamiTheme.textColor })
var componentKeyTwo = Qt.createComponent("KeyBoardShortcutKey.qml")
if (componentKeyTwo.status === Component.Ready) {
var objectKeyTwo = componentKeyTwo.createObject(containerRectWithThreeKeys)
......@@ -211,12 +210,11 @@ BaseDialog {
'anchors.verticalCenterOffset: -2;' +
'anchors.left: containerRectWithThreeKeys.left;' +
'anchors.leftMargin: 97;' +
'color: "' + JamiTheme.textColor + '";' +
'font.bold: true;' +
'font.pointSize : 12;' +
'text: "+"}',
containerRectWithThreeKeys)
componentPlusSignTwo.color = Qt.binding(function() { return JamiTheme.textColor })
var componentKeyThree = Qt.createComponent("KeyBoardShortcutKey.qml")
if (componentKeyThree.status === Component.Ready) {
var objectKeyThree = componentKeyThree.createObject(containerRectWithThreeKeys)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment