Default css

This commit is contained in:
Will McGugan
2022-09-02 09:56:04 +01:00
parent b6728a694f
commit e555b8512f
33 changed files with 64 additions and 50 deletions

View File

@@ -10,7 +10,7 @@ from textual.widget import Widget
class Box(Widget, can_focus=True):
CSS = "#box {background: blue;}"
DEFAULT_CSS = "#box {background: blue;}"
def render(self) -> RenderableType:
return Panel("Box")