@getpingback/design-tokens
All design tokens into a JSON file for multiple projects.
yarn add @getpingback/design-tokens
npm install @getpingback/design-tokens
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>
);
};
Before start to develop, you will need to run the following command:
sh npmrcconfig.sh
It will generate a .npmrc
file with env tokens.
Licensed under the MIT License, Copyright © 2023-present Pingback LLC.
See LICENSE for more information.