updated colors

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2022-08-02 08:59:15 -05:00
parent d4a1f0e5ed
commit c7efb92a34

View File

@ -36,9 +36,9 @@ import Combine
private func getToggleColor(for disabled: Bool, surface: Surface) -> (on: UIColor, off: UIColor) {
if disabled {
if surface == .light {
return (on: VDSColor.elementsDisabledOnlight, off: VDSColor.elementsDisabledOnlight)
return (on: VDSColor.interactiveDisabledOnlight, off: VDSColor.interactiveDisabledOnlight)
} else {
return (on: VDSColor.elementsDisabledOnDark, off: VDSColor.elementsDisabledOnDark)
return (on: VDSColor.interactiveDisabledOndark, off: VDSColor.interactiveDisabledOndark)
}
} else {
if surface == .light {