Elegant


type alias CommonStyle =

Elegant.Helpers.Style.Style



commonStyle : Maybe.Maybe Elegant.Display.DisplayBox -> List.List Elegant.Helpers.Style.ScreenWidth -> Maybe.Maybe String.String -> Elegant.Helpers.Style.Style



commonStyleToCss : Elegant.CommonStyle -> List.List ( String.String, String.String )



commonStyleToStyle : Elegant.CommonStyle -> Elegant.Style



type alias SizeUnit =

Elegant.Helpers.Shared.SizeUnit



type Style

[]

Contains all style for an element used with Elegant.



classes : Elegant.Style -> String.String

Generate all the classes of a list of Styles



deg : Basics.Float -> Elegant.Helpers.Shared.Angle



rad : Basics.Float -> Elegant.Helpers.Shared.Angle



color : a -> { b | color : Maybe.Maybe a } -> { b | color : Maybe.Maybe a }



em : Basics.Float -> Elegant.SizeUnit



emptyStyle : Elegant.Style



inlineStyle : Elegant.Display.DisplayBox -> List.List (Html.Attribute msg)



opposite : Elegant.SizeUnit -> Elegant.SizeUnit

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



percent : Basics.Float -> Elegant.SizeUnit



pt : Basics.Int -> Elegant.SizeUnit



px : Basics.Int -> Elegant.SizeUnit



rem : Basics.Float -> Elegant.SizeUnit



screenWidthBetween : Basics.Int -> Basics.Int -> Elegant.Display.DisplayBox -> Elegant.Style -> Elegant.Style



screenWidthGE : Basics.Int -> Elegant.Display.DisplayBox -> Elegant.Style -> Elegant.Style



screenWidthLE : Basics.Int -> Elegant.Display.DisplayBox -> Elegant.Style -> Elegant.Style



setSuffix : String.String -> Elegant.Style -> Elegant.Style



style : Elegant.Display.DisplayBox -> Elegant.Style



styleToCss : Elegant.Style -> List.List ( String.String, String.String )



toCommonStyle : Elegant.Style -> Elegant.Helpers.Style.Style



toInlineStyles : Elegant.Style -> List.List ( String.String, String.String )



vh : Basics.Float -> Elegant.SizeUnit



vw : Basics.Float -> Elegant.SizeUnit



withScreenWidth : List.List Elegant.Helpers.Style.ScreenWidth -> Elegant.Style -> Elegant.Style