georgesboris/elm-widgets-alpha/2.0.0

NOTE: the latest version is 4.18.3

W.Styles

view : List (Attribute msg) -> Html msg
lightTheme : Attribute msg

Use a basic light theme. This is the default behavior.

darkTheme : Attribute msg

Use a basic dark theme.

lightAndDarkTheme : Attribute msg

Use a basic theme with light or dark modes set based on user preferences.

{ theme : Theme
, darkMode : DarkMode
}
-> Attribute msg

Use a custom theme. Please refer to georgesboris/elm-theme package for a complete documentation.

borderWidth : Int -> Attribute msg

Default border width in pixels. This value is used for things like input, select boxes and other elements.

clickArea : Float -> Attribute msg

Default size for clickable inputs such as checkboxes and radio buttons.

clickAreaSmall : Float -> Attribute msg

Default size for the small variation of clickable inputs such as checkboxes and radio buttons.