From b08a6aa7de8213c3b9c191d86f5bbfef4aad895e Mon Sep 17 00:00:00 2001 From: Darren Burns Date: Thu, 10 Oct 2024 12:56:15 +0100 Subject: [PATCH] CSS fix --- src/textual/widgets/_radio_set.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/textual/widgets/_radio_set.py b/src/textual/widgets/_radio_set.py index 7571f0573f..7b876df31c 100644 --- a/src/textual/widgets/_radio_set.py +++ b/src/textual/widgets/_radio_set.py @@ -49,6 +49,10 @@ class RadioSet(Container, can_focus=True, can_focus_children=False): background: $foreground 15%; } + & > RadioButton.-on .toggle--button { + color: $success; + } + &:focus { /* The following rules/styles mimic similar ToggleButton:focus rules in * ToggleButton. If those styles ever get updated, these should be too.