Get Started
Portal
Developers
Studio
Introduction to Studio
StudioKit Site Template
Navigating Studio
Studio Page Editor
Studio Page Templates
Install Studio Module
Mapping dynamic database content to static sections
Studio AI Section Builder
Studio User Roles
Studio Libraries
Dynamic Sections
Studio Developers
SiteBuilder (Deprecated)
CMS
Modules
WebApps
eCommerce
CRM
Site Manager
Reporting
Workflow Builder
Changelogs
Miscellaneous
Support & FAQs
πŸ’¬
Feedback
πŸ—ΊοΈ
Roadmap
πŸ“
Changelog
Custom icon
www.siteglide.com
    Home
  1. Studio
  2. Studio Helper JavaScript
  3. Dark Mode JS

Dark Mode JS

A helper for helping users toggle between light and dark mode. We are reviewing this and whether it is still helpful in the Studio module.

Written By Luke Wakefield

Last updated 2 days ago

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 .

Usually added to:

StudioKit library theme head

Script code:

Was this helpful?