textual/docs/examples/guide/styles/screen.py
2022-09-18 22:02:08 +01:00

12 lines
255 B
Python

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