InitializerInitializerinit(theme
init(themeSettings:stylesheets:includeDarkMode:customCSS:)
Creates a theme configuration from theme settings.
init(
themeSettings: ThemeSettings .Root,
stylesheets: [ThemeStylesheet ] = [],
includeDarkMode: Bool = true,
customCSS: String? = nil
)Parameters
themeSettingsThe theme settings to use.
stylesheetsThe theme’s own stylesheets in application order.
includeDarkModeWhether to include dark mode styles.
customCSSOptional custom CSS to append.