Skip to content

Commit

Permalink
Fixing styles on light mode of RadioSet
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenburns committed Oct 15, 2024
1 parent 88f3881 commit d17812b
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/textual/widgets/_toggle_button.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,22 @@ class ToggleButton(Static, can_focus=True):
& > .toggle--button {
background: $foreground 25%;
}
&:hover {
& > .toggle--label {
background: $highlight-cursor;
}
}
}
&:hover {
background: $highlight-hover;
& > .toggle--label {
background: $highlight-hover;
}
& > .toggle--button {
background: $foreground 25%;
}
}
}
Expand Down

0 comments on commit d17812b

Please sign in to comment.