Skip to content

Fresheyeball/elm-typed-styles

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Typed styles for Elm

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Elm 100.0%