- silence hydration mismatch warning (#108)
- feat: add ability to disable head script injection via the
disableHeadScriptInjection
prop for handling in hooks.server files (#89)
- fix: hydration issues (#99)
- Fix bug where
data-theme
attribute wasn't syncing with the theme (#87)
-
feat: Custom ClassNames (#80)
-
feat: Add
nonce
prop (#82) -
feat: Custom storage key names
modeStorageKey
themeStorageKey
(#84) -
feat: Add support for custom themes (#83)
- chore: add svelte 5 to peer deps (#77)
- feat:
disableTransitions
prop (#68)
- Update
moduleResolution
toNodeNext
(#63)
- Fix incorrect localStorage key (#51)
- Allow
mode-watcher
to manage the theme-color meta tag (#48)
- f30aa9f: add defaultMode prop
- 8c71d5a: Fix bug where mode would not change unless the
mode
store was subscribed to
- ec7750d: Rewrite mode-watcher with custom stores
- abc9b03: Fix bug missing withoutTransition in head
- 289d4d6: Fix: prevent transitions during theme change
- 8c93706: Add
track
prop which allows<ModeWatcher>
to track changes in system preference - 9dbbb39: Fixed bug in
setMode
which prevented user preferences from being set - 4cb519e: Fix: remove unnecessary dep
- 487c5e3: Change persistent stores to use
dark
|light
strings instead of booleans
- 0d3ef7f: Add
resetMode
function to reset mode to OS preference
- a03b451: Add
color-scheme
style to document element
- 5a18026: Initial release