georgesboris/elm-widgets-alpha/1.1.0

NOTE: the latest version is 4.18.3

W.Text

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

Sizes

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

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
color : String -> Attribute

Font Weight

light : Attribute
semibold : Attribute
bold : Attribute

Line Height

lineHeight : Float -> Attribute

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

Alignment

alignCenter : Attribute
alignRight : Attribute
type alias Attribute =
Attr Attributes