Skip to content

Commit 7b50c23

Browse files
committed
Update README
1 parent 63ba389 commit 7b50c23

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,13 @@ ZStack(alignment: .bottom){
130130
## Example Project
131131
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.
132132

133-
## Soft Button - Pressed Effects (v1.2.1)
133+
134+
## Soft Button Style Customization
135+
```swift
136+
softButtonStyle<S : Shape>(_ content: S, padding: CGFloat, mainColor: Color, textColor: Color, darkShadowColor: Color, lightShadowColor: Color, pressedEffect: SoftButtonPressedEffect)
137+
```
138+
139+
## Soft Button - Pressed Effects
134140

135141
![ezgif-4-88fec6ab5eaa](https://user-images.githubusercontent.com/169746/89747202-400fb980-daf0-11ea-8e23-64fb5b0bfc3c.gif)
136142

0 commit comments

Comments
 (0)