#support

Setting Widget Color via chatwootSettings

TLDR rgraves89 asks if it's possible to set widget color programmatically. sojan_official replies that it's not possible but suggests raising a GitHub issue.

Powered by Struct AI

1

Oct 17, 2022 (14 months ago)
rgraves89
Photo of md5-6e057e60f10162a79f66597daae48ab6
rgraves89
10:05 PM
Hey there- was wondering if there is a way to programmatically set the widget color via the chatwootSettings? We are integrating this across several sub-domains each of which has their own "brand color".

Let me know if this is a possibility? Thanks!
Oct 18, 2022 (14 months ago)
sojan_official
Photo of md5-788237a2af5ff191b07ee9f215706ead
sojan_official
08:00 AM
at the moment it is not possible. the widget is rendered based on the color stored in the backend. could you raise a github issue so that we can track this for future
Oct 19, 2022 (14 months ago)
rgraves89
Photo of md5-6e057e60f10162a79f66597daae48ab6
rgraves89
12:39 AM
I’m interested in contributing as well, so maybe it could be something I could just handle. Haven’t looked into your contribution guides yet, though.