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.
Full Changelog: https://github.com/mikaelvesavuori/figmagic/compare/v4.5.12...v4.5.13
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.
sliceOutObjectFromFile()
so that invalid JSON (for example, CSS tokens) would not break.Full Changelog: https://github.com/mikaelvesavuori/figmagic/compare/v4.5.11...v4.5.12
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.
Full Changelog: https://github.com/mikaelvesavuori/figmagic/compare/v4.5.10...v4.5.11
This change is intended to make it possible to split graphics "main nodes" from the file that Figmagic actually processes.
Full Changelog: https://github.com/mikaelvesavuori/figmagic/compare/v4.5.9...v4.5.10
These changes will not impact Figmagic itself, but had to be made because of the provenance needing to get pushed via the CI pipeline.
master
branch to newish main
branchFull Changelog: https://github.com/mikaelvesavuori/figmagic/compare/v4.5.8...v4.5.9
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.
Full Changelog: https://github.com/mikaelvesavuori/figmagic/compare/v4.5.7...v4.5.8
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.
Full Changelog: https://github.com/mikaelvesavuori/figmagic/compare/v4.5.6...v4.5.7
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.
Full Changelog: https://github.com/mikaelvesavuori/figmagic/compare/v4.5.5...v4.5.6
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
.
Full Changelog: https://github.com/mikaelvesavuori/figmagic/compare/v4.5.4...v4.5.5
Adds a new durationUnit
value (s
or ms
). Also bump dependencies and adds full contributors lists to README.md
and package.json
.
https://github.com/mikaelvesavuori/figmagic/issues/170
Full Changelog: https://github.com/mikaelvesavuori/figmagic/compare/v4.5.3...v4.5.4
Minor fix for a miss that probably came in the recent refactoring work.