Skip to main content
Version: 2.0.0-alpha

Function: createCMSDefaultTheme

createCMSDefaultTheme(__namedParameters): Theme

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

Parameters

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

Returns

Theme

Defined in

lib/src/core/theme.ts:9