项目作者: growingio

项目描述 :
GrowingIO Design Tokens
高级语言: JavaScript
项目地址: git://github.com/growingio/gio-design-tokens.git
创建时间: 2020-12-18T05:05:09Z
项目社区:https://github.com/growingio/gio-design-tokens

开源协议:Apache License 2.0

下载


GrowingIO Design Tokens

Design tokens are the visual design atoms of the design system — specifically, they are named entities that store visual design attributes. We use them in place of hard-coded values (such as hex values for color or pixel values for spacing) in order to maintain a scalable and consistent visual system for UI development.

How it works

All of the style properties and assets are in this package. Make any changes to suit your needs.

To build package, run

  1. $ cd gio-design-tokens
  2. $ yarn build

The npm build task is what performs the style dictionary build steps to generate the files for each platform. Every time you change something in the style dictionary, like changing colors or adding properties, you will have to run this command again to generate the files.

To preview tokens, run

  1. $ yarn storybook