uses token name instead of alias.
This commit is contained in:
parent
4d407d4377
commit
1e60db2fc4
@ -72,7 +72,7 @@ open class CarouselIndicator: Control, CarouselPageControlProtocol {
|
|||||||
|
|
||||||
public var disabledIndicatorColor: UIColor {
|
public var disabledIndicatorColor: UIColor {
|
||||||
get {
|
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
|
return model.inverted ? model.disabledIndicatorColor_inverted.uiColor : model.disabledIndicatorColor.uiColor
|
||||||
}
|
}
|
||||||
set {
|
set {
|
||||||
|
|||||||
@ -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
|
/// 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 accessibilityHasSlidesInsteadOfPage: Bool = false
|
||||||
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.elementsSecondaryOnlight)
|
||||||
public var disabledIndicatorColor_inverted: Color = Color(uiColor: VDSColor.paletteGray65)
|
public var disabledIndicatorColor_inverted: Color = Color(uiColor: VDSColor.elementsSecondaryOndark)
|
||||||
public var indicatorColor: Color = Color(uiColor: VDSColor.elementsPrimaryOnlight)
|
public var indicatorColor: Color = Color(uiColor: VDSColor.elementsPrimaryOnlight)
|
||||||
public var indicatorColor_inverted: Color = Color(uiColor: VDSColor.elementsPrimaryOndark)
|
public var indicatorColor_inverted: Color = Color(uiColor: VDSColor.elementsPrimaryOndark)
|
||||||
public var position: CGFloat?
|
public var position: CGFloat?
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user