dashboard

This commit is contained in:
Zacharias-Brohn
2026-02-14 01:09:54 +01:00
parent 53fe85c455
commit a645c28d4f
5 changed files with 51 additions and 7 deletions
+3 -3
View File
@@ -141,7 +141,7 @@ CustomMouseArea {
horizontalAlignment: Text.AlignHCenter
text: model.shortName
font.weight: 500
color: (model.day === 0 || model.day === 6) ? DynamicColors.palette.m3secondary : DynamicColors.palette.m3onSurfaceVariant
color: (model.day === 0) ? DynamicColors.palette.m3secondary : DynamicColors.palette.m3onSurfaceVariant
}
}
@@ -158,7 +158,7 @@ CustomMouseArea {
anchors.fill: parent
spacing: 3
locale: Qt.locale()
locale: Qt.locale("en_SE")
delegate: Item {
id: dayItem
@@ -177,7 +177,7 @@ CustomMouseArea {
text: grid.locale.toString(dayItem.model.day)
color: {
const dayOfWeek = dayItem.model.date.getUTCDay();
if (dayOfWeek === 0 || dayOfWeek === 6)
if (dayOfWeek === 6)
return DynamicColors.palette.m3secondary;
return DynamicColors.palette.m3onSurfaceVariant;
+2 -1
View File
@@ -21,7 +21,7 @@ Item {
animate: true
text: Weather.icon
color: DynamicColors.palette.m3secondary
font.pointSize: 24
font.pointSize: 54
}
Column {
@@ -29,6 +29,7 @@ Item {
anchors.verticalCenter: parent.verticalCenter
anchors.left: icon.right
anchors.leftMargin: Appearance.spacing.large
spacing: 8