alexbruf/elm-daisyui/1.0.0

Daisy.Schema.Badge

Generated schema for the daisyUI badge component.

type Color
= Neutral
| Primary
| Secondary
| Accent
| Info
| Success
| Warning
| Error

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

type Size
= Xs
| Sm
| Md
| Lg
| Xl

The size group of badge. At most one value may be applied.

type Style
= Outline
| Dash
| Soft
| Ghost

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

Every Color value.

allSizes : List Size

Every Size value.

Every Style value.

colorToClass : Color -> String

The daisyUI class for a Color.

component : String

The main daisyUI class of the badge component.

componentClasses : List String

Every class in the component group of badge.

parts : List String

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

sizeToClass : Size -> String

The daisyUI class for a Size.

styleToClass : Style -> String

The daisyUI class for a Style.