Created
September 27, 2018 13:57
-
-
Save lacyrhoades/2e8a57bc82215789f3b9acba8eb53b33 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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