From 7d025012b2529bcb796611a46eb38d3d0f80c5ba Mon Sep 17 00:00:00 2001 From: kraanzu Date: Mon, 25 Dec 2023 07:58:24 +0530 Subject: [PATCH] refactor: `base.tcss` to `styles.tcss` --- termtyper/ui/css/{base.tcss => styles.tcss} | 0 termtyper/ui/tui.py | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename termtyper/ui/css/{base.tcss => styles.tcss} (100%) diff --git a/termtyper/ui/css/base.tcss b/termtyper/ui/css/styles.tcss similarity index 100% rename from termtyper/ui/css/base.tcss rename to termtyper/ui/css/styles.tcss diff --git a/termtyper/ui/tui.py b/termtyper/ui/tui.py index 6b9218ec..229d60cc 100644 --- a/termtyper/ui/tui.py +++ b/termtyper/ui/tui.py @@ -41,7 +41,7 @@ def on_key(self, event: events.Key): class TermTyper(App): - CSS_PATH = "css/base.tcss" + CSS_PATH = "css/styles.tcss" def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs, watch_css=True) @@ -56,7 +56,7 @@ def action_theme(self, theme: str): css_folder = Path.absolute(Path(__file__).parent.parent) / "ui" / "css" themes_folder = css_folder / "themes" - base_css = css_folder / "base.tcss" + base_css = css_folder / "styles.tcss" theme_path = themes_folder / f"{theme}.tcss" shutil.copy(theme_path, base_css)