Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/growingio/gio-design-tokens

GrowingIO Design Tokens
https://github.com/growingio/gio-design-tokens

design-system design-tokens growingio

Last synced: 2 months ago
JSON representation

GrowingIO Design Tokens

Awesome Lists containing this project

README

        

# 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

```bash
$ cd gio-design-tokens
$ 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

```bash
$ yarn storybook
```