weather: use tPalette for containers
This commit is contained in:
parent
e47579c58d
commit
26943eebc7
1 changed files with 4 additions and 3 deletions
|
|
@ -1,7 +1,6 @@
|
||||||
import qs.components
|
import qs.components
|
||||||
import qs.services
|
import qs.services
|
||||||
import qs.config
|
import qs.config
|
||||||
import qs.utils
|
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import QtQuick.Layouts
|
import QtQuick.Layouts
|
||||||
|
|
||||||
|
|
@ -160,7 +159,7 @@ Item {
|
||||||
implicitHeight: forecastItemColumn.implicitHeight + Appearance.padding.normal * 2
|
implicitHeight: forecastItemColumn.implicitHeight + Appearance.padding.normal * 2
|
||||||
|
|
||||||
radius: Appearance.rounding.normal
|
radius: Appearance.rounding.normal
|
||||||
color: Colours.palette.m3surfaceContainer
|
color: Colours.tPalette.m3surfaceContainer
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
id: forecastItemColumn
|
id: forecastItemColumn
|
||||||
|
|
@ -215,7 +214,7 @@ Item {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.preferredHeight: 60
|
Layout.preferredHeight: 60
|
||||||
radius: Appearance.rounding.small
|
radius: Appearance.rounding.small
|
||||||
color: Colours.palette.m3surfaceContainer
|
color: Colours.tPalette.m3surfaceContainer
|
||||||
|
|
||||||
Row {
|
Row {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
|
|
@ -254,6 +253,7 @@ Item {
|
||||||
property string label
|
property string label
|
||||||
property string value
|
property string value
|
||||||
property color colour
|
property color colour
|
||||||
|
|
||||||
spacing: Appearance.spacing.small
|
spacing: Appearance.spacing.small
|
||||||
|
|
||||||
MaterialIcon {
|
MaterialIcon {
|
||||||
|
|
@ -261,6 +261,7 @@ Item {
|
||||||
font.pointSize: Appearance.font.size.extraLarge
|
font.pointSize: Appearance.font.size.extraLarge
|
||||||
color: weatherStat.colour
|
color: weatherStat.colour
|
||||||
}
|
}
|
||||||
|
|
||||||
Column {
|
Column {
|
||||||
StyledText {
|
StyledText {
|
||||||
text: weatherStat.label
|
text: weatherStat.label
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue