fission-codes/kit/1.0.0

Formerly fission-suite/kit. Search finds this package by either name.

Kit.Chunky

(List (Attribute msg) -> List (Html msg) -> Html msg)
-> List String
-> List (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 "" ]