fabiommendes/elm-daisy-ui/1.0.0

Daisy.Warn

Type safe semantic warnings

Some Daisy elements accept those warnings to change appearance.

type Warn
= Neutral
| Info
| Success
| Warning
| Error

Represent a kind of warning intent.

Usually it is used for presentation purposes.

Utilities

class : String -> Warn -> Attribute msg

Create a warn class from prefix

name : Warn -> String

Convert warning to string

icon : Warn -> Int -> Coloring -> Svg msg

Create a warn icon