summaryrefslogtreecommitdiff
path: root/docs/main/theme.py
diff options
context:
space:
mode:
Diffstat (limited to 'docs/main/theme.py')
-rw-r--r--docs/main/theme.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/main/theme.py b/docs/main/theme.py
new file mode 100644
index 0000000..29d914f
--- /dev/null
+++ b/docs/main/theme.py
@@ -0,0 +1,22 @@
+# SPDX-License-Identifier: LGPL-3.0-or-later
+# Copyright (C) 2020 Daniel Thompson
+
+import wasp
+
+# Adopt a basic all-orange theme
+wasp.system.set_theme(
+ b'\xff\x00' # ble
+ b'\xff\x00' # scroll-indicator
+ b'\xff\x00' # battery
+ b'\xff\x00' # status-clock
+ b'\xff\x00' # notify-icon
+ b'\xff\x00' # bright
+ b'\xbe\xe0' # mid
+ b'\xff\x00' # ui
+ b'\xff\x00' # spot1
+ b'\xff\x00' # spot2
+ b'\x00\x0f' # contrast
+ )
+
+from gadgetbridge import *
+wasp.system.schedule()