Private
Public Access
0
0

feat(paths): add global and project theme path helpers

This commit is contained in:
2026-06-04 22:25:29 -04:00
parent cd24c43f8f
commit d21e96de8f
5 changed files with 61 additions and 2252 deletions
+13
View File
@@ -93,6 +93,19 @@ def get_project_personas_path(project_root: Path) -> Path:
"""
return project_root / "project_personas.toml"
def get_global_themes_path() -> Path:
"""
[C: src/theme_2.py:load_themes_from_disk]
"""
root_dir = Path(__file__).resolve().parent.parent
return Path(os.environ.get("SLOP_GLOBAL_THEMES", root_dir / "themes"))
def get_project_themes_path(project_root: Path) -> Path:
"""
[C: src/theme_2.py:load_themes_from_disk]
"""
return project_root / "project_themes.toml"
def get_global_workspace_profiles_path() -> Path:
"""
[C: src/workspace_manager.py:WorkspaceManager._get_path, src/workspace_manager.py:WorkspaceManager.load_all_profiles]