An Australian fashion designer is "over the moon" after winning a years-long trademark battle against pop star Katy Perry.