From 05fb8cf5edda0ad840a7720d7c494ef16a296287 Mon Sep 17 00:00:00 2001 From: Vasavi Kanamarlapudi Date: Wed, 20 Apr 2022 21:01:07 +0530 Subject: [PATCH] moving to VDSColors for all colors --- .../Atoms/Views/CarouselIndicator/CarouselIndicator.swift | 2 +- .../Views/CarouselIndicator/CarouselIndicatorModel.swift | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/MVMCoreUI/Atomic/Atoms/Views/CarouselIndicator/CarouselIndicator.swift b/MVMCoreUI/Atomic/Atoms/Views/CarouselIndicator/CarouselIndicator.swift index fa647ad1..2b20cda1 100644 --- a/MVMCoreUI/Atomic/Atoms/Views/CarouselIndicator/CarouselIndicator.swift +++ b/MVMCoreUI/Atomic/Atoms/Views/CarouselIndicator/CarouselIndicator.swift @@ -86,7 +86,7 @@ open class CarouselIndicator: Control, CarouselPageControlProtocol { public var indicatorColor: UIColor { 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 } set { diff --git a/MVMCoreUI/Atomic/Atoms/Views/CarouselIndicator/CarouselIndicatorModel.swift b/MVMCoreUI/Atomic/Atoms/Views/CarouselIndicator/CarouselIndicatorModel.swift index 3a3d3cc3..3d6eac76 100644 --- a/MVMCoreUI/Atomic/Atoms/Views/CarouselIndicator/CarouselIndicatorModel.swift +++ b/MVMCoreUI/Atomic/Atoms/Views/CarouselIndicator/CarouselIndicatorModel.swift @@ -32,8 +32,8 @@ open class CarouselIndicatorModel: CarouselPagingModelProtocol, MoleculeModelPro public var enabled: Bool = true public var disabledIndicatorColor: Color = Color(uiColor: VDSColor.paletteGray44) public var disabledIndicatorColor_inverted: Color = Color(uiColor: VDSColor.paletteGray65) - public var indicatorColor: Color = Color(uiColor: .mvmBlack) - public var indicatorColor_inverted: Color = Color(uiColor: .mvmWhite) + public var indicatorColor: Color = Color(uiColor: VDSColor.paletteBlack) + public var indicatorColor_inverted: Color = Color(uiColor: VDSColor.paletteWhite) public var position: CGFloat? /// Allows sendActions() to trigger even if index is already at min/max index.