RSDColorPalette

public struct RSDColorPalette : Codable, Equatable, Hashable

The color palette struct is used to describe the color palette for a given application. This is intended for applications that use the Sage Design System.

  • The version for this color palette.

    Declaration

    Swift

    public var version: Int?
  • The primary color for the application.

    Declaration

    Swift

    public var primary: RSDColorKey
  • The secondary color for the application.

    Declaration

    Swift

    public var secondary: RSDColorKey
  • The accent color for the application.

    Declaration

    Swift

    public var accent: RSDColorKey
  • The color to use for Success green views and iconography.

    Declaration

    Swift

    public var successGreen: RSDColorKey
  • The color to use for Error red views and iconography.

    Declaration

    Swift

    public var errorRed: RSDColorKey
  • The gray scale values to use for the application.

    Declaration

    Swift

    public var grayScale: RSDGrayScale
  • The color family to use for text.

    Declaration

    Swift

    public var text: RSDColorKey
  • Wireframe color palette.

    Declaration

    Swift

    public static let wireframe: RSDColorPalette
  • Declaration

    Swift

    public init(from decoder: Decoder) throws