Skip to content

Releases: trezy/react-color-mode

v2.0.1

31 Dec 04:29
02c8f6d
Compare
Choose a tag to compare

2.0.1 (2020-12-31)

Bug Fixes

  • colormodecontext: get correct initial state for system color mode (02c8f6d)

v2.0.0

31 Dec 03:53
094d360
Compare
Choose a tag to compare

2.0.0 (2020-12-31)

Bug Fixes

  • colormodecontext: update colorMode when system color mode changes (580fb79)

Code Refactoring

BREAKING CHANGES

  • Complete refactor of the API

v1.0.0

29 Dec 22:55
ec8b7ce
Compare
Choose a tag to compare

1.0.0 (2020-12-29)

Bug Fixes

  • fix Can't resolve 'React' errors (c915bb1)
  • colormodecontext: fix useState is not defined error (e515f01)
  • colormodescript: fix system is not defined error (0aebad1)

Features

  • add config for default mode and storage key (c6e18cd)
  • colormodecontext: expose context (b1941d3)