From 781f51d749dc16798696422cef8d116258d4a2c6 Mon Sep 17 00:00:00 2001 From: "Pfeil, Scott Robert" Date: Fri, 10 Jul 2020 15:14:46 -0400 Subject: [PATCH] color update for tab --- .../Molecules/HorizontalCombinationViews/TabBarModel.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/MVMCoreUI/Atomic/Molecules/HorizontalCombinationViews/TabBarModel.swift b/MVMCoreUI/Atomic/Molecules/HorizontalCombinationViews/TabBarModel.swift index 0afb5ff5..212c63f1 100644 --- a/MVMCoreUI/Atomic/Molecules/HorizontalCombinationViews/TabBarModel.swift +++ b/MVMCoreUI/Atomic/Molecules/HorizontalCombinationViews/TabBarModel.swift @@ -8,12 +8,15 @@ import Foundation +/// coolGray4: #A6A8A8. This color is currently limited to only the tab bar. +private let mvmCoolGray4 = UIColor(red: 0.65, green: 0.659, blue: 0.659, alpha: 1) + public class TabBarModel: MoleculeModelProtocol { public static var identifier: String = "tabBar" public var backgroundColor: Color? = Color(uiColor: .white) public var tabs: [TabBarItemModel] public var selectedColor = Color(uiColor: .mvmBlack) - public var unSelectedColor = Color(uiColor: .mvmCoolGray3) + public var unSelectedColor = Color(uiColor: mvmCoolGray4) // Must be capped to 0...(tabs.count - 1) public var selectedTab: Int = 0