Juanpe / SkeletonView

☠️ An elegant way to show users that something is happening and also prepare them to which contents they are awaiting
MIT License
12.51k stars 1.1k forks source link

Allow to create gradients with an array of colours #480

Closed Juanpe closed 2 years ago

Juanpe commented 2 years ago

Resolves #461

Summary

Small PR to allow the creation of a gradient with a series of colours, instead of just the base colour and the complementary colour.

SkeletonGradient(colors: [.red, .blue, .green, .yellow, .alizarin, .carrot, .darkGray])