Package Exports
- @equinor/eds-tokens
- @equinor/eds-tokens/dist/esm/index.js
- @equinor/eds-tokens/dist/tokens.cjs.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@equinor/eds-tokens) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@equinor/eds-tokens
Design tokens used in the Equinor Design System (EDS), such as colours, typography, spacings etc…
Installation
npm install @equinor/eds-tokensIf you use Typescript, make sure you have typescript >= 3.8 as a devDependency:
npm install typescript --save-devUsage
import { tokens } from '@equinor/eds-tokens'Tokens
- Clickbounds
- Colors
- Elevation
- Shape
- Spacing
- Interaction states
- Typography (
ot,wofforwoff2font required)