Dark mode button - how does it work?

I’m just implementing the latest bootstrap and want to use the dark mode. I am simply adding data-bs-theme="light/dark" to the <body> and this works fine in the browser and preview.

But using the wappler button doesn’t work anymore. Should I implement it differently in code?

Have you checked the docs about using the bootstrap dark mode with Wappler and the theme switcher component?

1 Like