2.3.0 • Published 12 months ago
@corabank/design-tokens v2.3.0
Usage
import tokens from "@corabank/design-tokens";
console.log(tokens);
console.log(tokens.colors);Developer
Install
npm install --save @corabank/design-tokensBuild
npm run buildInfo: You need environment variable FIGMA_TOKEN to run this step.
Tokens
- borderWidths
- colors
- fontFamilies
- fontSizes
- fontWeights
- opacities
- radii
- shadows
- spacing
- zIndices
Figma tokens template
How to contribute
- Create a new branch (whenever possible add your
Jiraissue number) - Add your changes on the same branch and test it with
npm link(REQUIRED) - Push your changes
- Open the pull request with
Releasesection filled with the changes that represent this release.The release is generated automatically, just leave the release section filled in. Your release will appear here
Example:
- Added new feature A
- Created <B /> Component
- ...- And, on pull request, add one of the following mandatory labels:
bump:patch,bump:minor,bump:majororbump:bypass(any other label can also be added)The labels will indicate to the actions which version needs to be generated and published right after the merge
bump:patch >> will generate `patch` version
bump:minor >> will generate `minor` version
bump:major >> will generate `major` version
bump:bypass >> wont generate version and will bypass actionLicense
MIT © corabank