summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbh <qn+git@epicurus.dev>2026-03-08 15:23:50 +0800
committerbh <qn+git@epicurus.dev>2026-03-08 15:23:50 +0800
commit60fd0b55a7961ab8121604ff9aee92b85aa636d8 (patch)
treed8bb18a7acce3b2cf5bdd07acb21029f0a453588
parent36c1b38b514ab74f1c48ce5ab2b8738c80321281 (diff)
Add fade animation and increase font size on calendar popup
-rw-r--r--quickshell/.config/quickshell/shell.qml9
1 files changed, 7 insertions, 2 deletions
diff --git a/quickshell/.config/quickshell/shell.qml b/quickshell/.config/quickshell/shell.qml
index a58b7b0..110838d 100644
--- a/quickshell/.config/quickshell/shell.qml
+++ b/quickshell/.config/quickshell/shell.qml
@@ -717,6 +717,11 @@ PanelWindow {
anchors.margins: 11
spacing: 8
+ opacity: calendarPopup.showing ? 1.0 : 0.0
+ Behavior on opacity {
+ NumberAnimation { duration: 150; easing.type: Easing.OutCubic }
+ }
+
// Month/Year header with navigation
RowLayout {
Layout.fillWidth: true
@@ -784,7 +789,7 @@ PanelWindow {
text: modelData
color: "#FFC500"
font.family: "Source Code Pro"
- font.pixelSize: 12
+ font.pixelSize: 14
font.bold: true
horizontalAlignment: Text.AlignHCenter
}
@@ -809,7 +814,7 @@ PanelWindow {
text: model.day
color: isToday ? "#FFC500" : isCurrentMonth ? root.fg : "#4d7f7f"
font.family: "Source Code Pro"
- font.pixelSize: 12
+ font.pixelSize: 14
font.bold: isToday
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter