Skip to content

Commit

Permalink
app: textual v1 themes
Browse files Browse the repository at this point in the history
  • Loading branch information
NextFire committed Dec 21, 2024
1 parent 26d1c8c commit 64cf5b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sachi/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def __init__(self, file_or_dir: Path = Path.cwd(), **kwargs):
def on_mount(self):
config = read_config()
config_model = BaseConfig(**config.unwrap())
self.dark = config_model.general.dark
self.theme = "textual-dark" if config_model.general.dark else "textual-light"

rename_screen = RenameScreen(self.file_or_dir)
self.install_screen(rename_screen, name="rename")
Expand Down

0 comments on commit 64cf5b7

Please sign in to comment.