botpress / v12

Botpress OSS – v12
https://v12.botpress.com
GNU Affero General Public License v3.0
76 stars 88 forks source link

Bot integration ignore colors #844

Closed Bybeez closed 4 years ago

Bybeez commented 4 years ago

I tried customizing my bot integration, following the doc I set some custom colors 'backgroundColor', 'foregroundColor', but nothing changed. Every other parameters worked fined.

xavierbriole commented 4 years ago

Since the refactor of channel-web module, some properties may be deprecated. To customize the colors, you can use a custom css by adding the extraStylesheet parameter in the snippet with the link to your custom css (hosted or not).

More info here : https://botpress.io/docs/next/channels/web#customizing-web-chat-style

allardy commented 4 years ago

@Bybeez As @xavierbriole said, we've changed a couple of things with the refactor, and removed redundant properties. You have more control over styling using a stylesheet. The active configuration options can be found here: https://github.com/botpress/botpress/blob/master/modules/channel-web/src/views/lite/typings.d.ts#L126