Merge branch 'feature/new_tab_color' into 'develop'
color update for tab See merge request BPHV_MIPS/mvm_core_ui!528
This commit is contained in:
commit
adb4ac1893
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user