ColorPalette

public protocol ColorPalette

Protocol for ColorPalette.

  • Undocumented

    Declaration

    Swift

    var name: String { get }
  • Returns Color for key

    Declaration

    Swift

    func color(for key: Theme.Color.Key) -> Color

    Parameters

    key

    Theme.Color.Key