Releases: costachung/neumorphic
Releases · costachung/neumorphic
Added padding option in Soft Button Style
Added padding option in Soft Button Style.
softButtonStyle<S : Shape>(_ content: S, padding: CGFloat, mainColor: Color, textColor: Color, darkShadowColor: Color, lightShadowColor: Color, pressedEffect: SoftButtonPressedEffect)
Removed hex color extension. Use RGB value directly.
Added Pressed Effects in Soft Button Style
Added three types of pressed effect for softButtonStyle: .none, .flat, .hard
See "SoftButtonDemoView" in the example project for demonstration.
MacOS Support
This version fixed the color extension of Hex color for MacOS.
SoftButtonStyle Update
Fix the incorrect size of button issue. Update SoftButtonStyle to support dynamic size of button.
Initial Release
Initial Release
Changes
Remove default button style