Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/t18n/convert-design-token

Convert json design tokens to TS, JS for React Native, CSS variables and SCSS variables using style-dictionary
https://github.com/t18n/convert-design-token

code-generation design-tokens figma javascript react-native scss style-dictionary zeplin

Last synced: about 2 months ago
JSON representation

Convert json design tokens to TS, JS for React Native, CSS variables and SCSS variables using style-dictionary

Awesome Lists containing this project

README

        

# Convert design token

This repo serve as an example to convert Zeplin-formatted as well as custom design tokens to TS, JS for React Native, CSS variables and SCSS variables.

## Modify tokens
Tokens can be modified in `design_tokens` folder. You can add more `json` files or modify existing ones. After that, run `pnpm generate`.