Neumorphic Versions Save

🚀Neumorphic is a SwiftUI utility to build Neumorphism Soft UI (supports both *outer shadow and *inner shadow)

v2.0.6

1 year ago

Added "Disabled" appearance in SoftDynamicButtonStyle. Updated the SoftButtonDemoView.

v2.0.5

3 years ago

Renamed the example project to neumorphic-examples. There are two targets: ios-example mac-example

v2.0.4

3 years ago
  • Updated the Mac example

What's new in this version:

  • Access default neumorphic colors using Color.Neumorphic (e.g. Color.Neumorphic.main)
  • Color.Neumorphic supports light and dark mode on both iOS and MacOS automatically.
  • When you use default neumorphic colors and you want to set the color scheme manually, you can do it by setting Color.Neumorphic.colorSchemeType to the type you want. (e.g. Color.Neumorphic.colorSchemeType = .dark)

v2.0.3

3 years ago

Using DynamicProvider to init Color on both iOS and MacOS. It works without having to include environment variable colorScheme in the SwiftUI View. When the system appearance changes, it will redraw to view automatically.

You can still change the color scheme type manually by setting Color.Neumorphic.colorSchemeType. e.g. Color.Neumorphic.colorSchemeType = .dark

v2.0.2

3 years ago

Refactoring: Remove unused colors

v2.0.0

3 years ago
  • Take the colorScheme from the system automatically (without having to explicitly update it with Neumorphic.shared.colorScheme = colorScheme)
  • Added Color extension (Color.Neumorphic) for accessing neumorphic default colors.

v1.2.6

3 years ago

Fixed default shadow colors

v1.2.4

3 years ago

Two new types of ToggleStyle: softToggleStyle() softSwitchToggleStyle()

v.1.2.3

3 years ago

The inner shadow offset was too large when the width of the shape is larger than its height. This version fixed this issue.

v1.2.2

3 years ago

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.