Added WebComponent support
- You can now use the button as WebComponent via the custom tag
<dark-mode-toggle>
. - With this you can also skip the import of the css bundle.
- Have a look at the Documentation for more information.
You can still import and use the button like you did before (except for the breaking change).
Breaking Changes
- The option
initialTheme
was renamed totheme