This is a package for using the design tokens defined in Ubie's products in development. Design tokens are managed in JSON format and are converted to the format for each platform using Style Dictionary.
Figma file is published in Figma Community. https://www.figma.com/community/file/1139108856002045571
npm install @ubie/design-tokens
This package contains files with three extensions: CSS, SCSS, and JS.
@import url('node_modules/@ubie/design-tokens/dist/tokens.css');
@import 'node_modules/@ubie/design-tokens/dist/tokens.scss';
import DesignTokens from '@ubie/design-tokens';
cp .env_sample .env
@designer
on Ubie Slack.npm run build:figma
npm run build:tokens
Edit config.json
if you need to add a supported platform. Please refer to the Style Dictionary documentation for details.
This Ubie Design Tokens is licensed under the Apache License 2.0.