grommet-css
grommet-css copied to clipboard
Standalone css for grommet ui library. Submit your theme via PR!
grommet-css
Created to use grommet with create-react-app. Grommet needs scss preprocessor and unless you eject there is no way to easily use with create-react-app.
Usage
As is
npm install grommet-css
# or
yarn add grommet-css
in App.js
import '../node_modules/grommet-css'
Custom
You can also fork this repo, make changes like including a different default grommet style in index.scss or tweaking grommet scss variables.
Production
Update the name in package.json, run npm build, then run npm publish
Development
Use npm link to link your fork to your main repo and npm start to watch for changes.