mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Very basic theming support
This commit is contained in:
+23
-18
@@ -1,28 +1,33 @@
|
||||
import QtQuick
|
||||
import Quickshell
|
||||
import qs.Widgets
|
||||
import qs.Theme
|
||||
|
||||
PanelWindow {
|
||||
id: root
|
||||
id: root
|
||||
|
||||
property var modelData
|
||||
property var modelData
|
||||
|
||||
screen: modelData
|
||||
implicitHeight: 36
|
||||
color: "transparent"
|
||||
screen: modelData
|
||||
implicitHeight: 36
|
||||
color: "transparent"
|
||||
|
||||
anchors {
|
||||
top: true
|
||||
left: true
|
||||
right: true
|
||||
anchors {
|
||||
top: true
|
||||
left: true
|
||||
right: true
|
||||
}
|
||||
|
||||
Item {
|
||||
anchors.fill: parent
|
||||
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
color: Theme.backgroundPrimary
|
||||
layer.enabled: true
|
||||
}
|
||||
|
||||
Item {
|
||||
anchors.fill: parent
|
||||
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
color: "purple"
|
||||
layer.enabled: true
|
||||
}
|
||||
}
|
||||
// Just testing
|
||||
NoctaliaToggle {}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user