From 4d407d43774e31e5d7a0d749c3634605cac98ea6 Mon Sep 17 00:00:00 2001 From: Vasavi Kanamarlapudi Date: Thu, 21 Apr 2022 01:29:34 +0530 Subject: [PATCH] colors to use token name itself instead of token alias. --- .../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 2b20cda1..f37a608d 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 VDSColor.paletteBlack} + guard let model = carouselIndicatorModel else { return VDSColor.elementsPrimaryOnlight} 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 3d6eac76..7a98e382 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: VDSColor.paletteBlack) - public var indicatorColor_inverted: Color = Color(uiColor: VDSColor.paletteWhite) + public var indicatorColor: Color = Color(uiColor: VDSColor.elementsPrimaryOnlight) + public var indicatorColor_inverted: Color = Color(uiColor: VDSColor.elementsPrimaryOndark) public var position: CGFloat? /// Allows sendActions() to trigger even if index is already at min/max index.