Decathlon/vitamin-ios

refactor: change placeholder color

Closed this issue · 1 comments

Is your request related to a problem? Please describe.

Describe the solution you'd like

  • Placeholder on mobile libraries should be in Content tertiary instead of content inactive

@GaspardMathon : If you're talking about placeHolder in Vitamin text fields, I am not sure this issue is relevant.
Here is a snippet of the code to put placeholder color which shows we use content tertiary (with a "disabled" opacity if the field is disabled) :

var placeholderColor: UIColor {
        if self == .disabled {
            return VitaminColor.Core.Content.tertiary.disabledColor()
        } else {
            return VitaminColor.Core.Content.tertiary
        }
    }