design-system-tokens
A package containing the design tokens of the HashiCorp Design System.
Compatibility
Any platform/framework that can process CSS files and can use CSS custom properties ("variables") or use CSS helper classes.
Installation
yarn add @hashicorp/design-system-tokens
Then import one of those files in your app's style file (app.scss
or similar):
~/products/css/tokens.css
~/devdot/css/tokens.css
~/[products|devdot]/css/helpers/elevation.css
~/[products|devdot]/css/helpers/typography.css
~/[products|devdot]/css/helpers/focus-ring.css
Usage
See the dedicated page on the components website: https://design-system-components-hashicorp.vercel.app/foundations/tokens
Contributing
See the Contributing guide for details.
License
This project is licensed under the Mozilla Public License 2.0.
Versioning
We use SemVer for versioning.