Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 568 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 568 Bytes

Typed Styles for Elm

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.