Make switches respect accent color

This commit is contained in:
Loren Burkholder 2023-03-01 10:49:17 -05:00
parent 0df306e68b
commit 3245b119be

View file

@ -25,7 +25,7 @@ Switch {
width: parent.width - height width: parent.width - height
x: radius x: radius
y: parent.height / 2 - height / 2 y: parent.height / 2 - height / 2
color: toggleButton.checked ? "skyblue" : "grey" color: toggleButton.checked ? Nheko.colors.highlight : "grey"
border.color: "#cccccc" border.color: "#cccccc"
} }