@hostgator/design-system-tokens
v1.8.1
Published
Importable Design System token values from Figma to Sass, JavaScript, Less and JSON.
Downloads
1
Readme
@hostgator/design-system-tokens
Importable Design System token values from Figma to Sass, JavaScript, Less and JSON.
Usage
Note: this repo requires access to the Endurance Artifactory registry.
Install with yarn:
yarn add @hostgator/design-system-tokens
Install with npm:
npm install @hostgator/design-system-tokens
Import into Sass:
@import '~@hostgator/design-system-tokens';
$gray-50: $color-gray-50 !default;
Building
Before building, rename the .env-template
to .env
and fill in the missing variable information.
From the command line in the project directory, run:
$ yarn workspace @hostgator/design-system-tokens build
# building design tokens from figma into scss, js, json...
Next Steps
- [ ] CI/CD Pipeline performs build and publish
- [ ] CI/CD Pipeline detects new version changes and automatically builds and deploys new versions
Contributing
Send a PR!