Skip to content

Instantly share code, notes, and snippets.

@lacyrhoades
Created September 27, 2018 13:57
Show Gist options
  • Save lacyrhoades/2e8a57bc82215789f3b9acba8eb53b33 to your computer and use it in GitHub Desktop.
Save lacyrhoades/2e8a57bc82215789f3b9acba8eb53b33 to your computer and use it in GitHub Desktop.
public struct PopArtColor {
public var first: UIColor
public var second: UIColor
public static let colorIterator = InfiniteIterator(PopArtColor.allColors)
public static let allColors: [PopArtColor] = [
PopArtColor(first: UIColor((154, 99, 141)), second: UIColor((233, 223, 122))),
PopArtColor(first: UIColor((215, 68, 74)), second: UIColor((165, 210, 153))),
PopArtColor(first: UIColor((69, 74, 174)), second: UIColor((171, 171, 207))),
PopArtColor(first: UIColor((52, 15, 26)), second: UIColor((240, 83, 129)))
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment