Skip to content
/ Colors Public

🎨 A simple 100% data-driven collection of color palettes

License

Notifications You must be signed in to change notification settings

imryan/Colors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Colors

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

Colors is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'Colors'

Usage

Fetch all color palettes

// Fetch all color palettes
Colors.fetchPalettes { (palettes) in
    if let palettes = palettes {
        // Retrieved palettes
    }
}

Fetch single color palette by its identifier

// Fetch one color palette
Colors.fetchPalette(withId: "57cad90de956653b3248cfdb") { (palette) in
    if let palette = palette {
        // Retrieved palette
    }
}

Author

Ryan Cohen, notryancohen@gmail.com

License

Colors is available under the MIT license. See the LICENSE file for more info.

About

🎨 A simple 100% data-driven collection of color palettes

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published