Jenga Scheme
A light + dark JengaColors pair: a complete custom color theme as one object. Pass it to JengaTheme(scheme = ...) and the right scheme is chosen for the current darkTheme, so the caller never wires the selection themselves.
val brandColors = JengaScheme(
light = jengaLightColors().copy(
brand = BrandPurple,
),
dark = jengaDarkColors().copy(
brand = BrandPurpleLight,
),
)
JengaTheme(
scheme = brandColors,
content = { App() },
)Content copied to clipboard