'border' as panel button border, add_from_file method

- Use 'border' as panel button border, not 'box-shadow';
- Added add_from_file method to ThemePreparation.
This commit is contained in:
Vladyslav Hroshev
2025-04-16 15:53:36 +03:00
parent 1ff3f6e17b
commit 408fe473ee
8 changed files with 43 additions and 29 deletions

View File

@@ -68,6 +68,14 @@ class Theme(ThemeBase):
self._preparation.add_to_start(content)
return self
def add_from_file(self, content) -> "Theme":
"""
Adds content from a file to the main styles file.
:param content: The path of the file to add.
"""
self._preparation.add_from_file(content)
return self
def prepare(self):
"""Extract theme from source folder and prepare it for installation."""
self._preparation.prepare()