Shadows
These can be used directly as properties.
import Color
import Style exposing (..)
import Style.Shadow as Shadow
style MyStyleWithShadow
[ Shadow.glow Color.red 5
]A nice preset box shadow that's deeper than simple.
A simple glow by specifying the color and size.
These are for when you want to specify shadows manually. They're meant to be specified in a shadow stack using Style.shadows:
import Color
import Style exposing (..)
import Style.Shadow as Shadow
style MyStyleWithShadow
[ Style.shadows
[ Shadow.inset
{ offset = ( 0, 0 )
, size = 5
, blur = 2
, color = Color.blue
}
]
]
A nice preset box shadow.