Atributika icon indicating copy to clipboard operation
Atributika copied to clipboard

.foregroundColor with .highlighted attribute doesn't respect color property

Open divyeshmakwana96 opened this issue 3 years ago • 1 comments

When I use .normal StyleType it works as expected, but by setting .highlighted causes it to change to "all" foreground color

Below is my code for the more tag: let more = Style("more").font(Font.UI.Assessment.highlightedText) .underlineStyle(.single) .foregroundColor(Color.UI.tintColor, .highlighted)

divyeshmakwana96 avatar Aug 20 '20 06:08 divyeshmakwana96

Hi @divyeshmakwana96 , Could you provide more details and full code example?

psharanda avatar Oct 25 '20 13:10 psharanda