Skip Navigation
InitializerInitializer

init(builtInTheme:includeDarkMode:customCSS:)

Creates a theme configuration from a built-in theme.

init(
    builtInTheme: ThemeSettings.BuiltInTheme,
    includeDarkMode: Bool = true,
    customCSS: String? = nil
)

Parameters

builtInTheme

The built-in theme to use.

includeDarkMode

Whether to include dark mode styles.

customCSS

Optional custom CSS to append.