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.