refractor each date indicator to a new file

This commit is contained in:
darksignal7
2025-10-07 20:13:37 +03:00
parent d70e5c396f
commit f74a4f056e
6 changed files with 205 additions and 188 deletions
@@ -0,0 +1,27 @@
pragma ComponentBehavior: Bound
import qs
import qs.services
import qs.modules.common
import qs.modules.common.widgets
import QtQuick
Rectangle {
z: 1
color: root.colBackground
radius: Appearance.rounding.small
StyledText {
opacity: root.style === "rect" ? 1.0 : 0
Behavior on opacity {
animation: Appearance.animation.elementMoveFast.numberAnimation.createObject(this)
}
anchors.centerIn: parent
color: Appearance.colors.colSecondaryHover
text: DateTime.date.substring(5, 7)
font {
family: Appearance.font.family.expressive
pixelSize: 20
weight: 1000
}
}
}