setTheme

fun setTheme(schemeLight: ColorScheme, schemeDark: ColorScheme = schemeLight): MeepMeep

Sets the theme for the MeepMeep application.

This method updates the color scheme of the application by setting the light and dark themes using the ColorManager. It then refreshes the theme for all entities and UI components.

Parameters

schemeLight

The ColorScheme to be used for the light theme.

schemeDark

The ColorScheme to be used for the dark theme.

       Defaults to the light theme if not provided.
@return

The MeepMeep instance for method chaining.

See also

MeepMeep.refreshTheme