imryan / Colors

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

Home Page:https://klart.io/colors

Repository from Github https://github.comimryan/ColorsRepository from Github https://github.comimryan/Colors

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

https://klart.io/colors

License:MIT License


Languages

Language:Swift 90.9%Language:Ruby 9.1%