List
Color
Attribute | Property | Color token |
---|---|---|
.bx--list__item | color | $text-01 |
![Example of ordered and undordered lists Example of ordered and undordered lists](/static/d72987a5d33d302e23b3fe70dd0b3eb5/3cbba/list-style-1.png)
Ordered list (left) and unordered list (right).
Typography
Level 1 and 2 of any list type should be set in bold and sentence case, with only the first word in a phrase and any proper noun capitalized. Line height for lists should be set at 24px / 1.5rem.
Class | Font-size (px/rem) | Font-weight | Type token |
---|---|---|---|
.bx--list__item | 14 / 0.875 | Regular / 400 | $body-short-01 |
.bx--list--nested | 14 / 0.875 | Regular / 400 | $body-short-01 |
Structure
There are two types of lists, ordered and unordered. Level 1 ordered list points are marked numerically while level 2 points are marked with letters. Level 1 unordered list points are dashed while level 2 points are marked with a dot.
Item | Property | px / rem | Spacing token |
---|---|---|---|
Level 1 | margin-bottom | 0 | – |
Level 2 | margin-bottom | 0 | – |
Level 2 | padding-left | 16 / 1 | $spacing-05 |
![Structure and spacing measurements for ordered and unordered lists Structure and spacing measurements for ordered and unordered lists](/static/5fefc470f7ef7e07d2a3fca9e79528f3/3cbba/list-style-2.png)
Structure and spacing measurements for an ordered and an unordered list | px / rem