@fishtank/space

Spacing tokens for the Fish Tank Design System

Stats

StarsIssuesVersionUpdatedCreatedSize
@fishtank/space
101.3.03 years ago3 years agoMinified + gzip package size for @fishtank/space in KB

Readme

Fish Tank Space

Space tokens for all of the space in the Fish Tank Design System, distributed in one freestanding package.

Installation

npm install @fishtank/space

Usage

Once you've added @fishtank/space as a dependency, you'll be able to get the tokens in a number of different formats. We currently support:

  • JSON (default)
  • Common.JS module
  • CSS Custom Properties
  • SCSS
  • LESS

More formats are available. See theo for more information.

Development

Tokens are encoded as YAML files consumed by Salesforce's Theo design token tool, which outputs them to multiple formats.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.