carbon-design-system / design-language-website

IBM Design Language website

Home Page:https://www.ibm.com/design/language/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IBM Design Language website

Deploy website to IBM Cloud

This is the IBM Design Language website which is built using the gatsby-theme-carbon with GatsbyJS.

πŸ“‚ Project structure

src
β”œβ”€β”€ components
β”œβ”€β”€ data
β”œβ”€β”€ gatsby-theme-carbon
β”œβ”€β”€ images
β”œβ”€β”€ pages
β”œβ”€β”€ styles
β”œβ”€β”€ util

πŸ‘©β€πŸ’» Development

If you need more detailed information on how to setup your machine to develop locally, please take a look at our wiki.

πŸš€ Build

Running the build commands generates all the files and places them in the public folder.

yarn build

Adding and updating app icons

  1. Create a new pull request that adds the light and dark versions to the src/images/app-icons folder.
  2. 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.

About

IBM Design Language website

https://www.ibm.com/design/language/


Languages

Language:CSS 79.1%Language:MDX 14.5%Language:JavaScript 4.7%Language:SCSS 1.7%