prs on Nostr: refactor: add customizable properties to neutral button style (#1805) This PR ...
refactor: add customizable properties to neutral button style (#1805)
This PR refactors the NeutralButtonStyle to take in customizable properties for different button layouts instead of creating a struct for each situation that may arise, for example a small capsule button which I needed. Also added shape representations using NeutralButtonShape for ease of use.
![neutral buttons](https://github.com/damus-io/damus/assets/14004132/188d8bcd-2fa5-49bc-bd3c-1ccea5c39c02)
dynamic-neutral-button, 1 commits
https://github.com/damus-io/damus/pull/1805
This PR refactors the NeutralButtonStyle to take in customizable properties for different button layouts instead of creating a struct for each situation that may arise, for example a small capsule button which I needed. Also added shape representations using NeutralButtonShape for ease of use.
![neutral buttons](https://github.com/damus-io/damus/assets/14004132/188d8bcd-2fa5-49bc-bd3c-1ccea5c39c02)
dynamic-neutral-button, 1 commits
https://github.com/damus-io/damus/pull/1805