Added Color via matugen
This commit is contained in:
@@ -2,6 +2,7 @@ import QtQuick
|
||||
import Quickshell
|
||||
import Quickshell.Hyprland
|
||||
import Quickshell.Io
|
||||
import "../../../colors"
|
||||
|
||||
MouseArea {
|
||||
id: networkButton
|
||||
@@ -21,7 +22,7 @@ MouseArea {
|
||||
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
color: networkButton.containsMouse ? "#2a2a2a" : "transparent"
|
||||
color: networkButton.containsMouse ? Colors.tertiary : Qt.alpha(Colors.tertiaryContainer, 0.25)
|
||||
radius: 6
|
||||
width: output.width + 16
|
||||
|
||||
@@ -30,7 +31,7 @@ MouseArea {
|
||||
anchors.centerIn: parent
|
||||
font.pixelSize: 26
|
||||
font.family: "Nerd Font"
|
||||
color: output.text === " /" ? "#FF0000" : "#00ff00"
|
||||
color: networkButton.containsMouse ? Colors.tertiary_fg : output.text === " /" ? Colors.error : Colors.primary
|
||||
}
|
||||
|
||||
Process {
|
||||
|
||||
Reference in New Issue
Block a user