Element | Property | Color token |
---|
Overflow menu icon | fill | |
Menu option | background-color | * |
| text color | |
Danger option | background-color | * |
Container | box-shadow | 0 2px 6px 0 rgba(0, 0, 0, 0.3)
|
- Denotes a contextual color token that will change values based on the layer
it is placed on.
Element | Property | Color token |
---|
Icon button:focus | border | |
Menu option:focus | border | |
Icon button:hover | background-color | |
Menu option:hover | background-color | * |
| text color | |
Danger option:hover | background-color | |
Menu option:disabled | text color | |
Overflow menu option text should be set in sentence case with the first letter
of the first word capitalized.
Element | Font-size (px/rem) | Font-weight | Type token |
---|
Menu option text | 14 / 0.875 | Regular / 400 | |
The height of an overflow menu is determined by the amount of content in the
menu. The overflow menu icon can be found in the
icons library.
Element | Property | px / rem | Spacing token |
---|
Icon | icon size | 16 x 16px | – |
Menu option | padding-right, padding-left | 16 / 1 | |
Divider | border-top | 1px | – |
Element | Size | Height (px/rem) |
---|
Menu options | Small (sm) | 32 / 2 |
| Medium (md) | 40 / 2.5 |
| Large (lg) | 48 / 3 |
Icon button | Small (sm) | 32 / 2 |
| Medium (md) | 40 / 2.5 |
| Large (lg) | 48 / 3 |
Sizes for menu options and icon button | px / rem