using colors from the VDS colors library.

This commit is contained in:
Vasavi Kanamarlapudi 2022-04-12 17:24:06 +05:30
parent b88a006c00
commit a8d0c12db8
4 changed files with 3 additions and 51 deletions

View File

@ -7,7 +7,7 @@
// //
import UIKit import UIKit
import VDSColorTokens
open class LinkModel: ButtonModelProtocol, MoleculeModelProtocol, EnableableModelProtocol { open class LinkModel: ButtonModelProtocol, MoleculeModelProtocol, EnableableModelProtocol {
//-------------------------------------------------- //--------------------------------------------------
@ -26,8 +26,8 @@ open class LinkModel: ButtonModelProtocol, MoleculeModelProtocol, EnableableMode
public var enabledColor_inverted = Color(uiColor: .mvmWhite) public var enabledColor_inverted = Color(uiColor: .mvmWhite)
public var disabledColor = Color(uiColor: .mvmCoolGray3) public var disabledColor = Color(uiColor: .mvmCoolGray3)
public var disabledColor_inverted = Color(uiColor: .mvmCoolGray10) public var disabledColor_inverted = Color(uiColor: .mvmCoolGray10)
public var activeColor = Color(uiColor: .mvmGray44) public var activeColor = Color(uiColor: VDSColor.paletteGray44)
public var activeColor_inverted = Color(uiColor: .mvmGray65) public var activeColor_inverted = Color(uiColor: VDSColor.paletteGray65)
public var inverted = false public var inverted = false

View File

@ -52,8 +52,6 @@ extension UIColor {
"coolGray3": (.mvmCoolGray3, "#D8DADA"), "coolGray3": (.mvmCoolGray3, "#D8DADA"),
"coolGray6": (.mvmCoolGray6, "#747676"), "coolGray6": (.mvmCoolGray6, "#747676"),
"coolGray10": (.mvmCoolGray10, "#333333"), "coolGray10": (.mvmCoolGray10, "#333333"),
"gray44": (.mvmGray44, "#6F7171"),
"gray65": (.mvmGray65, "#A7A7A7"),
"upGold1": (.vzupGold1, "#F9D542"), "upGold1": (.vzupGold1, "#F9D542"),
"upGold2": (.vzupGold2, "#F4CA53"), "upGold2": (.vzupGold2, "#F4CA53"),
"upGold3": (.vzupGold3, "#CC9B2D")] "upGold3": (.vzupGold3, "#CC9B2D")]
@ -199,12 +197,6 @@ extension UIColor {
/// HEX: #333333 /// HEX: #333333
public static let mvmCoolGray10 = UIColor.assetColor(named: "coolGray10") public static let mvmCoolGray10 = UIColor.assetColor(named: "coolGray10")
/// HEX: #6F7171
public static let mvmGray44 = UIColor.assetColor(named: "gray44")
/// HEX: #A7A7A7
public static let mvmGray65 = UIColor.assetColor(named: "gray65")
//-------------------------------------------------- //--------------------------------------------------
// MARK: - VZ UP Brand // MARK: - VZ UP Brand
//-------------------------------------------------- //--------------------------------------------------

View File

@ -1,20 +0,0 @@
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0x71",
"green" : "0x71",
"red" : "0x6F"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

View File

@ -1,20 +0,0 @@
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0xA7",
"green" : "0xA7",
"red" : "0xA7"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}