grommet-styles
Independent styles from Grommet apps
Install
npm install grommet-styles
or
yarn add grommet-styles
Usage
;; const Box = styleddiv` `; const theme = global: colors: test: 'white' size: small: '75px' ; <Box bg="test" width="small" theme=theme> Hello World</Box>;
Run locally
git clone https://github.com/grommet/grommet-styles.git
npm install
npm run storybook
Try
Check this codesandbox