ursi/elm-css-colors - version: 1.0.0

for more information visit the package's GitHub page

Package contains the following modules:

elm-css-colors

This package uses elm-css's Color type to implement all of the named colors from the CSS Color Module Level 4 spec.

Example

import Css exposing (color)
import Css.Colors exposing (black, white)
import Html.Styled exposing (div, text, toUnstyled)
import Html.Styled.Attributes exposing (css)

main =
    div
        [ css
            [ color white
            , backgroundColor black
            ]
        ]
        [ text "Hello, World!" ]
        |> toUnstyled