Adds typed styles on top of elm-html. Example usage:
import Html(..)
import Html.Attributes(..)
import TypedStyles(..)
main : Html
main = div [
style [
fontSize 30 px
, backgroundColor blue
, textCenter
, padding 20 px
, color white]
]
[text "this is an example" ]
Primed variants of most functions are provided for use with my style effects library.
- I will add more stuff as I have time; in particular I want to try to get animation, transition, and transformation bindings.