moving to VDSColors for all colors
This commit is contained in:
parent
f21c59d6c3
commit
05fb8cf5ed
@ -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 {
|
||||
|
||||
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user