Refactored Theme class to correspond SOLID patterns

This commit is contained in:
Vladyslav Hroshev
2025-04-10 18:29:19 +03:00
parent 31e1a3deb9
commit 40a88cb7f4
26 changed files with 534 additions and 252 deletions

View File

@@ -0,0 +1,4 @@
class ThemePathProvider:
@staticmethod
def get_theme_path(themes_folder: str, path_name: str, theme_mode: str, theme_type: str) -> str:
return f"{themes_folder}/Marble-{path_name}-{theme_mode}/{theme_type}/"