So.... ideally I think you'd just honour the theme the user requested with g.theme when drawing your clock.
HOWEVER if you really don't want to do that, you can use setTheme to set the theme for just your app, in which case widgets will then honour that. See 'Wave Clock' which has a purple background for an example :)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
So.... ideally I think you'd just honour the theme the user requested with
g.theme
when drawing your clock.HOWEVER if you really don't want to do that, you can use
setTheme
to set the theme for just your app, in which case widgets will then honour that. See 'Wave Clock' which has a purple background for an example :)