diff options
| author | Chandler J <cjustice2000@gmail.com> | 2024-04-12 20:54:20 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-12 20:54:20 -0600 |
| commit | c5937854ff01ba29da48b7b0560ef27faad00d53 (patch) | |
| tree | e8fc9dc0bb690cc1976a47fe1166f4bafcafcb40 /src/theme.py | |
| parent | 2564189a769a5bd3de63086bb62dc3532d1b07b9 (diff) | |
| parent | 8a1903bb16d9e04795c33f3eb226486d06e8a642 (diff) | |
Merge pull request #2 from chandlerj/saves
major changes: save states & refactoring
Diffstat (limited to 'src/theme.py')
| -rw-r--r-- | src/theme.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/theme.py b/src/theme.py new file mode 100644 index 0000000..4bda7e1 --- /dev/null +++ b/src/theme.py @@ -0,0 +1,12 @@ + +class Theme: + def __init__(self, colors, comp_colors, wallpaper): + self.colors = colors + self.comp_colors = comp_colors + self.wallpaper = wallpaper + def toDict(self): + return { + "colors" : self.colors, + "comp_colors": self.comp_colors, + "wallpaper" : self.wallpaper + } |
