Color

public enum Color

Color is a enum that represents color values for the NatBadge component.

These are the allowed colors for a NatBadge:

  • Alert
  • Primary
  • Secondary
  • Success

Requires

It’s necessary to configure the Design System with a theme or fatalError will be raised.

DesignSystem().configure(with: AvailableTheme)

  • Undocumented

    Declaration

    Swift

    case alert
  • Undocumented

    Declaration

    Swift

    case primary
  • Undocumented

    Declaration

    Swift

    case secondary
  • Undocumented

    Declaration

    Swift

    case success