Skip to main content

Interface: Theme

core/types.Theme

Extend this interface using your own declarations.

Hierarchy

Properties

body

body: Object

Type declaration

NameType
colorstring
fontFamilystring
fontSizenumber
lineHeightnumber

Inherited from

DefaultTheme.body


bodyFont

bodyFont: string

Inherited from

DefaultTheme.bodyFont


button

button: Object

Type declaration

NameType
radiusnumber

Inherited from

DefaultTheme.button


card

card: Object

Type declaration

NameType
radiusnumber

Inherited from

DefaultTheme.card


colors

colors: Object

Type declaration

NameType
darkstring
dark100string
dark60string
dark80string
grayBackgroundstring
grayIconColorstring
greystring
t1string
t2string
t3string
t4string
whitestring

Inherited from

DefaultTheme.colors


error

error: ThemeColorVariants

Inherited from

DefaultTheme.error


h1

h1: Object

Type declaration

NameType
colorstring
fontFamilystring
fontSizenumber
lineHeightnumber
marginBottomnumber
marginTopnumber

Inherited from

DefaultTheme.h1


h1Font

h1Font: string

Inherited from

DefaultTheme.h1Font


h2

h2: Object

Type declaration

NameType
colorstring
fontFamilystring
fontSizenumber
lineHeightnumber
marginBottomnumber
marginTopnumber

Inherited from

DefaultTheme.h2


h3

h3: Object

Type declaration

NameType
colorstring
fontFamilystring
fontSizenumber
lineHeightnumber
marginBottomnumber
marginTopnumber

Inherited from

DefaultTheme.h3


input

input: Object

Type declaration

NameType
backgroundColorstring
borderRadiusnumber
colorstring
fontFamilystring
fontSizenumber
heightnumber
paddingLeftnumber

Inherited from

DefaultTheme.input


inputPlaceholder

inputPlaceholder: Object

Type declaration

NameType
colorstring

Inherited from

DefaultTheme.inputPlaceholder


inputText

inputText: Object

Type declaration

NameType
colorstring
fontFamilystring
fontSizenumber
lineHeightnumber

Inherited from

DefaultTheme.inputText


label

label: Object

Type declaration

NameType
colorstring
fontFamilystring
fontSizenumber
lineHeightnumber
marginBottomnumber
marginTopnumber

Inherited from

DefaultTheme.label


markdownStyle

markdownStyle: Object

Type declaration

NameType
headingObject
heading.colorstring
heading.fontFamilystring
heading.lineHeightnumber
heading.marginBottomnumber
paragraphObject
paragraph.colorstring
paragraph.fontFamilystring
paragraph.paddingBottomnumber
strongObject
strong.fontFamilystring
textObject
text.colorstring
text.fontFamilystring
text.fontSizenumber
text.lineHeightnumber

Inherited from

DefaultTheme.markdownStyle


paragraph

paragraph: Object

Type declaration

NameType
colorstring
fontFamilystring
fontSizenumber
lineHeightnumber
marginVerticalnumber

Inherited from

DefaultTheme.paragraph


primary

primary: ThemeColorVariants

Inherited from

DefaultTheme.primary


secondary

secondary: ThemeColorVariants

Inherited from

DefaultTheme.secondary


spacing

spacing: number

Inherited from

DefaultTheme.spacing


success

success: ThemeColorVariants

Inherited from

DefaultTheme.success


tertiary

tertiary: ThemeColorVariants

Inherited from

DefaultTheme.tertiary