Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/katopz/google-material-color-swift
- Owner: katopz
- License: mit
- Created: 2014-12-20T09:21:24.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-14T17:09:50.000Z (almost 9 years ago)
- Last Synced: 2024-08-01T19:31:19.233Z (4 months ago)
- Language: Swift
- Homepage:
- Size: 26.4 KB
- Stars: 48
- Watchers: 5
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-swift-cn - Google Material Color - Google Material Color Palette in Swift. (Libs / Colors)
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¤cy_code=USD&bn=PP%2dBuyNowBF%3abtn_buynowCC_LG%2egif%3aNonHostedGuest) my [cat](http://instagram.com/katopz) first!
any $ is welcome :)
- - -