Commit 30a79d20 by phlippieb

Document material color codes

parent 6cb79199
...@@ -32,26 +32,40 @@ import UIKit ...@@ -32,26 +32,40 @@ import UIKit
@objc(ColorPalette) @objc(ColorPalette)
public protocol ColorPalette { public protocol ColorPalette {
/// Material color code: 50
static var lighten5: UIColor { get } static var lighten5: UIColor { get }
/// Material color code: 100
static var lighten4: UIColor { get } static var lighten4: UIColor { get }
/// Material color code: 200
static var lighten3: UIColor { get } static var lighten3: UIColor { get }
/// Material color code: 300
static var lighten2: UIColor { get } static var lighten2: UIColor { get }
/// Material color code: 400
static var lighten1: UIColor { get } static var lighten1: UIColor { get }
/// Material color code: 500
static var base: UIColor { get } static var base: UIColor { get }
/// Material color code: 600
static var darken1: UIColor { get } static var darken1: UIColor { get }
/// Material color code: 700
static var darken2: UIColor { get } static var darken2: UIColor { get }
/// Material color code: 800
static var darken3: UIColor { get } static var darken3: UIColor { get }
/// Material color code: 900
static var darken4: UIColor { get } static var darken4: UIColor { get }
/// Material color code: A100
@objc @objc
optional static var accent1: UIColor { get } optional static var accent1: UIColor { get }
/// Material color code: A200
@objc @objc
optional static var accent2: UIColor { get } optional static var accent2: UIColor { get }
/// Material color code: A400
@objc @objc
optional static var accent3: UIColor { get } optional static var accent3: UIColor { get }
/// Material color code: A700
@objc @objc
optional static var accent4: UIColor { get } optional static var accent4: UIColor { get }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment