From a523fe767407529362434974f9a8bd0799c06e17 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sat, 8 Jun 2024 10:00:29 -0400 Subject: [PATCH] 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. --- src/settings/ThemeRadioButton.qml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/settings/ThemeRadioButton.qml b/src/settings/ThemeRadioButton.qml index 2e273f475..09a137ddc 100644 --- a/src/settings/ThemeRadioButton.qml +++ b/src/settings/ThemeRadioButton.qml @@ -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;