Skip to content

Commit 1225424

Browse files
committed
New version v1.1.6
1 parent 91dae59 commit 1225424

3 files changed

Lines changed: 4 additions & 18 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,6 @@ jobs:
2121
release_name: Release ${{ github.ref }}
2222
body: |
2323
New Release :tada:
24-
- Converted several functions to private class fields for encapsulation.
25-
- Added new methods to handle theme synchronization and retrieve current theme.
26-
- Renamed `onClick()` to `toggleTheme()` for better clarity
27-
28-
Changes:
29-
- Converted functions to private class fields:
30-
- `getOsPreference()` → `#getOsPreference()`
31-
- `createAttribute()` → `#createAttribute()`
32-
- `updateTags()` → `#updateTags()`
33-
- `savePreference()` → `#savePreference()`
34-
- New methods added:
35-
- `getCurrentTheme()` - Fetches the current theme preference.
36-
- `syncThemeBetweenTabs()` - Synchronizes the theme preference across all open tabs.
37-
- Method renaming:
38-
- `onClick()` → `toggleTheme()`
24+
- Code optimization
3925
draft: false
4026
prerelease: false

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "darkify-js",
3-
"version": "1.1.5",
3+
"version": "1.1.6",
44
"description": "A simple dark mode toggle library",
55
"type": "module",
66
"main": "dist/darkify.umd.js",
@@ -34,7 +34,7 @@
3434
"night mode",
3535
"automatic theme"
3636
],
37-
"author": "Emilio Romero",
37+
"author": "Emilio Romero <emrocode@gmail.com>",
3838
"license": "MIT",
3939
"devDependencies": {
4040
"@rollup/plugin-terser": "^0.4.4",

0 commit comments

Comments
 (0)