Theme
If your app has its own dark mode toggle, pass the current mode. In React, the assistant is recreated when
theme changes:
Accent
accent is any CSS colour. It colours the bar’s magnifier and its focus ring. Without it, they use the text colour.
Inside the assistant, the accent comes from the dashboard. Concatflow darkens it, keeping its hue, until white text on it reaches a 4.5:1 contrast ratio. A light brand colour stays readable on buttons.
Placeholder
widget.js in your page, before the assistant has loaded. So its placeholder comes from your page, not from the dashboard.
The default placeholder is in French:
Posez une question…. Set placeholder if your product is in another language. The bubble panel uses the prompt from the dashboard’s Appearance tab, with the same default.