diff --git a/.changeset/initial-release.md b/.changeset/initial-release.md deleted file mode 100644 index 35179f4..0000000 --- a/.changeset/initial-release.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@vlandoss/theme-toggle": major ---- - -Initial stable release. Ships the `useColorMode` React hook and an inline pre-paint script for `light` / `dark` / `system` color modes. The `system` mode resolves against the OS `prefers-color-scheme` and tracks it live, the choice is persisted to `localStorage`, a `dark` class is toggled on ``, and a `CustomEvent` is dispatched on every change. diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..2c0963d --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,7 @@ +# @vlandoss/theme-toggle + +## 1.0.0 + +### Major Changes + +- [#2](https://github.com/variableland/theme-toggle/pull/2) [`dd42ff8`](https://github.com/variableland/theme-toggle/commit/dd42ff8bd1ca2b96c6484f8a323d17aa916e158a) Thanks [@rqbazan](https://github.com/rqbazan)! - Initial stable release. Ships the `useColorMode` React hook and an inline pre-paint script for `light` / `dark` / `system` color modes. The `system` mode resolves against the OS `prefers-color-scheme` and tracks it live, the choice is persisted to `localStorage`, a `dark` class is toggled on ``, and a `CustomEvent` is dispatched on every change. diff --git a/package.json b/package.json index 3a80546..65a5e37 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@vlandoss/theme-toggle", - "version": "0.0.0", + "version": "1.0.0", "description": "Light/dark/system color-mode toggle for React with a no-flash inline script", "homepage": "https://github.com/variableland/theme-toggle#readme", "bugs": {