SvenTiigi / WhatsNewKit

Showcase your awesome new app features 📱
https://sventiigi.github.io/WhatsNewKit/
MIT License
3.87k stars 190 forks source link

Fix title color by using the parameter foregroundColor in WhatsNew.Title #89

Open Tibimac opened 1 week ago

Tibimac commented 1 week ago

The custom color wasn't taken into account previously. The only to color the title was to use an AttributedString. Creating the Text of the Title through an AttributedString still works and its colors attributes overrides the foregroundColor. But if the title is created with a simple string the foregroundColor will then be applied.