MackeyRMS/elm-ui-with-context/2.0.0

NOTE: the latest version is 2.0.1

Element.WithContext.Border

color : Color -> Attr context decorative msg

Border Widths

width : Int -> Attribute context msg
widthXY : Int -> Int -> Attribute context msg

Set horizontal and vertical borders.

{ bottom : Int
, left : Int
, right : Int
, top : Int
}
-> Attribute context msg

Border Styles

solid : Attribute context msg
dashed : Attribute context msg
dotted : Attribute context msg

Rounded Corners

rounded : Int -> Attribute context msg

Round all corners.

{ topLeft : Int
, topRight : Int
, bottomLeft : Int
, bottomRight : Int
}
-> Attribute context msg

Shadows

glow : Color -> Float -> Attr context decorative msg

A simple glow by specifying the color and size.

innerGlow : Color -> Float -> Attr context decorative msg
{ offset : ( Float, Float )
, size : Float
, blur : Float
, color : Color
}
-> Attr context decorative msg
{ offset : ( Float, Float )
, size : Float
, blur : Float
, color : Color
}
-> Attr context decorative msg