@motion-script/code / resolveTheme
Function: resolveTheme()
resolveTheme(
theme):CodeHighlightStyle
Defined in: components/code/src/highlight.ts:85
Resolve a theme reference (a registered name, or a CodeHighlightStyle object) to a concrete style. Unknown names fall back to the Motion Canvas default so a stray theme string never throws.