dark-mode-toggle

An animated toggle button for switching dark mode themes as WebComponent

MIT License

Downloads
21
Stars
5
Committers
1

Bot releases are visible (Hide)

dark-mode-toggle - v2.1.1 Latest Release

Published by H0rn0chse over 2 years ago

  • Added license and version note
dark-mode-toggle - v2.1.0

Published by H0rn0chse over 2 years ago

  • Added lottie-web as dependency
  • Updated demo
dark-mode-toggle - v2.0.1

Published by H0rn0chse about 3 years ago

  • Fixed skipAnimation flag for setTheme on WebComponent
dark-mode-toggle - Added WebComponent support

Published by H0rn0chse about 3 years ago

  • 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 to theme
dark-mode-toggle - Added Documentation

Published by H0rn0chse over 3 years ago

Added Documentation and extended customizing options

dark-mode-toggle - Initial Release

Published by H0rn0chse over 3 years ago