Skip to main content

Function: createCMSDefaultTheme

Const createCMSDefaultTheme(__namedParameters): Theme

Use this function to build the default FireCMS MUI5 theme, with some overrides.

Parameters#

NameType
__namedParametersObject
__namedParameters.fontFamily?string
__namedParameters.mode"dark" | "light"
__namedParameters.primaryColor?string
__namedParameters.secondaryColor?string

Returns#

Theme

Defined in#

core/theme.ts:9