nsbno / spor-design-tokens-elm / Spor.Token.Size.BorderRadius

This module was automaticly generated by the spor-design-tokens project.


type BorderRadius

An opaque type representing a BorderRadius value.

toCss : BorderRadius -> Css.Px

Convert BorderRadius into Css.Px.

none : BorderRadius

Should only be used for images, site headers, footers and article cards

xs : BorderRadius

Should only be used for the smallest components, like tooltips and info boxes

sm : BorderRadius

The default. A single line of text is the most typical usecase

md : BorderRadius

Should be used for components with several components stacked vertically

lg : BorderRadius

Should be used on larger components, like drawers

xl : BorderRadius

Should be used for buttons, tags and labels. Provides a complete rounding effect for single lines of text

i2xl : BorderRadius

Should only be used for the app header