Skip to main content

Interface: SandpackTheme

Properties

colors

colors: Object

Type declaration

NameType
accentstring
basestring
clickablestring
disabledstring
error?string
errorSurface?string
hoverstring
surface1string
surface2string
surface3string
warning?string
warningSurface?string

Defined in

sandpack-react/src/types.ts:262


font

font: Object

Type declaration

NameType
bodystring
lineHeightstring
monostring
sizestring

Defined in

sandpack-react/src/types.ts:291


syntax

syntax: Object

Type declaration

NameType
commentstring | SandpackSyntaxStyle
definitionstring | SandpackSyntaxStyle
keywordstring | SandpackSyntaxStyle
plainstring | SandpackSyntaxStyle
propertystring | SandpackSyntaxStyle
punctuationstring | SandpackSyntaxStyle
staticstring | SandpackSyntaxStyle
string?string | SandpackSyntaxStyle
tagstring | SandpackSyntaxStyle

Defined in

sandpack-react/src/types.ts:280