mirror of
https://github.com/imarkoff/Marble-shell-theme.git
synced 2025-09-18 09:17:54 -07:00
Refactor GDM module to correspond SOLID principles
- I don't know how I will support this hell ahh code; - Added some methods to gnome_shell_theme_builder.py; - Added "color" property "install" method from theme_base.py.
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
from abc import ABC
|
||||
from abc import ABC, abstractmethod
|
||||
|
||||
|
||||
class ThemeBase(ABC):
|
||||
"""Base class for theme installation and preparation."""
|
||||
@staticmethod
|
||||
@abstractmethod
|
||||
def prepare(self):
|
||||
pass
|
||||
|
||||
@staticmethod
|
||||
def install(self, hue: int, sat: float | None = None):
|
||||
@abstractmethod
|
||||
def install(self, hue: int, name: str, sat: float | None = None):
|
||||
pass
|
Reference in New Issue
Block a user