Try g.setTheme({bg:"#f0f",fg:"#fff",dark:true}).clear(1);? the 1/true parameter in clear resets the current fg/bg color of Graphics to the theme colour.
That seems to work great for me - if I run it at the same time as the clock and wait, the clock will redraw in that color.
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.
Try
g.setTheme({bg:"#f0f",fg:"#fff",dark:true}).clear(1);
? the1/true
parameter inclear
resets the current fg/bg color of Graphics to the theme colour.That seems to work great for me - if I run it at the same time as the clock and wait, the clock will redraw in that color.