Releases: mahozad/theme-switch
Releases · mahozad/theme-switch
v1.5.2
This is a patch release.
Updates
- Revert the change to the main field in package.json introduced in the previous version (e5c3600)
v1.5.1
This is a patch release.
Updates
- Change the library main script to the minified version (in hope of fixing the bundlephobia badge) (0de6d2d)
v1.5.0
This is a minor release.
New features
- Reflect updates to switches in one page to all other open pages (b5586f0)
v1.4.0
v1.3.0
v1.2.1
This is a patch release.
Other
v1.2.0
v1.1.0
This is a minor release.
New features
- Add support for multiple instances of the element in a page (aa43505);
if there are multiple instances, they are all updated/animated in synchrony when one is toggled (8811803) - A new custom event called
themeToggle
is triggered whenever the element is toggled. It can be listened to if needed (8811803)
Bug fixes
- Make the element able to be hidden (if/when
display: none
is applied to the element) (32a0f5d)
v1.0.0
This is a patch release.
Bug fixes
- Fix the bug with sun rays color not being affected by the
--theme-switch-icon-color
CSS property (c90d787)