Skip to content

Commit

Permalink
v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
metonym committed Mar 7, 2021
1 parent f0aec49 commit f3cbc99
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Set theme in `document.body` or `document.documentElement` by default

## [1.0.0](https://github.com/metonym/svelte-dark-mode/releases/tag/v1.0.0) - 2021-03-07

**Breaking Changes**

- `theme` type changed to `"dark" | "light"`

**Features**

- validate the `theme` value at runtime (must be either "dark" or "light")
- add event listener to automatically update the theme

## [0.3.0](https://github.com/metonym/svelte-dark-mode/releases/tag/v0.3.0) - 2020-12-22

- use `SvelteComponentTyped` interface in TypeScript definitions
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "svelte-dark-mode",
"version": "0.3.0",
"version": "1.0.0",
"license": "MIT",
"description": "Support dark mode in your Svelte apps",
"author": "Eric Liu (https://github.com/metonym)",
Expand Down

0 comments on commit f3cbc99

Please sign in to comment.