EngageSoftware/elm-engage-common/3.0.0

NOTE: the latest version is 8.2.10

Engage.ThemeHelper

ThemeHelper

backgroundColor : Color -> Style

Get the background color from the theme

Length compatibleA unitsA
-> BorderStyle compatibleB
-> Color
-> Style

Get a Css border 3

Length compatibleA unitsA
-> BorderStyle compatibleB
-> Color
-> Style

Get a Css border bottom 3

Length compatibleA unitsA
-> BorderStyle compatibleB
-> Color
-> Style

Get a Css border left 3

Length compatibleA unitsA
-> BorderStyle compatibleB
-> Color
-> Style

Get a Css border right 3

Length compatibleA unitsA
-> BorderStyle compatibleB
-> Color
-> Style

Get a Css border top 3

color : Color -> Style

Get the color from the theme

fill : Color -> Style

Get the fill from the theme

fontFamily : Theme -> (Style -> FontFamily) -> Style

Get the font family from the theme

-> ( Style
-> { base : Size
, small : Relative
}
)
-> { base : Style
, small : Style
, baseSize : String
, smallSize : String
}

Get the font size from the theme

-> ( Spacing
-> { base : Margin
, small : Relative
}
)
-> { base : Style
, small : Style
}

Get the margin from the theme

messagePalette : MessageType -> Theme -> ColorPalette

Get the ColorPalette from the theme

-> ( Spacing
-> { base : Padding
, small : Relative
}
)
-> { base : Style
, small : Style
}

Get the padding from the theme

palette : Theme -> Palette

Get the Palette from the theme

spacing : Theme -> Spacing

Get the Spacing from the theme