Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/WrathChaos/MaterialColor

A perfect library to use Material Color Palette. Colors are the most important UI kit for every application. MaterialColors is the best and easiest way of color pallette.
https://github.com/WrathChaos/MaterialColor

Last synced: 3 months ago
JSON representation

A perfect library to use Material Color Palette. Colors are the most important UI kit for every application. MaterialColors is the best and easiest way of color pallette.

Awesome Lists containing this project

README

        

# MaterialColor






License


platform


Cocoapods


Downloads



Build


Issues


Swift 5.0
Swift 4.2
Swift 4.0
Swift 3.0


Pod Version

## Example

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



## Requirements
- iOS 8.0+
- XCode 8.1, 8.2, 8.3
- **XCode 9.0+**
- Swift 3.0, 3.1, 3.2
- **Swift 4.0+**
- **Swift 4.2**
- **Swift 5.0+**

## Installation

MaterialColor is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:

```ruby
pod 'MaterialColor'
```

## Usage
```ruby
import MaterialColor
```

```ruby
let tealColor: UIColor = MaterialColor.teal.accent4
let amberColor: UIColor = MaterialColor.amber.base
let deepOrange: UIColor = MaterialColor.deepOrange.dark1
```

## Future Enhancements

- [x] Complete a working Example
- [x] Add Carthage installation option
- [ ] Add Swift Package Manager installation option
- [x] XCode 9 compatibility and tests
- [x] Swift 4 compatibility and tests
- [x] Swift 4.2 compatibility and tests
- [x] Swift 5 compatibility and tests

## Author

FreakyCoder, [email protected]

## License

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