Further removal of App.dark from various places, swapping in App.theme equivalents

This commit is contained in:
Darren Burns
2024-10-24 17:11:25 +01:00
parent f8af2005ed
commit 0c5f611c44
8 changed files with 34 additions and 55 deletions

View File

@@ -248,7 +248,7 @@ class ChangingThemeApp(App[None]):
def compose(self) -> ComposeResult:
with Grid(id="palette"):
theme = self.get_theme(self.theme)
theme = self.current_theme
for variable, value in vars(theme).items():
if variable not in {
"name",