setTheme
Overview
Replace the base theme, including previous base patches. Project overrides remain in effect; use clearThemeOverrides to remove them.
Signature
setTheme(newTheme)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| newTheme | ThemeObject | yes | The new default theme. |
Returns
void
Source
client/lib/use/themeRegistry.js:191