Dark Mode
The widget responds to the
hasDarkBackground
flag. This showcase’s global theme toggle propagates the current value to every widget on the page live.
Tenant · demo
src/pages/dark-mode.astro
---
import { FastComments } from 'fastcomments-astro';
---
<FastComments tenantId="demo" hasDarkBackground={true} />