We were invited to a gay wedding. I sent the RSVP card back with a small gift. Done.
A small gift? Perhaps you were not wanting to be rude, but you - in effect - condoned that travesty and gave credibility to it.
You were wrong in sending a gift. A complete ignoral of the whole thing would have been correct.