Use the dark theme

Starting from v2.6.0, the Viewer component provides a built-in dark theme. If you want to use the dark theme, then set the theme option:
<Viewer theme="dark" />

Related example