Skip to content

chore: update versions - #9

Merged
rqbazan merged 1 commit into
mainfrom
changeset-release/main
Oct 13, 2026
Merged

rqbazan merged 1 commit into
mainfrom
changeset-release/main

Conversation

@vland-bot

@vland-bot vland-bot Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@variablelab/theme-toggle@2.0.0

Major Changes

  • #8 48299ee Thanks @rqbazan! - Renamed from @vlandoss/theme-toggle. The package now lives at withvariablelab/theme-toggle; @vlandoss/theme-toggle will not receive further releases.

    Breaking changes

    • Install and import @variablelab/theme-toggle instead of @vlandoss/theme-toggle (the inline script moves to https://unpkg.com/@variablelab/theme-toggle/dist/initial.js).
    • The localStorage key is now @variablelab/theme-toggle.colorMode (was @vlandoss/theme-toggle.colorMode).
    • The change event is now @variablelab/theme-toggle.colorModeChange (was @vlandoss/theme-toggle.colorModeChange). Update any document.addEventListener(...) listeners, or read the name from window.__COLOR_MODE__.CUSTOM_EVENT.

    Automatic migration

    Users keep their saved color mode. On init, both the inline script and useColorMode check for the 1.x key: if @variablelab/theme-toggle.colorMode is absent and @vlandoss/theme-toggle.colorMode exists, its value is copied to the new key. A value already stored under the new key always wins. Either way, the old key is removed.

@vland-bot
vland-bot Bot force-pushed the changeset-release/main branch from 7f7e7f6 to 64fc14d Compare October 13, 2026 03:55
@rqbazan
rqbazan merged commit 9158c7d into main Oct 13, 2026
5 checks passed
@rqbazan
rqbazan deleted the changeset-release/main branch October 13, 2026 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant