alexbruf/elm-daisyui/1.0.0

Daisy.Schema.Toggle

Generated schema for the daisyUI toggle component.

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

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

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

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

Every Color value.

allSizes : List Size

Every Size value.

colorToClass : Color -> String

The daisyUI class for a Color.

component : String

The main daisyUI class of the toggle component.

componentClasses : List String

Every class in the component group of toggle.

parts : List String

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

sizeToClass : Size -> String

The daisyUI class for a Size.