lattyware/elm-fontawesome/7.0.0

NOTE: the latest version is 7.2.0

FontAwesome.Transforms

Provides tools for transforming icons.

See the FontAwesome docs for details.

Scaling

grow : Float -> Transform

Transform the icon by growing it by the given amount. Units are 1/16em.

shrink : Float -> Transform

Transform the icon by shrinking it by the given amount. Units are 1/16em.

Positioning

up : Float -> Transform

Transform the icon by repositioning it upwards by the given amount. Units are 1/16em.

down : Float -> Transform

Transform the icon by repositioning it downwards by the given amount. Units are 1/16em.

left : Float -> Transform

Transform the icon by repositioning it leftwards by the given amount. Units are 1/16em.

Rotating & Flipping

rotate : Float -> Transform

Transform the icon by rotating it by the given number of degrees clockwise (negateative numbers will produce an anticlockwise rotation.

Transform the icon by flipping it on it's vertical axis.

Transform the icon by flipping it on it's horizontal axis.

Manual

= Scale Float
| Reposition Axis Float
| Rotate Float
| Flip Axis

Transforms that modify an icon.

type Axis
= Vertical
| Horizontal

An axis.