Using Figmagic (simplifying design token generation and asset extraction) with Webpack 5, React 16, Styled Components.
This repository is a demo of Figmagic, showcasing how a project running Webpack, React, and Styled Components can utilize tokens. It provides pre-compiled tokens and demonstrates the process of converting Figma components into code.
To install the theme, follow these steps:
yarn or npm install in the repository’s root directory to install all dependencies.yarn start or npm start.yarn figmagic:graphics or npm run figmagic:graphics.yarn figmagic:elements or npm run figmagic:elements.yarn figmagic:sync or npm run figmagic:sync.yarn storybook or npm run storybook.The Figmagic Example repository demonstrates the usage of Figmagic in a project using Webpack, React, and Styled Components. It provides pre-compiled tokens and showcases the process of converting Figma components into code. The repository also includes a demo of selectively styling elements and a guide for installation.