Skip to content

Commit 0437fdf

Browse files
committed
fix toggle button styling
1 parent 7e6911b commit 0437fdf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/textual/widgets/_toggle_button.py

+4
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ class ToggleButton(Static, can_focus=True):
5858
border: tall $border-blurred;
5959
padding: 0 1;
6060
background: $surface;
61+
62+
& > .toggle--button {
63+
color: $surface;
64+
}
6165
}
6266
6367
ToggleButton:focus {

0 commit comments

Comments
 (0)