summaryrefslogtreecommitdiff
path: root/tools/themer.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/themer.py')
-rwxr-xr-xtools/themer.py20
1 files changed, 12 insertions, 8 deletions
diff --git a/tools/themer.py b/tools/themer.py
index 9eee132..2689133 100755
--- a/tools/themer.py
+++ b/tools/themer.py
@@ -17,10 +17,12 @@ class DefaultTheme():
BATTERY_COLOR = 0x7bef
SMALL_CLOCK_COLOR = 0xe73c
NOTIFICATION_COLOR = 0x7bef
- ACCENT_MID = 0xb5b6
- ACCENT_LO = 0xbdb6
- ACCENT_HI = 0xffff
- SLIDER_DEFAULT_COLOR = 0x39ff
+ BRIGHT = 0xffff
+ MID = 0xbdb6
+ UI = 0x39ff
+ SPOT1 = 0xff00
+ SPOT2 = 0xddd0
+ CONTRAST = 15
def serialize(self) -> bytes:
"""Serializes the theme for use in wasp-os"""
@@ -32,10 +34,12 @@ class DefaultTheme():
*split_bytes(self.BATTERY_COLOR),
*split_bytes(self.SMALL_CLOCK_COLOR),
*split_bytes(self.NOTIFICATION_COLOR),
- *split_bytes(self.ACCENT_MID),
- *split_bytes(self.ACCENT_LO),
- *split_bytes(self.ACCENT_HI),
- *split_bytes(self.SLIDER_DEFAULT_COLOR),
+ *split_bytes(self.BRIGHT),
+ *split_bytes(self.MID),
+ *split_bytes(self.UI),
+ *split_bytes(self.SPOT1),
+ *split_bytes(self.SPOT2),
+ *split_bytes(self.CONTRAST)
])
return theme_bytes