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
+4 -3
View File
@@ -3,6 +3,7 @@
import QtQuick
import QtQuick.Layouts
import Quickshell.Services.Notifications
import "../theme" as Theme
Item {
id: root
@@ -32,7 +33,7 @@ Item {
Rectangle {
id: bannerRect
color: "#3B253F"
color: Theme.Colors.background
Layout.fillWidth: true
implicitHeight: textColumn.height
Layout.leftMargin: (width / trumpetTop.sourceSize.width) * 2 + 3
@@ -70,7 +71,7 @@ Item {
wrapMode: Text.Wrap
font.pointSize: 18
font.bold: true
color: "#9292B6"
color: Theme.Colors.displayColor1
}
Text {
@@ -79,7 +80,7 @@ Item {
wrapMode: Text.Wrap
font.pointSize: 14
font.bold: false
color: "#9292B6"
color: Theme.Colors.displayColor2
}
}
}