stylesadaptive-cardsspfx-extension

Adaptive cards extension button style


I'm writing custom adaptive card in typescript, and I need stylized buttons. Change font and background color is enough for me.. But I'm not fully understand how to implement custom renderer, can you help me with this? I found similar post, but I'm not fully understand it, I need more detailed infos AdaptiveCards - How to customize the color and fonts for Actions on iOS?

thx

i only found similar thread, but don't fully understand it


Solution

  • Just to have a proper answer here, it has been mentioned in other questions before but it is not possible to change the layout of anything AdaptiveCard related if you are not the host, rendering yourself.

    The purpose of AdaptiveCards is that the host defines the look and feel so cards always feel as if they're part of the host's UI but you can define the content of the card.

    If you want to customize card layout this can only be done if you host a card in your own website, webapp, etc which is totally doable.

    In terms of any Microsoft App, Teams, PowerApps etc you can not change the look and feel of AdaptiveCards other than what the cards come with.