项目作者: bloombergindustry

项目描述 :
Fish Tank Design and Component System - Color Foundation Elements
高级语言: JavaScript
项目地址: git://github.com/bloombergindustry/fishtank-colors.git
创建时间: 2018-07-06T17:13:32Z
项目社区:https://github.com/bloombergindustry/fishtank-colors

开源协议:Apache License 2.0

下载


Fishtank Colors

Design tokens for all of the colors in the Fishtank Design System, distributed in one freestanding package.

Installation

  1. npm install @fishtank/colors

Usage

Once you’ve added @fishtank/colors 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 Variables

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.