Note: The UI Shell does not currently use the Carbon theme tokens; theming
options for the shell will be available in the future. All color used in the UI
Shell is from the
IBM Design Language palette.
Element | Property | Color token |
---|
Panel | background color | $layer |
| border-left | $border-subtle |
Header action | border-left, border-right | $border-subtle |
UI shell switcher example
State | Property | Color token |
---|
Enabled | text color | $text-secondary |
Hover | background color | $layer-hover |
| text color | $text-primary |
Focus | border | $focus |
Active | background color | $layer-active |
| text color | $text-primary |
Selected | background color | $layer-selected |
| text color | $text-primary |
Disabled | text color | $text-disabled |
Element | Font-size (px/rem) | Font-weight | Type token |
---|
Item | 14 / 0.875 | SemiBold / 600 | $heading-compact-01 |
The panel spans the full height of the browser and is fixed to the right edge of
the window.
Element | Property | px/rem | Spacing token |
---|
Panel | width | 256 / 16 | – |
Item | height | 32 / 2 | – |
| padding left, padding right | 16 / 1 | $spacing-05 |
Header action | height, width | 48 / 8 | – |
| svg | 20 / 1.25 | – |
Structure and spacing measurements for right panel | px | rem.