chore(StatusBaseText): add theme aware default color

This commit is contained in:
Patryk Osmaczko 2022-06-01 11:21:55 +02:00 committed by osmaczko
parent da22cde5e6
commit bf3578cf7c
1 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,7 @@ import StatusQ.Core.Theme 0.1
width: 240 width: 240
text: qsTr("Hello World!") text: qsTr("Hello World!")
font.pixelSize: 24 font.pixelSize: 24
color: Theme.pallete.directColor1 color: Theme.palette.directColor1
} }
\endqml \endqml
@ -27,4 +27,5 @@ import StatusQ.Core.Theme 0.1
Text { Text {
font.family: Theme.palette.baseFont.name font.family: Theme.palette.baseFont.name
color: Theme.palette.directColor1
} }