@motion-script/code / CodeTheme
Type Alias: CodeTheme
CodeTheme =
CodeThemeName|string&object|CodeHighlightStyle
Defined in: components/code/src/style.ts:232
What a Code node's theme prop accepts: a built-in theme name (with
autocomplete), any other registered theme name, or a CodeHighlightStyle
object passed inline. The string & {} keeps the literal-name suggestions while
still allowing arbitrary registered names.