alexbruf/elm-daisyui/1.0.0

Daisy.Schema.Alert

Generated schema for the daisyUI alert component.

type Color
= Info
| Success
| Warning
| Error

The color group of alert. At most one value may be applied.

= Vertical
| Horizontal

The direction group of alert. At most one value may be applied.

type Style
= Outline
| Dash
| Soft

The style group of alert. At most one value may be applied.

Every Color value.

Every Direction value.

Every Style value.

colorToClass : Color -> String

The daisyUI class for a Color.

component : String

The main daisyUI class of the alert component.

componentClasses : List String

Every class in the component group of alert.

The daisyUI class for a Direction.

parts : List String

Every class in the part group of alert. A part is only valid inside an element carrying component.

styleToClass : Style -> String

The daisyUI class for a Style.