Would it be possible to set global variable colors to use with card modder? For example I use a background which is set globally by using background: var(--background-image) in my Lovelace setup. I wondered if this would be possible with card modder as well so that I can make changing themes.
Ok that is a bit what I thought would be possible, well that is great news! Thanks a lot. Will test this tonight and mark it as solved if it worked thank you!
Yes this works in the app! It is actually the device I test everything with as iOS is not able to display everything correctly (like border-radius on some cards). So I do all css testing on ios with the app.
Works fine for me, make sure you have the right profile and that you use the right code to call the colors from your themes.yaml file. I’ll post my current test color when I get back home.