From ab33a0030bae04cdb5c003686fdda19aa9365b6b Mon Sep 17 00:00:00 2001 From: vasavk Date: Mon, 4 Mar 2024 13:25:16 +0530 Subject: [PATCH] updated dropshadow values as per spec --- VDS/Components/Icon/ButtonIcon/ButtonIcon.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VDS/Components/Icon/ButtonIcon/ButtonIcon.swift b/VDS/Components/Icon/ButtonIcon/ButtonIcon.swift index 97bbbb77..a11bf67e 100644 --- a/VDS/Components/Icon/ButtonIcon/ButtonIcon.swift +++ b/VDS/Components/Icon/ButtonIcon/ButtonIcon.swift @@ -247,7 +247,7 @@ open class ButtonIcon: Control, Changeable, FormFieldable { } private let dropshadow2Configuration = DropShadowConfiguration().with { $0.shadowColorConfiguration = SurfaceColorConfiguration(VDSColor.paletteBlack, VDSColor.paletteBlack).eraseToAnyColorable() - $0.shadowOpacityConfiguration = AnyConfigurationValue(CGFloat(0.15), CGFloat(0.22)) + $0.shadowOpacityConfiguration = AnyConfigurationValue(CGFloat(0.05), CGFloat(0.15)) $0.shadowOffsetConfiguration = AnyConfigurationValue(.init(width: 0, height: 2), .init(width: 0, height: 2)) $0.shadowRadiusConfiguration = AnyConfigurationValue(CGFloat(4), CGFloat(6)) }