ColorVariant

public enum ColorVariant
extension ColorVariant: CustomDebugStringConvertible

Undocumented

  • Light color variant, which is used when .colorScheme sets to .dark and .userInterfaceLevel sets to .base.

    Declaration

    Swift

    case light
  • Dark color variant, which is used when .colorScheme sets to .light and .userInterfaceLevel sets to .base.

    Declaration

    Swift

    case dark
  • Elevated light color variant, which is used when .colorScheme sets to .dark and .userInterfaceLevel sets to .elevated.

    Declaration

    Swift

    case elevatedLight
  • Elevated light color variant, which is used when .colorScheme sets to .light and .userInterfaceLevel sets to .elevated.

    Declaration

    Swift

    case elevatedDark
  • Light variant color, used as foreground color when .colorScheme sets to .dark to display with dark background (contrast mode).

    Declaration

    Swift

    case contrastLight
  • Dark variant color, used as foreground color when .colorScheme sets to .light to 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 }