jengaBrand

fun jengaBrand(seed: Color, accent: Color? = null, contrast: JengaContrast = JengaContrast.Standard, fontFamily: FontFamily? = null, displayFontFamily: FontFamily? = fontFamily, bodyFontFamily: FontFamily? = fontFamily, corner: JengaCornerStyle = JengaCornerStyle.Rounded, density: JengaDensity = JengaDensity.Comfortable, icons: JengaIconSet? = null): JengaBrand(source)

Builds a JengaBrand. Only seed is required; everything else keeps a sensible default so jengaBrand(seed = brandColor) yields a full themed light+dark scheme.

Parameters

seed

the primary brand accent; the brand color family is derived from it.

accent

an optional secondary action color; drives ink/onInk when set.

contrast

how far apart derived on-colors sit from their backgrounds.

fontFamily

a single face for the whole type scale, and the default for the two below. Null keeps Jenga's bundled default (resolved by JengaTheme).

displayFontFamily

the face for display, heading and title roles.

bodyFontFamily

the face for body, label, caption and button roles.

corner

the corner language for the derived shapes.

density

how tightly spacing and control sizes pack.

icons

a custom icon set; null keeps Jenga's own (resolved by JengaTheme).