JengaButtonDefaults

Default values and token mappings for JengaButton. Override any of these per call.

textStyle and colors follow the theme's JengaButtonStyle; shape, the plain functions and the constants are Jenga's built-in values, and JengaButton resolves the theme's per-size values over them.

Properties

Link copied to clipboard

Border width used by bordered variants.

Link copied to clipboard

The default button shape (control radius), before any per-size theme shape.

Link copied to clipboard

Diameter of the inline loading spinner.

Functions

Link copied to clipboard

Themed colors for the given variant.

Link copied to clipboard

Content padding per size.

Link copied to clipboard

Minimum touch height per size (Medium meets the 48dp accessibility target).

Link copied to clipboard

Label text style per size.