Skip to content

Latest commit

Β 

History

History
127 lines (65 loc) Β· 2.69 KB

CHANGELOG.md

File metadata and controls

127 lines (65 loc) Β· 2.69 KB

mode-watcher

0.5.1

Patch Changes

  • silence hydration mismatch warning (#108)

0.5.0

Minor Changes

  • feat: add ability to disable head script injection via the disableHeadScriptInjection prop for handling in hooks.server files (#89)

Patch Changes

  • fix: hydration issues (#99)

0.4.1

Patch Changes

  • Fix bug where data-theme attribute wasn't syncing with the theme (#87)

0.4.0

Minor Changes

  • feat: Custom ClassNames (#80)

  • feat: Add nonce prop (#82)

  • feat: Custom storage key names modeStorageKey themeStorageKey (#84)

  • feat: Add support for custom themes (#83)

0.3.1

Patch Changes

  • chore: add svelte 5 to peer deps (#77)

0.3.0

Minor Changes

  • feat: disableTransitions prop (#68)

0.2.2

Patch Changes

  • Update moduleResolution to NodeNext (#63)

0.2.1

Patch Changes

  • Fix incorrect localStorage key (#51)

0.2.0

Minor Changes

  • Allow mode-watcher to manage the theme-color meta tag (#48)

0.1.2

Patch Changes

  • f30aa9f: add defaultMode prop

0.1.1

Patch Changes

  • 8c71d5a: Fix bug where mode would not change unless the mode store was subscribed to

0.1.0

Minor Changes

  • ec7750d: Rewrite mode-watcher with custom stores

0.0.7

Patch Changes

  • abc9b03: Fix bug missing withoutTransition in head

0.0.6

Patch Changes

  • 289d4d6: Fix: prevent transitions during theme change

0.0.5

Patch Changes

  • 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

0.0.4

Patch Changes

  • 487c5e3: Change persistent stores to use dark | light strings instead of booleans

0.0.3

Patch Changes

  • 0d3ef7f: Add resetMode function to reset mode to OS preference

0.0.2

Patch Changes

  • a03b451: Add color-scheme style to document element

0.0.1

Patch Changes

  • 5a18026: Initial release