SettingsAdaptiveColor
Builds a Color that resolves per appearance, so a token can be written as a (ColorScheme) -> Color function and still be read at a call site with no ColorScheme in scope.
enum SettingsAdaptiveColor
Builds a Color that resolves per appearance, so a token can be written as a (ColorScheme) -> Color function and still be read at a call site with no ColorScheme in scope. Mirror of the host's SettingsAdaptiveColor.
performAsCurrentDrawingAppearance is load-bearing: a light arm spelled Color.primary is itself dynamic, and converting it to NSColor outside an explicit appearance snapshots whatever appearance happened to be current.
Type methods
resolving(_:)
static func resolving(_ resolve: @escaping (ColorScheme) -> Color) -> Color