Type MethodMethodload(from:
load(from:warningHandler:)
Reads a theme bundle from a directory.
static func load(
from directory: URL,
warningHandler: (any ThemeParsingWarningHandler )? = nil
) throws -> ThemeBundleSource Parameters
directoryThe bundle directory, containing
theme-settingsand optional stylesheets..json warningHandlerReceives warnings about unknown keys in the settings.
Return Value
The theme bundle.