Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/katopz/google-material-color-swift

Google Material Color Palette in Swift
https://github.com/katopz/google-material-color-swift

Last synced: about 1 month ago
JSON representation

Google Material Color Palette in Swift

Awesome Lists containing this project

README

        

Google Material Color in Swift
===========

[![Platform](http://img.shields.io/badge/platform-ios-blue.svg?style=flat
)](https://developer.apple.com/iphone/index.action)
[![Language](http://img.shields.io/badge/language-swift-brightgreen.svg?style=flat
)](https://developer.apple.com/swift)
[![License](http://img.shields.io/badge/license-MIT-lightgrey.svg?style=flat
)](http://mit-license.org)
[![Issues](https://img.shields.io/github/issues/katopz/google-material-color-swift.svg?style=flat
)](https://github.com/katopz/google-material-color-swift/issues?state=open)

Defined Google Material Color value ready to use in Swift refer to [Google Material Design in Style/Color section](http://www.google.com/design/spec/style/color.html#color-color-palette)

###How to use
```swift
// Set view background to Red 500
self.view.backgroundColor = GMColor.red500Color()
```
That's it! :D

- - -
:smiley_cat: For commercial use please [feed](https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=katopz%40gmail%2ecom&lc=TH&item_name=tuna&item_number=tuna&button_subtype=services&no_note=0&currency_code=USD&bn=PP%2dBuyNowBF%3abtn_buynowCC_LG%2egif%3aNonHostedGuest) my [cat](http://instagram.com/katopz) first!
any $ is welcome :)
- - -