@motion-script/code / BUILTIN_THEMES
Variable: BUILTIN_THEMES
constBUILTIN_THEMES:object
Defined in: components/code/src/style.ts:213
The built-in themes, keyed by their string name. CodeThemeName is the
union of these keys — pass one of those strings (or any CodeHighlightStyle
object) to a Code node's theme prop.
Type Declaration
github-dark
github-dark:
CodeHighlightStyle=GithubDarkStyle
github-light
github-light:
CodeHighlightStyle=GithubLightStyle
motion-canvas-default
motion-canvas-default:
CodeHighlightStyle=DefaultHighlightStyle
vscode-dark
vscode-dark:
CodeHighlightStyle=VscodeDarkStyle
vscode-light
vscode-light:
CodeHighlightStyle=VscodeLightStyle