aboutsummaryrefslogtreecommitdiffstats
path: root/theme
diff options
context:
space:
mode:
Diffstat (limited to 'theme')
-rw-r--r--theme/components/Panel.qml9
-rw-r--r--theme/components/PowerBar.qml3
2 files changed, 8 insertions, 4 deletions
diff --git a/theme/components/Panel.qml b/theme/components/Panel.qml
index 2d8a023..ebfc3eb 100644
--- a/theme/components/Panel.qml
+++ b/theme/components/Panel.qml
@@ -105,13 +105,13 @@ Item {
color: panel.textColor
font.family: "Noto Sans"
font.pixelSize: 140
- font.weight: Font.Light
+ font.weight: Font.Bold
}
Text {
width: parent.width
- horizontalAlignment: Text.AlignHCenter
- text: Qt.formatDateTime(panel.now, panel.dateFormat)
+ horizontalAlignment: Text.AlignLeft
+ text: Qt.formatDateTime(panel.now, panel.dateFormat).toUpperCase()
color: panel.subtextColor
font.family: "Noto Sans"
font.pixelSize: 20
@@ -123,7 +123,8 @@ Item {
text: panel.greeting
color: panel.textColor
font.family: "Noto Sans"
- font.pixelSize: 18
+ font.pixelSize: 96
+ wrapMode: Text.WordWrap
topPadding: 8
}
diff --git a/theme/components/PowerBar.qml b/theme/components/PowerBar.qml
index 88bdee6..1e35fb1 100644
--- a/theme/components/PowerBar.qml
+++ b/theme/components/PowerBar.qml
@@ -42,6 +42,7 @@ Row {
radius: 10
color: config.stringValue("surface0")
opacity: mouse.containsMouse && modelData.enabled ? 1 : 0
+ Behavior on opacity { NumberAnimation { duration: 120; easing.type: Easing.OutCubic } }
}
Image {
@@ -66,6 +67,8 @@ Row {
colorizationColor: mouse.containsMouse && modelData.enabled
? config.stringValue("accent")
: config.stringValue("subtext0")
+ scale: mouse.containsMouse && modelData.enabled ? 1.15 : 1.0
+ Behavior on scale { NumberAnimation { duration: 120; easing.type: Easing.OutCubic } }
}
MouseArea {