stlato-ui-theme
v1.1.0
Published
[![npm version](https://badge.fury.io/js/stlato-ui-theme.svg)](https://badge.fury.io/js/stlato-ui-theme)
Downloads
19
Readme
stlato-ui-theme
Theme generator powered by Style Dictionary
Install
yarn add stlato-ui-theme
How to use
Example: Emotion
import { css } from "emotion";
import { theme } from "stlato-ui-theme";
const root = css`
color: ${theme.color.text.primary.value};
`;
Customization
import { createTheme } from "stlato-ui-theme";
const yourOwnTheme = createTheme({ ...yourOwnConfig });