Add focus border for the theme radio button, used on the Appearance page

Otherwise it's impossible to tell which option you're on, if you're
solely using a keyboard.
This commit is contained in:
Joshua Goins
2024-06-08 10:00:29 -04:00
parent dc9a150929
commit a523fe7674

View File

@@ -30,6 +30,11 @@ QQC2.RadioButton {
shadow.size: 10
shadow.color: Qt.rgba(0, 0, 0, 0.3)
border {
color: Qt.alpha(Kirigami.Theme.highlightColor, 0.5)
width: root.activeFocus ? 3 : 0
}
color: {
if (root.checked) {
return Kirigami.Theme.highlightColor;