ColorVariant
public enum ColorVariant
extension ColorVariant: CustomDebugStringConvertible
Undocumented
-
Light color variant, which is used when
.colorSchemesets to.darkand.userInterfaceLevelsets to.base.Declaration
Swift
case light -
Dark color variant, which is used when
.colorSchemesets to.lightand.userInterfaceLevelsets to.base.Declaration
Swift
case dark -
Elevated light color variant, which is used when
.colorSchemesets to.darkand.userInterfaceLevelsets to.elevated.Declaration
Swift
case elevatedLight -
Elevated light color variant, which is used when
.colorSchemesets to.lightand.userInterfaceLevelsets to.elevated.Declaration
Swift
case elevatedDark -
Light variant color, used as foreground color when
.colorSchemesets to.darkto display with dark background (contrast mode).Declaration
Swift
case contrastLight -
Dark variant color, used as foreground color when
.colorSchemesets to.lightto display with dark background (contrast mode).Declaration
Swift
case contrastDark -
Elevated light color variant (contrast mode).
Declaration
Swift
case elevatedContrastLight -
Elevated dark color variant (contrast mode).
Declaration
Swift
case elevatedContrastDark -
Declaration
Swift
public var debugDescription: String { get }