Dark Mode
Start with Fluid Design System Dark mode
Switch to Dark Mode
Update your minimum fluid-design-system package to version 4 (we highly recommend the latest version of Fluid)
Add a data-theme attribute to body tag
Toggle Dark Mode
Use this version of the toggle component to switch between light and dark mode.
HTML
Javascript
Troubleshooting
If you have any issues while getting set up with Fluid Design System, please create an issue or a request on our library git repository.