Elm Feather Versions Save

Feather icons for elm

1.1.0

5 years ago
    Added:
        coffee : FeatherIcons.Icon
        trello : FeatherIcons.Icon

2.1.0

6 years ago

Allow to configure stroke-width to adjust thickness of icon lines

Added:
    withStrokeWidth : Float -> FeatherIcons.Icon -> FeatherIcons.Icon

2.0.0

6 years ago

Changed API to allow some customisation.

Added:
    type Icon
    customIcon : List (Svg.Svg Basics.Never) -> FeatherIcons.Icon
    toHtml : List (Svg.Attribute msg) -> FeatherIcons.Icon -> Html.Html msg
    withClass : String -> FeatherIcons.Icon -> FeatherIcons.Icon
    withSize : Float -> FeatherIcons.Icon -> FeatherIcons.Icon
    withSizeUnit : String -> FeatherIcons.Icon -> FeatherIcons.Icon

Changed:
    all icon methods now return `Icon` and not `Html msg`

In order to upgrade you need to change all your icons usage like this:

v1 API:

Icons.feather

v2 API:

Icons.feather |> Icons.toHtml []