@biodiversity/ecosystem-tokens
v0.0.6
Published
Design system tokens
Downloads
12
Readme
@houlagins/ds-tokens
Design tokens from @houlagins/design-system.
Setup
- Add
@houlagins/ds-tokens
dependency using yarn or npm to your project
yarn add @houlagins/ds-tokens
npm install @houlagins/ds-tokens
Usage
SCSS
@import path-to-file/index.scss;
CSS
@import path-to-file/index.css;
CSS Module
import tokens from '@houlagins/ds-tokens/index.cssmodules.css'
Common JS
var tokens = require('@houlagins/ds-tokens/index.common.js')
Module
import tokens from '@houlagins/ds-tokens/index.module.js'