From a53548522dcf4e923c092e8bbf7145a4d157b8af Mon Sep 17 00:00:00 2001 From: Sumanth Nadigadda Date: Mon, 25 Apr 2022 23:32:09 +0530 Subject: [PATCH] secondary button background color --- MVMCoreUI/Atomic/Atoms/Buttons/ButtonModel.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MVMCoreUI/Atomic/Atoms/Buttons/ButtonModel.swift b/MVMCoreUI/Atomic/Atoms/Buttons/ButtonModel.swift index 71cd8eb7..f16afc7f 100644 --- a/MVMCoreUI/Atomic/Atoms/Buttons/ButtonModel.swift +++ b/MVMCoreUI/Atomic/Atoms/Buttons/ButtonModel.swift @@ -66,7 +66,7 @@ open class ButtonModel: ButtonModelProtocol, MoleculeModelProtocol, FormGroupWat if style == .secondary { return Color(uiColor: VDSColor.elementsSecondaryOndark) } return Color(uiColor: VDSColor.elementsPrimaryOndark) } - if style == .secondary { return Color(uiColor: VDSColor.elementsSecondaryOnlight) } + if style == .secondary { return Color(uiColor: UIColor.clear) } return Color(uiColor: VDSColor.elementsPrimaryOnlight) } set { @@ -162,7 +162,7 @@ open class ButtonModel: ButtonModelProtocol, MoleculeModelProtocol, FormGroupWat } enabledTextColor_inverted = Color(uiColor: VDSColor.elementsPrimaryOndark) - enabledFillColor_inverted = Color(uiColor: VDSColor.elementsPrimaryOnlight) + enabledFillColor_inverted = Color(uiColor: UIColor.clear) enabledBorderColor_inverted = Color(uiColor: VDSColor.elementsPrimaryOnlight) disabledTextColor_inverted = Color(uiColor: VDSColor.interactiveDisabledOndark) disabledBorderColor_inverted = Color(uiColor: VDSColor.interactiveDisabledOndark)