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
|
||||
|
||||
Reference in New Issue
Block a user