Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 765 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 765 Bytes

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.