added token to enum
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
e8f225cdc3
commit
a2a06f3870
@ -69,6 +69,7 @@ open class TileContainerBase<PaddingType: DefaultValuing>: Control where Padding
|
||||
case secondary
|
||||
case white
|
||||
case black
|
||||
case token(UIColor.VDSColor)
|
||||
case custom(UIColor)
|
||||
|
||||
private var reflectedValue: String { String(reflecting: self) }
|
||||
@ -484,6 +485,8 @@ extension TileContainerBase {
|
||||
return whiteColorConfig.getColor(object.surface)
|
||||
case .black:
|
||||
return blackColorConfig.getColor(object.surface)
|
||||
case .token(let vdsColor):
|
||||
return vdsColor.uiColor
|
||||
case .custom(let color):
|
||||
return color
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user