AdaptiveCards
AdaptiveCards copied to clipboard
[Feature Request] Allow a different image url for dark mode
Problem Statement
Currently, there is no way to supply a different image for the dark mode. We can use a transparent image but the text becomes an issue.
Light mode
Dark mode
Proposed solution
Use the {theme}
parameter in the image path and re-load the image automatically when the appearance changes.
Alternatives or Workarounds
We use a transparent background image with a text color of #777
@el - great suggestion! I added this to our roadmap to investigate how we can implement this
Hey guys, it's been a few years. Just adding in that I would love this feature to be added in. Honestly, all I need is some sort of variable that tells me if the user is using Light theme or Dark theme in Teams and I can take care of the rest. This would open up a ton of possibilities for our team.
Hi @jonmill ! Just wanted to express that we need this feature as well. Adaptive cards are great, but when you are done design it and you switch to dark mode, it suddenly looks bad. Please help out! :-)