impaktfull_ui_figma_sync
This is a tool to sync the impaktfull ui from figma to the codebase.
Get started
- Duplicate the figma file
- Create a personal access token on figma
- Add the
impaktfull_ui_figma_sync
dependency to yourpubspec.yaml
file.dependencies: impaktfull_ui_figma_sync: latest_version
- Add the pubspec config to your
pubspec.yaml
file.impaktfull_ui_figma_sync: figma_file_key: your_figma_file_key_comes_here personal_access_token: your_personal_access_token_comes_here
- Run the tool with
dart bin/impaktfull_ui_figma_sync.dart
Implemented
x
Sync theme colorsx
Sync text stylesx
Sync components
TODO
Other documentation
Figma documentation
Limitations
Figma requires an enterprise plan to access the variables over the API! (Which is super expensive in most cases) This is why we are using the figma_sync
frame to sync the variables.