Sets the color scheme theme and/or theme variant.
This can be called with either a string for backwards compatibility, or an object to set both theme and themeVariant.
Example Payloads:
// String format (backwards compatible)"dark""light"// Object format{ "theme": "dark" }{ "theme": "light", "themeVariant": "violet" } Copy
// String format (backwards compatible)"dark""light"// Object format{ "theme": "dark" }{ "theme": "light", "themeVariant": "violet" }
Sets the color scheme theme and/or theme variant.
This can be called with either a string for backwards compatibility, or an object to set both theme and themeVariant.
Example Payloads: