Interface: SandpackTheme
Properties
colors
• colors: Object
Type declaration
Name | Type |
---|---|
accent | string |
base | string |
clickable | string |
disabled | string |
error? | string |
errorSurface? | string |
hover | string |
surface1 | string |
surface2 | string |
surface3 | string |
warning? | string |
warningSurface? | string |
Defined in
sandpack-react/src/types.ts:262
font
• font: Object
Type declaration
Name | Type |
---|---|
body | string |
lineHeight | string |
mono | string |
size | string |
Defined in
sandpack-react/src/types.ts:291
syntax
• syntax: Object
Type declaration
Name | Type |
---|---|
comment | string | SandpackSyntaxStyle |
definition | string | SandpackSyntaxStyle |
keyword | string | SandpackSyntaxStyle |
plain | string | SandpackSyntaxStyle |
property | string | SandpackSyntaxStyle |
punctuation | string | SandpackSyntaxStyle |
static | string | SandpackSyntaxStyle |
string? | string | SandpackSyntaxStyle |
tag | string | SandpackSyntaxStyle |
Defined in
sandpack-react/src/types.ts:280