use styled

This commit is contained in:
Benjamin Palko 2025-07-17 22:06:25 -04:00
parent c33b9e2a4c
commit 5e7035efdc

View file

@ -1,6 +1,7 @@
import Quickshell
import Quickshell.Io
import QtQuick
import "root:styled"
Item {
id: clock
@ -8,19 +9,14 @@ Item {
implicitWidth: 200
implicitHeight: 30
Rectangle {
StyledLabel {
anchors.fill: parent
color: "#333"
opacity: 0.5
radius: 5
}
Text {
StyledText {
id: text
anchors.centerIn: parent
color: "white"
Process {
// give the process object an id so we can talk
// about it from the timer