Customise the style of an icon

icon_style(x, scale = NULL, fill = NULL, rotate = NULL, ...)

Arguments

x

The icon to style.

scale

Scaled size of the icon.

fill

The colour for the fill.

rotate

The angle to rotate the icon.

...

Other CSS rules for the icon style, for example float = "right".

Value

The input x (an icon or icon_vec), with its style updated to reflect the requested styling.