tinyhead: change widget bg and fg colour so that widgets blend in with the rest of the face

master
michele 2024-11-01 15:38:01 +01:00
parent 7da28950e6
commit 8903215f3b
1 changed files with 3 additions and 1 deletions

View File

@ -214,6 +214,8 @@
}; };
let init = function init() { let init = function init() {
g.setTheme({bg:lib.settings.hairColour,fg:lib.settings.faceColour,dark:true}).clear();
Bangle.on('lock', lockHandler); Bangle.on('lock', lockHandler);
Bangle.on('charging', chargingHandler); Bangle.on('charging', chargingHandler);
if (lib.settings.btStatusEyes) { if (lib.settings.btStatusEyes) {
@ -227,7 +229,7 @@
activeEyesNum = disconnectedEyes; activeEyesNum = disconnectedEyes;
} }
Bangle.setUI({ Bangle.setUI("clock", {
mode:"custom", mode:"custom",
clock: true, clock: true,
touch: (button, xy) => { touch: (button, xy) => {