We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1c32fa commit 998f0cbCopy full SHA for 998f0cb
1 file changed
src/textual_dev/previews/colors.py
@@ -6,9 +6,8 @@
6
7
class ColorButtons(VerticalScroll):
8
def compose(self) -> ComposeResult:
9
- for border in ColorSystem.COLOR_NAMES:
10
- if border:
11
- yield Button(border, id=border)
+ for color_name in ColorSystem.COLOR_NAMES:
+ yield Button(color_name, id=color_name)
12
13
14
class ColorBar(Static):
0 commit comments