Nothing Special   »   [go: up one dir, main page]

Skip to content

All design tokens into a JSON file for multiple projects.

Notifications You must be signed in to change notification settings

getpingback/design-tokens

Repository files navigation

Stash Icons Cover

@getpingback/design-tokens
All design tokens into a JSON file for multiple projects.

Install

With yarn

yarn add @getpingback/design-tokens

With npm

npm install @getpingback/design-tokens

Getting started

Get access to design tokens based on the theme you want.

import { ThemeProvider } from '@getpingback/realeza';
import { lightTheme, darkTheme } from '@getpingback/design-tokens';

const App = () => {
  return (
    <ThemeProvider theme={lightTheme}>
     ...
    </ThemeProvider>
  );
};

Development

Before start to develop, you will need to run the following command:

sh npmrcconfig.sh

It will generate a .npmrc file with env tokens.

License

Licensed under the MIT License, Copyright © 2023-present Pingback LLC.

See LICENSE for more information.

About

All design tokens into a JSON file for multiple projects.

Resources

Stars

Watchers

Forks

Packages

No packages published