Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
3 contributors

Users who have contributed to this file

@alisonjoseph @jeanservaas @connor-leech
executable file 186 lines (109 sloc) 7.13 KB
title
Designers

Carbon empowers designers to rapidly build beautiful and accessible experiences. This kit contains all resources you need to get started.

Resources

Get the kit

  1. Install Sketch. To design with Carbon you must have the most recent version of Sketch installed.
  2. Add libraries. Designing with Carbon requires subscribing to two libraries: The IBM Design Language kit and the Carbon kit. Click the tiles above to subscribe to each. Both libraries are required.
    • The Carbon library contains all Carbon component symbols, color swatches, text styles, and layer styles.
    • The IBM Design Language offers fonts, colors, icons, and other resources shared across all embodiments of the IBM Design Language.
  3. Download the grid template. Click the Grid tile at the top of this page. Once on the Sketch library page, choose Download Document from the right-side panel. Open the file in Sketch. Navigate to File → Save as Template. You can now access the saved grid template at File → New file from Template.

Start designing

To get started with Carbon, familiarize yourself with the contents of each library.

  1. Start with the grid. At the top of your screen, navigate to File → New file from Template and select your grid template. You'll always be able to find the template here.
  2. Icons and color swatches. Symbols from both the IBM Design Language library and the Carbon library are accessible from any Sketch document. Navigage to Insert → Symbols → Carbon Design System or IBM Design Language.
  3. You're all set. Refer to the content below for a more detailed breakdown of the kit, or head to Sketch to begin designing.

Anatomy

See the Sketch library page for an overview of the kit.

Grid

The IBM 2x Grid is the framework for laying out all visual elements in Carbon.

2x Grid overview

All designs should start with the 2x Grid template. Once you have saved the grid as a template, navigate to File → New file from Template and select the grid template.

See our layout guidelines for a more detailed walkthrough of the 2x Grid.

Structure

The grid template includes templates for all breakpoints along with the necessary formulas to design for custom screen sizes.

To toggle the grid on and off, use Control+G. To toggle the layout guide, use Control+L.

Symbols

Carbon components, add-ons, and icons live in the design kit as Sketch symbols.

Carbon symbol menu navigation

Library menu navigation

There are two kinds of symbols — library symbols and document symbols. Library symbols are available in any Sketch document, while document symbols are specific to the document in which they are found.

From the Insert menu, select Symbols → Carbon Design System to add symbols onto your page.

Carbon symbols are built to be flexible, and designers should not detach symbols from the library. Once a symbol is detached, you will no longer receive updates as they are released.

Structure

Symbols are organized by component; after selecting a component, you'll see the variations and states of that component.

  • To add the whole component, select the desired variant and place it on your artboard.

  • For even more configurablility, use the individual building blocks found under the Items folder within the symbol. Be sure your custom design adheres to our design guidelines.

Text styles

Text styles are based on the typography rules that are defined by the IBM Design Language.

Text styles navigation

Library menu navigation

From the main menu select Insert → Text Styles → Carbon Design System to insert a Carbon type token text style.

Text styles within components are carefully considered. We do not recommend detaching the symbol to change default styles.

Structure

Carbon text styles in Sketch are organized similarly to symbols.

  • The first text style level displays theme options (i.e., white theme).
  • The second level shows the Carbon type tokens (i.e., body-long-01).
  • The third level selects the type color, which is labeled with a Carbon color token name.

Layer styles

Layer styles are color selections for any shape in Sketch.

Layer styles navigation example

Library menu navigation

Color in Carbon is carefully considered, and we discourage custom layer styles.

The first layer is the theme selection (i.e., 01 White theme). The second layer is core Carbon color tokens (i.e., field-01) for the selected them. The interaction state tokens are nested in a third layer under “state”.

Info

If you're brand new to Sketch, they offer some great tutorials and help docs.

Updates

We make small adjustments and bug fixes to the kit on a regular basis. When we make a change to any of the libraries, you will be notified via a red pop-up in the top right corner of the Sketch window.

The updates are opt-in, however we recommend you keep your kit as up to date as possible. Once a change is accepted, you will not be able to revert to the previous version.

Migration

If you're using an older version of Carbon, check out the v10 migration docs when you're ready to make the switch.

Support

Can't find an answer to your question? Open up an issue on GitHub.

You can’t perform that action at this time.