Change some color.

This commit is contained in:
Black Hat
2018-09-03 07:13:39 +08:00
parent 64749ba32f
commit 104e194cfb
4 changed files with 33 additions and 16 deletions

View File

@@ -226,6 +226,7 @@ Item {
Layout.fillWidth: true
Layout.fillHeight: true
clip: true
displayMarginBeginning: 40
displayMarginEnd: 40
verticalLayoutDirection: ListView.BottomToTop
@@ -379,7 +380,7 @@ Item {
}
background: Rectangle {
color: MSettings.darkTheme ? "#242424" : "#eaeaea"
color: MSettings.darkTheme ? "#282828" : "#eaeaea"
}
ToolTip.visible: currentRoom && currentRoom.hasUsersTyping
@@ -462,7 +463,7 @@ Item {
contentItem: MaterialIcon { icon: "\ue24e" }
background: Rectangle { color: MSettings.darkTheme ? "#242424" : "#eaeaea" }
background: Rectangle { color: MSettings.darkTheme ? "#282828" : "#eaeaea" }
onClicked: emojiPicker.visible ? emojiPicker.close() : emojiPicker.open()

View File

@@ -36,7 +36,7 @@ Item {
placeholderText: "Search..."
background: Rectangle {
color: MSettings.darkTheme ? "#242424" : "#fafafa"
color: MSettings.darkTheme ? "#282828" : "#fafafa"
}
Shortcut {
@@ -89,6 +89,11 @@ Item {
currentIndex: -1
highlightFollowsCurrentItem: true
highlightMoveDuration: 200
highlightResizeDuration: 0
boundsBehavior: Flickable.DragOverBounds
ScrollBar.vertical: ScrollBar {}
@@ -99,7 +104,7 @@ Item {
width: parent.width
height: 64
color: "#fafafa"
color: MSettings.darkTheme ? "#282828" : "#fafafa"
AutoMouseArea {
anchors.fill: parent
@@ -113,6 +118,13 @@ Item {
ToolTip.text: name
}
Rectangle {
anchors.fill: parent
visible: highlighted
color: Material.accent
opacity: 0.1
}
Rectangle {
width: 4
height: parent.height