summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-21 11:13:04 +0800
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-21 11:13:04 +0800
commit07954a4ed82109ff95416bb2787b9e3dc76b8fc7 (patch)
tree74d1429220dfcb283ccd495b2f58c03770ea8b89
parentdashboard: add calendar (diff)
downloadcaelestia-shell-07954a4ed82109ff95416bb2787b9e3dc76b8fc7.tar.gz
caelestia-shell-07954a4ed82109ff95416bb2787b9e3dc76b8fc7.tar.bz2
caelestia-shell-07954a4ed82109ff95416bb2787b9e3dc76b8fc7.zip
dashboard: fix calendar weekdays
-rw-r--r--modules/dashboard/dash/Calendar.qml12
1 files changed, 8 insertions, 4 deletions
diff --git a/modules/dashboard/dash/Calendar.qml b/modules/dashboard/dash/Calendar.qml
index ac31861..d9d5402 100644
--- a/modules/dashboard/dash/Calendar.qml
+++ b/modules/dashboard/dash/Calendar.qml
@@ -19,10 +19,14 @@ ColumnLayout {
Layout.topMargin: Appearance.padding.large
Layout.fillWidth: true
- font.family: Appearance.font.family.sans
- font.weight: 500
+ delegate: StyledText {
+ required property var model
- // delegate: StyledText {}
+ horizontalAlignment: Text.AlignHCenter
+ text: model.shortName
+ font.family: Appearance.font.family.sans
+ font.weight: 500
+ }
}
MonthGrid {
@@ -57,7 +61,7 @@ ColumnLayout {
horizontalAlignment: Text.AlignHCenter
text: grid.locale.toString(day.model.date, "d")
- color: day.model.today ? Colours.palette.m3onPrimary : day.model.month === grid.month ? Colours.palette.m3onSurface : Colours.palette.m3outline
+ color: day.model.today ? Colours.palette.m3onPrimary : day.model.month === grid.month ? Colours.palette.m3onSurfaceVariant : Colours.palette.m3outline
}
}
}