summaryrefslogtreecommitdiff
path: root/modules/dashboard/dash/DateTime.qml
diff options
context:
space:
mode:
authorM Matthew Hydock <mhydock@yahoo.com>2025-09-03 07:49:41 -0400
committerGitHub <noreply@github.com>2025-09-03 21:49:41 +1000
commit6e775a1a0edf8268abf463337bfcc3ef9749a645 (patch)
treea0424c3317e3657492544fd4455bcbcadb65a28f /modules/dashboard/dash/DateTime.qml
parentinternal: non async popouts (diff)
downloadcaelestia-shell-6e775a1a0edf8268abf463337bfcc3ef9749a645.tar.gz
caelestia-shell-6e775a1a0edf8268abf463337bfcc3ef9749a645.tar.bz2
caelestia-shell-6e775a1a0edf8268abf463337bfcc3ef9749a645.zip
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>
Diffstat (limited to 'modules/dashboard/dash/DateTime.qml')
-rw-r--r--modules/dashboard/dash/DateTime.qml15
1 files changed, 1 insertions, 14 deletions
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
- }
}
}