Skip Navigation
Type MethodMethod

named(_:)

Looks up a built-in theme by its exact name or one of its aliases.

static func named(_ name: String) -> `Self`?

Parameters

name

The name to look up. Matching is exact and case-sensitive.

Return Value

The built-in theme, or nil if no theme has that name or alias.