From 6e775a1a0edf8268abf463337bfcc3ef9749a645 Mon Sep 17 00:00:00 2001 From: M Matthew Hydock Date: Wed, 3 Sep 2025 07:49:41 -0400 Subject: dashboard: add month/year and paging to calendar (#499) * add month/year and paging to calendar also, removed day/month from time panel, and highlighting weekends (need to figure out why the weekday enum is incorrect. locale issue?) * removing dayOfWeek offset hack this is clearly a me problem. my locale appears to be set to dz, but only for caelestia shell. not sure why. * aesthetic and localization improvements * ensure all localized dates use UTC issues i was having wrt localized date and day-of-week being off by one appear to have been due to my timezone. forcing UTC seems to fix this. * fixes * anim today indicator * keep state across open/close * fix --------- Co-authored-by: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> --- modules/dashboard/dash/DateTime.qml | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'modules/dashboard/dash/DateTime.qml') diff --git a/modules/dashboard/dash/DateTime.qml b/modules/dashboard/dash/DateTime.qml index b9383f6..bbef067 100644 --- a/modules/dashboard/dash/DateTime.qml +++ b/modules/dashboard/dash/DateTime.qml @@ -32,7 +32,6 @@ Item { } StyledText { - Layout.topMargin: -(font.pointSize * 0.1) Layout.alignment: Qt.AlignHCenter text: "•••" color: Colours.palette.m3primary @@ -59,23 +58,11 @@ Item { sourceComponent: StyledText { text: root.timeComponents[2] ?? "" - color: Colours.palette.m3secondary + color: Colours.palette.m3primary font.pointSize: Appearance.font.size.large font.family: Appearance.font.family.clock font.weight: 600 } } - - StyledText { - Layout.topMargin: Appearance.spacing.normal - Layout.fillWidth: true - horizontalAlignment: Text.AlignHCenter - text: Time.format("ddd, d") - color: Colours.palette.m3tertiary - font.pointSize: Appearance.font.size.normal - font.family: Appearance.font.family.clock - font.weight: 500 - elide: Text.ElideRight - } } } -- cgit v1.2.3-freya