Skip to main content

Interface: SetThemeOptions

Defined in: src/utils/ThemeManager.ts:60

Options for setTheme.

Properties​

reskin?​

optional reskin: boolean

Defined in: src/utils/ThemeManager.ts:71

Whether to re-skin the given scene. Defaults to true when a scene is provided. Set to false to change defaults without touching the scene.


scene?​

optional scene: ReskinnableScene

Defined in: src/utils/ThemeManager.ts:66

An existing scene to re-skin (background plus every mobject's colors). When omitted, setTheme only changes the defaults for new mobjects and scenes.