mirror of
https://github.com/imarkoff/Marble-shell-theme.git
synced 2025-09-17 08:47:55 -07:00
'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:
@@ -40,6 +40,15 @@ class ThemePreparation:
|
||||
self.style_manager.prepend_content(content)
|
||||
return self
|
||||
|
||||
def add_from_file(self, content) -> "ThemePreparation":
|
||||
"""
|
||||
Adds content from a file to the main styles file.
|
||||
:param content: The path of the file to add.
|
||||
"""
|
||||
with open(content, "r") as f:
|
||||
self.style_manager.append_content(f.read())
|
||||
return self
|
||||
|
||||
def prepare(self):
|
||||
"""
|
||||
Extract theme from source folder and prepare it for installation.
|
||||
|
Reference in New Issue
Block a user