Color
ReviewedTwo themes from @carbon/themes: White for light and G100 for dark. White pages are #fff with layer-01 (#f4f4f4) for fields, menus, tiles and modals, #161616 ink, #525252 secondary and #6f6f6f helper text. G100 is #161616 with #262626 layers, #f4f4f4 ink and #c6c6c6 secondary. IBM blue #0f62fe is the primary button, the links and the focus outline; in G100 links turn #78a9ff and focus turns white. Fields draw a 1px #8d8d8d line under them (#6f6f6f in G100). Secondary buttons are #393939, errors #da1e28 (#fa4d56 in G100).
Usage
- Controls on a layer step up one token: inside a modal or on a tile, fields use field-02 (#fff in White, #393939 in G100).
- Tags come in color types, each a 20-grade tint under 70-grade text (#d0e2ff under #0043ce for blue), swapped in G100.
- Tooltips and notifications use background-inverse: #393939 in White, #f4f4f4 in G100.
- AI-labelled parts add a blue gradient glow and a #4589ff edge or line.