17. icon

icon(name, foreground, background)

Inserts a built-in image in generated content.

name

Required.

The name of the icon must be one of the following identifiers: check-off, check-on, circle, collapsed-left, collapsed-right, convert, delete, diamond, disc, down, drop2, drop, expand-down, expanded-down, expanded-up, expand-up, external-link, external-link-small, filled-square, hollow-diamond, image, insert-after, insert-before, insert, invisible, launch, left-half-disc, left-link, left, left-target, line-break, minus-box, minus, no-image, pin-down, pin-left, pin-right, pin-up, plus-box, plus, pop-down, pop-left, pop-ne, pop-nw, pop-right, pop-se, pop-sw, pop-up, radio-off, radio-on, replace, return, right-half-disc, right-link, right, right-target, square-3, square-5, square, up.

foreground

Optional.

Specifies the foreground color of a bitonal icon (e.g. diamond and not expand-down). By default, the bitonal icons inherit their foreground color from the color property of the CSS style sheet.

background

Optional.

Specifies the background color of a bitonal icon. By default, the bitonal icons inherit their background color from the background-color property of the CSS style sheet.

Examples:

icon(drop2)

icon(pop-right, red)

icon(pop-down, #333333, transparent)