Package-level declarations
The theme entry point. JengaTheme wraps content, exposes every token set (JengaTheme.colors / typography / spacing / shapes / sizing / elevation / motion) through CompositionLocals, and bridges to Material 3 internally. Brand and typeface are injected here: brand the whole theme from one seed with JengaTheme(brand = jengaBrand(seed = Color(0xFF6D28D9))).
Types
Theme-wide component styles, passed to JengaTheme so every component below it takes the same look without per-call arguments:
Entry point to Jenga's design tokens, mirroring how MaterialTheme exposes colorScheme/typography/shapes.
Properties
The preferred content color (text, icons) for the current subtree, mirroring Material's LocalContentColor. Components set this so their slot content inherits the right color (e.g. text inside a primary button becomes onBrand). Color.Unspecified means "fall back to the theme"; see JengaText.
Functions
Provides Jenga from a fully hand-authored scheme (a light + dark JengaColors pair). The scheme is selected for the current darkTheme; other token bundles keep their defaults or can be overridden.
Provides the Jenga design system to content.
Provides Jenga themed from a single brand: one seed color yields a coherent, accessible light and dark scheme plus type, shape and density: