mirror of
https://github.com/imarkoff/Marble-shell-theme.git
synced 2025-09-18 01:07:55 -07:00
Covered Theme module with tests
- Extracted `ColorReplacementGenerator`; - Extracted `ColorConverterImpl`; - Added documentation to some classes; - `hex_to_rgba` now supports shorthand hex colors (#fff).
This commit is contained in:
@@ -7,6 +7,9 @@ def get_version_folders(version, base_path):
|
||||
:param base_path: base path to version folders
|
||||
:return: list of matching version folders
|
||||
"""
|
||||
if not os.path.exists(base_path):
|
||||
return []
|
||||
|
||||
version_folders = os.listdir(base_path)
|
||||
version = int(version.split('.')[0]) # Use only the major version for comparison
|
||||
matching_folders = []
|
||||
|
Reference in New Issue
Block a user