Figmagic Versions Save

Figmagic is the missing piece between DevOps and design: Generate design tokens, export graphics, and extract design token-driven React components from your Figma documents.

v4.5.13

2 months ago

What's Changed

  • Adds RRGGBBAA support for hex color tokens, solving #198

Full Changelog: https://github.com/mikaelvesavuori/figmagic/compare/v4.5.12...v4.5.13

Summary of changes

Updates the classic 6-digit value (excluding alpha) to the newer 8-digital version. The previous way of handling hex colors, was to "bake in" the transparency. Now, the feature parity between RGBA and hex color tokens should be 1:1.

v4.5.12

2 months ago

What's Changed

  • Added a check function for data passed through sliceOutObjectFromFile() so that invalid JSON (for example, CSS tokens) would not break.
  • Bump dependencies.

Full Changelog: https://github.com/mikaelvesavuori/figmagic/compare/v4.5.11...v4.5.12

Summary of changes

This will ensure CSS tokens don't break Figmagic if also using elements. This does not however guarantee that elements are correctly pointing to the right token values.

v4.5.11

5 months ago

What's Changed

  • Make the code that fetches graphics also pick up instances and not just main components
  • Update dependencies

Full Changelog: https://github.com/mikaelvesavuori/figmagic/compare/v4.5.10...v4.5.11

Summary of changes

This change is intended to make it possible to split graphics "main nodes" from the file that Figmagic actually processes.

v4.5.10

6 months ago

What's Changed

Full Changelog: https://github.com/mikaelvesavuori/figmagic/compare/v4.5.9...v4.5.10

Summary of changes

These changes will not impact Figmagic itself, but had to be made because of the provenance needing to get pushed via the CI pipeline.

v4.5.9

7 months ago

What's Changed

  • Add support for outputting tokens as CSS variables - fixes #190
  • Hopefully improve gradient angle calculation
  • Cleanup of files, removing old cruft
  • Update badge ref from old master branch to newish main branch
  • Update (developer) dependencies multiple times since last release
  • Update CI configs to use Node 20 and newer Actions

Full Changelog: https://github.com/mikaelvesavuori/figmagic/compare/v4.5.8...v4.5.9

Summary of changes

The most important change in this release is the possibility to output tokens as CSS variables. The other changes are mostly relevant to the development of Figmagic.

v4.5.8

1 year ago

What's Changed

  • feat: add support to Color Themes #176
  • ci(): update CI to build before running
  • chore(): bump version and update dependencies
  • ci(): remove build folder from checked-in files, build in CI; update README with correct version number

Full Changelog: https://github.com/mikaelvesavuori/figmagic/compare/v4.5.7...v4.5.8

Summary of changes

The primary change is first-class support for color themes. This will not work perfectly (i.e. mapping to tokens) for generated components.

This release also includes improvements for the CI and does no longer include the built files in the checked-in code.

v4.5.7

1 year ago

What's Changed

  • fix(): update React TSX template so it works; fixing issue #178

Full Changelog: https://github.com/mikaelvesavuori/figmagic/compare/v4.5.6...v4.5.7

Summary of changes

The React template used for .tsx file generation was not working as expected. Added any types and using props instead of spreading to children. Verified it working in Codesandbox.

v4.5.6

1 year ago

What's Changed

Full Changelog: https://github.com/mikaelvesavuori/figmagic/compare/v4.5.5...v4.5.6

Summary of changes

Adds a new useLiteralFontFamilies option. This is useful for defining the whole font family stack with the fallbacks instead of a single font name, i.e.: Roboto, BlinkMacSystemFont, Helvetica, Arial, sans-serif.

v4.5.5

1 year ago

What's Changed

Full Changelog: https://github.com/mikaelvesavuori/figmagic/compare/v4.5.4...v4.5.5

Summary of changes

Adds a new durationUnit value (s or ms). Also bump dependencies and adds full contributors lists to README.md and package.json.

New Contributors

v4.5.4

1 year ago

What's Changed

  • Addresses #170 — https://github.com/mikaelvesavuori/figmagic/issues/170
  • fix(): add missing return to getEnvUrl() in configuration setup

Full Changelog: https://github.com/mikaelvesavuori/figmagic/compare/v4.5.3...v4.5.4

Summary of changes

Minor fix for a miss that probably came in the recent refactoring work.