alexbruf/elm-daisyui/1.0.0

Daisy.Schema.Button

Generated schema for the daisyUI button component.

= Active
| Disabled

The behavior group of button. Any number of values may be applied.

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

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

= Wide
| Block
| Square
| Circle

The modifier group of button. Any number of values may be applied.

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

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

type Style
= Outline
| Dash
| Soft
| Ghost
| Link

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

Every Behavior value.

Every Color value.

Every Modifier value.

allSizes : List Size

Every Size value.

Every Style value.

The daisyUI class for a Behavior.

colorToClass : Color -> String

The daisyUI class for a Color.

component : String

The main daisyUI class of the button component.

componentClasses : List String

Every class in the component group of button.

The daisyUI class for a Modifier.

parts : List String

Every class in the part group of button. 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.