defect: CXTDT-420978 Changing the radio button color

This commit is contained in:
Sumanth Nadigadda 2023-06-22 13:20:29 +05:30
parent 9ddfcf3cac
commit 6b6a3b4bc1

View File

@ -26,7 +26,7 @@ import VDSFormControlsTokens
} }
} }
public var enabledColor: UIColor { public var enabledColor: UIColor {
return radioModel?.inverted ?? false ? VDSFormControlsColor.borderOndark : VDSFormControlsColor.borderOnlight return radioModel?.inverted ?? false ? VDSColor.elementsPrimaryOndark : VDSColor.elementsPrimaryOnlight
} }
public var disabledColor: UIColor { public var disabledColor: UIColor {
return radioModel?.inverted ?? false ? VDSColor.interactiveDisabledOndark : VDSColor.interactiveDisabledOnlight return radioModel?.inverted ?? false ? VDSColor.interactiveDisabledOndark : VDSColor.interactiveDisabledOnlight