Package-level declarations

jengaBrand(seed = …): brand a whole light and dark theme from one color, with corner style, density and contrast.

Types

Link copied to clipboard

A single brand definition that derives a whole theme: a coherent, accessible light and dark scheme plus type, shape and density, from a few inputs.

Link copied to clipboard

How far apart the derived on-color and its background sit; higher widens the gap.

Link copied to clipboard

The corner language of the derived shape set.

Link copied to clipboard

How tightly the derived spacing and control sizes pack.

Functions

Link copied to clipboard

The derived dark color scheme: brand family from seed, neutrals/status kept.

Link copied to clipboard
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

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

Link copied to clipboard

The derived light color scheme: brand family from seed, neutrals/status kept.

Link copied to clipboard

The derived shape set for the brand's corner language.

Link copied to clipboard

The derived sizing set for the brand's density; touch target and icons stay fixed.

Link copied to clipboard

The derived spacing scale for the brand's density.

Link copied to clipboard

The derived type scale. Unset families resolve to the system default here; JengaTheme(brand = ...) injects Jenga's bundled brand font for unset families.