georgesboris/elm-widgets-alpha/4.5.0

NOTE: the latest version is 4.18.3

W.Text

view : List Attribute -> List (Html msg) -> Html msg
viewInline : 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

default : Attribute
subtle : Attribute
color : String -> Attribute

Font Weight

light : Attribute
regular : Attribute
semibold : Attribute
bold : Attribute

Font Style & Transformations

italic : Attribute
lineThrough : Attribute
underline : Attribute
uppercase : Attribute
lowercase : Attribute
subscript : Attribute
superscript : Attribute

Typography Settings

lineHeight : Float -> Attribute

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

letterSpacing : Float -> Attribute

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

Alignment

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