Put all the QML colors into a single standalone configurable file

This commit is contained in:
Tomas Rivera
2026-03-11 10:48:44 +01:00
parent 3bc27a2a4f
commit d374a70c9c
29 changed files with 112 additions and 883 deletions
+6 -5
View File
@@ -5,6 +5,7 @@ import QtQuick.Layouts
import Quickshell.Wayland
import "mpris" as Mpris
import "systray" as SysTray
import "../theme" as Theme
import ".."
PanelWindow {
@@ -32,7 +33,7 @@ PanelWindow {
}
exclusiveZone: 48
implicitHeight: 72
color: "transparent"
color: Theme.Colors.barColor1
mask: barRegion
Region {
@@ -61,12 +62,12 @@ PanelWindow {
implicitWidth: left.width + left.anchors.leftMargin + left.anchors.rightMargin
implicitHeight: left.height
color: "#3B253F"
color: Theme.Colors.barColor2
Rectangle {
z: -1
anchors.fill: parent
color: "#BE850E"
color: Theme.Colors.barColor3
anchors.margins: -4
}
Image {
@@ -112,12 +113,12 @@ PanelWindow {
implicitWidth: right.width + right.anchors.leftMargin + right.anchors.rightMargin
implicitHeight: right.height
color: "#3B253F"
color: Theme.Colors.barColor4
Rectangle {
z: -1
anchors.fill: parent
color: "#BE850E"
color: Theme.Colors.barColor5
anchors.margins: -4
}
Image {