getTheme

Function

Return the default theme, extended with values from the Org's shared theme

Parameters

Parameter Type Default Notes
portalSelf Required IPortal

Org's Portal object

Returns

Property Type Notes
body {
background:
string
link:
string
text:
string
}
button {
background:
string
text:
string
}
fonts {
base:
{
family:
string
url:
string
}
heading:
{
family:
string
url:
string
}
}

Function defined in packages/sites/src/get-theme.ts:15