Dark Mode
The dark_mode script is based on Flowbite's own documentation for dark mode. See https://flowbite.com/docs/customize/dark-mode/#dark-mode-switcher . We include step 1 directly on your page template, as this needs to load immediately. Our JavaScript script implements step 3 from the documentation.
Usually added to:
Flowbite Theme Templates
Script code:
<script async id="sitegurus_dark_mode_javascript_api" src="{{'modules/module_86/js/sitegurus_dark_mode_javascript_api.js' | asset_url}}" charset="utf-8"></script>