y047aka / elm-css-palette / Css.Palette


type alias Palette color =
{ background : Maybe color
, color : Maybe color
, border : Maybe color 
}

init : Palette (Css.ColorValue c)

palette : Palette (Css.ColorValue c) -> Css.Style

paletteWithBackground : (Css.ColorValue c -> Css.Style) -> Palette (Css.ColorValue c) -> Css.Style

paletteWithColor : (Css.ColorValue c -> Css.Style) -> Palette (Css.ColorValue c) -> Css.Style

paletteWithBorder : (Css.ColorValue c -> Css.Style) -> Palette (Css.ColorValue c) -> Css.Style

setBackground : color -> Palette color -> Palette color

setColor : color -> Palette color -> Palette color

setBorder : color -> Palette color -> Palette color