List Category Keys

list

The keys in the list category control the arrangement and style of ordered and unordered lists.

The marker-font-color key controls the color of the bullet glyph that marks items in unordered lists and the color of the number or letter marker for items in ordered lists. The text-align key controls the alignment of the list text only, not nested content, such as nested blocks and lists.

Key Value Type Example

indent

Measurement
(default: 30)

list:
  indent: 40

item-spacing

Measurement
(default: 6)

list:
  item-spacing: 4

marker-font-color

Color
(default: inherit)

list:
  marker-font-color: #3C763D

text-align

Text alignment
(default: $base-text-align)

list:
  text-align: right

olist-marker

The keys in the olist-marker category control the arrangement and style of the ordered list markers.

Key Value Type Example

font-family

Font family name
(default: inherit)

olist:
  marker:
    font-family: Noto Serif

font-size

Font size
(default: inherit)

olist:
  marker:
    font-size: 9

font-color

Color
(default: $list-marker-font-color)

olist:
  marker:
    font-color: #CCCCCC

font-style

Font style
(default: $base-font-style)

olist:
  marker:
    font-style: bold

line-height

Number
(default: $base-line-height)

olist:
  marker:
    line-height: 1.5

ulist-marker

The keys in the ulist-marker category control the arrangement and style of the unordered list markers.

Key Value Type Example

font-color

Color
(default: $list-marker-font-color)

ulist:
  marker:
    font-color: #CCCCCC

font-family

Font family name
(default: inherit)

ulist:
  marker:
    font-family: Noto Serif

font-size

Font size
(default: inherit)

ulist:
  marker:
    font-size: 9

font-style

Font style
(default: $base-font-style)

ulist:
  marker:
    font-style: bold

line-height

Number
(default: $base-line-height)

ulist:
  marker:
    line-height: 1.5

ulist-marker-<type>

The keys in the ulist-marker-<type> category control the arrangement and style of a type of unordered list marker. Type can be disc, square, circle, checked, or unchecked.

Key Value Type Example

content

Quoted string

ulist:
  marker:
    disc:
      content: "\uf140"

font-color

Color
(default: inherit)

ulist:
  marker:
    square:
      font-color: #FF0000

font-family

Font family name
(default: inherit)

ulist:
  marker:
    disc:
      font-family: fas

font-size

Font size
(default: inherit)

ulist:
  marker:
    disc:
      font-size: 9

font-style

Font style
(default: inherit)

ulist:
  marker:
    circle:
      font-style: bold

line-height

Number
(default: inherit)

ulist:
  marker:
    disc:
      line-height: 2