use styled
This commit is contained in:
parent
c33b9e2a4c
commit
5e7035efdc
1 changed files with 3 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue