Use color palette.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick.Layouts 1.3
|
||||
import QtQuick.Controls.Material 2.4
|
||||
|
||||
import Spectral.Setting 0.1
|
||||
import Spectral.Font 0.1
|
||||
@@ -11,7 +10,7 @@ Text {
|
||||
|
||||
id: materialLabel
|
||||
|
||||
color: Material.foreground
|
||||
color: MPalette.foreground
|
||||
font.pixelSize: 24
|
||||
font.family: MaterialFont.name
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
|
||||
@@ -58,7 +58,7 @@ ColumnLayout {
|
||||
visible: !(sentByMe || avatarVisible)
|
||||
|
||||
text: Qt.formatDateTime(time, "hh:mm")
|
||||
color: "#5B7480"
|
||||
color: MPalette.lighter
|
||||
|
||||
font.pixelSize: 10
|
||||
horizontalAlignment: Label.AlignHCenter
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.4
|
||||
import Spectral.Setting 0.1
|
||||
|
||||
Label {
|
||||
text: section + " • " + Qt.formatTime(time, "hh:mm")
|
||||
color: MPalette.foreground
|
||||
font.pixelSize: 13
|
||||
font.weight: Font.Medium
|
||||
font.capitalization: Font.AllUppercase
|
||||
|
||||
Reference in New Issue
Block a user