setPalette

fun <S : Drawable> S.setPalette(palette: Colors.Palette): S


fun <S : Drawable> S.setPalette(palette: Colors.() -> Colors.Palette): S

Set the color palette of this drawable during initialization, using the PolyUI colors instance.