Skip to main content

Dark mode

The Biel.ai widget automatically switches to dark mode when it detects data-theme="dark" on the <html> tag.

Add the attribute to your site's <html> tag:

<html data-theme="dark">

Most documentation frameworks (Docusaurus, MkDocs Material, VitePress) set this attribute automatically when the user toggles dark mode — no additional configuration needed.