This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
Typed styles for use with elm-html
version 3.0.0
license MIT
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 3.0.0
Committed At 2017-02-08 21:13:02 UTC
elm-lang/html 2.0.0 <= v < 3.0.0 2.0.0
elm-lang/core 5.1.1 <= v < 6.0.0 5.1.1

Modules

README

Typed Styles for Elm

Adds typed styles on top of elm-html. Example usage:

import Html exposing (..)
import Html.Attributes exposing (style,attribute)
import Color exposing (..)

import TypedStyles exposing (..)


main =
  div [ style [
      backgroundColor blue
    , padding 20 px
    , textCenter
    , color white
    , fontSize 50 px
    , border 5 px solid orange
    , top 50 px
    , left 50 px
    , width 200 px
    , height 400 px
    , ("overflow-x","hidden")
    , ("overflow-y","scroll")
  ]] [ text "hi" ]

Underscored variants of most functions are provided for use with my style effects library.