From 7b50c23dbaba8bda37181286d703b2753b83ace9 Mon Sep 17 00:00:00 2001 From: Costa Chung Date: Fri, 13 Nov 2020 15:53:56 +0800 Subject: [PATCH] Update README --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1044bdb..089f470 100644 --- a/README.md +++ b/README.md @@ -130,7 +130,13 @@ ZStack(alignment: .bottom){ ## Example Project Check out the __neumorphic-ios-example__ XCode project to see how to build neumorphic UI and buttons. If you use the default shadow colors of Neumorphic, you can also get dark mode support for free. -## Soft Button - Pressed Effects (v1.2.1) + +## Soft Button Style Customization +```swift +softButtonStyle(_ content: S, padding: CGFloat, mainColor: Color, textColor: Color, darkShadowColor: Color, lightShadowColor: Color, pressedEffect: SoftButtonPressedEffect) +``` + +## Soft Button - Pressed Effects ![ezgif-4-88fec6ab5eaa](https://user-images.githubusercontent.com/169746/89747202-400fb980-daf0-11ea-8e23-64fb5b0bfc3c.gif)