georgesboris/elm-widgets-alpha/4.17.1

NOTE: the latest version is 4.18.3

W.Heading

view : List (Attribute msg) -> List (Html msg) -> Html msg

Heading Levels

h2 : Attribute msg
h3 : Attribute msg
h4 : Attribute msg
h5 : Attribute msg
h6 : Attribute msg

Sizes

extraLarge : Attribute msg
large : Attribute msg
small : Attribute msg
extraSmall : Attribute msg
fontSize : Float -> Attribute msg

Customize the font size using "rem" as unit. This way the font size is always related to the base font size of the html element.

Colors

subtle : Attribute msg
color : String -> Attribute msg

Font Weight

light : Attribute msg
semibold : Attribute msg
bold : Attribute msg

Line Height

lineHeight : Float -> Attribute msg

Customize the line height using "em" as unit. This way the line height is always related to the current font size.

Alignment

alignCenter : Attribute msg
alignRight : Attribute msg
type alias Attribute msg =
Attr (Attributes msg)