Hi there,
I’m using the standard theme and my devices usually change to dark/light mode depending on the device settings, usually the time of day.
I also use some dashboard showing information (like solar data, etc) where I change the background of the button/tile card depending on the data shown, like shown in the picture (if it’s on or off):
My problem is that choosing a color for the background (or for that matter for fonts also) that works in both dark and light modes is a very difficult task. How can I control that? That is, choose a color depending on the mode or some other solution for being able to show the right color for that mode.
Thanks.
Pedro.