uses token name instead of alias.

This commit is contained in:
Vasavi Kanamarlapudi 2022-04-21 01:34:40 +05:30
parent 4d407d4377
commit 1e60db2fc4
2 changed files with 3 additions and 3 deletions

View File

@ -72,7 +72,7 @@ open class CarouselIndicator: Control, CarouselPageControlProtocol {
public var disabledIndicatorColor: UIColor {
get {
guard let model = carouselIndicatorModel else { return VDSColor.paletteGray44 }
guard let model = carouselIndicatorModel else { return VDSColor.elementsSecondaryOnlight }
return model.inverted ? model.disabledIndicatorColor_inverted.uiColor : model.disabledIndicatorColor.uiColor
}
set {

View File

@ -30,8 +30,8 @@ open class CarouselIndicatorModel: CarouselPagingModelProtocol, MoleculeModelPro
/// Set true to make the accessibility value as "Slide #currentPage of #totalPage", otherwise will be "Page #currentPage of #totalPage", default is false
public var accessibilityHasSlidesInsteadOfPage: Bool = false
public var enabled: Bool = true
public var disabledIndicatorColor: Color = Color(uiColor: VDSColor.paletteGray44)
public var disabledIndicatorColor_inverted: Color = Color(uiColor: VDSColor.paletteGray65)
public var disabledIndicatorColor: Color = Color(uiColor: VDSColor.elementsSecondaryOnlight)
public var disabledIndicatorColor_inverted: Color = Color(uiColor: VDSColor.elementsSecondaryOndark)
public var indicatorColor: Color = Color(uiColor: VDSColor.elementsPrimaryOnlight)
public var indicatorColor_inverted: Color = Color(uiColor: VDSColor.elementsPrimaryOndark)
public var position: CGFloat?