elm-athlete/athlete/6.0.2

NOTE: the latest version is 7.0.0

Elegant

type alias CommonStyle =
Style
commonStyle : Maybe DisplayBox -> List ScreenWidth -> Maybe String -> Style
commonStyleToCss : CommonStyle -> List ( String, String )
commonStyleToStyle : CommonStyle -> Style
type alias SizeUnit =
SizeUnit
type Style

Contains all style for an element used with Elegant.

classes : Style -> String

Generate all the classes of a list of Styles

deg : Float -> Angle
rad : Float -> Angle
color : a -> { b | color : Maybe a } -> { b | color : Maybe a }
em : Float -> SizeUnit
inlineStyle : DisplayBox -> List (Attribute msg)
opposite : SizeUnit -> SizeUnit

Calculate the opposite of a size unit value. Ex : opposite (Px 2) == Px -2

percent : Float -> SizeUnit
pt : Int -> SizeUnit
px : Int -> SizeUnit
rem : Float -> SizeUnit
setSuffix : String -> Style -> Style
styleToCss : Style -> List ( String, String )
toCommonStyle : Style -> Style
toInlineStyles : Style -> List ( String, String )
vh : Float -> SizeUnit
vw : Float -> SizeUnit
withScreenWidth : List ScreenWidth -> Style -> Style