Skip to content

Neumorphic v2.2.1

Choose a tag to compare

@gewill gewill released this 27 Aug 17:54
· 13 commits to master since this release

A documentation-only patch release. No public API or runtime behavior changed since v2.2.0swift package diagnose-api-breaking-changes reports no breaking changes.

Documentation

  • Rewrote the README around this fork's maintenance status, stating where upstream stopped (v2.0.7, October 2024) and what has been added since.
  • Added Getting Started and Accessibility articles to the DocC catalog.
  • Fixed the DocC theme example, which applied neumorphicTheme(_:) inside the themed modifier that reads it. Environment values only travel downward, so the example's .highContrast palette silently had no effect.
  • Documented parameters for 27 public declarations that previously carried only a one-line summary — including the view modifiers that make up the primary API.
  • Documented the normalization applied to NeumorphicSlider.step, NeumorphicSwitchToggleStyle.height, and fixedSizeSoftButtonStyle(size:).
  • Regrouped the DocC Topics from a single Styling section into Essentials, Shadows, Theming, and per-category groups; added the previously unlisted SoftButtonPressedEffect and SoftButtonStyle.
  • Corrected four file headers naming files that no longer exist.

Tests

  • Added coverage for the environment theme default and override, and for NeumorphicShadowPreset color resolution.

Full changelog: https://github.com/gewill/neumorphic/blob/master/CHANGELOG.md