Neumorphic v2.2.1
A documentation-only patch release. No public API or runtime behavior changed since v2.2.0 — swift 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.highContrastpalette 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, andfixedSizeSoftButtonStyle(size:). - Regrouped the DocC Topics from a single Styling section into Essentials, Shadows, Theming, and per-category groups; added the previously unlisted
SoftButtonPressedEffectandSoftButtonStyle. - Corrected four file headers naming files that no longer exist.
Tests
- Added coverage for the environment theme default and override, and for
NeumorphicShadowPresetcolor resolution.
Full changelog: https://github.com/gewill/neumorphic/blob/master/CHANGELOG.md