This is the IBM Design Language website which is built using the gatsby-theme-carbon with GatsbyJS.
src
โโโ components
โโโ data
โโโ gatsby-theme-carbon
โโโ images
โโโ pages
โโโ styles
โโโ util
-
yarn install
โ install dependencies -
yarn dev
โ start the development server -
yarn dev:clean
โ use this if you have cache issues -
lint:fix
โ lint your javascript files -
format
- run prettier
If you need more detailed information on how to setup your machine to develop locally, please take a look at our wiki.
Running the build commands generates all the files and places them in the public
folder.
yarn build
- Create a new pull request that adds the light and dark versions to the src/images/app-icons folder.
- In the same PR (or a new one) update the metadata yaml file
Note: yaml
files are white-space and case sensitive. Be sure your category
value matches an existing category exactly. You can copy and paste an existing icon to ensure you're formatting it properly.