Platform Colors Versions Save

Generate platform native colors for iOS, Android & Web

v0.4.0

1 year ago
  • 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.

v0.3.1

2 years ago

Improvements

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

v0.3.0

2 years ago

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

v0.2.0

3 years ago

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