Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/d-sanderson/figma-tokens
https://github.com/d-sanderson/figma-tokens
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/d-sanderson/figma-tokens
- Owner: d-sanderson
- Created: 2024-02-16T04:15:23.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-03-15T21:08:10.000Z (10 months ago)
- Last Synced: 2024-04-17T05:05:49.816Z (9 months ago)
- Language: CSS
- Size: 154 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Designer Workflow
1. A designer updates variables in Figma.
2. Using the [Tokens Studio Figma Plugin](https://tokens.studio/):
- A designer imports the updated Figma variables.
- A designer pushes the updated tokens (W3C compliant design tokens) to the `develop` branch.
- A designer opens a pull request to merge `develop` into `main`.## Developer Workflow
- when a pull request is opened, a [github action is triggered](https://github.com/MeowWolf/figma-tokens/blob/main/.github/workflows/build.yml) which reads the updated `tokens.json` file and generates our updated styles using [style dictionary](https://amzn.github.io/style-dictionary/#/)
- a developer(s) reviews the pull request and approves/requests changes.
- upon approval, a developer adds the "version bump" label to the pull request.
- adding the "version bump" label [triggers a github action](https://github.com/MeowWolf/figma-tokens/blob/main/.github/workflows/bump.yml) which issues a git release tag and bumps the `package.json` version.
- a developer creates a release from the latest tag in github.
- Creating a release from the tag in github [triggers another github action](https://github.com/MeowWolf/figma-tokens/blob/main/.github/workflows/publish.yml) which publishes a release to NPM.
- a developer updates all applications that use `figma-tokens` as a dependency.