Added Color via matugen
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user