Confidenceman02/elm-select/1.4.0

NOTE: the latest version is 13.0.0

Select.Styles

Add custom styling to the select.

Set up

type Config

The default styling for the select control

The default styling for the select

Set styles for the select control

    controlBranding : ControlConfig
    controlBranding =
        Styles.controlDefault
            |> setControlBorderColor (Css.hex "#FFFFFF")
            |> setControlBorderColorFocus (Css.hex "#0168B3")


    selectBranding : Config
    selectBranding
            setControlStyles Styles.default controlBranding

Set styles for control

Get styles for control