Feather icons for elm
Added:
coffee : FeatherIcons.Icon
trello : FeatherIcons.Icon
Allow to configure stroke-width
to adjust thickness of icon lines
Added:
withStrokeWidth : Float -> FeatherIcons.Icon -> FeatherIcons.Icon
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 []