mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
13 lines
251 B
Python
13 lines
251 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")
|
|
|
|
|
|
app = ScreenApp()
|
|
if __name__ == "__main__":
|
|
app.run()
|