Skip Navigation
InitializerInitializer

init(badge:color:typography:spacing:other:)

Creates a theme section.

init(
    badge: [String : String]? = nil,
    color: [String : ColorValueInput]? = nil,
    typography: [String : String]? = nil,
    spacing: [String : String]? = nil,
    other: [String : ThemeSettingValue]? = nil
)

Parameters

badge

Badge settings.

color

Colour settings.

typography

Typography settings.

spacing

Spacing settings (docc-static extension).

other

The other sections of the specification, keyed by section name.