nathanjohnson320 / elm-ui-components / ElmUIC.Content

A block of content


type alias Content =
{ kind : ElmUIC.Theme.ColorSetting
, text : Css.Color
, background : Css.Color
, shadow : Css.Color 
}

Base model for the content

defaultContent : Content

Instantiates the default properties of the content

{ defaultContent | kind = Warning }

content : ElmUIC.Theme.Theme -> Content -> List (Html.Styled.Attribute msg) -> List (Html.Styled.Html msg) -> Html.Styled.Html msg

A styled content block

content defaultTheme defaultContent [] []