I have an image slider with text overlayed on it. I want to change the text color to either black or white depending on the theme of the image (light or dark).
I would like to manually specify the theme of the image as I don't want to over-complicate things. So for example it could work like this:
If imagetheme == 'light'
textcolor == #000
...and vice versa.