Skip to content

Commit

Permalink
refactor: base.tcss to styles.tcss
Browse files Browse the repository at this point in the history
  • Loading branch information
kraanzu committed Dec 25, 2023
1 parent 5fa214a commit 7d02501
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions termtyper/ui/tui.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)

0 comments on commit 7d02501

Please sign in to comment.