aboutsummaryrefslogtreecommitdiff
path: root/components/CheckBox.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/CheckBox.qml')
-rw-r--r--components/CheckBox.qml7
1 files changed, 6 insertions, 1 deletions
diff --git a/components/CheckBox.qml b/components/CheckBox.qml
index 4de0212f..72716150 100644
--- a/components/CheckBox.qml
+++ b/components/CheckBox.qml
@@ -57,7 +57,12 @@ RowLayout {
radius: 3
y: 0
color: "transparent"
- border.color: checkBox.checked ? Qt.rgba(1, 1, 1, 0.35) : Qt.rgba(1, 1, 1, 0.25)
+ border.color:
+ if(checkBox.checked){
+ return MoneroComponents.Style.inputBorderColorActive;
+ } else {
+ return MoneroComponents.Style.inputBorderColorInActive;
+ }
}
Rectangle {