Make timeline more "Material design".

This commit is contained in:
Black Hat
2018-11-16 20:30:42 +08:00
parent 25ac3f7f5c
commit a296fffd91
25 changed files with 435 additions and 240 deletions

View File

@@ -16,6 +16,8 @@ import "qrc:/js/util.js" as Util
ApplicationWindow {
readonly property var currentConnection: accountListView.currentConnection ? accountListView.currentConnection : null
Material.theme: MSettings.darkTheme ? Material.Dark : Material.Light
width: 960
height: 640
minimumWidth: 720
@@ -26,10 +28,6 @@ ApplicationWindow {
visible: true
title: qsTr("Spectral")
Material.theme: MSettings.darkTheme ? Material.Dark : Material.Light
Material.accent: spectralController.color(currentConnection ? currentConnection.localUserId : "")
Platform.SystemTrayIcon {
visible: MSettings.showTray
iconSource: "qrc:/assets/img/icon.png"
@@ -156,7 +154,7 @@ ApplicationWindow {
source: user.paintable
}
highlightColor: spectralController.color(user.id)
highlightColor: Material.accent
page: roomPage