ensolabs/designsystemet-elm/1.0.0

Designsystemet.Size

The size scale behind data-size. Use it with Designsystemet.size.

Three sizes, as in React, because the theme's CSS defines only sm, md and lg. Any other value matches no rule, and everything inside (Tailwind's spacing utilities included) silently keeps the parent's size.

type Size

A size. Unset means md.

Small.

Medium, the default.

Large.

toString : Size -> String

The value written to data-size.