Folder support, Custom theme support, Boiler Plate Code support

This commit is contained in:
Alexander R.
2026-07-29 00:51:54 +00:00
parent 0559f7549a
commit 4aa62722c6
108 changed files with 3020 additions and 152 deletions
+17
View File
@@ -0,0 +1,17 @@
from textual.theme import Theme
from src.tui.theme_manager import theme_manager
print("Loaded theme manager count:", len(theme_manager.themes))
t_sample = list(theme_manager.themes.values())[0]
print("Sample theme data:", t_sample)
t_obj = Theme(
name=t_sample["id"],
primary=t_sample["primary"],
secondary=t_sample.get("secondary"),
accent=t_sample.get("accent"),
background=t_sample["background"],
surface=t_sample["surface"],
dark=True
)
print("Created Textual Theme object successfully:", t_obj.name)