QiTASC / hatchinq / Hatchinq.Theme

Exposed


type alias ColorTheme =
{ primary : ColorType
, secondary : ColorType
, gray : ColorType 
}


type alias ColorType =
{ original : Hatchinq.Color.Color
, color : Element.Color
, textColor : Element.Color
, lightest : Element.Color
, lighter : Element.Color
, light : Element.Color
, dark : Element.Color
, withAlpha : Basics.Float -> Element.Color 
}


type alias FontTheme =
{ main : Element.Font.Font
, defaultSize : Basics.Int
, smallSize : Basics.Int
, smallerSize : Basics.Int
, smallestSize : Basics.Int 
}


type IconsResource
    = External String
    | Css String


type alias Theme =
{ font : FontTheme
, colors : ColorTheme
, sizes : Sizes
, icons : IconsResource 
}

arrowTransition : Html.Attribute msg

textWithEllipsisCustomTooltip : String -> String -> Element msg

black : Element.Color

default : Theme

dense : Theme -> Theme

font : Element.Font.Font

icon : String -> Element msg

lightenOrDarken : Element.Color -> Basics.Float -> Element.Color

stylesheet : Theme -> Element msg

textWithEllipsis : String -> Element msg

transition : Html.Attribute msg

transparent : Element.Color

white : Element.Color

withColors : Hatchinq.Color.Color -> Hatchinq.Color.Color -> Theme -> Theme

withIcons : IconsResource -> Theme -> Theme