Releases: trezy/react-color-mode
Releases · trezy/react-color-mode
v2.0.1
2.0.1 (2020-12-31)
Bug Fixes
- colormodecontext: get correct initial state for system color mode (02c8f6d)
v2.0.0
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
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)