I wanted to add colored strips to the top of an adaptive card that I am trying to make. It should be something like the yellow and blue strips on the cards made by the Azure DevOps extension.
Can anyone give any idea how to do so?
I wanted to add colored strips to the top of an adaptive card that I am trying to make. It should be something like the yellow and blue strips on the cards made by the Azure DevOps extension.
Can anyone give any idea how to do so?
you can do something like this:
Not exactly what you want but currently i don't know how you could do a thinner line. Colors can only be the already existing ones like accent, warning etc. Code for the line is just like this:
{
"type": "Container",
"style": "good",
"bleed": true,
"spacing": "None"
},
The only other option is to create an image of the line you like to have, like a 5px png and add it to the card.
To add a blue strip over every adaptive card you need to add the ancent color
property to the manifest file.