summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-10 21:23:56 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-10 21:23:56 +1000
commite92cbd25a63403e2790f2c5c50cefaff79c310be (patch)
treebcabbcfecb7b82e6324251c83d9d2a5901674482 /modules
parentlock: center password field + placeholder states (diff)
downloadcaelestia-shell-e92cbd25a63403e2790f2c5c50cefaff79c310be.tar.gz
caelestia-shell-e92cbd25a63403e2790f2c5c50cefaff79c310be.tar.bz2
caelestia-shell-e92cbd25a63403e2790f2c5c50cefaff79c310be.zip
lock: add date
Diffstat (limited to '')
-rw-r--r--modules/lock/Center.qml13
1 files changed, 12 insertions, 1 deletions
diff --git a/modules/lock/Center.qml b/modules/lock/Center.qml
index f760ef8..e3bf147 100644
--- a/modules/lock/Center.qml
+++ b/modules/lock/Center.qml
@@ -23,7 +23,6 @@ ColumnLayout {
RowLayout {
Layout.alignment: Qt.AlignHCenter
- Layout.bottomMargin: Appearance.spacing.large
spacing: Appearance.spacing.small
StyledText {
@@ -67,7 +66,19 @@ ColumnLayout {
}
}
+ StyledText {
+ Layout.alignment: Qt.AlignHCenter
+ Layout.topMargin: -Appearance.padding.large * 2
+
+ text: Time.format("dddd, d MMMM yyyy")
+ color: Colours.palette.m3tertiary
+ font.pointSize: Appearance.font.size.extraLarge
+ font.family: Appearance.font.family.mono
+ font.bold: true
+ }
+
StyledClippingRect {
+ Layout.topMargin: Appearance.spacing.large * 2
Layout.alignment: Qt.AlignHCenter
implicitWidth: Config.lock.sizes.centerWidth / 2