updated comment
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
05fd22d2eb
commit
f04c7875d1
@ -72,11 +72,11 @@ public protocol KeyColorConfigurable: ObjectColorable {
|
|||||||
|
|
||||||
extension KeyColorConfigurable {
|
extension KeyColorConfigurable {
|
||||||
|
|
||||||
/// Generic Method to set a KeyColorConfiguration with the parameters given
|
/// Generic Method to set a KeyColorConfiguration with the parameters given.
|
||||||
/// - Parameters:
|
/// - Parameters:
|
||||||
/// - lightColor: Color used for a light
|
/// - lightColor: Color used for a light.
|
||||||
/// - darkColor: Color used for a dark
|
/// - darkColor: Color used for a dark.
|
||||||
/// - key: <#key description#>
|
/// - key: The key that you want to filter off of.
|
||||||
public func setSurfaceColors(_ lightColor: UIColor, _ darkColor: UIColor, forKey key: KeyType) {
|
public func setSurfaceColors(_ lightColor: UIColor, _ darkColor: UIColor, forKey key: KeyType) {
|
||||||
keyColors.append(.init(key: key, surfaceConfig: .init(lightColor, darkColor)))
|
keyColors.append(.init(key: key, surfaceConfig: .init(lightColor, darkColor)))
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user