Releases: klarna-incubator/platform-colors
Releases · klarna-incubator/platform-colors
0.4.0
- Support for new React Native architecture.
- Color name prefixes are now optional.
- Fix crash if Android xml files doesn't exist.
- Prevent non-colorset files being removed from iOS asset catalog.
- Fix syntax errors on older node versions.
0.3.1
Improvements
- Fixed
resolveColor
functions to consistently return 6 or 8 character hex values on both platforms.
0.3.0
New functionality
- Add support for prefix and follow the platform-specific naming convention
- Use prettier to format code
- Add comment to generated colors in Android XML
- Keep user-added colors in Android XML and only update prefixed ones
- Print total generated colors and a reminder to recompile the apps
- Nuke ios generated colors before generating again
0.2.0
New functionality
- Added support for extracting the value on the JS side via
resolveColor
/resolveColorSync
.
Fixes
- Fix colors with alpha channel on Android
- Improved typing of colors on
react-native