Skip to content
Color Manager written in Swift2.3. You can easily use great colors such as Twitter blue, Facebook blue, YouTube red and so on.
Swift Objective-C Shell Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
DMColorManager
Example
.gitignore
.travis.yml
DMColorManager.podspec
LICENSE
README.md
_Pods.xcodeproj

README.md

DMColorManager

CI Status Version License Platform

DMColorManager is a simple library to use great colors for development your apps, which includes famous colors such as Twitter blue, Facebook blue, Instagram gray and so on.

Requirements

Xcode7.3, iOS9.3.2

Installation

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

CocoaPods

pod "DMColorManager"

Carthage ※Work in progress

Usage

import UIKit
import DMColorManager

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view, typically from a nib.
        self.view.backgroundColor = DMColorManager.twitterBlue()
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }

}

Colors

17 great colors are available with var.0.1.0. Example colors are below.

functionName RGB
twitterBlue (29, 202, 255)
facebookBlue (59, 89, 152)
youtubeRed (187, 0, 0)
instagramBlue (18, 86, 136)
snapchatYellow (255, 252, 180)
vineGreen (0, 191, 143)

Author

Daisuke Masuhara Twitter: @masuahra_

License

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

You can’t perform that action at this time.