Commit 0453ee62 authored by Timothée Giet's avatar Timothée Giet
Browse files

add highContrast button theme

add highContrast button theme, for GCDialog
parent 7ae2f03a
......@@ -42,7 +42,7 @@ ButtonStyle {
/**
* type:string
* theme of the button. For now, two themes are accepted: "light" and "dark"
* theme of the button. For now, three themes are accepted: "light" and "dark" and "highContrast"
*
* Default is dark.
*/
......@@ -73,6 +73,15 @@ ButtonStyle {
selectedColorGradient1: "#803ACAFF",
borderColor: "white",
textColor: "white"
},
"highContrast": {
backgroundColorGradient0: "#EEFFFFFF",
selectedColorGradient0: "#C03ACAFF",
backgroundColorGradient1: "#AAFFFFFF",
selectedColorGradient1: "#803ACAFF",
borderColor: "white",
textColor: "373737"
}
}
......
......@@ -181,6 +181,7 @@ Item {
topMargin: 10
}
style: GCButtonStyle {
theme: "highContrast"
}
visible: text != ""
onClicked: {
......@@ -199,6 +200,7 @@ Item {
topMargin: 10
}
style: GCButtonStyle {
theme: "highContrast"
}
visible: text != ""
onClicked: {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment