Skip to content

Releases: klarna-incubator/platform-colors

0.4.0

28 Oct 09:23
Compare
Choose a tag to compare
  • 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

23 Nov 17:44
Compare
Choose a tag to compare

Improvements

  • Fixed resolveColor functions to consistently return 6 or 8 character hex values on both platforms.

0.3.0

13 Oct 07:36
Compare
Choose a tag to compare

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

06 Apr 18:48
Compare
Choose a tag to compare

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