# Octicons

Provides SVG of [GitHub's Octicons](https://primer.style/octicons/) to Elm application.

```elm
import Html.Attributes exposing (style)
import Octicons.Medium as Octicons

view : Model -> Html msg
view model = 
    ...
    Octicons.alert [ style "fill" "red" ]
```

## Development

```
git clone --depth=1 -bv17.9.0 https://github.com/primer/octicons.git
./script/svg2elm.sh
```

`Octions.Large/Medium/Small/Nodes` modules are generated by svg2elm using Haskell.

## License

[Octicons.Nodes module](/src/Octicons/Nodes.elm) is translated from https://github.com/primer/octicons under the MIT license.
The originals are copyright GitHub, Inc.
