Added Color via matugen

This commit is contained in:
Hannes
2026-02-16 23:44:27 +01:00
parent b0c1bc7973
commit 77187b94d3
9 changed files with 42 additions and 27 deletions
+12 -9
View File
@@ -1,7 +1,7 @@
import QtQuick
import Quickshell
import Quickshell.Hyprland
import "../../../colors"
Row { // Workspace Row
id: workspacesRow
@@ -17,8 +17,12 @@ Row { // Workspace Row
width: workspaceNum.width + 26
height: workspaceNum.height + 8
radius: 4
color: modelData.active ? "#4a93ff": "#333333"
border.color: "#555555"
color: workspaceButton.containsMouse ? Colors.tertiaryContainer
: modelData.active ? Colors.primaryContainer
: Colors.secondaryContainer
border.color: workspaceButton.containsMouse ? Colors.tertiaryContainer_fg
: modelData.active ? Colors.primaryContainer_fg
: Colors.secondaryContainer_fg
border.width: 2
MouseArea {
@@ -30,10 +34,7 @@ Row { // Workspace Row
Rectangle {
anchors.fill: parent
color: workspaceButton.containsMouse ?
modelData.active ? "#7fbaff"
: "#808080"
: "transparent"
color: "transparent"
radius: 6
}
}
@@ -42,7 +43,9 @@ Row { // Workspace Row
id: workspaceNum
text: modelData.id
anchors.centerIn: parent
color: modelData.active ? "#ffffff" : "#cccccc"
color: workspaceButton.containsMouse ? Colors.tertiary
: modelData.active ? Colors.primary
: Colors.secondary
font.pixelSize: 18
font.family: "Inter, sans-serif"
}
@@ -53,7 +56,7 @@ Row { // Workspace Row
Text {
visible: Hyprland.workspaces.length === 0
text: "No Workspaces"
color: "#ffffff"
color: Colors.error
font.pixelSize: 18
}
}