Skip to content

bloombergindustry/fishtank-space

Repository files navigation

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.