I just do it every time in onUpdate. I get the background color, then set the foreground color based on that. On some devices, it changes based on sunrise/sunset, so the user doesn't even have to change anything themselves.
Hello Jim, do you know how I can trigger this change (background color) in my datafields? So, as the night/mode of my edge 830 is based on time, which metod or trigger I need to use in order to swap this color?