diff --git a/docs/examples/tutorial/intro02.py b/docs/examples/tutorial/intro02.py deleted file mode 100644 index 2f5d3ed64..000000000 --- a/docs/examples/tutorial/intro02.py +++ /dev/null @@ -1,29 +0,0 @@ -from textual.app import App - - -class ExampleApp(App): - - COLORS = [ - "white", - "maroon", - "red", - "purple", - "fuchsia", - "olive", - "yellow", - "navy", - "teal", - "aqua", - ] - - def on_mount(self): - self.styles.background = "darkblue" - - def on_key(self, event): - if event.key.isdigit(): - self.styles.background = self.COLORS[int(event.key)] - self.bell() - - -app = ExampleApp() -app.run()