Breaking Changes:
- Added
getColorByThemeType()
- Added
getThemeByColor()
- Added a default storage key to
ThemeProvider
- Added
'use client'
directive toclient
exports - Renamed
flipThemeByColor()
togetFlippedThemeColor()
- Renamed
getTheme()
togetThemeByKey()
- Removed
getColorByTheme()
- Removed
color
andcolors
from context and provider
Other Changes:
- Added TypeScript support
- Added more tests and updated old ones
- Updated
AntiFlickerScript
- Updated
tsconfig
- Updated docs
- Removed rollup and
babel*
packages in favor oftsc
andts-jest