moving to VDSColors for all colors

This commit is contained in:
Vasavi Kanamarlapudi 2022-04-20 21:01:07 +05:30
parent f21c59d6c3
commit 05fb8cf5ed
2 changed files with 3 additions and 3 deletions

View File

@ -86,7 +86,7 @@ open class CarouselIndicator: Control, CarouselPageControlProtocol {
public var indicatorColor: UIColor { public var indicatorColor: UIColor {
get { get {
guard let model = carouselIndicatorModel else { return .mvmBlack } guard let model = carouselIndicatorModel else { return VDSColor.paletteBlack}
return model.inverted ? model.indicatorColor_inverted.uiColor : model.indicatorColor.uiColor return model.inverted ? model.indicatorColor_inverted.uiColor : model.indicatorColor.uiColor
} }
set { set {

View File

@ -32,8 +32,8 @@ open class CarouselIndicatorModel: CarouselPagingModelProtocol, MoleculeModelPro
public var enabled: Bool = true public var enabled: Bool = true
public var disabledIndicatorColor: Color = Color(uiColor: VDSColor.paletteGray44) public var disabledIndicatorColor: Color = Color(uiColor: VDSColor.paletteGray44)
public var disabledIndicatorColor_inverted: Color = Color(uiColor: VDSColor.paletteGray65) public var disabledIndicatorColor_inverted: Color = Color(uiColor: VDSColor.paletteGray65)
public var indicatorColor: Color = Color(uiColor: .mvmBlack) public var indicatorColor: Color = Color(uiColor: VDSColor.paletteBlack)
public var indicatorColor_inverted: Color = Color(uiColor: .mvmWhite) public var indicatorColor_inverted: Color = Color(uiColor: VDSColor.paletteWhite)
public var position: CGFloat? public var position: CGFloat?
/// Allows sendActions() to trigger even if index is already at min/max index. /// Allows sendActions() to trigger even if index is already at min/max index.