You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,15 @@
1
1
# History of notable changes introduced in each version
2
2
3
+
## v1.1.0 (2022-03-07)
4
+
#### New features
5
+
- Add support for multiple instances of the element in a page ([`aa435053`](https://github.com/mahozad/theme-switch/commit/aa435053));
6
+
if there are multiple instances, they are all updated/animated in synchrony when one is toggled ([`8811803e`](https://github.com/mahozad/theme-switch/commit/8811803e))
7
+
- A new custom event called `themeToggle` is triggered whenever the element is toggled. It can be listened to if needed ([`8811803e`](https://github.com/mahozad/theme-switch/commit/8811803e))
8
+
#### Bug fixes
9
+
- Make the element able to be hidden (if/when `display: none` is applied to the element) ([`32a0f5d4`](https://github.com/mahozad/theme-switch/commit/32a0f5d4))
10
+
11
+
[All commits since version 1.0.0](https://github.com/mahozad/theme-switch/compare/v1.0.0...v1.1.0)
12
+
3
13
## v1.0.0 (2022-03-06)
4
14
#### Bug fixes
5
15
- Fix the bug with sun rays color not being affected by the `--theme-switch-icon-color` CSS property ([`c90d7874`](https://github.com/mahozad/theme-switch/commit/c90d7874))
0 commit comments