loom & weft
Made for Swift.

Published release 0.2.1. Unreleased PR #2 reference.

LOOM 0.2.1 / SUPPORTING WEFT TYPES

TerminalColorScheme

The reported light/dark preference, independent of application theme policy.

Defined by weft, with no loom typealias. Add the weft product to your target and use import weft when referring to this type by name.

Standard inherited Swift protocol operations such as synthesized equality and OptionSet set operations are not repeated. The public declarations below are extracted from the exact source revision listed in the coverage manifest.

Members on this page

Feature guides and release status

TerminalColorScheme

Enumeration
enum TerminalColorScheme

Conforms to: Swift.Equatable, Swift.Hashable, Swift.RawRepresentable, Swift.Sendable, Swift.SendableMetatype.

The reported light/dark preference, independent of application theme policy.

Source · TerminalQuery.swift:52

init(rawValue:)

Initializer
init?(rawValue: Int)

Creates a value with the supplied arguments. Default arguments are shown in the declaration.

Parameters (1)
rawValue
Argument type and any default are shown in the declaration; see the behavior notes above.

dark

Case
case dark

The dark case. Associated values, if any, are shown in the declaration.

Source · TerminalQuery.swift:53

light

Case
case light

The light case. Associated values, if any, are shown in the declaration.

Source · TerminalQuery.swift:54