Dark mode
Set data-theme="dark" on your site’s <html> tag to enable dark mode in the chat widget.
Automatic theme switching
The widget follows changes to data-theme in real time. Set data-theme="light" to switch back to the light palette without restarting the conversation. If your framework uses a different theme attribute or class, synchronize its theme with data-theme on <html>. Setting another framework's theme alone does not change the widget palette.
Force dark mode permanently
If your site is always dark, add the attribute statically:
<html data-theme="dark">
The widget renders in dark mode for every visitor, regardless of their system's prefers-color-scheme setting.
Customize dark mode colors
Override the --biel-* CSS variables to change dark mode colors. See Styles.