API to detect if user uses BTTV dark theme


we are making a Twitch Bot. We have integratet the twitch chat with a iframe. If a user uses the BTTV dark theme, the chat on our website will also be dark. Now we want to change the webpanel css to a darker css if the user uses BTTV dark theme. But for this we need to detect if the user uses the dark theme… Is there a way to achieve this?

Thank you,

There is not a postMessage API in BetterTTV to detect the presence of the dark theme, so it’s not possible for you to communicate with the chat iframe embedded on your site.

This topic was automatically closed after 14 days. New replies are no longer allowed.