ibm-frontend / gatsby-starter-carbon--deprecated

Gatsby starter with the Carbon Design System
MIT License
6 stars 9 forks source link

Import Carbon components #6

Closed diego-codes closed 6 years ago

diego-codes commented 6 years ago

Once the Gatsby project has been created, Carbon React components and styles must be imported to be used in creating a Gatsby site.

This issue is complete when:

jlengstorf commented 6 years ago

Styles are here: https://github.com/ibm-frontend/gatsby-starter-carbon/blob/master/src/layouts/index.scss#L13-L17

We should probably import the Carbon styles from the package, not unpkg.

jlengstorf commented 6 years ago

Each component imports the relevant MD components directly. We'll need to either drop examples (where irrelevant) or update to use Carbon.

https://github.com/ibm-frontend/gatsby-starter-carbon/blob/master/src/components/About/About.jsx#L2-L3