From a2a06f3870fb657c37c57d490e2a7f0f269e65f1 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Fri, 14 Jun 2024 15:45:04 -0500 Subject: [PATCH] added token to enum Signed-off-by: Matt Bruce --- VDS/Components/TileContainer/TileContainer.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/VDS/Components/TileContainer/TileContainer.swift b/VDS/Components/TileContainer/TileContainer.swift index dc3c936e..d600f5dd 100644 --- a/VDS/Components/TileContainer/TileContainer.swift +++ b/VDS/Components/TileContainer/TileContainer.swift @@ -69,6 +69,7 @@ open class TileContainerBase: 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 }