fix styles examples, box model docs

This commit is contained in:
Will McGugan
2022-09-10 16:45:13 +01:00
parent 39c6dee84f
commit 269960ad8a
8 changed files with 37 additions and 8 deletions

View File

@@ -0,0 +1,12 @@
from textual.app import App
class ScreenApp(App):
def on_mount(self) -> None:
self.screen.styles.background = "darkblue"
self.screen.styles.border = ("heavy", "white")
app = ScreenApp()
if __name__ == "__main__":
app.run()