fission-suite / kit / Kit.Chunky

chunk : (List (Html.Attribute msg) -> List (Html msg) -> Html msg) -> List String -> List (Html.Attribute msg) -> List (Html msg) -> Html msg

Function for easier styling using classes.

chunk
    Html.a
    [ "underline", "text-blue" ]
    [ href "" ]
    [ Html.text "" ]

Is the same as:

Html.a
    [ class "underline text-blue", href "" ]
    [ Html.text "" ]