useCreateSmacTheme

The `useCreateSmacTheme` hook is used to customize the theme of your application by accepting a set of optional parameters. It allows you to apply a dark or light theme, define custom colors, fonts, and color theming.

Parameters

customTheme (optional)

Type: 'dark' | 'light'

This parameter allows you to specify the theme for your application. You can choose between a dark or light theme. If not provided, the default theme will be applied.

customColors (optional)

Type: GlobalColorsType

Use this parameter to define custom color values for the application. You can specify a set of global colors to be used throughout your theme.

customThemeColoring (optional)

Type: ThemeColoring

This parameter allows you to customize how colors are applied to different components in your theme. You can define custom color mappings for various UI elements.

customFonts (optional)

Type: CustomTheme['fonts']

This parameter lets you define custom fonts to be applied to the theme. It can be used to override default fonts and provide a more personalized design.